Share via


ServiceWorkspaceApiSchemaCollection Class

Definition

A class representing a collection of ServiceWorkspaceApiSchemaResource and their operations. Each ServiceWorkspaceApiSchemaResource in the collection will belong to the same instance of ServiceWorkspaceApiResource. To get a ServiceWorkspaceApiSchemaCollection instance call the GetServiceWorkspaceApiSchemas method from an instance of ServiceWorkspaceApiResource.

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

Constructors

ServiceWorkspaceApiSchemaCollection()

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

Creates or updates schema configuration for the API.

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

Creates or updates schema configuration for the API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/schemas/{schemaId}
  • Operation Id: WorkspaceApiSchema_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiSchemaResource
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}/apis/{apiId}/schemas/{schemaId}
  • Operation Id: WorkspaceApiSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiSchemaResource
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}/apis/{apiId}/schemas/{schemaId}
  • Operation Id: WorkspaceApiSchema_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiSchemaResource
Get(String, CancellationToken)

Get the schema configuration at the API level.

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

Get the schema configuration at the API level.

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

Get the schema configuration at the API level.

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

Get the schema configuration at the API level.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceApiSchemaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to