octopusdeploy.DeploymentFreezeTenant
Explore with Pulumi AI
Create DeploymentFreezeTenant Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeploymentFreezeTenant(name: string, args: DeploymentFreezeTenantArgs, opts?: CustomResourceOptions);
@overload
def DeploymentFreezeTenant(resource_name: str,
args: DeploymentFreezeTenantArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeploymentFreezeTenant(resource_name: str,
opts: Optional[ResourceOptions] = None,
deploymentfreeze_id: Optional[str] = None,
environment_id: Optional[str] = None,
project_id: Optional[str] = None,
tenant_id: Optional[str] = None)
func NewDeploymentFreezeTenant(ctx *Context, name string, args DeploymentFreezeTenantArgs, opts ...ResourceOption) (*DeploymentFreezeTenant, error)
public DeploymentFreezeTenant(string name, DeploymentFreezeTenantArgs args, CustomResourceOptions? opts = null)
public DeploymentFreezeTenant(String name, DeploymentFreezeTenantArgs args)
public DeploymentFreezeTenant(String name, DeploymentFreezeTenantArgs args, CustomResourceOptions options)
type: octopusdeploy:DeploymentFreezeTenant
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 DeploymentFreezeTenantArgs
- 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 DeploymentFreezeTenantArgs
- 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 DeploymentFreezeTenantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentFreezeTenantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentFreezeTenantArgs
- 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 deploymentFreezeTenantResource = new Octopusdeploy.DeploymentFreezeTenant("deploymentFreezeTenantResource", new()
{
DeploymentfreezeId = "string",
EnvironmentId = "string",
ProjectId = "string",
TenantId = "string",
});
example, err := octopusdeploy.NewDeploymentFreezeTenant(ctx, "deploymentFreezeTenantResource", &octopusdeploy.DeploymentFreezeTenantArgs{
DeploymentfreezeId: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
TenantId: pulumi.String("string"),
})
var deploymentFreezeTenantResource = new DeploymentFreezeTenant("deploymentFreezeTenantResource", DeploymentFreezeTenantArgs.builder()
.deploymentfreezeId("string")
.environmentId("string")
.projectId("string")
.tenantId("string")
.build());
deployment_freeze_tenant_resource = octopusdeploy.DeploymentFreezeTenant("deploymentFreezeTenantResource",
deploymentfreeze_id="string",
environment_id="string",
project_id="string",
tenant_id="string")
const deploymentFreezeTenantResource = new octopusdeploy.DeploymentFreezeTenant("deploymentFreezeTenantResource", {
deploymentfreezeId: "string",
environmentId: "string",
projectId: "string",
tenantId: "string",
});
type: octopusdeploy:DeploymentFreezeTenant
properties:
deploymentfreezeId: string
environmentId: string
projectId: string
tenantId: string
DeploymentFreezeTenant 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 DeploymentFreezeTenant resource accepts the following input properties:
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Environment
Id string - The environment ID associated with this freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Tenant
Id string - The tenant ID associated with this freeze scope.
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Environment
Id string - The environment ID associated with this freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Tenant
Id string - The tenant ID associated with this freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- environment
Id String - The environment ID associated with this freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- tenant
Id String - The tenant ID associated with this freeze scope.
- deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- environment
Id string - The environment ID associated with this freeze scope.
- project
Id string - The project ID associated with this freeze scope.
- tenant
Id string - The tenant ID associated with this freeze scope.
- deploymentfreeze_
id str - The deployment freeze ID associated with this freeze scope.
- environment_
id str - The environment ID associated with this freeze scope.
- project_
id str - The project ID associated with this freeze scope.
- tenant_
id str - The tenant ID associated with this freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- environment
Id String - The environment ID associated with this freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- tenant
Id String - The tenant ID associated with this freeze scope.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentFreezeTenant 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 DeploymentFreezeTenant Resource
Get an existing DeploymentFreezeTenant 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?: DeploymentFreezeTenantState, opts?: CustomResourceOptions): DeploymentFreezeTenant
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
deploymentfreeze_id: Optional[str] = None,
environment_id: Optional[str] = None,
project_id: Optional[str] = None,
tenant_id: Optional[str] = None) -> DeploymentFreezeTenant
func GetDeploymentFreezeTenant(ctx *Context, name string, id IDInput, state *DeploymentFreezeTenantState, opts ...ResourceOption) (*DeploymentFreezeTenant, error)
public static DeploymentFreezeTenant Get(string name, Input<string> id, DeploymentFreezeTenantState? state, CustomResourceOptions? opts = null)
public static DeploymentFreezeTenant get(String name, Output<String> id, DeploymentFreezeTenantState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:DeploymentFreezeTenant 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
Id string - The environment ID associated with this freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Tenant
Id string - The tenant ID associated with this freeze scope.
- Deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- Environment
Id string - The environment ID associated with this freeze scope.
- Project
Id string - The project ID associated with this freeze scope.
- Tenant
Id string - The tenant ID associated with this freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- environment
Id String - The environment ID associated with this freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- tenant
Id String - The tenant ID associated with this freeze scope.
- deploymentfreeze
Id string - The deployment freeze ID associated with this freeze scope.
- environment
Id string - The environment ID associated with this freeze scope.
- project
Id string - The project ID associated with this freeze scope.
- tenant
Id string - The tenant ID associated with this freeze scope.
- deploymentfreeze_
id str - The deployment freeze ID associated with this freeze scope.
- environment_
id str - The environment ID associated with this freeze scope.
- project_
id str - The project ID associated with this freeze scope.
- tenant_
id str - The tenant ID associated with this freeze scope.
- deploymentfreeze
Id String - The deployment freeze ID associated with this freeze scope.
- environment
Id String - The environment ID associated with this freeze scope.
- project
Id String - The project ID associated with this freeze scope.
- tenant
Id String - The tenant 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.