1. Packages
  2. Gcorelabs Provider
  3. API Docs
  4. getDdosProfileTemplate
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

gcorelabs.getDdosProfileTemplate

Explore with Pulumi AI

gcorelabs logo
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

    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
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    TemplateId double
    Template id
    Id string
    The ID of this resource.
    Name string
    Template name
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    TemplateId float64
    Template id
    id String
    The ID of this resource.
    name String
    Template name
    projectId Double
    projectName String
    regionId Double
    regionName String
    templateId Double
    Template id
    id string
    The ID of this resource.
    name string
    Template name
    projectId number
    projectName string
    regionId number
    regionName string
    templateId 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
    projectId Number
    projectName String
    regionId Number
    regionName String
    templateId Number
    Template id

    getDdosProfileTemplate Result

    The following output properties are available:

    Description string
    Template description
    Fields List<GetDdosProfileTemplateField>
    Additional fields
    Id string
    The ID of this resource.
    Name string
    Template name
    TemplateId double
    Template id
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    Description string
    Template description
    Fields []GetDdosProfileTemplateField
    Additional fields
    Id string
    The ID of this resource.
    Name string
    Template name
    TemplateId float64
    Template id
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    description String
    Template description
    fields List<GetDdosProfileTemplateField>
    Additional fields
    id String
    The ID of this resource.
    name String
    Template name
    templateId Double
    Template id
    projectId Double
    projectName String
    regionId Double
    regionName String
    description string
    Template description
    fields GetDdosProfileTemplateField[]
    Additional fields
    id string
    The ID of this resource.
    name string
    Template name
    templateId number
    Template id
    projectId number
    projectName string
    regionId number
    regionName string
    description str
    Template description
    fields Sequence[GetDdosProfileTemplateField]
    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
    templateId Number
    Template id
    projectId Number
    projectName String
    regionId Number
    regionName String

    Supporting Types

    GetDdosProfileTemplateField

    Default string
    Description string
    FieldType string
    Id double
    Name string
    Required bool
    ValidationSchema string
    Default string
    Description string
    FieldType string
    Id float64
    Name string
    Required bool
    ValidationSchema string
    default_ String
    description String
    fieldType String
    id Double
    name String
    required Boolean
    validationSchema String
    default string
    description string
    fieldType string
    id number
    name string
    required boolean
    validationSchema string
    default String
    description String
    fieldType String
    id Number
    name String
    required Boolean
    validationSchema String

    Package Details

    Repository
    gcorelabs g-core/terraform-provider-gcorelabs
    License
    Notes
    This Pulumi package is based on the gcorelabs Terraform Provider.
    gcorelabs logo
    gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core