Udostępnij za pośrednictwem


ManagedInstanceOperationCollection Class

Definition

A class representing a collection of ManagedInstanceOperationResource and their operations. Each ManagedInstanceOperationResource in the collection will belong to the same instance of ManagedInstanceResource. To get a ManagedInstanceOperationCollection instance call the GetManagedInstanceOperations method from an instance of ManagedInstanceResource.

public class ManagedInstanceOperationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>
type ManagedInstanceOperationCollection = class
    inherit ArmCollection
    interface seq<ManagedInstanceOperationResource>
    interface IEnumerable
    interface IAsyncEnumerable<ManagedInstanceOperationResource>
Public Class ManagedInstanceOperationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ManagedInstanceOperationResource), IEnumerable(Of ManagedInstanceOperationResource)
Inheritance
ManagedInstanceOperationCollection
Implements

Constructors

ManagedInstanceOperationCollection()

Initializes a new instance of the ManagedInstanceOperationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(Guid, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
ExistsAsync(Guid, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
Get(Guid, CancellationToken)

Gets a management operation on a managed instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
GetAll(CancellationToken)

Gets a list of operations performed on the managed instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations
  • Operation Id: ManagedInstanceOperations_ListByManagedInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
GetAllAsync(CancellationToken)

Gets a list of operations performed on the managed instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations
  • Operation Id: ManagedInstanceOperations_ListByManagedInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
GetAsync(Guid, CancellationToken)

Gets a management operation on a managed instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
GetIfExists(Guid, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
GetIfExistsAsync(Guid, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ManagedInstanceOperationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceOperationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to