Share via


DnsResolverExtensions Class

Definition

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

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

Methods

GetDnsForwardingRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsForwardingRuleResource 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 DnsForwardingRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsForwardingRuleResource(ResourceIdentifier) instead.

GetDnsForwardingRuleset(ResourceGroupResource, String, CancellationToken)

Gets a DNS forwarding ruleset properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}
  • Operation Id: DnsForwardingRulesets_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetResource
GetDnsForwardingRulesetAsync(ResourceGroupResource, String, CancellationToken)

Gets a DNS forwarding ruleset properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}
  • Operation Id: DnsForwardingRulesets_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetResource
GetDnsForwardingRulesetResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsForwardingRulesetResource 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 DnsForwardingRulesetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsForwardingRulesetResource(ResourceIdentifier) instead.

GetDnsForwardingRulesets(ResourceGroupResource)

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

GetDnsForwardingRulesets(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS forwarding rulesets in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets
  • Operation Id: DnsForwardingRulesets_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetResource
GetDnsForwardingRulesetsAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS forwarding rulesets in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets
  • Operation Id: DnsForwardingRulesets_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsForwardingRulesetResource
GetDnsForwardingRulesetVirtualNetworkLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsForwardingRulesetVirtualNetworkLinkResource 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 DnsForwardingRulesetVirtualNetworkLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsForwardingRulesetVirtualNetworkLinkResource(ResourceIdentifier) instead.

GetDnsResolver(ResourceGroupResource, String, CancellationToken)

Gets properties of a DNS resolver.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}
  • Operation Id: DnsResolvers_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverResource
GetDnsResolverAsync(ResourceGroupResource, String, CancellationToken)

Gets properties of a DNS resolver.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}
  • Operation Id: DnsResolvers_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverResource
GetDnsResolverDomainList(ResourceGroupResource, String, CancellationToken)

Gets properties of a DNS resolver domain list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetDnsResolverDomainListAsync(ResourceGroupResource, String, CancellationToken)

Gets properties of a DNS resolver domain list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetDnsResolverDomainListResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsResolverDomainListResource 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 DnsResolverDomainListResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsResolverDomainListResource(ResourceIdentifier) instead.

GetDnsResolverDomainLists(ResourceGroupResource)

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

GetDnsResolverDomainLists(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS resolver domain lists in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverDomainLists
  • Operation Id: DnsResolverDomainLists_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetDnsResolverDomainListsAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS resolver domain lists in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverDomainLists
  • Operation Id: DnsResolverDomainLists_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetDnsResolverInboundEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsResolverInboundEndpointResource 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 DnsResolverInboundEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsResolverInboundEndpointResource(ResourceIdentifier) instead.

GetDnsResolverOutboundEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsResolverOutboundEndpointResource 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 DnsResolverOutboundEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsResolverOutboundEndpointResource(ResourceIdentifier) instead.

GetDnsResolverPolicies(ResourceGroupResource)

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

GetDnsResolverPolicies(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS resolver policies in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverPolicies
  • Operation Id: DnsResolverPolicies_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverPolicyResource
GetDnsResolverPoliciesAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS resolver policies in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolverPolicies
  • Operation Id: DnsResolverPolicies_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverPolicyResource
GetDnsResolverPolicy(ResourceGroupResource, String, CancellationToken)

Gets properties of a DNS resolver policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}
  • Operation Id: DnsResolverPolicies_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverPolicyResource
GetDnsResolverPolicyAsync(ResourceGroupResource, String, CancellationToken)

Gets properties of a DNS resolver policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverPolicies/{dnsResolverPolicyName}
  • Operation Id: DnsResolverPolicies_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverPolicyResource
GetDnsResolverPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsResolverPolicyResource 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 DnsResolverPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsResolverPolicyResource(ResourceIdentifier) instead.

GetDnsResolverPolicyVirtualNetworkLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsResolverPolicyVirtualNetworkLinkResource 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 DnsResolverPolicyVirtualNetworkLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsResolverPolicyVirtualNetworkLinkResource(ResourceIdentifier) instead.

GetDnsResolverResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsResolverResource 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 DnsResolverResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsResolverResource(ResourceIdentifier) instead.

GetDnsResolvers(ResourceGroupResource)

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

GetDnsResolvers(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS resolvers in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers
  • Operation Id: DnsResolvers_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverResource
GetDnsResolversAsync(SubscriptionResource, Nullable<Int32>, CancellationToken)

Lists DNS resolvers in all resource groups of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers
  • Operation Id: DnsResolvers_List
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverResource
GetDnsSecurityRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DnsSecurityRuleResource 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 DnsSecurityRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsSecurityRuleResource(ResourceIdentifier) instead.

GetVirtualNetworkDnsResolverResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualNetworkDnsResolverResource along with the instance operations that can be performed on it but with no data. You can use Azure.ResourceManager.DnsResolver.VirtualNetworkDnsResolverResource.CreateResourceIdentifier(System.String,System.String,System.String) to create a VirtualNetworkDnsResolverResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualNetworkDnsResolverResource(ResourceIdentifier) instead.

Applies to