共用方式為


MonitorPrivateLinkScopedResourceCollection Class

Definition

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

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

Constructors

MonitorPrivateLinkScopedResourceCollection()

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

Approve or reject a private endpoint connection with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}
  • Operation Id: PrivateLinkScopedResources_CreateOrUpdate
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopedResource
CreateOrUpdateAsync(WaitUntil, String, MonitorPrivateLinkScopedResourceData, CancellationToken)

Approve or reject a private endpoint connection with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}
  • Operation Id: PrivateLinkScopedResources_CreateOrUpdate
  • Default Api Version: 2021-07-01-preview
  • Resource: MonitorPrivateLinkScopedResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a scoped resource in a private link scope.

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

Gets all private endpoint connections on a private link scope.

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

Gets all private endpoint connections on a private link scope.

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

Gets a scoped resource in a private link scope.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MonitorPrivateLinkScopedResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to