ArmNetworkModelFactory.DdosCustomPolicyData 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.Network.DdosCustomPolicyData DdosCustomPolicyData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.DdosDetectionRule> detectionRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkSubResource> frontEndIpConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPAddresses = default, Azure.ETag? eTag = default);
static member DdosCustomPolicyData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Network.Models.DdosDetectionRule> * seq<Azure.ResourceManager.Network.Models.NetworkSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.DdosCustomPolicyData
Public Shared Function DdosCustomPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional detectionRules As IEnumerable(Of DdosDetectionRule) = Nothing, Optional frontEndIpConfiguration As IEnumerable(Of NetworkSubResource) = Nothing, Optional publicIPAddresses As IEnumerable(Of WritableSubResource) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As DdosCustomPolicyData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the DDoS custom policy resource.
- detectionRules
- IEnumerable<DdosDetectionRule>
The list of DDoS detection rules associated with the custom policy.
- frontEndIpConfiguration
- IEnumerable<NetworkSubResource>
The list of frontend IP configurations associated with the custom policy.
- publicIPAddresses
- IEnumerable<WritableSubResource>
The list of public IP addresses associated with the custom policy. This list is read-only.
Returns
A new DdosCustomPolicyData instance for mocking.