Share via


ApiManagementGlobalSchemaCollection Class

Definition

A class representing a collection of ApiManagementGlobalSchemaResource and their operations. Each ApiManagementGlobalSchemaResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementGlobalSchemaCollection instance call the GetApiManagementGlobalSchemas method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementGlobalSchemaCollection()

Initializes a new instance of the ApiManagementGlobalSchemaCollection 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, ApiManagementGlobalSchemaData, Nullable<ETag>, CancellationToken)

Creates new or updates existing specified Schema of the API Management service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementGlobalSchemaData, Nullable<ETag>, CancellationToken)

Creates new or updates existing specified Schema of the API Management service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
Get(String, CancellationToken)

Gets the details of the Schema specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of schemas registered with service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas
  • Operation Id: GlobalSchema_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of schemas registered with service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas
  • Operation Id: GlobalSchema_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
GetAsync(String, CancellationToken)

Gets the details of the Schema specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/schemas/{schemaId}
  • Operation Id: GlobalSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGlobalSchemaResource
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<ApiManagementGlobalSchemaResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementGlobalSchemaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to