ArmDnsResolverModelFactory.DnsSecurityRulePatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.DnsResolver.Models.DnsSecurityRulePatch DnsSecurityRulePatch(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> dnsResolverDomainLists = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DnsResolver.Models.ManagedDomainList> managedDomainLists = default, Azure.ResourceManager.DnsResolver.Models.DnsSecurityRuleState? dnsSecurityRuleState = default, int? priority = default, Azure.ResourceManager.DnsResolver.Models.DnsSecurityRuleActionType? actionType = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member DnsSecurityRulePatch : seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.DnsResolver.Models.ManagedDomainList> * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsSecurityRuleState> * Nullable<int> * Nullable<Azure.ResourceManager.DnsResolver.Models.DnsSecurityRuleActionType> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.DnsResolver.Models.DnsSecurityRulePatch
Public Shared Function DnsSecurityRulePatch (Optional dnsResolverDomainLists As IEnumerable(Of WritableSubResource) = Nothing, Optional managedDomainLists As IEnumerable(Of ManagedDomainList) = Nothing, Optional dnsSecurityRuleState As Nullable(Of DnsSecurityRuleState) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional actionType As Nullable(Of DnsSecurityRuleActionType) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As DnsSecurityRulePatch
Parameters
- dnsResolverDomainLists
- IEnumerable<WritableSubResource>
DNS resolver policy domains lists that the DNS security rule applies to.
- managedDomainLists
- IEnumerable<ManagedDomainList>
Managed domain lists that the DNS security rule applies to.
- dnsSecurityRuleState
- Nullable<DnsSecurityRuleState>
The state of DNS security rule.
- actionType
- Nullable<DnsSecurityRuleActionType>
The type of action to take.
- tags
- IDictionary<String,String>
Tags for DNS security rule.
Returns
A new DnsSecurityRulePatch instance for mocking.