azure-native.network.getDdosCustomPolicy
A DDoS custom policy in a resource group. API Version: 2020-11-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>
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]
func LookupDdosCustomPolicy(ctx *Context, args *LookupDdosCustomPolicyArgs, opts ...InvokeOption) (*LookupDdosCustomPolicyResult, error)
func LookupDdosCustomPolicyOutput(ctx *Context, args *LookupDdosCustomPolicyOutputArgs, opts ...InvokeOption) LookupDdosCustomPolicyResultOutput
> 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)
}
public static CompletableFuture<GetDdosCustomPolicyResult> getDdosCustomPolicy(GetDdosCustomPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getDdosCustomPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Ddos
Custom stringPolicy Name The name of the DDoS custom policy.
- Resource
Group stringName The name of the resource group.
- Ddos
Custom stringPolicy Name The name of the DDoS custom policy.
- Resource
Group stringName The name of the resource group.
- ddos
Custom StringPolicy Name The name of the DDoS custom policy.
- resource
Group StringName The name of the resource group.
- ddos
Custom stringPolicy Name The name of the DDoS custom policy.
- resource
Group stringName The name of the resource group.
- ddos_
custom_ strpolicy_ name The name of the DDoS custom policy.
- resource_
group_ strname The name of the resource group.
- ddos
Custom StringPolicy Name The name of the DDoS custom policy.
- resource
Group StringName 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.
- Provisioning
State string The provisioning state of the DDoS custom policy resource.
- Public
IPAddresses List<Pulumi.Azure Native. Network. Outputs. Sub Resource Response> The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
- Resource
Guid 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.
- Protocol
Custom List<Pulumi.Settings Azure Native. Network. Outputs. Protocol Custom Settings Format Response> The protocol-specific DDoS policy customization parameters.
- Dictionary<string, string>
Resource tags.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Provisioning
State string The provisioning state of the DDoS custom policy resource.
- Public
IPAddresses []SubResource Response The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
- Resource
Guid 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.
- Protocol
Custom []ProtocolSettings Custom Settings Format Response The protocol-specific DDoS policy customization parameters.
- map[string]string
Resource tags.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- provisioning
State String The provisioning state of the DDoS custom policy resource.
- public
IPAddresses List<SubResource Response> The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
- resource
Guid 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.
- protocol
Custom List<ProtocolSettings Custom Settings Format Response> The protocol-specific DDoS policy customization parameters.
- Map<String,String>
Resource tags.
- etag string
A unique read-only string that changes whenever the resource is updated.
- name string
Resource name.
- provisioning
State string The provisioning state of the DDoS custom policy resource.
- public
IPAddresses SubResource Response[] The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
- resource
Guid 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.
- protocol
Custom ProtocolSettings Custom Settings Format Response[] The protocol-specific DDoS policy customization parameters.
- {[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.
- public_
ip_ Sequence[Subaddresses Resource Response] The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
- 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.
- protocol_
custom_ Sequence[Protocolsettings Custom Settings Format Response] The protocol-specific DDoS policy customization parameters.
- Mapping[str, str]
Resource tags.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- provisioning
State String The provisioning state of the DDoS custom policy resource.
- public
IPAddresses List<Property Map> The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
- resource
Guid 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.
- protocol
Custom List<Property Map>Settings The protocol-specific DDoS policy customization parameters.
- Map<String>
Resource tags.
Supporting Types
ProtocolCustomSettingsFormatResponse
- Protocol string
The protocol for which the DDoS protection policy is being customized.
- Source
Rate stringOverride The customized DDoS protection source rate.
- Trigger
Rate stringOverride The customized DDoS protection trigger rate.
- Trigger
Sensitivity stringOverride The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
- Protocol string
The protocol for which the DDoS protection policy is being customized.
- Source
Rate stringOverride The customized DDoS protection source rate.
- Trigger
Rate stringOverride The customized DDoS protection trigger rate.
- Trigger
Sensitivity stringOverride The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
- protocol String
The protocol for which the DDoS protection policy is being customized.
- source
Rate StringOverride The customized DDoS protection source rate.
- trigger
Rate StringOverride The customized DDoS protection trigger rate.
- trigger
Sensitivity StringOverride The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
- protocol string
The protocol for which the DDoS protection policy is being customized.
- source
Rate stringOverride The customized DDoS protection source rate.
- trigger
Rate stringOverride The customized DDoS protection trigger rate.
- trigger
Sensitivity stringOverride The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
- protocol str
The protocol for which the DDoS protection policy is being customized.
- source_
rate_ stroverride The customized DDoS protection source rate.
- trigger_
rate_ stroverride The customized DDoS protection trigger rate.
- trigger_
sensitivity_ stroverride The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
- protocol String
The protocol for which the DDoS protection policy is being customized.
- source
Rate StringOverride The customized DDoS protection source rate.
- trigger
Rate StringOverride The customized DDoS protection trigger rate.
- trigger
Sensitivity StringOverride The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
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