azure-native.network.getDdosProtectionPlan
Explore with Pulumi AI
Gets information about the specified DDoS protection plan.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]
. See the version guide for details.
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>
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]
func LookupDdosProtectionPlan(ctx *Context, args *LookupDdosProtectionPlanArgs, opts ...InvokeOption) (*LookupDdosProtectionPlanResult, error)
func LookupDdosProtectionPlanOutput(ctx *Context, args *LookupDdosProtectionPlanOutputArgs, opts ...InvokeOption) LookupDdosProtectionPlanResultOutput
> 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)
}
public static CompletableFuture<GetDdosProtectionPlanResult> getDdosProtectionPlan(GetDdosProtectionPlanArgs args, InvokeOptions options)
public static Output<GetDdosProtectionPlanResult> getDdosProtectionPlan(GetDdosProtectionPlanArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:network:getDdosProtectionPlan
arguments:
# arguments dictionary
The following arguments are supported:
- Ddos
Protection stringPlan Name - The name of the DDoS protection plan.
- Resource
Group stringName - The name of the resource group.
- Ddos
Protection stringPlan Name - The name of the DDoS protection plan.
- Resource
Group stringName - The name of the resource group.
- ddos
Protection StringPlan Name - The name of the DDoS protection plan.
- resource
Group StringName - The name of the resource group.
- ddos
Protection stringPlan Name - The name of the DDoS protection plan.
- resource
Group stringName - The name of the resource group.
- ddos_
protection_ strplan_ name - The name of the DDoS protection plan.
- resource_
group_ strname - The name of the resource group.
- ddos
Protection StringPlan Name - The name of the DDoS protection plan.
- resource
Group StringName - The name of the resource group.
getDdosProtectionPlan Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the DDoS protection plan resource.
- Public
IPAddresses List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
- Resource
Guid 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.
- Virtual
Networks List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> - The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
- Location string
- Resource location.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the DDoS protection plan resource.
- Public
IPAddresses []SubResource Response - The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
- Resource
Guid 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.
- Virtual
Networks []SubResource Response - The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
- Location string
- Resource location.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the DDoS protection plan resource.
- public
IPAddresses List<SubResource Response> - The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
- resource
Guid 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.
- virtual
Networks List<SubResource Response> - The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
- location String
- Resource location.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Resource ID.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the DDoS protection plan resource.
- public
IPAddresses SubResource Response[] - The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
- resource
Guid 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.
- virtual
Networks SubResource Response[] - The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
- location string
- Resource location.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- 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_ Sequence[Subaddresses Resource Response] - 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[SubResource Response] - The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
- location str
- Resource location.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the DDoS protection plan resource.
- public
IPAddresses List<Property Map> - The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
- resource
Guid 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.
- virtual
Networks List<Property Map> - The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
- location String
- Resource location.
- Map<String>
- Resource tags.
Supporting Types
SubResourceResponse
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0