Condividi tramite


SyncMemberCollection Class

Definition

A class representing a collection of SyncMemberResource and their operations. Each SyncMemberResource in the collection will belong to the same instance of SyncGroupResource. To get a SyncMemberCollection instance call the GetSyncMembers method from an instance of SyncGroupResource.

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

Constructors

SyncMemberCollection()

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

Creates or updates a sync member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
CreateOrUpdateAsync(WaitUntil, String, SyncMemberData, CancellationToken)

Creates or updates a sync member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
Get(String, CancellationToken)

Gets a sync member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
GetAll(CancellationToken)

Lists sync members in the given sync group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers
  • Operation Id: SyncMembers_ListBySyncGroup
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
GetAllAsync(CancellationToken)

Lists sync members in the given sync group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers
  • Operation Id: SyncMembers_ListBySyncGroup
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
GetAsync(String, CancellationToken)

Gets a sync member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/syncMembers/{syncMemberName}
  • Operation Id: SyncMembers_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncMemberResource
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<SyncMemberResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SyncMemberResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to