Condividi tramite


MySqlPrivateLinkResourceCollection Class

Definition

A class representing a collection of MySqlPrivateLinkResource and their operations. Each MySqlPrivateLinkResource in the collection will belong to the same instance of MySqlServerResource. To get a MySqlPrivateLinkResourceCollection instance call the GetMySqlPrivateLinkResources method from an instance of MySqlServerResource.

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

Constructors

MySqlPrivateLinkResourceCollection()

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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
Get(String, CancellationToken)

Gets a private link resource for MySQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
GetAll(CancellationToken)

Gets the private link resources for MySQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
GetAllAsync(CancellationToken)

Gets the private link resources for MySQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
GetAsync(String, CancellationToken)

Gets a private link resource for MySQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlPrivateLinkResource
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<MySqlPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to