Share via


PrivateDnsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.PrivateDns.

public static class PrivateDnsExtensions
type PrivateDnsExtensions = class
Public Module PrivateDnsExtensions
Inheritance
PrivateDnsExtensions

Methods

GetPrivateDnsAaaaRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsAaaaRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsAaaaRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsAaaaRecordResource(ResourceIdentifier) instead.

GetPrivateDnsARecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsARecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsARecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsARecordResource(ResourceIdentifier) instead.

GetPrivateDnsCnameRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsCnameRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsCnameRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsCnameRecordResource(ResourceIdentifier) instead.

GetPrivateDnsMXRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsMXRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsMXRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsMXRecordResource(ResourceIdentifier) instead.

GetPrivateDnsPtrRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsPtrRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsPtrRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsPtrRecordResource(ResourceIdentifier) instead.

GetPrivateDnsSoaRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsSoaRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsSoaRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsSoaRecordResource(ResourceIdentifier) instead.

GetPrivateDnsSrvRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsSrvRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsSrvRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsSrvRecordResource(ResourceIdentifier) instead.

GetPrivateDnsTxtRecordResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsTxtRecordResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PrivateDnsTxtRecordResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsTxtRecordResource(ResourceIdentifier) instead.

GetPrivateDnsZone(ResourceGroupResource, String, CancellationToken)

Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
  • Operation Id: PrivateZones_Get
  • Default Api Version: 2024-06-01
  • Resource: PrivateDnsZoneResource
GetPrivateDnsZoneAsync(ResourceGroupResource, String, CancellationToken)

Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
  • Operation Id: PrivateZones_Get
  • Default Api Version: 2024-06-01
  • Resource: PrivateDnsZoneResource
GetPrivateDnsZoneResource(ArmClient, ResourceIdentifier)

Gets an object representing a PrivateDnsZoneResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a PrivateDnsZoneResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPrivateDnsZoneResource(ResourceIdentifier) instead.

GetPrivateDnsZones(ResourceGroupResource)

Gets a collection of PrivateDnsZoneResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPrivateDnsZones() instead.

GetPrivateDnsZones(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists the Private DNS zones in all resource groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones
  • Operation Id: PrivateZones_List
  • Default Api Version: 2024-06-01
  • Resource: PrivateDnsZoneResource
GetPrivateDnsZonesAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists the Private DNS zones in all resource groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones
  • Operation Id: PrivateZones_List
  • Default Api Version: 2024-06-01
  • Resource: PrivateDnsZoneResource
GetVirtualNetworkLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualNetworkLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VirtualNetworkLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualNetworkLinkResource(ResourceIdentifier) instead.

Applies to