1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. DeploymentFreezeTenant
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

octopusdeploy.DeploymentFreezeTenant

Explore with Pulumi AI

octopusdeploy logo
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

    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:

    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.

    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.
    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.
    octopusdeploy logo
    octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs