Share via


ApiManagementTagCollection Class

Definition

A class representing a collection of ApiManagementTagResource and their operations. Each ApiManagementTagResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementTagCollection instance call the GetApiManagementTags method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementTagCollection()

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

Creates a tag.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}
  • Operation Id: Tag_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementTagResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementTagCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Creates a tag.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of the tag specified by its identifier.

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

Lists a collection of tags defined within a service instance.

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

Lists a collection of tags defined within a service instance.

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

Gets the details of the tag specified by its identifier.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementTagResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to