Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs
harness.platform.getManualFreeze
Explore with Pulumi AI
DataSource for deployment freeze in harness.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() => 
{
    var example = Harness.Platform.GetManualFreeze.Invoke(new()
    {
        AccountId = "account_id",
        Identifier = "identifier",
        OrgId = "org_id",
        ProjectId = "project_id",
    });
});
package main
import (
	"github.com/lbrlabs/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{
			AccountId:  "account_id",
			Identifier: "identifier",
			OrgId:      pulumi.StringRef("org_id"),
			ProjectId:  pulumi.StringRef("project_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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()
            .accountId("account_id")
            .identifier("identifier")
            .orgId("org_id")
            .projectId("project_id")
            .build());
    }
}
import pulumi
import pulumi_harness as harness
example = harness.platform.get_manual_freeze(account_id="account_id",
    identifier="identifier",
    org_id="org_id",
    project_id="project_id")
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getManualFreeze({
    accountId: "account_id",
    identifier: "identifier",
    orgId: "org_id",
    projectId: "project_id",
});
variables:
  example:
    fn::invoke:
      Function: harness:platform:getManualFreeze
      Arguments:
        accountId: account_id
        identifier: identifier
        orgId: org_id
        projectId: project_id
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>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]func LookupManualFreeze(ctx *Context, args *LookupManualFreezeArgs, opts ...InvokeOption) (*LookupManualFreezeResult, error)
func LookupManualFreezeOutput(ctx *Context, args *LookupManualFreezeOutputArgs, opts ...InvokeOption) LookupManualFreezeResultOutput> 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)
}public static CompletableFuture<GetManualFreezeResult> getManualFreeze(GetManualFreezeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: harness:platform/getManualFreeze:getManualFreeze
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account
Id string - Account Identifier of the freeze
 - Identifier string
 - Identifier 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
 - 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
 - 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
 - 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
 - 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
 - org
Id String - Organization identifier of the freeze
 - project
Id String - Project identifier of the freeze
 
getManualFreeze Result
The following output properties are available:
- Account
Id string - Account Identifier of the freeze
 - Current
Or List<Lbrlabs.Upcoming Windows Pulumi Package. Harness. Platform. Outputs. Get Manual Freeze Current Or Upcoming Window>  - Current or upcoming windows
 - Description string
 - Description of the freeze
 - Freeze
Windows List<Lbrlabs.Pulumi Package. Harness. Platform. Outputs. Get Manual Freeze Freeze Window>  - 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
 - List<string>
 - Tags associated with the freeze
 - Type string
 - Type of 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
 - Current
Or []GetUpcoming Windows Manual Freeze Current Or Upcoming Window  - Current or upcoming windows
 - Description string
 - Description of the freeze
 - Freeze
Windows []GetManual Freeze Freeze Window  - 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
 - []string
 - Tags associated with the freeze
 - Type string
 - Type of 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
 - current
Or List<GetUpcoming Windows Manual Freeze Current Or Upcoming Window>  - Current or upcoming windows
 - description String
 - Description of the freeze
 - freeze
Windows List<GetManual Freeze Freeze Window>  - 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
 - List<String>
 - Tags associated with the freeze
 - type String
 - Type of 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
 - current
Or GetUpcoming Windows Manual Freeze Current Or Upcoming Window[]  - Current or upcoming windows
 - description string
 - Description of the freeze
 - freeze
Windows GetManual Freeze Freeze Window[]  - 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
 - string[]
 - Tags associated with the freeze
 - type string
 - Type of 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
 - current_
or_ Sequence[Getupcoming_ windows Manual Freeze Current Or Upcoming Window]  - Current or upcoming windows
 - description str
 - Description of the freeze
 - freeze_
windows Sequence[GetManual Freeze Freeze Window]  - 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
 - 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
 
- 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
 - 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
 - List<String>
 - Tags associated with the freeze
 - type String
 - Type of freeze
 - yaml String
 - Yaml of the freeze
 - org
Id String - Organization identifier of the freeze
 - project
Id String - Project identifier of the freeze
 
Supporting Types
GetManualFreezeCurrentOrUpcomingWindow      
- end_
time int - End time of the freeze
 - start_
time int - Start time of the freeze
 
GetManualFreezeFreezeWindow    
- Duration string
 - Duration of the freeze
 - End
Time string - End time of the freeze
 - Recurrences
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Get Manual Freeze Freeze Window Recurrence>  - 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
[]Get
Manual Freeze Freeze Window Recurrence  - 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<Get
Manual Freeze Freeze Window Recurrence>  - 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
Get
Manual Freeze Freeze Window Recurrence[]  - 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[Get
Manual Freeze Freeze Window Recurrence]  - 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>
 - start
Time String - Start time of the freeze
 - time
Zone String - Timezone
 
GetManualFreezeFreezeWindowRecurrence     
- Recurrence
Specs []GetManual Freeze Freeze Window Recurrence Recurrence Spec  - Type string
 - Type of freeze
 
- recurrence
Specs List<GetManual Freeze Freeze Window Recurrence Recurrence Spec>  - type String
 - Type of freeze
 
- recurrence
Specs GetManual Freeze Freeze Window Recurrence Recurrence Spec[]  - type string
 - Type of freeze
 
- recurrence
Specs List<Property Map> - type String
 - Type of freeze
 
GetManualFreezeFreezeWindowRecurrenceRecurrenceSpec       
Package Details
- Repository
 - harness lbrlabs/pulumi-harness
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
harnessTerraform Provider.