1. Packages
  2. Azure Native v2
  3. API Docs
  4. network
  5. getDdosCustomPolicy
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.network.getDdosCustomPolicy

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets information about the specified DDoS custom policy. Azure REST API version: 2023-02-01.

Other available API versions: 2022-01-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

Using getDdosCustomPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDdosCustomPolicy(args: GetDdosCustomPolicyArgs, opts?: InvokeOptions): Promise<GetDdosCustomPolicyResult>
function getDdosCustomPolicyOutput(args: GetDdosCustomPolicyOutputArgs, opts?: InvokeOptions): Output<GetDdosCustomPolicyResult>
Copy
def get_ddos_custom_policy(ddos_custom_policy_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDdosCustomPolicyResult
def get_ddos_custom_policy_output(ddos_custom_policy_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDdosCustomPolicyResult]
Copy
func LookupDdosCustomPolicy(ctx *Context, args *LookupDdosCustomPolicyArgs, opts ...InvokeOption) (*LookupDdosCustomPolicyResult, error)
func LookupDdosCustomPolicyOutput(ctx *Context, args *LookupDdosCustomPolicyOutputArgs, opts ...InvokeOption) LookupDdosCustomPolicyResultOutput
Copy

> Note: This function is named LookupDdosCustomPolicy in the Go SDK.

public static class GetDdosCustomPolicy 
{
    public static Task<GetDdosCustomPolicyResult> InvokeAsync(GetDdosCustomPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetDdosCustomPolicyResult> Invoke(GetDdosCustomPolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDdosCustomPolicyResult> getDdosCustomPolicy(GetDdosCustomPolicyArgs args, InvokeOptions options)
public static Output<GetDdosCustomPolicyResult> getDdosCustomPolicy(GetDdosCustomPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getDdosCustomPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DdosCustomPolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DDoS custom policy.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
DdosCustomPolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DDoS custom policy.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ddosCustomPolicyName
This property is required.
Changes to this property will trigger replacement.
String
The name of the DDoS custom policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
ddosCustomPolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DDoS custom policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ddos_custom_policy_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the DDoS custom policy.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
ddosCustomPolicyName
This property is required.
Changes to this property will trigger replacement.
String
The name of the DDoS custom policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getDdosCustomPolicy Result

The following output properties are available:

Etag string
A unique read-only string that changes whenever the resource is updated.
Name string
Resource name.
ProvisioningState string
The provisioning state of the DDoS custom policy resource.
ResourceGuid string
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.
Type string
Resource type.
Id string
Resource ID.
Location string
Resource location.
Tags Dictionary<string, string>
Resource tags.
Etag string
A unique read-only string that changes whenever the resource is updated.
Name string
Resource name.
ProvisioningState string
The provisioning state of the DDoS custom policy resource.
ResourceGuid string
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.
Type string
Resource type.
Id string
Resource ID.
Location string
Resource location.
Tags map[string]string
Resource tags.
etag String
A unique read-only string that changes whenever the resource is updated.
name String
Resource name.
provisioningState String
The provisioning state of the DDoS custom policy resource.
resourceGuid String
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.
type String
Resource type.
id String
Resource ID.
location String
Resource location.
tags Map<String,String>
Resource tags.
etag string
A unique read-only string that changes whenever the resource is updated.
name string
Resource name.
provisioningState string
The provisioning state of the DDoS custom policy resource.
resourceGuid string
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.
type string
Resource type.
id string
Resource ID.
location string
Resource location.
tags {[key: string]: string}
Resource tags.
etag str
A unique read-only string that changes whenever the resource is updated.
name str
Resource name.
provisioning_state str
The provisioning state of the DDoS custom policy resource.
resource_guid str
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.
type str
Resource type.
id str
Resource ID.
location str
Resource location.
tags Mapping[str, str]
Resource tags.
etag String
A unique read-only string that changes whenever the resource is updated.
name String
Resource name.
provisioningState String
The provisioning state of the DDoS custom policy resource.
resourceGuid String
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.
type String
Resource type.
id String
Resource ID.
location String
Resource location.
tags Map<String>
Resource tags.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi