Share via


InstanceOperations interface

Interface representing a Instance operations.

Properties

createOrUpdate

Create a InstanceResource

delete

Delete a InstanceResource

get

Get a InstanceResource

listByResourceGroup

List InstanceResource resources by resource group

listBySubscription

List InstanceResource resources by subscription ID

update

Update a InstanceResource

Property Details

createOrUpdate

Create a InstanceResource

createOrUpdate: (resourceGroupName: string, instanceName: string, resource: InstanceResource, options?: InstanceCreateOrUpdateOptionalParams) => PollerLike<OperationState<InstanceResource>, InstanceResource>

Property Value

(resourceGroupName: string, instanceName: string, resource: InstanceResource, options?: InstanceCreateOrUpdateOptionalParams) => PollerLike<OperationState<InstanceResource>, InstanceResource>

delete

Delete a InstanceResource

delete: (resourceGroupName: string, instanceName: string, options?: InstanceDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, instanceName: string, options?: InstanceDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a InstanceResource

get: (resourceGroupName: string, instanceName: string, options?: InstanceGetOptionalParams) => Promise<InstanceResource>

Property Value

(resourceGroupName: string, instanceName: string, options?: InstanceGetOptionalParams) => Promise<InstanceResource>

listByResourceGroup

List InstanceResource resources by resource group

listByResourceGroup: (resourceGroupName: string, options?: InstanceListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<InstanceResource, InstanceResource[], PageSettings>

Property Value

(resourceGroupName: string, options?: InstanceListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<InstanceResource, InstanceResource[], PageSettings>

listBySubscription

List InstanceResource resources by subscription ID

listBySubscription: (options?: InstanceListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<InstanceResource, InstanceResource[], PageSettings>

Property Value

(options?: InstanceListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<InstanceResource, InstanceResource[], PageSettings>

update

Update a InstanceResource

update: (resourceGroupName: string, instanceName: string, properties: InstancePatchModel, options?: InstanceUpdateOptionalParams) => Promise<InstanceResource>

Property Value

(resourceGroupName: string, instanceName: string, properties: InstancePatchModel, options?: InstanceUpdateOptionalParams) => Promise<InstanceResource>