Partilhar via


ServiceWorkspaceSchemaCollection Class

Definition

A class representing a collection of ServiceWorkspaceSchemaResource and their operations. Each ServiceWorkspaceSchemaResource in the collection will belong to the same instance of WorkspaceContractResource. To get a ServiceWorkspaceSchemaCollection instance call the GetServiceWorkspaceSchemas method from an instance of WorkspaceContractResource.

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

Constructors

ServiceWorkspaceSchemaCollection()

Initializes a new instance of the ServiceWorkspaceSchemaCollection 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 workspace in an API Management service instance.

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

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of the Schema specified by its identifier.

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

Lists a collection of schemas registered with workspace in a service instance.

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

Lists a collection of schemas registered with workspace in a service instance.

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

Gets the details of the Schema specified by its identifier.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceSchemaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to