Show / Hide Table of Contents

Class GetNetworkDdosProtectionPlan

Inheritance
System.Object
GetNetworkDdosProtectionPlan
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public static class GetNetworkDdosProtectionPlan

Methods

View Source

InvokeAsync(GetNetworkDdosProtectionPlanArgs, InvokeOptions)

Use this data source to access information about an existing Azure Network DDoS Protection Plan.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.Network.GetNetworkDdosProtectionPlan.InvokeAsync(new Azure.Network.GetNetworkDdosProtectionPlanArgs
    {
        Name = azurerm_network_ddos_protection_plan.Example.Name,
        ResourceGroupName = azurerm_network_ddos_protection_plan.Example.Resource_group_name,
    }));
    this.DdosProtectionPlanId = example.Apply(example => example.Id);
}

[Output("ddosProtectionPlanId")]
public Output<string> DdosProtectionPlanId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetNetworkDdosProtectionPlanResult> InvokeAsync(GetNetworkDdosProtectionPlanArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetNetworkDdosProtectionPlanArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetNetworkDdosProtectionPlanResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.