harness.platform.ManualFreeze
Explore with Pulumi AI
Resource for Manual Deployment Freeze Window.
Example to create Manual Freeze at different levels (Org, Project, Account)
Account Level
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = new harness.platform.ManualFreeze("example", {
identifier: "identifier",
orgId: "orgIdentifier",
projectId: "projectIdentifier",
accountId: "accountIdentifier",
yaml: `freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
`,
});
import pulumi
import pulumi_harness as harness
example = harness.platform.ManualFreeze("example",
identifier="identifier",
org_id="orgIdentifier",
project_id="projectIdentifier",
account_id="accountIdentifier",
yaml="""freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
""")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewManualFreeze(ctx, "example", &platform.ManualFreezeArgs{
Identifier: pulumi.String("identifier"),
OrgId: pulumi.String("orgIdentifier"),
ProjectId: pulumi.String("projectIdentifier"),
AccountId: pulumi.String("accountIdentifier"),
Yaml: pulumi.String(`freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
`),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = new Harness.Platform.ManualFreeze("example", new()
{
Identifier = "identifier",
OrgId = "orgIdentifier",
ProjectId = "projectIdentifier",
AccountId = "accountIdentifier",
Yaml = @"freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ManualFreeze;
import com.pulumi.harness.platform.ManualFreezeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ManualFreeze("example", ManualFreezeArgs.builder()
.identifier("identifier")
.orgId("orgIdentifier")
.projectId("projectIdentifier")
.accountId("accountIdentifier")
.yaml("""
freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
""")
.build());
}
}
resources:
example:
type: harness:platform:ManualFreeze
properties:
identifier: identifier
orgId: orgIdentifier
projectId: projectIdentifier
accountId: accountIdentifier
yaml: |
freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
Org Level
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = new harness.platform.ManualFreeze("example", {
identifier: "identifier",
orgId: "orgIdentifier",
accountId: "accountIdentifier",
yaml: `freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
`,
});
import pulumi
import pulumi_harness as harness
example = harness.platform.ManualFreeze("example",
identifier="identifier",
org_id="orgIdentifier",
account_id="accountIdentifier",
yaml="""freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
""")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewManualFreeze(ctx, "example", &platform.ManualFreezeArgs{
Identifier: pulumi.String("identifier"),
OrgId: pulumi.String("orgIdentifier"),
AccountId: pulumi.String("accountIdentifier"),
Yaml: pulumi.String(`freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
`),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = new Harness.Platform.ManualFreeze("example", new()
{
Identifier = "identifier",
OrgId = "orgIdentifier",
AccountId = "accountIdentifier",
Yaml = @"freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ManualFreeze;
import com.pulumi.harness.platform.ManualFreezeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ManualFreeze("example", ManualFreezeArgs.builder()
.identifier("identifier")
.orgId("orgIdentifier")
.accountId("accountIdentifier")
.yaml("""
freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
""")
.build());
}
}
resources:
example:
type: harness:platform:ManualFreeze
properties:
identifier: identifier
orgId: orgIdentifier
accountId: accountIdentifier
yaml: |
freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
Project Level
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = new harness.platform.ManualFreeze("example", {
identifier: "identifier",
orgId: "orgIdentifier",
projectId: "projectIdentifier",
accountId: "accountIdentifier",
yaml: `freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
`,
});
import pulumi
import pulumi_harness as harness
example = harness.platform.ManualFreeze("example",
identifier="identifier",
org_id="orgIdentifier",
project_id="projectIdentifier",
account_id="accountIdentifier",
yaml="""freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
""")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewManualFreeze(ctx, "example", &platform.ManualFreezeArgs{
Identifier: pulumi.String("identifier"),
OrgId: pulumi.String("orgIdentifier"),
ProjectId: pulumi.String("projectIdentifier"),
AccountId: pulumi.String("accountIdentifier"),
Yaml: pulumi.String(`freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
`),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = new Harness.Platform.ManualFreeze("example", new()
{
Identifier = "identifier",
OrgId = "orgIdentifier",
ProjectId = "projectIdentifier",
AccountId = "accountIdentifier",
Yaml = @"freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ManualFreeze;
import com.pulumi.harness.platform.ManualFreezeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ManualFreeze("example", ManualFreezeArgs.builder()
.identifier("identifier")
.orgId("orgIdentifier")
.projectId("projectIdentifier")
.accountId("accountIdentifier")
.yaml("""
freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
""")
.build());
}
}
resources:
example:
type: harness:platform:ManualFreeze
properties:
identifier: identifier
orgId: orgIdentifier
projectId: projectIdentifier
accountId: accountIdentifier
yaml: |
freeze:
name: freezeName
identifier: identifier
entityConfigs:
- name: r1
entities:
- filterType: All
type: Org
- filterType: All
type: Project
- filterType: All
type: Service
- filterType: All
type: EnvType
status: Disabled
description: hi
windows:
- timeZone: Asia/Calcutta
startTime: 2023-05-03 04:16 PM
duration: 30m
recurrence:
type: Daily
notificationRules: []
tags: {}
Create ManualFreeze Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManualFreeze(name: string, args: ManualFreezeArgs, opts?: CustomResourceOptions);
@overload
def ManualFreeze(resource_name: str,
args: ManualFreezeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManualFreeze(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
identifier: Optional[str] = None,
yaml: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None)
func NewManualFreeze(ctx *Context, name string, args ManualFreezeArgs, opts ...ResourceOption) (*ManualFreeze, error)
public ManualFreeze(string name, ManualFreezeArgs args, CustomResourceOptions? opts = null)
public ManualFreeze(String name, ManualFreezeArgs args)
public ManualFreeze(String name, ManualFreezeArgs args, CustomResourceOptions options)
type: harness:platform:ManualFreeze
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 ManualFreezeArgs
- 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 ManualFreezeArgs
- 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 ManualFreezeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManualFreezeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManualFreezeArgs
- 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 manualFreezeResource = new Harness.Platform.ManualFreeze("manualFreezeResource", new()
{
AccountId = "string",
Identifier = "string",
Yaml = "string",
OrgId = "string",
ProjectId = "string",
});
example, err := platform.NewManualFreeze(ctx, "manualFreezeResource", &platform.ManualFreezeArgs{
AccountId: pulumi.String("string"),
Identifier: pulumi.String("string"),
Yaml: pulumi.String("string"),
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
})
var manualFreezeResource = new ManualFreeze("manualFreezeResource", ManualFreezeArgs.builder()
.accountId("string")
.identifier("string")
.yaml("string")
.orgId("string")
.projectId("string")
.build());
manual_freeze_resource = harness.platform.ManualFreeze("manualFreezeResource",
account_id="string",
identifier="string",
yaml="string",
org_id="string",
project_id="string")
const manualFreezeResource = new harness.platform.ManualFreeze("manualFreezeResource", {
accountId: "string",
identifier: "string",
yaml: "string",
orgId: "string",
projectId: "string",
});
type: harness:platform:ManualFreeze
properties:
accountId: string
identifier: string
orgId: string
projectId: string
yaml: string
ManualFreeze Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ManualFreeze resource accepts the following input properties:
- Account
Id string - Account Identifier of the freeze
- Identifier string
- Identifier of the freeze
- Yaml string
- Yaml of the freeze
- Org
Id string - Organization identifier of the freeze
- Project
Id string - Project identifier of the freeze
- Account
Id string - Account Identifier of the freeze
- Identifier string
- Identifier of the freeze
- Yaml string
- Yaml of the freeze
- Org
Id string - Organization identifier of the freeze
- Project
Id string - Project identifier of the freeze
- account
Id String - Account Identifier of the freeze
- identifier String
- Identifier of the freeze
- yaml String
- Yaml of the freeze
- org
Id String - Organization identifier of the freeze
- project
Id String - Project identifier of the freeze
- account
Id string - Account Identifier of the freeze
- identifier string
- Identifier of the freeze
- yaml string
- Yaml of the freeze
- org
Id string - Organization identifier of the freeze
- project
Id string - Project identifier of the freeze
- account_
id str - Account Identifier of the freeze
- identifier str
- Identifier of the freeze
- yaml str
- Yaml of the freeze
- org_
id str - Organization identifier of the freeze
- project_
id str - Project identifier of the freeze
- account
Id String - Account Identifier of the freeze
- identifier String
- Identifier of the freeze
- yaml String
- Yaml of the freeze
- org
Id String - Organization identifier of the freeze
- project
Id String - Project identifier of the freeze
Outputs
All input properties are implicitly available as output properties. Additionally, the ManualFreeze resource produces the following output properties:
- Current
Or List<ManualUpcoming Windows Freeze Current Or Upcoming Window> - Current or upcoming windows
- Description string
- Description of the freeze
- Freeze
Windows List<ManualFreeze Freeze Window> - Freeze windows in the freeze response
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the freeze
- Scope string
- Scope of the freeze
- Status string
- Status of the freeze
- List<string>
- Tags associated with the freeze
- Type string
- Type of freeze
- Current
Or []ManualUpcoming Windows Freeze Current Or Upcoming Window - Current or upcoming windows
- Description string
- Description of the freeze
- Freeze
Windows []ManualFreeze Freeze Window - Freeze windows in the freeze response
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the freeze
- Scope string
- Scope of the freeze
- Status string
- Status of the freeze
- []string
- Tags associated with the freeze
- Type string
- Type of freeze
- current
Or List<ManualUpcoming Windows Freeze Current Or Upcoming Window> - Current or upcoming windows
- description String
- Description of the freeze
- freeze
Windows List<ManualFreeze Freeze Window> - Freeze windows in the freeze response
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the freeze
- scope String
- Scope of the freeze
- status String
- Status of the freeze
- List<String>
- Tags associated with the freeze
- type String
- Type of freeze
- current
Or ManualUpcoming Windows Freeze Current Or Upcoming Window[] - Current or upcoming windows
- description string
- Description of the freeze
- freeze
Windows ManualFreeze Freeze Window[] - Freeze windows in the freeze response
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the freeze
- scope string
- Scope of the freeze
- status string
- Status of the freeze
- string[]
- Tags associated with the freeze
- type string
- Type of freeze
- current_
or_ Sequence[Manualupcoming_ windows Freeze Current Or Upcoming Window] - Current or upcoming windows
- description str
- Description of the freeze
- freeze_
windows Sequence[ManualFreeze Freeze Window] - Freeze windows in the freeze response
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the freeze
- scope str
- Scope of the freeze
- status str
- Status of the freeze
- Sequence[str]
- Tags associated with the freeze
- type str
- Type of freeze
- current
Or List<Property Map>Upcoming Windows - Current or upcoming windows
- description String
- Description of the freeze
- freeze
Windows List<Property Map> - Freeze windows in the freeze response
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the freeze
- scope String
- Scope of the freeze
- status String
- Status of the freeze
- List<String>
- Tags associated with the freeze
- type String
- Type of freeze
Look up Existing ManualFreeze Resource
Get an existing ManualFreeze 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?: ManualFreezeState, opts?: CustomResourceOptions): ManualFreeze
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
current_or_upcoming_windows: Optional[Sequence[ManualFreezeCurrentOrUpcomingWindowArgs]] = None,
description: Optional[str] = None,
freeze_windows: Optional[Sequence[ManualFreezeFreezeWindowArgs]] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
scope: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
type: Optional[str] = None,
yaml: Optional[str] = None) -> ManualFreeze
func GetManualFreeze(ctx *Context, name string, id IDInput, state *ManualFreezeState, opts ...ResourceOption) (*ManualFreeze, error)
public static ManualFreeze Get(string name, Input<string> id, ManualFreezeState? state, CustomResourceOptions? opts = null)
public static ManualFreeze get(String name, Output<String> id, ManualFreezeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Account
Id string - Account Identifier of the freeze
- Current
Or List<ManualUpcoming Windows Freeze Current Or Upcoming Window> - Current or upcoming windows
- Description string
- Description of the freeze
- Freeze
Windows List<ManualFreeze Freeze Window> - Freeze windows in the freeze response
- Identifier string
- Identifier of the freeze
- Name string
- Name of the freeze
- Org
Id string - Organization identifier of the freeze
- Project
Id string - Project identifier of the freeze
- Scope string
- Scope of the freeze
- Status string
- Status of the freeze
- List<string>
- Tags associated with the freeze
- Type string
- Type of freeze
- Yaml string
- Yaml of the freeze
- Account
Id string - Account Identifier of the freeze
- Current
Or []ManualUpcoming Windows Freeze Current Or Upcoming Window Args - Current or upcoming windows
- Description string
- Description of the freeze
- Freeze
Windows []ManualFreeze Freeze Window Args - Freeze windows in the freeze response
- Identifier string
- Identifier of the freeze
- Name string
- Name of the freeze
- Org
Id string - Organization identifier of the freeze
- Project
Id string - Project identifier of the freeze
- Scope string
- Scope of the freeze
- Status string
- Status of the freeze
- []string
- Tags associated with the freeze
- Type string
- Type of freeze
- Yaml string
- Yaml of the freeze
- account
Id String - Account Identifier of the freeze
- current
Or List<ManualUpcoming Windows Freeze Current Or Upcoming Window> - Current or upcoming windows
- description String
- Description of the freeze
- freeze
Windows List<ManualFreeze Freeze Window> - Freeze windows in the freeze response
- identifier String
- Identifier of the freeze
- name String
- Name of the freeze
- org
Id String - Organization identifier of the freeze
- project
Id String - Project identifier of the freeze
- scope String
- Scope of the freeze
- status String
- Status of the freeze
- List<String>
- Tags associated with the freeze
- type String
- Type of freeze
- yaml String
- Yaml of the freeze
- account
Id string - Account Identifier of the freeze
- current
Or ManualUpcoming Windows Freeze Current Or Upcoming Window[] - Current or upcoming windows
- description string
- Description of the freeze
- freeze
Windows ManualFreeze Freeze Window[] - Freeze windows in the freeze response
- identifier string
- Identifier of the freeze
- name string
- Name of the freeze
- org
Id string - Organization identifier of the freeze
- project
Id string - Project identifier of the freeze
- scope string
- Scope of the freeze
- status string
- Status of the freeze
- string[]
- Tags associated with the freeze
- type string
- Type of freeze
- yaml string
- Yaml of the freeze
- account_
id str - Account Identifier of the freeze
- current_
or_ Sequence[Manualupcoming_ windows Freeze Current Or Upcoming Window Args] - Current or upcoming windows
- description str
- Description of the freeze
- freeze_
windows Sequence[ManualFreeze Freeze Window Args] - Freeze windows in the freeze response
- identifier str
- Identifier of the freeze
- name str
- Name of the freeze
- org_
id str - Organization identifier of the freeze
- project_
id str - Project identifier of the freeze
- scope str
- Scope of the freeze
- status str
- Status of the freeze
- Sequence[str]
- Tags associated with the freeze
- type str
- Type of freeze
- yaml str
- Yaml of the freeze
- account
Id String - Account Identifier of the freeze
- current
Or List<Property Map>Upcoming Windows - Current or upcoming windows
- description String
- Description of the freeze
- freeze
Windows List<Property Map> - Freeze windows in the freeze response
- identifier String
- Identifier of the freeze
- name String
- Name of the freeze
- org
Id String - Organization identifier of the freeze
- project
Id String - Project identifier of the freeze
- scope String
- Scope of the freeze
- status String
- Status of the freeze
- List<String>
- Tags associated with the freeze
- type String
- Type of freeze
- yaml String
- Yaml of the freeze
Supporting Types
ManualFreezeCurrentOrUpcomingWindow, ManualFreezeCurrentOrUpcomingWindowArgs
- end_
time int - End time of the freeze
- start_
time int - Start time of the freeze
ManualFreezeFreezeWindow, ManualFreezeFreezeWindowArgs
- Duration string
- Duration of the freeze
- End
Time string - End time of the freeze
- Recurrences
List<Manual
Freeze Freeze Window Recurrence> - Recurrence of the freeze window
- Start
Time string - Start time of the freeze
- Time
Zone string - Timezone
- Duration string
- Duration of the freeze
- End
Time string - End time of the freeze
- Recurrences
[]Manual
Freeze Freeze Window Recurrence - Recurrence of the freeze window
- Start
Time string - Start time of the freeze
- Time
Zone string - Timezone
- duration String
- Duration of the freeze
- end
Time String - End time of the freeze
- recurrences
List<Manual
Freeze Freeze Window Recurrence> - Recurrence of the freeze window
- start
Time String - Start time of the freeze
- time
Zone String - Timezone
- duration string
- Duration of the freeze
- end
Time string - End time of the freeze
- recurrences
Manual
Freeze Freeze Window Recurrence[] - Recurrence of the freeze window
- start
Time string - Start time of the freeze
- time
Zone string - Timezone
- duration str
- Duration of the freeze
- end_
time str - End time of the freeze
- recurrences
Sequence[Manual
Freeze Freeze Window Recurrence] - Recurrence of the freeze window
- start_
time str - Start time of the freeze
- time_
zone str - Timezone
- duration String
- Duration of the freeze
- end
Time String - End time of the freeze
- recurrences List<Property Map>
- Recurrence of the freeze window
- start
Time String - Start time of the freeze
- time
Zone String - Timezone
ManualFreezeFreezeWindowRecurrence, ManualFreezeFreezeWindowRecurrenceArgs
- Recurrence
Specs List<ManualFreeze Freeze Window Recurrence Recurrence Spec> - Used to filter resources on their attributes
- Type string
- Recurrence type(Daily, Weekly, Monthly, Yearly)
- Recurrence
Specs []ManualFreeze Freeze Window Recurrence Recurrence Spec - Used to filter resources on their attributes
- Type string
- Recurrence type(Daily, Weekly, Monthly, Yearly)
- recurrence
Specs List<ManualFreeze Freeze Window Recurrence Recurrence Spec> - Used to filter resources on their attributes
- type String
- Recurrence type(Daily, Weekly, Monthly, Yearly)
- recurrence
Specs ManualFreeze Freeze Window Recurrence Recurrence Spec[] - Used to filter resources on their attributes
- type string
- Recurrence type(Daily, Weekly, Monthly, Yearly)
- recurrence_
specs Sequence[ManualFreeze Freeze Window Recurrence Recurrence Spec] - Used to filter resources on their attributes
- type str
- Recurrence type(Daily, Weekly, Monthly, Yearly)
- recurrence
Specs List<Property Map> - Used to filter resources on their attributes
- type String
- Recurrence type(Daily, Weekly, Monthly, Yearly)
ManualFreezeFreezeWindowRecurrenceRecurrenceSpec, ManualFreezeFreezeWindowRecurrenceRecurrenceSpecArgs
Import
Import an account level freeze
$ pulumi import harness:platform/manualFreeze:ManualFreeze example <freeze_id>
Import an organization level freeze
$ pulumi import harness:platform/manualFreeze:ManualFreeze example <org_id>/<freeze_id>
Import project level freeze
$ pulumi import harness:platform/manualFreeze:ManualFreeze example <org_id>/<project_id>/<freeze_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.