1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. DeploymentFreezeTenant
octopusdeploy 0.43.0 published on Thursday, Apr 17, 2025 by octopusdeploylabs

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 This property is required. string
The unique name of the resource.
args This property is required. DeploymentFreezeTenantArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. DeploymentFreezeTenantArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DeploymentFreezeTenantArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
example, err := octopusdeploy.NewDeploymentFreezeTenant(ctx, "deploymentFreezeTenantResource", &octopusdeploy.DeploymentFreezeTenantArgs{
	DeploymentfreezeId: pulumi.String("string"),
	EnvironmentId:      pulumi.String("string"),
	ProjectId:          pulumi.String("string"),
	TenantId:           pulumi.String("string"),
})
Copy
var deploymentFreezeTenantResource = new DeploymentFreezeTenant("deploymentFreezeTenantResource", DeploymentFreezeTenantArgs.builder()
    .deploymentfreezeId("string")
    .environmentId("string")
    .projectId("string")
    .tenantId("string")
    .build());
Copy
deployment_freeze_tenant_resource = octopusdeploy.DeploymentFreezeTenant("deploymentFreezeTenantResource",
    deploymentfreeze_id="string",
    environment_id="string",
    project_id="string",
    tenant_id="string")
Copy
const deploymentFreezeTenantResource = new octopusdeploy.DeploymentFreezeTenant("deploymentFreezeTenantResource", {
    deploymentfreezeId: "string",
    environmentId: "string",
    projectId: "string",
    tenantId: "string",
});
Copy
type: octopusdeploy:DeploymentFreezeTenant
properties:
    deploymentfreezeId: string
    environmentId: string
    projectId: string
    tenantId: string
Copy

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:

DeploymentfreezeId This property is required. string
The deployment freeze ID associated with this freeze scope.
EnvironmentId This property is required. string
The environment ID associated with this freeze scope.
ProjectId This property is required. string
The project ID associated with this freeze scope.
TenantId This property is required. string
The tenant ID associated with this freeze scope.
DeploymentfreezeId This property is required. string
The deployment freeze ID associated with this freeze scope.
EnvironmentId This property is required. string
The environment ID associated with this freeze scope.
ProjectId This property is required. string
The project ID associated with this freeze scope.
TenantId This property is required. string
The tenant ID associated with this freeze scope.
deploymentfreezeId This property is required. String
The deployment freeze ID associated with this freeze scope.
environmentId This property is required. String
The environment ID associated with this freeze scope.
projectId This property is required. String
The project ID associated with this freeze scope.
tenantId This property is required. String
The tenant ID associated with this freeze scope.
deploymentfreezeId This property is required. string
The deployment freeze ID associated with this freeze scope.
environmentId This property is required. string
The environment ID associated with this freeze scope.
projectId This property is required. string
The project ID associated with this freeze scope.
tenantId This property is required. string
The tenant ID associated with this freeze scope.
deploymentfreeze_id This property is required. str
The deployment freeze ID associated with this freeze scope.
environment_id This property is required. str
The environment ID associated with this freeze scope.
project_id This property is required. str
The project ID associated with this freeze scope.
tenant_id This property is required. str
The tenant ID associated with this freeze scope.
deploymentfreezeId This property is required. String
The deployment freeze ID associated with this freeze scope.
environmentId This property is required. String
The environment ID associated with this freeze scope.
projectId This property is required. String
The project ID associated with this freeze scope.
tenantId This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
DeploymentfreezeId string
The deployment freeze ID associated with this freeze scope.
EnvironmentId string
The environment ID associated with this freeze scope.
ProjectId string
The project ID associated with this freeze scope.
TenantId string
The tenant ID associated with this freeze scope.
DeploymentfreezeId string
The deployment freeze ID associated with this freeze scope.
EnvironmentId string
The environment ID associated with this freeze scope.
ProjectId string
The project ID associated with this freeze scope.
TenantId string
The tenant ID associated with this freeze scope.
deploymentfreezeId String
The deployment freeze ID associated with this freeze scope.
environmentId String
The environment ID associated with this freeze scope.
projectId String
The project ID associated with this freeze scope.
tenantId String
The tenant ID associated with this freeze scope.
deploymentfreezeId string
The deployment freeze ID associated with this freeze scope.
environmentId string
The environment ID associated with this freeze scope.
projectId string
The project ID associated with this freeze scope.
tenantId 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.
deploymentfreezeId String
The deployment freeze ID associated with this freeze scope.
environmentId String
The environment ID associated with this freeze scope.
projectId String
The project ID associated with this freeze scope.
tenantId 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.