Condividi tramite


ServiceProductApiLinkCollection Class

Definition

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

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

Constructors

ServiceProductApiLinkCollection()

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

Adds an API to the specified product via link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apiLinks/{apiLinkId}
  • Operation Id: ProductApiLink_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceProductApiLinkResource
CreateOrUpdateAsync(WaitUntil, String, ProductApiLinkContractData, CancellationToken)

Adds an API to the specified product via link.

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

Gets the API link for the product.

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

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

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

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

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

Gets the API link for the product.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceProductApiLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to