published on Monday, Sep 7, 2026 by jdamata
published on Monday, Sep 7, 2026 by jdamata
Create PermissionTemplateDefault Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PermissionTemplateDefault(name: string, args: PermissionTemplateDefaultArgs, opts?: CustomResourceOptions);@overload
def PermissionTemplateDefault(resource_name: str,
args: PermissionTemplateDefaultArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PermissionTemplateDefault(resource_name: str,
opts: Optional[ResourceOptions] = None,
qualifier: Optional[str] = None,
template_id: Optional[str] = None,
permission_template_default_id: Optional[str] = None)func NewPermissionTemplateDefault(ctx *Context, name string, args PermissionTemplateDefaultArgs, opts ...ResourceOption) (*PermissionTemplateDefault, error)public PermissionTemplateDefault(string name, PermissionTemplateDefaultArgs args, CustomResourceOptions? opts = null)
public PermissionTemplateDefault(String name, PermissionTemplateDefaultArgs args)
public PermissionTemplateDefault(String name, PermissionTemplateDefaultArgs args, CustomResourceOptions options)
type: sonarqube:PermissionTemplateDefault
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "sonarqube_permission_template_default" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PermissionTemplateDefaultArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PermissionTemplateDefaultArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PermissionTemplateDefaultArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PermissionTemplateDefaultArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PermissionTemplateDefaultArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var permissionTemplateDefaultResource = new Sonarqube.PermissionTemplateDefault("permissionTemplateDefaultResource", new()
{
Qualifier = "string",
TemplateId = "string",
PermissionTemplateDefaultId = "string",
});
example, err := sonarqube.NewPermissionTemplateDefault(ctx, "permissionTemplateDefaultResource", &sonarqube.PermissionTemplateDefaultArgs{
Qualifier: pulumi.String("string"),
TemplateId: pulumi.String("string"),
PermissionTemplateDefaultId: pulumi.String("string"),
})
resource "sonarqube_permission_template_default" "permissionTemplateDefaultResource" {
lifecycle {
create_before_destroy = true
}
qualifier = "string"
template_id = "string"
permission_template_default_id = "string"
}
var permissionTemplateDefaultResource = new PermissionTemplateDefault("permissionTemplateDefaultResource", PermissionTemplateDefaultArgs.builder()
.qualifier("string")
.templateId("string")
.permissionTemplateDefaultId("string")
.build());
permission_template_default_resource = sonarqube.PermissionTemplateDefault("permissionTemplateDefaultResource",
qualifier="string",
template_id="string",
permission_template_default_id="string")
const permissionTemplateDefaultResource = new sonarqube.PermissionTemplateDefault("permissionTemplateDefaultResource", {
qualifier: "string",
templateId: "string",
permissionTemplateDefaultId: "string",
});
type: sonarqube:PermissionTemplateDefault
properties:
permissionTemplateDefaultId: string
qualifier: string
templateId: string
PermissionTemplateDefault Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PermissionTemplateDefault resource accepts the following input properties:
- Qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- Template
Id string - ID of the permission template to set as default.
- Permission
Template stringDefault Id
- Qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- Template
Id string - ID of the permission template to set as default.
- Permission
Template stringDefault Id
- qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template_
id string - ID of the permission template to set as default.
- permission_
template_ stringdefault_ id
- qualifier String
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template
Id String - ID of the permission template to set as default.
- permission
Template StringDefault Id
- qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template
Id string - ID of the permission template to set as default.
- permission
Template stringDefault Id
- qualifier str
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template_
id str - ID of the permission template to set as default.
- permission_
template_ strdefault_ id
- qualifier String
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template
Id String - ID of the permission template to set as default.
- permission
Template StringDefault Id
Outputs
All input properties are implicitly available as output properties. Additionally, the PermissionTemplateDefault resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing PermissionTemplateDefault Resource
Get an existing PermissionTemplateDefault resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PermissionTemplateDefaultState, opts?: CustomResourceOptions): PermissionTemplateDefault@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
permission_template_default_id: Optional[str] = None,
qualifier: Optional[str] = None,
template_id: Optional[str] = None) -> PermissionTemplateDefaultfunc GetPermissionTemplateDefault(ctx *Context, name string, id IDInput, state *PermissionTemplateDefaultState, opts ...ResourceOption) (*PermissionTemplateDefault, error)public static PermissionTemplateDefault Get(string name, Input<string> id, PermissionTemplateDefaultState? state, CustomResourceOptions? opts = null)public static PermissionTemplateDefault get(String name, Output<String> id, PermissionTemplateDefaultState state, CustomResourceOptions options)resources: _: type: sonarqube:PermissionTemplateDefault get: id: ${id}import {
to = sonarqube_permission_template_default.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Permission
Template stringDefault Id - Qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- Template
Id string - ID of the permission template to set as default.
- Permission
Template stringDefault Id - Qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- Template
Id string - ID of the permission template to set as default.
- permission_
template_ stringdefault_ id - qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template_
id string - ID of the permission template to set as default.
- permission
Template StringDefault Id - qualifier String
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template
Id String - ID of the permission template to set as default.
- permission
Template stringDefault Id - qualifier string
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template
Id string - ID of the permission template to set as default.
- permission_
template_ strdefault_ id - qualifier str
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template_
id str - ID of the permission template to set as default.
- permission
Template StringDefault Id - qualifier String
- Component qualifier: TRK (project), VW (portfolio, Enterprise+), APP (application, Enterprise+).
- template
Id String - ID of the permission template to set as default.
Package Details
- Repository
- sonarqube jdamata/terraform-provider-sonarqube
- License
- Notes
- This Pulumi package is based on the
sonarqubeTerraform Provider.
published on Monday, Sep 7, 2026 by jdamata