Share via


MockableDnsResolverArmClient.GetDnsSecurityRuleResource Method

Definition

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.

public virtual Azure.ResourceManager.DnsResolver.DnsSecurityRuleResource GetDnsSecurityRuleResource (Azure.Core.ResourceIdentifier id);
abstract member GetDnsSecurityRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DnsResolver.DnsSecurityRuleResource
override this.GetDnsSecurityRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DnsResolver.DnsSecurityRuleResource
Public Overridable Function GetDnsSecurityRuleResource (id As ResourceIdentifier) As DnsSecurityRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DnsSecurityRuleResource object.

Applies to