gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core
gcorelabs.getDdosProfileTemplate
Explore with Pulumi AI
Represents list of available DDoS protection profile templates
Using getDdosProfileTemplate
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 getDdosProfileTemplate(args: GetDdosProfileTemplateArgs, opts?: InvokeOptions): Promise<GetDdosProfileTemplateResult>
function getDdosProfileTemplateOutput(args: GetDdosProfileTemplateOutputArgs, opts?: InvokeOptions): Output<GetDdosProfileTemplateResult>
def get_ddos_profile_template(id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
template_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetDdosProfileTemplateResult
def get_ddos_profile_template_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
project_name: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[float]] = None,
region_name: Optional[pulumi.Input[str]] = None,
template_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDdosProfileTemplateResult]
func GetDdosProfileTemplate(ctx *Context, args *GetDdosProfileTemplateArgs, opts ...InvokeOption) (*GetDdosProfileTemplateResult, error)
func GetDdosProfileTemplateOutput(ctx *Context, args *GetDdosProfileTemplateOutputArgs, opts ...InvokeOption) GetDdosProfileTemplateResultOutput
> Note: This function is named GetDdosProfileTemplate
in the Go SDK.
public static class GetDdosProfileTemplate
{
public static Task<GetDdosProfileTemplateResult> InvokeAsync(GetDdosProfileTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetDdosProfileTemplateResult> Invoke(GetDdosProfileTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDdosProfileTemplateResult> getDdosProfileTemplate(GetDdosProfileTemplateArgs args, InvokeOptions options)
public static Output<GetDdosProfileTemplateResult> getDdosProfileTemplate(GetDdosProfileTemplateArgs args, InvokeOptions options)
fn::invoke:
function: gcorelabs:index/getDdosProfileTemplate:getDdosProfileTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of this resource.
- Name string
- Template name
- Project
Id double - Project
Name string - Region
Id double - Region
Name string - Template
Id double - Template id
- Id string
- The ID of this resource.
- Name string
- Template name
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Template
Id float64 - Template id
- id String
- The ID of this resource.
- name String
- Template name
- project
Id Double - project
Name String - region
Id Double - region
Name String - template
Id Double - Template id
- id string
- The ID of this resource.
- name string
- Template name
- project
Id number - project
Name string - region
Id number - region
Name string - template
Id number - Template id
- id str
- The ID of this resource.
- name str
- Template name
- project_
id float - project_
name str - region_
id float - region_
name str - template_
id float - Template id
- id String
- The ID of this resource.
- name String
- Template name
- project
Id Number - project
Name String - region
Id Number - region
Name String - template
Id Number - Template id
getDdosProfileTemplate Result
The following output properties are available:
- Description string
- Template description
- Fields
List<Get
Ddos Profile Template Field> - Additional fields
- Id string
- The ID of this resource.
- Name string
- Template name
- Template
Id double - Template id
- Project
Id double - Project
Name string - Region
Id double - Region
Name string
- Description string
- Template description
- Fields
[]Get
Ddos Profile Template Field - Additional fields
- Id string
- The ID of this resource.
- Name string
- Template name
- Template
Id float64 - Template id
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string
- description String
- Template description
- fields
List<Get
Ddos Profile Template Field> - Additional fields
- id String
- The ID of this resource.
- name String
- Template name
- template
Id Double - Template id
- project
Id Double - project
Name String - region
Id Double - region
Name String
- description string
- Template description
- fields
Get
Ddos Profile Template Field[] - Additional fields
- id string
- The ID of this resource.
- name string
- Template name
- template
Id number - Template id
- project
Id number - project
Name string - region
Id number - region
Name string
- description str
- Template description
- fields
Sequence[Get
Ddos Profile Template Field] - Additional fields
- id str
- The ID of this resource.
- name str
- Template name
- template_
id float - Template id
- project_
id float - project_
name str - region_
id float - region_
name str
- description String
- Template description
- fields List<Property Map>
- Additional fields
- id String
- The ID of this resource.
- name String
- Template name
- template
Id Number - Template id
- project
Id Number - project
Name String - region
Id Number - region
Name String
Supporting Types
GetDdosProfileTemplateField
- Default string
- Description string
- Field
Type string - Id double
- Name string
- Required bool
- Validation
Schema string
- Default string
- Description string
- Field
Type string - Id float64
- Name string
- Required bool
- Validation
Schema string
- default_ String
- description String
- field
Type String - id Double
- name String
- required Boolean
- validation
Schema String
- default string
- description string
- field
Type string - id number
- name string
- required boolean
- validation
Schema string
- default str
- description str
- field_
type str - id float
- name str
- required bool
- validation_
schema str
- default String
- description String
- field
Type String - id Number
- name String
- required Boolean
- validation
Schema String
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.