Dela via


PrivateLinkServiceCollection Class

Definition

A class representing a collection of PrivateLinkServiceResource and their operations. Each PrivateLinkServiceResource in the collection will belong to the same instance of ResourceGroupResource. To get a PrivateLinkServiceCollection instance call the GetPrivateLinkServices method from an instance of ResourceGroupResource.

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

Constructors

PrivateLinkServiceCollection()

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

Creates or updates an private link service in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
CreateOrUpdateAsync(WaitUntil, String, PrivateLinkServiceData, CancellationToken)

Creates or updates an private link service in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
Get(String, String, CancellationToken)

Gets the specified private link service by resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
GetAll(CancellationToken)

Gets all private link services in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices
  • Operation Id: PrivateLinkServices_List
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
GetAllAsync(CancellationToken)

Gets all private link services in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices
  • Operation Id: PrivateLinkServices_List
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
GetAsync(String, String, CancellationToken)

Gets the specified private link service by resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
  • Operation Id: PrivateLinkServices_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateLinkServiceResource
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<PrivateLinkServiceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PrivateLinkServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to