Registrations class
表示注册的类。
方法
构造函数详细信息
Registrations(AzureStackManagementClientContext)
创建注册。
new Registrations(client: AzureStackManagementClientContext)
参数
对服务客户端的引用。
方法详细信息
createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase)
创建或更新 Azure Stack 注册。
function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RequestOptionsBase): Promise<RegistrationsCreateOrUpdateResponse>
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- token
- RegistrationParameter
注册令牌
- options
- RequestOptionsBase
可选参数
返回
Promise<RegistrationsCreateOrUpdateResponse>
承诺<Models.RegistrationsCreateOrUpdateResponse>
createOrUpdate(string, string, RegistrationParameter, RequestOptionsBase, ServiceCallback<Registration>)
function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, options: RequestOptionsBase, callback: ServiceCallback<Registration>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- token
- RegistrationParameter
注册令牌
- options
- RequestOptionsBase
可选参数
- callback
回调
createOrUpdate(string, string, RegistrationParameter, ServiceCallback<Registration>)
function createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, callback: ServiceCallback<Registration>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- token
- RegistrationParameter
注册令牌
- callback
回调
deleteMethod(string, string, RequestOptionsBase)
删除请求的 Azure Stack 注册。
function deleteMethod(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<RestResponse>
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<RestResponse>
承诺<msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
- callback
-
ServiceCallback<void>
回调
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroup: string, registrationName: string, callback: ServiceCallback<void>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- callback
-
ServiceCallback<void>
回调
get(string, string, RequestOptionsBase)
返回 Azure Stack 注册的属性。
function get(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<RegistrationsGetResponse>
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<RegistrationsGetResponse>
承诺<Models.RegistrationsGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<Registration>)
function get(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<Registration>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
get(string, string, ServiceCallback<Registration>)
function get(resourceGroup: string, registrationName: string, callback: ServiceCallback<Registration>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- callback
回调
getActivationKey(string, string, RequestOptionsBase)
返回 Azure Stack 激活密钥。
function getActivationKey(resourceGroup: string, registrationName: string, options?: RequestOptionsBase): Promise<RegistrationsGetActivationKeyResponse>
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
返回
承诺<Models.RegistrationsGetActivationKeyResponse>
getActivationKey(string, string, RequestOptionsBase, ServiceCallback<ActivationKeyResult>)
function getActivationKey(resourceGroup: string, registrationName: string, options: RequestOptionsBase, callback: ServiceCallback<ActivationKeyResult>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
getActivationKey(string, string, ServiceCallback<ActivationKeyResult>)
function getActivationKey(resourceGroup: string, registrationName: string, callback: ServiceCallback<ActivationKeyResult>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- callback
回调
list(string, RequestOptionsBase)
返回所有注册的列表。
function list(resourceGroup: string, options?: RequestOptionsBase): Promise<RegistrationsListResponse>
参数
- resourceGroup
-
string
资源组的名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<RegistrationsListResponse>
承诺<Models.RegistrationsListResponse>
list(string, RequestOptionsBase, ServiceCallback<RegistrationList>)
function list(resourceGroup: string, options: RequestOptionsBase, callback: ServiceCallback<RegistrationList>)
参数
- resourceGroup
-
string
资源组的名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
list(string, ServiceCallback<RegistrationList>)
function list(resourceGroup: string, callback: ServiceCallback<RegistrationList>)
参数
- resourceGroup
-
string
资源组的名称。
- callback
回调
listNext(string, RequestOptionsBase)
返回所有注册的列表。
function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<RegistrationsListNextResponse>
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
返回
Promise<RegistrationsListNextResponse>
Promise<Models.RegistrationsListNext响应>
listNext(string, RequestOptionsBase, ServiceCallback<RegistrationList>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<RegistrationList>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
- callback
回调
listNext(string, ServiceCallback<RegistrationList>)
function listNext(nextPageLink: string, callback: ServiceCallback<RegistrationList>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调
update(string, string, RegistrationParameter, RequestOptionsBase)
修补 Azure Stack 注册。
function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RequestOptionsBase): Promise<RegistrationsUpdateResponse>
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- token
- RegistrationParameter
注册令牌
- options
- RequestOptionsBase
可选参数
返回
Promise<RegistrationsUpdateResponse>
承诺<Models.RegistrationsUpdateResponse>
update(string, string, RegistrationParameter, RequestOptionsBase, ServiceCallback<Registration>)
function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, options: RequestOptionsBase, callback: ServiceCallback<Registration>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- token
- RegistrationParameter
注册令牌
- options
- RequestOptionsBase
可选参数
- callback
回调
update(string, string, RegistrationParameter, ServiceCallback<Registration>)
function update(resourceGroup: string, registrationName: string, token: RegistrationParameter, callback: ServiceCallback<Registration>)
参数
- resourceGroup
-
string
资源组的名称。
- registrationName
-
string
Azure Stack 注册的名称。
- token
- RegistrationParameter
注册令牌
- callback
回调