共用方式為


ManagedInstanceDtcCollection Class

Definition

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

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

Constructors

ManagedInstanceDtcCollection()

Initializes a new instance of the ManagedInstanceDtcCollection 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

CreateOrUpdate(WaitUntil, DtcName, ManagedInstanceDtcData, CancellationToken)

Updates managed instance DTC settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_CreateOrUpdate
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
CreateOrUpdateAsync(WaitUntil, DtcName, ManagedInstanceDtcData, CancellationToken)

Updates managed instance DTC settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_CreateOrUpdate
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
Exists(DtcName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
ExistsAsync(DtcName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
Get(DtcName, CancellationToken)

Gets managed instance DTC settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
GetAll(CancellationToken)

Gets a list of managed instance DTC settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc
  • Operation Id: ManagedInstanceDtcs_ListByManagedInstance
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
GetAllAsync(CancellationToken)

Gets a list of managed instance DTC settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc
  • Operation Id: ManagedInstanceDtcs_ListByManagedInstance
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
GetAsync(DtcName, CancellationToken)

Gets managed instance DTC settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
GetIfExists(DtcName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
GetIfExistsAsync(DtcName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operation Id: ManagedInstanceDtcs_Get
  • Default Api Version: 2022-05-01-preview
  • Resource: ManagedInstanceDtcResource
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<ManagedInstanceDtcResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstanceDtcResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to