octopusdeploy.DeploymentFreezeProject
Explore with Pulumi AI
Create DeploymentFreezeProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeploymentFreezeProject(name: string, args: DeploymentFreezeProjectArgs, opts?: CustomResourceOptions);
@overload
def DeploymentFreezeProject(resource_name: str,
args: DeploymentFreezeProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeploymentFreezeProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
deploymentfreeze_id: Optional[str] = None,
project_id: Optional[str] = None,
environment_ids: Optional[Sequence[str]] = None)
func NewDeploymentFreezeProject(ctx *Context, name string, args DeploymentFreezeProjectArgs, opts ...ResourceOption) (*DeploymentFreezeProject, error)
public DeploymentFreezeProject(string name, DeploymentFreezeProjectArgs args, CustomResourceOptions? opts = null)
public DeploymentFreezeProject(String name, DeploymentFreezeProjectArgs args)
public DeploymentFreezeProject(String name, DeploymentFreezeProjectArgs args, CustomResourceOptions options)
type: octopusdeploy:DeploymentFreezeProject
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 DeploymentFreezeProjectArgs
- 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 DeploymentFreezeProjectArgs
- 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 DeploymentFreezeProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentFreezeProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentFreezeProjectArgs
- 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 deploymentFreezeProjectResource = new Octopusdeploy.DeploymentFreezeProject("deploymentFreezeProjectResource", new()
{
DeploymentfreezeId = "string",
ProjectId = "string",
EnvironmentIds = new[]
{
"string",
},
});
example, err := octopusdeploy.NewDeploymentFreezeProject(ctx, "deploymentFreezeProjectResource", &octopusdeploy.DeploymentFreezeProjectArgs{
DeploymentfreezeId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
EnvironmentIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var deploymentFreezeProjectResource = new DeploymentFreezeProject("deploymentFreezeProjectResource", DeploymentFreezeProjectArgs.builder()
.deploymentfreezeId("string")
.projectId("string")
.environmentIds("string")
.build());
deployment_freeze_project_resource = octopusdeploy.DeploymentFreezeProject("deploymentFreezeProjectResource",
deploymentfreeze_id="string",
project_id="string",
environment_ids=["string"])
const deploymentFreezeProjectResource = new octopusdeploy.DeploymentFreezeProject("deploymentFreezeProjectResource", {
deploymentfreezeId: "string",
projectId: "string",
environmentIds: ["string"],
});
type: octopusdeploy:DeploymentFreezeProject
properties:
deploymentfreezeId: string
environmentIds:
- string
projectId: string
DeploymentFreezeProject 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 DeploymentFreezeProject resource accepts the following input properties:
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Environment
Ids List<string> - The environment IDs associated with this project deployment freeze scope.
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Environment
Ids []string - The environment IDs associated with this project deployment freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- environment
Ids List<String> - The environment IDs associated with this project deployment freeze scope.
- deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- project
Id string - The project ID associated with this freeze scope.
- environment
Ids string[] - The environment IDs associated with this project deployment freeze scope.
- deploymentfreeze_
id str - The deployment freeze ID associated with this freeze scope.
- project_
id str - The project ID associated with this freeze scope.
- environment_
ids Sequence[str] - The environment IDs associated with this project deployment freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- environment
Ids List<String> - The environment IDs associated with this project deployment freeze scope.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentFreezeProject 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 DeploymentFreezeProject Resource
Get an existing DeploymentFreezeProject 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?: DeploymentFreezeProjectState, opts?: CustomResourceOptions): DeploymentFreezeProject
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
deploymentfreeze_id: Optional[str] = None,
environment_ids: Optional[Sequence[str]] = None,
project_id: Optional[str] = None) -> DeploymentFreezeProject
func GetDeploymentFreezeProject(ctx *Context, name string, id IDInput, state *DeploymentFreezeProjectState, opts ...ResourceOption) (*DeploymentFreezeProject, error)
public static DeploymentFreezeProject Get(string name, Input<string> id, DeploymentFreezeProjectState? state, CustomResourceOptions? opts = null)
public static DeploymentFreezeProject get(String name, Output<String> id, DeploymentFreezeProjectState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:DeploymentFreezeProject 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.
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Environment
Ids List<string> - The environment IDs associated with this project deployment freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Environment
Ids []string - The environment IDs associated with this project deployment freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- environment
Ids List<String> - The environment IDs associated with this project deployment freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- environment
Ids string[] - The environment IDs associated with this project deployment freeze scope.
- project
Id string - The project ID associated with this freeze scope.
- deploymentfreeze_
id str - The deployment freeze ID associated with this freeze scope.
- environment_
ids Sequence[str] - The environment IDs associated with this project deployment freeze scope.
- project_
id str - The project ID associated with this freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- environment
Ids List<String> - The environment IDs associated with this project deployment freeze scope.
- project
Id String - The project ID associated with this freeze scope.
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.