共用方式為


MonitorPrivateLinkScopeCollection Class

Definition

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

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

Constructors

MonitorPrivateLinkScopeCollection()

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

Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_CreateOrUpdate
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
CreateOrUpdateAsync(WaitUntil, String, MonitorPrivateLinkScopeData, CancellationToken)

Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_CreateOrUpdate
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
Get(String, CancellationToken)

Returns a Azure Monitor PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
GetAll(CancellationToken)

Gets a list of Azure Monitor PrivateLinkScopes within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes
  • Operation Id: PrivateLinkScopes_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
GetAllAsync(CancellationToken)

Gets a list of Azure Monitor PrivateLinkScopes within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes
  • Operation Id: PrivateLinkScopes_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
GetAsync(String, CancellationToken)

Returns a Azure Monitor PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopeResource
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<MonitorPrivateLinkScopeResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MonitorPrivateLinkScopeResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to