共用方式為


ApiOperationTagCollection Class

Definition

A class representing a collection of ApiOperationTagResource and their operations. Each ApiOperationTagResource in the collection will belong to the same instance of ApiOperationResource. To get an ApiOperationTagCollection instance call the GetApiOperationTags method from an instance of ApiOperationResource.

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

Constructors

ApiOperationTagCollection()

Initializes a new instance of the ApiOperationTagCollection 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, CancellationToken)

Assign tag to the Operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_AssignToOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Assign tag to the Operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_AssignToOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_GetByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_GetByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
Get(String, CancellationToken)

Get tag associated with the Operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_GetByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all Tags associated with the Operation.

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

Lists all Tags associated with the Operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags
  • Operation Id: Tag_ListByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
GetAsync(String, CancellationToken)

Get tag associated with the Operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_GetByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_GetByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}
  • Operation Id: Tag_GetByOperation
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiOperationTagResource
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<ApiOperationTagResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiOperationTagResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to