Lingua

ArmNetworkModelFactory.DdosCustomPolicyData Method

Definition

Initializes a DDoS custom policy for mocking.

public static Azure.ResourceManager.Network.DdosCustomPolicyData DdosCustomPolicyData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = 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.DdosMitigationRule> mitigationRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> frontEndIPConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> publicIPAddresses = default, Azure.ETag? eTag = default);
static member DdosCustomPolicyData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * 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.DdosMitigationRule> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * 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 resourceType As Nullable(Of ResourceType) = 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 mitigationRules As IEnumerable(Of DdosMitigationRule) = Nothing, Optional frontEndIPConfiguration As IEnumerable(Of WritableSubResource) = Nothing, Optional publicIPAddresses As IEnumerable(Of WritableSubResource) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As DdosCustomPolicyData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

resourceGuid
Nullable<Guid>

The resource GUID of the DDoS custom policy.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the DDoS custom policy.

detectionRules
IEnumerable<DdosDetectionRule>

The DDoS detection rules associated with the custom policy.

mitigationRules
IEnumerable<DdosMitigationRule>

The DDoS mitigation rules associated with the custom policy.

frontEndIPConfiguration
IEnumerable<WritableSubResource>

The frontend IP configurations associated with the custom policy.

publicIPAddresses
IEnumerable<WritableSubResource>

The public IP addresses associated with the custom policy.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

Returns

A new DdosCustomPolicyData instance for mocking.

Applies to