共用方式為


SqlServerCommunicationLinkCollection Class

Definition

A class representing a collection of SqlServerCommunicationLinkResource and their operations. Each SqlServerCommunicationLinkResource in the collection will belong to the same instance of SqlServerResource. To get a SqlServerCommunicationLinkCollection instance call the GetSqlServerCommunicationLinks method from an instance of SqlServerResource.

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

Constructors

SqlServerCommunicationLinkCollection()

Initializes a new instance of the SqlServerCommunicationLinkCollection 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, SqlServerCommunicationLinkData, CancellationToken)

Creates a server communication link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_CreateOrUpdate
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
CreateOrUpdateAsync(WaitUntil, String, SqlServerCommunicationLinkData, CancellationToken)

Creates a server communication link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_CreateOrUpdate
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
Get(String, CancellationToken)

Returns a server communication link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetAll(CancellationToken)

Gets a list of server communication links.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks
  • Operation Id: ServerCommunicationLinks_ListByServer
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetAllAsync(CancellationToken)

Gets a list of server communication links.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks
  • Operation Id: ServerCommunicationLinks_ListByServer
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetAsync(String, CancellationToken)

Returns a server communication link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
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<SqlServerCommunicationLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerCommunicationLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to