octopusdeploy.TenantCommonVariable
Explore with Pulumi AI
Manages a tenant common variable in Octopus Deploy.
Create TenantCommonVariable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TenantCommonVariable(name: string, args: TenantCommonVariableArgs, opts?: CustomResourceOptions);
@overload
def TenantCommonVariable(resource_name: str,
args: TenantCommonVariableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TenantCommonVariable(resource_name: str,
opts: Optional[ResourceOptions] = None,
library_variable_set_id: Optional[str] = None,
template_id: Optional[str] = None,
tenant_id: Optional[str] = None,
space_id: Optional[str] = None,
value: Optional[str] = None)
func NewTenantCommonVariable(ctx *Context, name string, args TenantCommonVariableArgs, opts ...ResourceOption) (*TenantCommonVariable, error)
public TenantCommonVariable(string name, TenantCommonVariableArgs args, CustomResourceOptions? opts = null)
public TenantCommonVariable(String name, TenantCommonVariableArgs args)
public TenantCommonVariable(String name, TenantCommonVariableArgs args, CustomResourceOptions options)
type: octopusdeploy:TenantCommonVariable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TenantCommonVariableArgs
- 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 TenantCommonVariableArgs
- 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 TenantCommonVariableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantCommonVariableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantCommonVariableArgs
- 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 tenantCommonVariableResource = new Octopusdeploy.TenantCommonVariable("tenantCommonVariableResource", new()
{
LibraryVariableSetId = "string",
TemplateId = "string",
TenantId = "string",
SpaceId = "string",
Value = "string",
});
example, err := octopusdeploy.NewTenantCommonVariable(ctx, "tenantCommonVariableResource", &octopusdeploy.TenantCommonVariableArgs{
LibraryVariableSetId: pulumi.String("string"),
TemplateId: pulumi.String("string"),
TenantId: pulumi.String("string"),
SpaceId: pulumi.String("string"),
Value: pulumi.String("string"),
})
var tenantCommonVariableResource = new TenantCommonVariable("tenantCommonVariableResource", TenantCommonVariableArgs.builder()
.libraryVariableSetId("string")
.templateId("string")
.tenantId("string")
.spaceId("string")
.value("string")
.build());
tenant_common_variable_resource = octopusdeploy.TenantCommonVariable("tenantCommonVariableResource",
library_variable_set_id="string",
template_id="string",
tenant_id="string",
space_id="string",
value="string")
const tenantCommonVariableResource = new octopusdeploy.TenantCommonVariable("tenantCommonVariableResource", {
libraryVariableSetId: "string",
templateId: "string",
tenantId: "string",
spaceId: "string",
value: "string",
});
type: octopusdeploy:TenantCommonVariable
properties:
libraryVariableSetId: string
spaceId: string
templateId: string
tenantId: string
value: string
TenantCommonVariable 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 TenantCommonVariable resource accepts the following input properties:
- Library
Variable stringSet Id - The ID of the library variable set.
- Template
Id string - The ID of the variable template.
- Tenant
Id string - The ID of the tenant.
- Space
Id string - The space ID associated with this Tenant Common Variable.
- Value string
- The value of the variable.
- Library
Variable stringSet Id - The ID of the library variable set.
- Template
Id string - The ID of the variable template.
- Tenant
Id string - The ID of the tenant.
- Space
Id string - The space ID associated with this Tenant Common Variable.
- Value string
- The value of the variable.
- library
Variable StringSet Id - The ID of the library variable set.
- template
Id String - The ID of the variable template.
- tenant
Id String - The ID of the tenant.
- space
Id String - The space ID associated with this Tenant Common Variable.
- value String
- The value of the variable.
- library
Variable stringSet Id - The ID of the library variable set.
- template
Id string - The ID of the variable template.
- tenant
Id string - The ID of the tenant.
- space
Id string - The space ID associated with this Tenant Common Variable.
- value string
- The value of the variable.
- library_
variable_ strset_ id - The ID of the library variable set.
- template_
id str - The ID of the variable template.
- tenant_
id str - The ID of the tenant.
- space_
id str - The space ID associated with this Tenant Common Variable.
- value str
- The value of the variable.
- library
Variable StringSet Id - The ID of the library variable set.
- template
Id String - The ID of the variable template.
- tenant
Id String - The ID of the tenant.
- space
Id String - The space ID associated with this Tenant Common Variable.
- value String
- The value of the variable.
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantCommonVariable 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 str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TenantCommonVariable Resource
Get an existing TenantCommonVariable 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?: TenantCommonVariableState, opts?: CustomResourceOptions): TenantCommonVariable
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
library_variable_set_id: Optional[str] = None,
space_id: Optional[str] = None,
template_id: Optional[str] = None,
tenant_id: Optional[str] = None,
value: Optional[str] = None) -> TenantCommonVariable
func GetTenantCommonVariable(ctx *Context, name string, id IDInput, state *TenantCommonVariableState, opts ...ResourceOption) (*TenantCommonVariable, error)
public static TenantCommonVariable Get(string name, Input<string> id, TenantCommonVariableState? state, CustomResourceOptions? opts = null)
public static TenantCommonVariable get(String name, Output<String> id, TenantCommonVariableState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:TenantCommonVariable get: 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.
- Library
Variable stringSet Id - The ID of the library variable set.
- Space
Id string - The space ID associated with this Tenant Common Variable.
- Template
Id string - The ID of the variable template.
- Tenant
Id string - The ID of the tenant.
- Value string
- The value of the variable.
- Library
Variable stringSet Id - The ID of the library variable set.
- Space
Id string - The space ID associated with this Tenant Common Variable.
- Template
Id string - The ID of the variable template.
- Tenant
Id string - The ID of the tenant.
- Value string
- The value of the variable.
- library
Variable StringSet Id - The ID of the library variable set.
- space
Id String - The space ID associated with this Tenant Common Variable.
- template
Id String - The ID of the variable template.
- tenant
Id String - The ID of the tenant.
- value String
- The value of the variable.
- library
Variable stringSet Id - The ID of the library variable set.
- space
Id string - The space ID associated with this Tenant Common Variable.
- template
Id string - The ID of the variable template.
- tenant
Id string - The ID of the tenant.
- value string
- The value of the variable.
- library_
variable_ strset_ id - The ID of the library variable set.
- space_
id str - The space ID associated with this Tenant Common Variable.
- template_
id str - The ID of the variable template.
- tenant_
id str - The ID of the tenant.
- value str
- The value of the variable.
- library
Variable StringSet Id - The ID of the library variable set.
- space
Id String - The space ID associated with this Tenant Common Variable.
- template
Id String - The ID of the variable template.
- tenant
Id String - The ID of the tenant.
- value String
- The value of the variable.
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.