Delen via


ServiceWorkspaceProductApiLinkCollection Class

Definition

A class representing a collection of ServiceWorkspaceProductApiLinkResource and their operations. Each ServiceWorkspaceProductApiLinkResource in the collection will belong to the same instance of ServiceWorkspaceProductResource. To get a ServiceWorkspaceProductApiLinkCollection instance call the GetServiceWorkspaceProductApiLinks method from an instance of ServiceWorkspaceProductResource.

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

Constructors

ServiceWorkspaceProductApiLinkCollection()

Initializes a new instance of the ServiceWorkspaceProductApiLinkCollection 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}/workspaces/{workspaceId}/products/{productId}/apiLinks/{apiLinkId}
  • Operation Id: WorkspaceProductApiLink_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceProductApiLinkResource
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}/workspaces/{workspaceId}/products/{productId}/apiLinks/{apiLinkId}
  • Operation Id: WorkspaceProductApiLink_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceProductApiLinkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the API link for the product.

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

Gets the API link for the product.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceProductApiLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to