1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getDdosProtectionPlan
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native.network.getDdosProtectionPlan

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

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

Other available API versions: 2022-05-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 getDdosProtectionPlan

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 getDdosProtectionPlan(args: GetDdosProtectionPlanArgs, opts?: InvokeOptions): Promise<GetDdosProtectionPlanResult>
function getDdosProtectionPlanOutput(args: GetDdosProtectionPlanOutputArgs, opts?: InvokeOptions): Output<GetDdosProtectionPlanResult>
Copy
def get_ddos_protection_plan(ddos_protection_plan_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDdosProtectionPlanResult
def get_ddos_protection_plan_output(ddos_protection_plan_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDdosProtectionPlanResult]
Copy
func LookupDdosProtectionPlan(ctx *Context, args *LookupDdosProtectionPlanArgs, opts ...InvokeOption) (*LookupDdosProtectionPlanResult, error)
func LookupDdosProtectionPlanOutput(ctx *Context, args *LookupDdosProtectionPlanOutputArgs, opts ...InvokeOption) LookupDdosProtectionPlanResultOutput
Copy

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

public static class GetDdosProtectionPlan 
{
    public static Task<GetDdosProtectionPlanResult> InvokeAsync(GetDdosProtectionPlanArgs args, InvokeOptions? opts = null)
    public static Output<GetDdosProtectionPlanResult> Invoke(GetDdosProtectionPlanInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDdosProtectionPlanResult> getDdosProtectionPlan(GetDdosProtectionPlanArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Copy
fn::invoke:
  function: azure-native:network:getDdosProtectionPlan
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DdosProtectionPlanName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DDoS protection plan.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
DdosProtectionPlanName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DDoS protection plan.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ddosProtectionPlanName
This property is required.
Changes to this property will trigger replacement.
String
The name of the DDoS protection plan.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
ddosProtectionPlanName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DDoS protection plan.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ddos_protection_plan_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the DDoS protection plan.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
ddosProtectionPlanName
This property is required.
Changes to this property will trigger replacement.
String
The name of the DDoS protection plan.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getDdosProtectionPlan Result

The following output properties are available:

Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
Resource ID.
Name string
Resource name.
ProvisioningState string
The provisioning state of the DDoS protection plan resource.
PublicIPAddresses List<Pulumi.AzureNative.Network.Outputs.SubResourceResponse>
The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
ResourceGuid string
The resource GUID property of the DDoS protection plan 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.
VirtualNetworks List<Pulumi.AzureNative.Network.Outputs.SubResourceResponse>
The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
Location string
Resource location.
Tags Dictionary<string, string>
Resource tags.
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
Resource ID.
Name string
Resource name.
ProvisioningState string
The provisioning state of the DDoS protection plan resource.
PublicIPAddresses []SubResourceResponse
The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
ResourceGuid string
The resource GUID property of the DDoS protection plan 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.
VirtualNetworks []SubResourceResponse
The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
Location string
Resource location.
Tags map[string]string
Resource tags.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
Resource ID.
name String
Resource name.
provisioningState String
The provisioning state of the DDoS protection plan resource.
publicIPAddresses List<SubResourceResponse>
The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
resourceGuid String
The resource GUID property of the DDoS protection plan 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.
virtualNetworks List<SubResourceResponse>
The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
location String
Resource location.
tags Map<String,String>
Resource tags.
etag string
A unique read-only string that changes whenever the resource is updated.
id string
Resource ID.
name string
Resource name.
provisioningState string
The provisioning state of the DDoS protection plan resource.
publicIPAddresses SubResourceResponse[]
The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
resourceGuid string
The resource GUID property of the DDoS protection plan 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.
virtualNetworks SubResourceResponse[]
The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
location string
Resource location.
tags {[key: string]: string}
Resource tags.
etag str
A unique read-only string that changes whenever the resource is updated.
id str
Resource ID.
name str
Resource name.
provisioning_state str
The provisioning state of the DDoS protection plan resource.
public_ip_addresses Sequence[SubResourceResponse]
The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
resource_guid str
The resource GUID property of the DDoS protection plan 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.
virtual_networks Sequence[SubResourceResponse]
The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
location str
Resource location.
tags Mapping[str, str]
Resource tags.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
Resource ID.
name String
Resource name.
provisioningState String
The provisioning state of the DDoS protection plan resource.
publicIPAddresses List<Property Map>
The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
resourceGuid String
The resource GUID property of the DDoS protection plan 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.
virtualNetworks List<Property Map>
The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
location String
Resource location.
tags Map<String>
Resource tags.

Supporting Types

SubResourceResponse

Id This property is required. string
Resource ID.
Id This property is required. string
Resource ID.
id This property is required. String
Resource ID.
id This property is required. string
Resource ID.
id This property is required. str
Resource ID.
id This property is required. String
Resource ID.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.82.0 published on Friday, Jan 10, 2025 by Pulumi