Partilhar via


ServiceWorkspaceGroupCollection Class

Definition

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

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

Constructors

ServiceWorkspaceGroupCollection()

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

Creates or Updates a group.

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

Creates or Updates a group.

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

Gets the details of the group specified by its identifier.

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

Lists a collection of groups defined within a workspace in a service instance.

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

Lists a collection of groups defined within a workspace in a service instance.

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

Gets the details of the group specified by its identifier.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to