Update Summary
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,
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
Current Solution Bundle version of the stamp.
Link copied to clipboard
Name of the hardware model.
Link copied to clipboard
Last time the package-specific checks were run.
Link copied to clipboard
Last time the update service successfully checked for updates
Link copied to clipboard
Last time an update installation completed successfully.
Link copied to clipboard
Provisioning state of the UpdateSummaries proxy resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.