UpdateSummaryArgs

data class UpdateSummaryArgs(val clusterName: Output<String>? = null, val currentVersion: Output<String>? = null, val hardwareModel: Output<String>? = null, val healthCheckDate: Output<String>? = null, val lastChecked: Output<String>? = null, val lastUpdated: Output<String>? = null, val location: Output<String>? = null, val oemFamily: Output<String>? = null, val resourceGroupName: Output<String>? = null, val state: Output<Either<String, UpdateSummariesPropertiesState>>? = null) : ConvertibleToJava<UpdateSummaryArgs>

Get the update summaries for the cluster Uses Azure REST API version 2023-03-01. Other available API versions: 2022-12-15-preview, 2023-06-01, 2023-08-01, 2023-08-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-04-01, 2024-09-01-preview, 2024-12-01-preview.

Example Usage

Put Update summaries under cluster resource

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var updateSummary = new AzureNative.AzureStackHCI.UpdateSummary("updateSummary", new()
{
ClusterName = "testcluster",
CurrentVersion = "4.2203.2.32",
HardwareModel = "PowerEdge R730xd",
LastChecked = "2022-04-07T18:04:07Z",
LastUpdated = "2022-04-06T14:08:18.254Z",
OemFamily = "DellEMC",
ResourceGroupName = "testrg",
State = AzureNative.AzureStackHCI.UpdateSummariesPropertiesState.AppliedSuccessfully,
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurestackhci.NewUpdateSummary(ctx, "updateSummary", &azurestackhci.UpdateSummaryArgs{
ClusterName: pulumi.String("testcluster"),
CurrentVersion: pulumi.String("4.2203.2.32"),
HardwareModel: pulumi.String("PowerEdge R730xd"),
LastChecked: pulumi.String("2022-04-07T18:04:07Z"),
LastUpdated: pulumi.String("2022-04-06T14:08:18.254Z"),
OemFamily: pulumi.String("DellEMC"),
ResourceGroupName: pulumi.String("testrg"),
State: pulumi.String(azurestackhci.UpdateSummariesPropertiesStateAppliedSuccessfully),
})
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.azurenative.azurestackhci.UpdateSummary;
import com.pulumi.azurenative.azurestackhci.UpdateSummaryArgs;
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 updateSummary = new UpdateSummary("updateSummary", UpdateSummaryArgs.builder()
.clusterName("testcluster")
.currentVersion("4.2203.2.32")
.hardwareModel("PowerEdge R730xd")
.lastChecked("2022-04-07T18:04:07Z")
.lastUpdated("2022-04-06T14:08:18.254Z")
.oemFamily("DellEMC")
.resourceGroupName("testrg")
.state("AppliedSuccessfully")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:azurestackhci:UpdateSummary default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updateSummaries/default

Constructors

Link copied to clipboard
constructor(clusterName: Output<String>? = null, currentVersion: Output<String>? = null, hardwareModel: Output<String>? = null, healthCheckDate: Output<String>? = null, lastChecked: Output<String>? = null, lastUpdated: Output<String>? = null, location: Output<String>? = null, oemFamily: Output<String>? = null, resourceGroupName: Output<String>? = null, state: Output<Either<String, UpdateSummariesPropertiesState>>? = null)

Properties

Link copied to clipboard
val clusterName: Output<String>? = null

The name of the cluster.

Link copied to clipboard
val currentVersion: Output<String>? = null

Current Solution Bundle version of the stamp.

Link copied to clipboard
val hardwareModel: Output<String>? = null

Name of the hardware model.

Link copied to clipboard
val healthCheckDate: Output<String>? = null

Last time the package-specific checks were run.

Link copied to clipboard
val lastChecked: Output<String>? = null

Last time the update service successfully checked for updates

Link copied to clipboard
val lastUpdated: Output<String>? = null

Last time an update installation completed successfully.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val oemFamily: Output<String>? = null

OEM family name.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val state: Output<Either<String, UpdateSummariesPropertiesState>>? = null

Overall update state of the stamp.

Functions

Link copied to clipboard
open override fun toJava(): UpdateSummaryArgs