ApiManagementProductTagCollection Class

Definition

A class representing a collection of ApiManagementProductTagResource and their operations. Each ApiManagementProductTagResource in the collection will belong to the same instance of ApiManagementProductResource. To get an ApiManagementProductTagCollection instance call the GetApiManagementProductTags method from an instance of ApiManagementProductResource.

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

Constructors

ApiManagementProductTagCollection()

Initializes a new instance of the ApiManagementProductTagCollection 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 Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_AssignToProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Assign tag to the Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_AssignToProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_GetByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_GetByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
Get(String, CancellationToken)

Get tag associated with the Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_GetByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all Tags associated with the Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags
  • Operation Id: Tag_ListByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all Tags associated with the Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags
  • Operation Id: Tag_ListByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
GetAsync(String, CancellationToken)

Get tag associated with the Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_GetByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_GetByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}
  • Operation Id: Tag_GetByProduct
  • Default Api Version: 2021-08-01
  • Resource: ApiManagementProductTagResource
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<ApiManagementProductTagResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementProductTagResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to