共用方式為


ServiceProductGroupLinkCollection Class

Definition

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

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

Constructors

ServiceProductGroupLinkCollection()

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

Adds a group to the specified product via link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groupLinks/{groupLinkId}
  • Operation Id: ProductGroupLink_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceProductGroupLinkResource
CreateOrUpdateAsync(WaitUntil, String, ProductGroupLinkContractData, CancellationToken)

Adds a group to the specified product via link.

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

Gets the group link for the product.

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

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

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

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

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

Gets the group link for the product.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceProductGroupLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to