nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware
nsxt.getUpgradePostcheck
Explore with Pulumi AI
This data source provides information about Upgrade post-check results.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nsxt from "@pulumi/nsxt";
const pc = nsxt.getUpgradePostcheck({
upgradeRunId: nsxt_upgrade_run.test.id,
type: "EDGE",
});
import pulumi
import pulumi_nsxt as nsxt
pc = nsxt.get_upgrade_postcheck(upgrade_run_id=nsxt_upgrade_run["test"]["id"],
type="EDGE")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nsxt.GetUpgradePostcheck(ctx, &nsxt.GetUpgradePostcheckArgs{
UpgradeRunId: nsxt_upgrade_run.Test.Id,
Type: "EDGE",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nsxt = Pulumi.Nsxt;
return await Deployment.RunAsync(() =>
{
var pc = Nsxt.GetUpgradePostcheck.Invoke(new()
{
UpgradeRunId = nsxt_upgrade_run.Test.Id,
Type = "EDGE",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nsxt.NsxtFunctions;
import com.pulumi.nsxt.inputs.GetUpgradePostcheckArgs;
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 pc = NsxtFunctions.getUpgradePostcheck(GetUpgradePostcheckArgs.builder()
.upgradeRunId(nsxt_upgrade_run.test().id())
.type("EDGE")
.build());
}
}
variables:
pc:
fn::invoke:
function: nsxt:getUpgradePostcheck
arguments:
upgradeRunId: ${nsxt_upgrade_run.test.id}
type: EDGE
Using getUpgradePostcheck
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 getUpgradePostcheck(args: GetUpgradePostcheckArgs, opts?: InvokeOptions): Promise<GetUpgradePostcheckResult>
function getUpgradePostcheckOutput(args: GetUpgradePostcheckOutputArgs, opts?: InvokeOptions): Output<GetUpgradePostcheckResult>
def get_upgrade_postcheck(delay: Optional[float] = None,
id: Optional[str] = None,
interval: Optional[float] = None,
timeout: Optional[float] = None,
type: Optional[str] = None,
upgrade_run_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUpgradePostcheckResult
def get_upgrade_postcheck_output(delay: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
interval: Optional[pulumi.Input[float]] = None,
timeout: Optional[pulumi.Input[float]] = None,
type: Optional[pulumi.Input[str]] = None,
upgrade_run_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUpgradePostcheckResult]
func GetUpgradePostcheck(ctx *Context, args *GetUpgradePostcheckArgs, opts ...InvokeOption) (*GetUpgradePostcheckResult, error)
func GetUpgradePostcheckOutput(ctx *Context, args *GetUpgradePostcheckOutputArgs, opts ...InvokeOption) GetUpgradePostcheckResultOutput
> Note: This function is named GetUpgradePostcheck
in the Go SDK.
public static class GetUpgradePostcheck
{
public static Task<GetUpgradePostcheckResult> InvokeAsync(GetUpgradePostcheckArgs args, InvokeOptions? opts = null)
public static Output<GetUpgradePostcheckResult> Invoke(GetUpgradePostcheckInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUpgradePostcheckResult> getUpgradePostcheck(GetUpgradePostcheckArgs args, InvokeOptions options)
public static Output<GetUpgradePostcheckResult> getUpgradePostcheck(GetUpgradePostcheckArgs args, InvokeOptions options)
fn::invoke:
function: nsxt:index/getUpgradePostcheck:getUpgradePostcheck
arguments:
# arguments dictionary
The following arguments are supported:
getUpgradePostcheck Result
The following output properties are available:
- Failed
Groups List<GetUpgrade Postcheck Failed Group> - (Computed) The description of the resource.
- Id string
- ID of upgrade unit group.
- Type string
- Upgrade
Run stringId - Delay double
- Interval double
- Timeout double
- Failed
Groups []GetUpgrade Postcheck Failed Group - (Computed) The description of the resource.
- Id string
- ID of upgrade unit group.
- Type string
- Upgrade
Run stringId - Delay float64
- Interval float64
- Timeout float64
- failed
Groups List<GetUpgrade Postcheck Failed Group> - (Computed) The description of the resource.
- id String
- ID of upgrade unit group.
- type String
- upgrade
Run StringId - delay Double
- interval Double
- timeout Double
- failed
Groups GetUpgrade Postcheck Failed Group[] - (Computed) The description of the resource.
- id string
- ID of upgrade unit group.
- type string
- upgrade
Run stringId - delay number
- interval number
- timeout number
- failed_
groups Sequence[GetUpgrade Postcheck Failed Group] - (Computed) The description of the resource.
- id str
- ID of upgrade unit group.
- type str
- upgrade_
run_ strid - delay float
- interval float
- timeout float
- failed
Groups List<Property Map> - (Computed) The description of the resource.
- id String
- ID of upgrade unit group.
- type String
- upgrade
Run StringId - delay Number
- interval Number
- timeout Number
Supporting Types
GetUpgradePostcheckFailedGroup
- Details string
- Details about current execution of upgrade post-checks.
- Failure
Count double - Total count of generated failures or warnings in last execution of upgrade post-checks },
- Id string
- ID of upgrade unit group.
- Status string
- Status of execution of upgrade post-checks.
- Details string
- Details about current execution of upgrade post-checks.
- Failure
Count float64 - Total count of generated failures or warnings in last execution of upgrade post-checks },
- Id string
- ID of upgrade unit group.
- Status string
- Status of execution of upgrade post-checks.
- details String
- Details about current execution of upgrade post-checks.
- failure
Count Double - Total count of generated failures or warnings in last execution of upgrade post-checks },
- id String
- ID of upgrade unit group.
- status String
- Status of execution of upgrade post-checks.
- details string
- Details about current execution of upgrade post-checks.
- failure
Count number - Total count of generated failures or warnings in last execution of upgrade post-checks },
- id string
- ID of upgrade unit group.
- status string
- Status of execution of upgrade post-checks.
- details str
- Details about current execution of upgrade post-checks.
- failure_
count float - Total count of generated failures or warnings in last execution of upgrade post-checks },
- id str
- ID of upgrade unit group.
- status str
- Status of execution of upgrade post-checks.
- details String
- Details about current execution of upgrade post-checks.
- failure
Count Number - Total count of generated failures or warnings in last execution of upgrade post-checks },
- id String
- ID of upgrade unit group.
- status String
- Status of execution of upgrade post-checks.
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.