Condividi tramite


ServiceTagApiLinkCollection Class

Definition

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

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

Constructors

ServiceTagApiLinkCollection()

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

Adds an API to the specified tag via link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}/apiLinks/{apiLinkId}
  • Operation Id: TagApiLink_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceTagApiLinkResource
CreateOrUpdateAsync(WaitUntil, String, TagApiLinkContractData, CancellationToken)

Adds an API to the specified tag via link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}/apiLinks/{apiLinkId}
  • Operation Id: TagApiLink_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceTagApiLinkResource
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}/apiLinks/{apiLinkId}
  • Operation Id: TagApiLink_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceTagApiLinkResource
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}/apiLinks/{apiLinkId}
  • Operation Id: TagApiLink_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceTagApiLinkResource
Get(String, CancellationToken)

Gets the API link for the tag.

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

Lists a collection of the API links associated with a tag.

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

Lists a collection of the API links associated with a tag.

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

Gets the API link for the tag.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceTagApiLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to