Pulumi Cloud v0.27.1 published on Thursday, Nov 14, 2024 by Pulumi
pulumiservice.EnvironmentVersionTag
Explore with Pulumi AI
A tag on a specific revision of an environment.
Create EnvironmentVersionTag Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnvironmentVersionTag(name: string, args: EnvironmentVersionTagArgs, opts?: CustomResourceOptions);
@overload
def EnvironmentVersionTag(resource_name: str,
args: EnvironmentVersionTagArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnvironmentVersionTag(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment: Optional[str] = None,
organization: Optional[str] = None,
revision: Optional[int] = None,
tag_name: Optional[str] = None,
project: Optional[str] = None)
func NewEnvironmentVersionTag(ctx *Context, name string, args EnvironmentVersionTagArgs, opts ...ResourceOption) (*EnvironmentVersionTag, error)
public EnvironmentVersionTag(string name, EnvironmentVersionTagArgs args, CustomResourceOptions? opts = null)
public EnvironmentVersionTag(String name, EnvironmentVersionTagArgs args)
public EnvironmentVersionTag(String name, EnvironmentVersionTagArgs args, CustomResourceOptions options)
type: pulumiservice:EnvironmentVersionTag
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 EnvironmentVersionTagArgs
- 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 EnvironmentVersionTagArgs
- 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 EnvironmentVersionTagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentVersionTagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentVersionTagArgs
- 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 environmentVersionTagResource = new PulumiService.EnvironmentVersionTag("environmentVersionTagResource", new()
{
Environment = "string",
Organization = "string",
Revision = 0,
TagName = "string",
Project = "string",
});
example, err := pulumiservice.NewEnvironmentVersionTag(ctx, "environmentVersionTagResource", &pulumiservice.EnvironmentVersionTagArgs{
Environment: pulumi.String("string"),
Organization: pulumi.String("string"),
Revision: pulumi.Int(0),
TagName: pulumi.String("string"),
Project: pulumi.String("string"),
})
var environmentVersionTagResource = new EnvironmentVersionTag("environmentVersionTagResource", EnvironmentVersionTagArgs.builder()
.environment("string")
.organization("string")
.revision(0)
.tagName("string")
.project("string")
.build());
environment_version_tag_resource = pulumiservice.EnvironmentVersionTag("environmentVersionTagResource",
environment="string",
organization="string",
revision=0,
tag_name="string",
project="string")
const environmentVersionTagResource = new pulumiservice.EnvironmentVersionTag("environmentVersionTagResource", {
environment: "string",
organization: "string",
revision: 0,
tagName: "string",
project: "string",
});
type: pulumiservice:EnvironmentVersionTag
properties:
environment: string
organization: string
project: string
revision: 0
tagName: string
EnvironmentVersionTag 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 EnvironmentVersionTag resource accepts the following input properties:
- Environment string
- Environment name.
- Organization string
- Organization name.
- Revision int
- Revision number.
- Tag
Name string - Tag name.
- Project string
- Project name.
- Environment string
- Environment name.
- Organization string
- Organization name.
- Revision int
- Revision number.
- Tag
Name string - Tag name.
- Project string
- Project name.
- environment String
- Environment name.
- organization String
- Organization name.
- revision Integer
- Revision number.
- tag
Name String - Tag name.
- project String
- Project name.
- environment string
- Environment name.
- organization string
- Organization name.
- revision number
- Revision number.
- tag
Name string - Tag name.
- project string
- Project name.
- environment str
- Environment name.
- organization str
- Organization name.
- revision int
- Revision number.
- tag_
name str - Tag name.
- project str
- Project name.
- environment String
- Environment name.
- organization String
- Organization name.
- revision Number
- Revision number.
- tag
Name String - Tag name.
- project String
- Project name.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnvironmentVersionTag 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.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0