Condividi tramite


ManagedDatabaseSchemaCollection Class

Definition

A class representing a collection of ManagedDatabaseSchemaResource and their operations. Each ManagedDatabaseSchemaResource in the collection will belong to the same instance of ManagedDatabaseResource. To get a ManagedDatabaseSchemaCollection instance call the GetManagedDatabaseSchemas method from an instance of ManagedDatabaseResource.

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

Constructors

ManagedDatabaseSchemaCollection()

Initializes a new instance of the ManagedDatabaseSchemaCollection 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.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • Operation Id: ManagedDatabaseSchemas_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • Operation Id: ManagedDatabaseSchemas_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
Get(String, CancellationToken)

Get managed database schema

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • Operation Id: ManagedDatabaseSchemas_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
GetAll(String, CancellationToken)

List managed database schemas

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas
  • Operation Id: ManagedDatabaseSchemas_ListByDatabase
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
GetAllAsync(String, CancellationToken)

List managed database schemas

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas
  • Operation Id: ManagedDatabaseSchemas_ListByDatabase
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
GetAsync(String, CancellationToken)

Get managed database schema

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • Operation Id: ManagedDatabaseSchemas_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • Operation Id: ManagedDatabaseSchemas_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • Operation Id: ManagedDatabaseSchemas_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSchemaResource
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<ManagedDatabaseSchemaResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedDatabaseSchemaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to