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
回呼