共用方式為


HybridComputePrivateLinkScopeCollection Class

Definition

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

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

Constructors

HybridComputePrivateLinkScopeCollection()

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_CreateOrUpdate
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
CreateOrUpdateAsync(WaitUntil, String, HybridComputePrivateLinkScopeData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_CreateOrUpdate
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
Get(String, CancellationToken)

Returns a Azure Arc PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
GetAll(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes
  • Operation Id: PrivateLinkScopes_ListByResourceGroup
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
GetAllAsync(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes
  • Operation Id: PrivateLinkScopes_ListByResourceGroup
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
GetAsync(String, CancellationToken)

Returns a Azure Arc PrivateLinkScope.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_Get
  • Default Api Version: 2024-03-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
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<HybridComputePrivateLinkScopeResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridComputePrivateLinkScopeResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to