Update Summary Args
Get the update summaries for the cluster Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01. Other available API versions: 2022-12-15-preview, 2023-02-01, 2023-03-01, 2023-06-01, 2023-08-01, 2023-08-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-09-01-preview, 2024-12-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestackhci [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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/v3"
"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
Properties
The name of the cluster.
Current OEM Version.
Current Sbe version of the stamp.
Current Solution Bundle version of the stamp.
Name of the hardware model.
Last time the package-specific checks were run.
Last time the update service successfully checked for updates
Last time an update installation completed successfully.
The name of the resource group. The name is case insensitive.
Overall update state of the stamp.