Share via


PrivateDnsZoneGroupCollection Class

Definition

A class representing a collection of PrivateDnsZoneGroupResource and their operations. Each PrivateDnsZoneGroupResource in the collection will belong to the same instance of PrivateEndpointResource. To get a PrivateDnsZoneGroupCollection instance call the GetPrivateDnsZoneGroups method from an instance of PrivateEndpointResource.

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

Constructors

PrivateDnsZoneGroupCollection()

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

Creates or updates a private dns zone group in the specified private endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
CreateOrUpdateAsync(WaitUntil, String, PrivateDnsZoneGroupData, CancellationToken)

Creates or updates a private dns zone group in the specified private endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
Get(String, CancellationToken)

Gets the private dns zone group resource by specified private dns zone group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
GetAll(CancellationToken)

Gets all private dns zone groups in a private endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups
  • Operation Id: PrivateDnsZoneGroups_List
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
GetAllAsync(CancellationToken)

Gets all private dns zone groups in a private endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups
  • Operation Id: PrivateDnsZoneGroups_List
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
GetAsync(String, CancellationToken)

Gets the private dns zone group resource by specified private dns zone group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}
  • Operation Id: PrivateDnsZoneGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: PrivateDnsZoneGroupResource
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<PrivateDnsZoneGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PrivateDnsZoneGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to