1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getManualFreeze
Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi

harness.platform.getManualFreeze

Explore with Pulumi AI

Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi

DataSource for deployment freeze in harness.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";

const example = harness.platform.getManualFreeze({
    identifier: "identifier",
    orgId: "org_id",
    projectId: "project_id",
    accountId: "account_id",
});
Copy
import pulumi
import pulumi_harness as harness

example = harness.platform.get_manual_freeze(identifier="identifier",
    org_id="org_id",
    project_id="project_id",
    account_id="account_id")
Copy
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.LookupManualFreeze(ctx, &platform.LookupManualFreezeArgs{
			Identifier: "identifier",
			OrgId:      pulumi.StringRef("org_id"),
			ProjectId:  pulumi.StringRef("project_id"),
			AccountId:  "account_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;

return await Deployment.RunAsync(() => 
{
    var example = Harness.Platform.GetManualFreeze.Invoke(new()
    {
        Identifier = "identifier",
        OrgId = "org_id",
        ProjectId = "project_id",
        AccountId = "account_id",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetManualFreezeArgs;
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) {
        final var example = PlatformFunctions.getManualFreeze(GetManualFreezeArgs.builder()
            .identifier("identifier")
            .orgId("org_id")
            .projectId("project_id")
            .accountId("account_id")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: harness:platform:getManualFreeze
      arguments:
        identifier: identifier
        orgId: org_id
        projectId: project_id
        accountId: account_id
Copy

Using getManualFreeze

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getManualFreeze(args: GetManualFreezeArgs, opts?: InvokeOptions): Promise<GetManualFreezeResult>
function getManualFreezeOutput(args: GetManualFreezeOutputArgs, opts?: InvokeOptions): Output<GetManualFreezeResult>
Copy
def get_manual_freeze(account_id: Optional[str] = None,
                      identifier: Optional[str] = None,
                      org_id: Optional[str] = None,
                      project_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetManualFreezeResult
def get_manual_freeze_output(account_id: Optional[pulumi.Input[str]] = None,
                      identifier: Optional[pulumi.Input[str]] = None,
                      org_id: Optional[pulumi.Input[str]] = None,
                      project_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetManualFreezeResult]
Copy
func LookupManualFreeze(ctx *Context, args *LookupManualFreezeArgs, opts ...InvokeOption) (*LookupManualFreezeResult, error)
func LookupManualFreezeOutput(ctx *Context, args *LookupManualFreezeOutputArgs, opts ...InvokeOption) LookupManualFreezeResultOutput
Copy

> Note: This function is named LookupManualFreeze in the Go SDK.

public static class GetManualFreeze 
{
    public static Task<GetManualFreezeResult> InvokeAsync(GetManualFreezeArgs args, InvokeOptions? opts = null)
    public static Output<GetManualFreezeResult> Invoke(GetManualFreezeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManualFreezeResult> getManualFreeze(GetManualFreezeArgs args, InvokeOptions options)
public static Output<GetManualFreezeResult> getManualFreeze(GetManualFreezeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harness:platform/getManualFreeze:getManualFreeze
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
Account Identifier of the freeze
Identifier This property is required. string
Identifier of the freeze
OrgId string
Organization identifier of the freeze
ProjectId string
Project identifier of the freeze
AccountId This property is required. string
Account Identifier of the freeze
Identifier This property is required. string
Identifier of the freeze
OrgId string
Organization identifier of the freeze
ProjectId string
Project identifier of the freeze
accountId This property is required. String
Account Identifier of the freeze
identifier This property is required. String
Identifier of the freeze
orgId String
Organization identifier of the freeze
projectId String
Project identifier of the freeze
accountId This property is required. string
Account Identifier of the freeze
identifier This property is required. string
Identifier of the freeze
orgId string
Organization identifier of the freeze
projectId string
Project identifier of the freeze
account_id This property is required. str
Account Identifier of the freeze
identifier This property is required. str
Identifier of the freeze
org_id str
Organization identifier of the freeze
project_id str
Project identifier of the freeze
accountId This property is required. String
Account Identifier of the freeze
identifier This property is required. String
Identifier of the freeze
orgId String
Organization identifier of the freeze
projectId String
Project identifier of the freeze

getManualFreeze Result

The following output properties are available:

AccountId string
Account Identifier of the freeze
CurrentOrUpcomingWindows List<GetManualFreezeCurrentOrUpcomingWindow>
Current or upcoming windows
Description string
Description of the freeze
FreezeWindows List<GetManualFreezeFreezeWindow>
Freeze windows in the freeze response
Id string
The provider-assigned unique ID for this managed resource.
Identifier string
Identifier of the freeze
Name string
Name of the freeze
Scope string
Scope of the freeze
Status string
Status of the freeze
Tags List<string>
Tags associated with the freeze
Type string
Type of freeze
Yaml string
Yaml of the freeze
OrgId string
Organization identifier of the freeze
ProjectId string
Project identifier of the freeze
AccountId string
Account Identifier of the freeze
CurrentOrUpcomingWindows []GetManualFreezeCurrentOrUpcomingWindow
Current or upcoming windows
Description string
Description of the freeze
FreezeWindows []GetManualFreezeFreezeWindow
Freeze windows in the freeze response
Id string
The provider-assigned unique ID for this managed resource.
Identifier string
Identifier of the freeze
Name string
Name of the freeze
Scope string
Scope of the freeze
Status string
Status of the freeze
Tags []string
Tags associated with the freeze
Type string
Type of freeze
Yaml string
Yaml of the freeze
OrgId string
Organization identifier of the freeze
ProjectId string
Project identifier of the freeze
accountId String
Account Identifier of the freeze
currentOrUpcomingWindows List<GetManualFreezeCurrentOrUpcomingWindow>
Current or upcoming windows
description String
Description of the freeze
freezeWindows List<GetManualFreezeFreezeWindow>
Freeze windows in the freeze response
id String
The provider-assigned unique ID for this managed resource.
identifier String
Identifier of the freeze
name String
Name of the freeze
scope String
Scope of the freeze
status String
Status of the freeze
tags List<String>
Tags associated with the freeze
type String
Type of freeze
yaml String
Yaml of the freeze
orgId String
Organization identifier of the freeze
projectId String
Project identifier of the freeze
accountId string
Account Identifier of the freeze
currentOrUpcomingWindows GetManualFreezeCurrentOrUpcomingWindow[]
Current or upcoming windows
description string
Description of the freeze
freezeWindows GetManualFreezeFreezeWindow[]
Freeze windows in the freeze response
id string
The provider-assigned unique ID for this managed resource.
identifier string
Identifier of the freeze
name string
Name of the freeze
scope string
Scope of the freeze
status string
Status of the freeze
tags string[]
Tags associated with the freeze
type string
Type of freeze
yaml string
Yaml of the freeze
orgId string
Organization identifier of the freeze
projectId string
Project identifier of the freeze
account_id str
Account Identifier of the freeze
current_or_upcoming_windows Sequence[GetManualFreezeCurrentOrUpcomingWindow]
Current or upcoming windows
description str
Description of the freeze
freeze_windows Sequence[GetManualFreezeFreezeWindow]
Freeze windows in the freeze response
id str
The provider-assigned unique ID for this managed resource.
identifier str
Identifier of the freeze
name str
Name of the freeze
scope str
Scope of the freeze
status str
Status of the freeze
tags Sequence[str]
Tags associated with the freeze
type str
Type of freeze
yaml str
Yaml of the freeze
org_id str
Organization identifier of the freeze
project_id str
Project identifier of the freeze
accountId String
Account Identifier of the freeze
currentOrUpcomingWindows List<Property Map>
Current or upcoming windows
description String
Description of the freeze
freezeWindows List<Property Map>
Freeze windows in the freeze response
id String
The provider-assigned unique ID for this managed resource.
identifier String
Identifier of the freeze
name String
Name of the freeze
scope String
Scope of the freeze
status String
Status of the freeze
tags List<String>
Tags associated with the freeze
type String
Type of freeze
yaml String
Yaml of the freeze
orgId String
Organization identifier of the freeze
projectId String
Project identifier of the freeze

Supporting Types

GetManualFreezeCurrentOrUpcomingWindow

EndTime This property is required. int
End time of the freeze
StartTime This property is required. int
Start time of the freeze
EndTime This property is required. int
End time of the freeze
StartTime This property is required. int
Start time of the freeze
endTime This property is required. Integer
End time of the freeze
startTime This property is required. Integer
Start time of the freeze
endTime This property is required. number
End time of the freeze
startTime This property is required. number
Start time of the freeze
end_time This property is required. int
End time of the freeze
start_time This property is required. int
Start time of the freeze
endTime This property is required. Number
End time of the freeze
startTime This property is required. Number
Start time of the freeze

GetManualFreezeFreezeWindow

Duration This property is required. string
Duration of the freeze
EndTime This property is required. string
End time of the freeze
Recurrences This property is required. List<GetManualFreezeFreezeWindowRecurrence>
Recurrence of the freeze window
StartTime This property is required. string
Start time of the freeze
TimeZone This property is required. string
Timezone
Duration This property is required. string
Duration of the freeze
EndTime This property is required. string
End time of the freeze
Recurrences This property is required. []GetManualFreezeFreezeWindowRecurrence
Recurrence of the freeze window
StartTime This property is required. string
Start time of the freeze
TimeZone This property is required. string
Timezone
duration This property is required. String
Duration of the freeze
endTime This property is required. String
End time of the freeze
recurrences This property is required. List<GetManualFreezeFreezeWindowRecurrence>
Recurrence of the freeze window
startTime This property is required. String
Start time of the freeze
timeZone This property is required. String
Timezone
duration This property is required. string
Duration of the freeze
endTime This property is required. string
End time of the freeze
recurrences This property is required. GetManualFreezeFreezeWindowRecurrence[]
Recurrence of the freeze window
startTime This property is required. string
Start time of the freeze
timeZone This property is required. string
Timezone
duration This property is required. str
Duration of the freeze
end_time This property is required. str
End time of the freeze
recurrences This property is required. Sequence[GetManualFreezeFreezeWindowRecurrence]
Recurrence of the freeze window
start_time This property is required. str
Start time of the freeze
time_zone This property is required. str
Timezone
duration This property is required. String
Duration of the freeze
endTime This property is required. String
End time of the freeze
recurrences This property is required. List<Property Map>
Recurrence of the freeze window
startTime This property is required. String
Start time of the freeze
timeZone This property is required. String
Timezone

GetManualFreezeFreezeWindowRecurrence

RecurrenceSpecs This property is required. List<GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec>
Used to filter resources on their attributes
Type This property is required. string
Recurrence type(Daily, Weekly, Monthly, Yearly)
RecurrenceSpecs This property is required. []GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec
Used to filter resources on their attributes
Type This property is required. string
Recurrence type(Daily, Weekly, Monthly, Yearly)
recurrenceSpecs This property is required. List<GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec>
Used to filter resources on their attributes
type This property is required. String
Recurrence type(Daily, Weekly, Monthly, Yearly)
recurrenceSpecs This property is required. GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec[]
Used to filter resources on their attributes
type This property is required. string
Recurrence type(Daily, Weekly, Monthly, Yearly)
recurrence_specs This property is required. Sequence[GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec]
Used to filter resources on their attributes
type This property is required. str
Recurrence type(Daily, Weekly, Monthly, Yearly)
recurrenceSpecs This property is required. List<Property Map>
Used to filter resources on their attributes
type This property is required. String
Recurrence type(Daily, Weekly, Monthly, Yearly)

GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec

Until This property is required. string
Recurrence until timestamp
Value This property is required. int
Value of n, for n months recurrence
Until This property is required. string
Recurrence until timestamp
Value This property is required. int
Value of n, for n months recurrence
until This property is required. String
Recurrence until timestamp
value This property is required. Integer
Value of n, for n months recurrence
until This property is required. string
Recurrence until timestamp
value This property is required. number
Value of n, for n months recurrence
until This property is required. str
Recurrence until timestamp
value This property is required. int
Value of n, for n months recurrence
until This property is required. String
Recurrence until timestamp
value This property is required. Number
Value of n, for n months recurrence

Package Details

Repository
harness pulumi/pulumi-harness
License
Apache-2.0
Notes
This Pulumi package is based on the harness Terraform Provider.
Harness v0.7.1 published on Saturday, Mar 29, 2025 by Pulumi