DedicatedCloudServices interface
Interface representing a DedicatedCloudServices.
Methods
begin |
Delete dedicate cloud service |
begin |
Delete dedicate cloud service |
create |
Create dedicate cloud service |
get(string, string, Dedicated |
Returns Dedicate Cloud Service |
list |
Returns list of dedicated cloud services within a resource group |
list |
Returns list of dedicated cloud services within a subscription |
update(string, string, Patch |
Patch dedicated cloud service's properties |
Method Details
beginDelete(string, string, DedicatedCloudServicesDeleteOptionalParams)
Delete dedicate cloud service
function beginDelete(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group
- dedicatedCloudServiceName
-
string
dedicated cloud service name
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, DedicatedCloudServicesDeleteOptionalParams)
Delete dedicate cloud service
function beginDeleteAndWait(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group
- dedicatedCloudServiceName
-
string
dedicated cloud service name
The options parameters.
Returns
Promise<void>
createOrUpdate(string, string, DedicatedCloudService, DedicatedCloudServicesCreateOrUpdateOptionalParams)
Create dedicate cloud service
function createOrUpdate(resourceGroupName: string, dedicatedCloudServiceName: string, dedicatedCloudServiceRequest: DedicatedCloudService, options?: DedicatedCloudServicesCreateOrUpdateOptionalParams): Promise<DedicatedCloudService>
Parameters
- resourceGroupName
-
string
The name of the resource group
- dedicatedCloudServiceName
-
string
dedicated cloud Service name
- dedicatedCloudServiceRequest
- DedicatedCloudService
Create Dedicated Cloud Service request
The options parameters.
Returns
Promise<DedicatedCloudService>
get(string, string, DedicatedCloudServicesGetOptionalParams)
Returns Dedicate Cloud Service
function get(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesGetOptionalParams): Promise<DedicatedCloudService>
Parameters
- resourceGroupName
-
string
The name of the resource group
- dedicatedCloudServiceName
-
string
dedicated cloud Service name
The options parameters.
Returns
Promise<DedicatedCloudService>
listByResourceGroup(string, DedicatedCloudServicesListByResourceGroupOptionalParams)
Returns list of dedicated cloud services within a resource group
function listByResourceGroup(resourceGroupName: string, options?: DedicatedCloudServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedCloudService, DedicatedCloudService[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group
The options parameters.
Returns
listBySubscription(DedicatedCloudServicesListBySubscriptionOptionalParams)
Returns list of dedicated cloud services within a subscription
function listBySubscription(options?: DedicatedCloudServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedCloudService, DedicatedCloudService[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, PatchPayload, DedicatedCloudServicesUpdateOptionalParams)
Patch dedicated cloud service's properties
function update(resourceGroupName: string, dedicatedCloudServiceName: string, dedicatedCloudServiceRequest: PatchPayload, options?: DedicatedCloudServicesUpdateOptionalParams): Promise<DedicatedCloudService>
Parameters
- resourceGroupName
-
string
The name of the resource group
- dedicatedCloudServiceName
-
string
dedicated cloud service name
- dedicatedCloudServiceRequest
- PatchPayload
Patch Dedicated Cloud Service request
The options parameters.
Returns
Promise<DedicatedCloudService>