Megosztás a következőn keresztül:


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
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
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
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
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
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
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.

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
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
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