Condividi tramite


SqlServerTrustGroupCollection Class

Definition

A class representing a collection of SqlServerTrustGroupResource and their operations. Each SqlServerTrustGroupResource in the collection will belong to the same instance of ResourceGroupResource. To get a SqlServerTrustGroupCollection instance call the GetSqlServerTrustGroups method from an instance of ResourceGroupResource.

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

Constructors

SqlServerTrustGroupCollection()

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

Creates or updates a server trust group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
CreateOrUpdateAsync(WaitUntil, String, SqlServerTrustGroupData, CancellationToken)

Creates or updates a server trust group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
Get(String, CancellationToken)

Gets a server trust group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
GetAll(CancellationToken)

Lists a server trust group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups
  • Operation Id: ServerTrustGroups_ListByLocation
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
GetAllAsync(CancellationToken)

Lists a server trust group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups
  • Operation Id: ServerTrustGroups_ListByLocation
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
GetAsync(String, CancellationToken)

Gets a server trust group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operation Id: ServerTrustGroups_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerTrustGroupResource
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<SqlServerTrustGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerTrustGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to