azure-native.azurestackhci.UpdateSummary
Explore with Pulumi AI
Get the update summaries for the cluster 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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const updateSummary = new azure_native.azurestackhci.UpdateSummary("updateSummary", {
    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: azure_native.azurestackhci.UpdateSummariesPropertiesState.AppliedSuccessfully,
});
import pulumi
import pulumi_azure_native as azure_native
update_summary = azure_native.azurestackhci.UpdateSummary("updateSummary",
    cluster_name="testcluster",
    current_version="4.2203.2.32",
    hardware_model="PowerEdge R730xd",
    last_checked="2022-04-07T18:04:07Z",
    last_updated="2022-04-06T14:08:18.254Z",
    oem_family="DellEMC",
    resource_group_name="testrg",
    state=azure_native.azurestackhci.UpdateSummariesPropertiesState.APPLIED_SUCCESSFULLY)
resources:
  updateSummary:
    type: azure-native:azurestackhci:UpdateSummary
    properties:
      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
Create UpdateSummary Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UpdateSummary(name: string, args: UpdateSummaryArgs, opts?: CustomResourceOptions);@overload
def UpdateSummary(resource_name: str,
                  args: UpdateSummaryArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def UpdateSummary(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  cluster_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  current_version: Optional[str] = None,
                  hardware_model: Optional[str] = None,
                  health_check_date: Optional[str] = None,
                  last_checked: Optional[str] = None,
                  last_updated: Optional[str] = None,
                  location: Optional[str] = None,
                  oem_family: Optional[str] = None,
                  state: Optional[Union[str, UpdateSummariesPropertiesState]] = None)func NewUpdateSummary(ctx *Context, name string, args UpdateSummaryArgs, opts ...ResourceOption) (*UpdateSummary, error)public UpdateSummary(string name, UpdateSummaryArgs args, CustomResourceOptions? opts = null)
public UpdateSummary(String name, UpdateSummaryArgs args)
public UpdateSummary(String name, UpdateSummaryArgs args, CustomResourceOptions options)
type: azure-native:azurestackhci:UpdateSummary
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UpdateSummaryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UpdateSummaryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UpdateSummaryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UpdateSummaryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UpdateSummaryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var updateSummaryResource = new AzureNative.AzureStackHCI.UpdateSummary("updateSummaryResource", new()
{
    ClusterName = "string",
    ResourceGroupName = "string",
    CurrentVersion = "string",
    HardwareModel = "string",
    HealthCheckDate = "string",
    LastChecked = "string",
    LastUpdated = "string",
    Location = "string",
    OemFamily = "string",
    State = "string",
});
example, err := azurestackhci.NewUpdateSummary(ctx, "updateSummaryResource", &azurestackhci.UpdateSummaryArgs{
	ClusterName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	CurrentVersion:    pulumi.String("string"),
	HardwareModel:     pulumi.String("string"),
	HealthCheckDate:   pulumi.String("string"),
	LastChecked:       pulumi.String("string"),
	LastUpdated:       pulumi.String("string"),
	Location:          pulumi.String("string"),
	OemFamily:         pulumi.String("string"),
	State:             pulumi.String("string"),
})
var updateSummaryResource = new UpdateSummary("updateSummaryResource", UpdateSummaryArgs.builder()
    .clusterName("string")
    .resourceGroupName("string")
    .currentVersion("string")
    .hardwareModel("string")
    .healthCheckDate("string")
    .lastChecked("string")
    .lastUpdated("string")
    .location("string")
    .oemFamily("string")
    .state("string")
    .build());
update_summary_resource = azure_native.azurestackhci.UpdateSummary("updateSummaryResource",
    cluster_name="string",
    resource_group_name="string",
    current_version="string",
    hardware_model="string",
    health_check_date="string",
    last_checked="string",
    last_updated="string",
    location="string",
    oem_family="string",
    state="string")
const updateSummaryResource = new azure_native.azurestackhci.UpdateSummary("updateSummaryResource", {
    clusterName: "string",
    resourceGroupName: "string",
    currentVersion: "string",
    hardwareModel: "string",
    healthCheckDate: "string",
    lastChecked: "string",
    lastUpdated: "string",
    location: "string",
    oemFamily: "string",
    state: "string",
});
type: azure-native:azurestackhci:UpdateSummary
properties:
    clusterName: string
    currentVersion: string
    hardwareModel: string
    healthCheckDate: string
    lastChecked: string
    lastUpdated: string
    location: string
    oemFamily: string
    resourceGroupName: string
    state: string
UpdateSummary Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The UpdateSummary resource accepts the following input properties:
- ClusterName string
- The name of the cluster.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- CurrentVersion string
- Current Solution Bundle version of the stamp.
- HardwareModel string
- Name of the hardware model.
- HealthCheck stringDate 
- Last time the package-specific checks were run.
- LastChecked string
- Last time the update service successfully checked for updates
- LastUpdated string
- Last time an update installation completed successfully.
- Location string
- The geo-location where the resource lives
- OemFamily string
- OEM family name.
- State
string | Pulumi.Azure Native. Azure Stack HCI. Update Summaries Properties State 
- Overall update state of the stamp.
- ClusterName string
- The name of the cluster.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- CurrentVersion string
- Current Solution Bundle version of the stamp.
- HardwareModel string
- Name of the hardware model.
- HealthCheck stringDate 
- Last time the package-specific checks were run.
- LastChecked string
- Last time the update service successfully checked for updates
- LastUpdated string
- Last time an update installation completed successfully.
- Location string
- The geo-location where the resource lives
- OemFamily string
- OEM family name.
- State
string | UpdateSummaries Properties State 
- Overall update state of the stamp.
- clusterName String
- The name of the cluster.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- currentVersion String
- Current Solution Bundle version of the stamp.
- hardwareModel String
- Name of the hardware model.
- healthCheck StringDate 
- Last time the package-specific checks were run.
- lastChecked String
- Last time the update service successfully checked for updates
- lastUpdated String
- Last time an update installation completed successfully.
- location String
- The geo-location where the resource lives
- oemFamily String
- OEM family name.
- state
String | UpdateSummaries Properties State 
- Overall update state of the stamp.
- clusterName string
- The name of the cluster.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- currentVersion string
- Current Solution Bundle version of the stamp.
- hardwareModel string
- Name of the hardware model.
- healthCheck stringDate 
- Last time the package-specific checks were run.
- lastChecked string
- Last time the update service successfully checked for updates
- lastUpdated string
- Last time an update installation completed successfully.
- location string
- The geo-location where the resource lives
- oemFamily string
- OEM family name.
- state
string | UpdateSummaries Properties State 
- Overall update state of the stamp.
- cluster_name str
- The name of the cluster.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- current_version str
- Current Solution Bundle version of the stamp.
- hardware_model str
- Name of the hardware model.
- health_check_ strdate 
- Last time the package-specific checks were run.
- last_checked str
- Last time the update service successfully checked for updates
- last_updated str
- Last time an update installation completed successfully.
- location str
- The geo-location where the resource lives
- oem_family str
- OEM family name.
- state
str | UpdateSummaries Properties State 
- Overall update state of the stamp.
- clusterName String
- The name of the cluster.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- currentVersion String
- Current Solution Bundle version of the stamp.
- hardwareModel String
- Name of the hardware model.
- healthCheck StringDate 
- Last time the package-specific checks were run.
- lastChecked String
- Last time the update service successfully checked for updates
- lastUpdated String
- Last time an update installation completed successfully.
- location String
- The geo-location where the resource lives
- oemFamily String
- OEM family name.
- state
String | "Unknown" | "AppliedSuccessfully" | "Update Available" | "Update In Progress" | "Update Failed" | "Needs Attention" | "Preparation In Progress" | "Preparation Failed" 
- Overall update state of the stamp.
Outputs
All input properties are implicitly available as output properties. Additionally, the UpdateSummary resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state of the UpdateSummaries proxy resource.
- SystemData Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state of the UpdateSummaries proxy resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- Provisioning state of the UpdateSummaries proxy resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioningState string
- Provisioning state of the UpdateSummaries proxy resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_state str
- Provisioning state of the UpdateSummaries proxy resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- Provisioning state of the UpdateSummaries proxy resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
UpdateSummariesPropertiesState, UpdateSummariesPropertiesStateArgs        
- Unknown
- Unknown
- AppliedSuccessfully 
- AppliedSuccessfully
- UpdateAvailable 
- UpdateAvailable
- UpdateIn Progress 
- UpdateInProgress
- UpdateFailed 
- UpdateFailed
- NeedsAttention 
- NeedsAttention
- PreparationIn Progress 
- PreparationInProgress
- PreparationFailed 
- PreparationFailed
- UpdateSummaries Properties State Unknown 
- Unknown
- UpdateSummaries Properties State Applied Successfully 
- AppliedSuccessfully
- UpdateSummaries Properties State Update Available 
- UpdateAvailable
- UpdateSummaries Properties State Update In Progress 
- UpdateInProgress
- UpdateSummaries Properties State Update Failed 
- UpdateFailed
- UpdateSummaries Properties State Needs Attention 
- NeedsAttention
- UpdateSummaries Properties State Preparation In Progress 
- PreparationInProgress
- UpdateSummaries Properties State Preparation Failed 
- PreparationFailed
- Unknown
- Unknown
- AppliedSuccessfully 
- AppliedSuccessfully
- UpdateAvailable 
- UpdateAvailable
- UpdateIn Progress 
- UpdateInProgress
- UpdateFailed 
- UpdateFailed
- NeedsAttention 
- NeedsAttention
- PreparationIn Progress 
- PreparationInProgress
- PreparationFailed 
- PreparationFailed
- Unknown
- Unknown
- AppliedSuccessfully 
- AppliedSuccessfully
- UpdateAvailable 
- UpdateAvailable
- UpdateIn Progress 
- UpdateInProgress
- UpdateFailed 
- UpdateFailed
- NeedsAttention 
- NeedsAttention
- PreparationIn Progress 
- PreparationInProgress
- PreparationFailed 
- PreparationFailed
- UNKNOWN
- Unknown
- APPLIED_SUCCESSFULLY
- AppliedSuccessfully
- UPDATE_AVAILABLE
- UpdateAvailable
- UPDATE_IN_PROGRESS
- UpdateInProgress
- UPDATE_FAILED
- UpdateFailed
- NEEDS_ATTENTION
- NeedsAttention
- PREPARATION_IN_PROGRESS
- PreparationInProgress
- PREPARATION_FAILED
- PreparationFailed
- "Unknown"
- Unknown
- "AppliedSuccessfully" 
- AppliedSuccessfully
- "UpdateAvailable" 
- UpdateAvailable
- "UpdateIn Progress" 
- UpdateInProgress
- "UpdateFailed" 
- UpdateFailed
- "NeedsAttention" 
- NeedsAttention
- "PreparationIn Progress" 
- PreparationInProgress
- "PreparationFailed" 
- PreparationFailed
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 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0