Compartilhar via


ServiceWorkspaceApiVersionSetCollection Class

Definition

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

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

Constructors

ServiceWorkspaceApiVersionSetCollection()

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

Creates or Updates a Api Version Set.

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

Creates or Updates a Api Version Set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apiVersionSets/{versionSetId}
  • Operation Id: WorkspaceApiVersionSet_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiVersionSetResource
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}/apiVersionSets/{versionSetId}
  • Operation Id: WorkspaceApiVersionSet_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiVersionSetResource
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}/apiVersionSets/{versionSetId}
  • Operation Id: WorkspaceApiVersionSet_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiVersionSetResource
Get(String, CancellationToken)

Gets the details of the Api Version Set specified by its identifier.

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

Lists a collection of API Version Sets in the specified workspace with a service instance.

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

Lists a collection of API Version Sets in the specified workspace with a service instance.

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

Gets the details of the Api Version Set specified by its identifier.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceApiVersionSetResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to