共用方式為


ManagedServerDnsAliasCollection Class

Definition

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

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

Constructors

ManagedServerDnsAliasCollection()

Initializes a new instance of the ManagedServerDnsAliasCollection 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, String, ManagedServerDnsAliasCreateOrUpdateContent, CancellationToken)

Creates a managed server DNS alias.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_CreateOrUpdate
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
CreateOrUpdateAsync(WaitUntil, String, ManagedServerDnsAliasCreateOrUpdateContent, CancellationToken)

Creates a managed server DNS alias.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_CreateOrUpdate
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
Get(String, CancellationToken)

Gets a server DNS alias.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
GetAll(CancellationToken)

Gets a list of managed server DNS aliases for a managed server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases
  • Operation Id: ManagedServerDnsAliases_ListByManagedInstance
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
GetAllAsync(CancellationToken)

Gets a list of managed server DNS aliases for a managed server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases
  • Operation Id: ManagedServerDnsAliases_ListByManagedInstance
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
GetAsync(String, CancellationToken)

Gets a server DNS alias.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dnsAliases/{dnsAliasName}
  • Operation Id: ManagedServerDnsAliases_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ManagedServerDnsAliasResource
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<ManagedServerDnsAliasResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedServerDnsAliasResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to