Condividi tramite


MonitorPrivateLinkResourceCollection Class

Definition

A class representing a collection of MonitorPrivateLinkResource and their operations. Each MonitorPrivateLinkResource in the collection will belong to the same instance of MonitorPrivateLinkScopeResource. To get a MonitorPrivateLinkResourceCollection instance call the GetMonitorPrivateLinkResources method from an instance of MonitorPrivateLinkScopeResource.

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

Constructors

MonitorPrivateLinkResourceCollection()

Initializes a new instance of the MonitorPrivateLinkResourceCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
Get(String, CancellationToken)

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
GetAll(CancellationToken)

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByPrivateLinkScope
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
GetAllAsync(CancellationToken)

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByPrivateLinkScope
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
GetAsync(String, CancellationToken)

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkResource
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<MonitorPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MonitorPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to