1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. UpdateSummary
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.azurestackhci.UpdateSummary

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    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.

    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 (
    	"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 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)
    
    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,
    });
    
    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.

    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

    The UpdateSummary resource accepts the following input properties:

    ClusterName string
    The name of the cluster.
    ResourceGroupName string
    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.
    HealthCheckDate string
    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.AzureNative.AzureStackHCI.UpdateSummariesPropertiesState
    Overall update state of the stamp.
    ClusterName string
    The name of the cluster.
    ResourceGroupName string
    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.
    HealthCheckDate string
    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 | UpdateSummariesPropertiesState
    Overall update state of the stamp.
    clusterName String
    The name of the cluster.
    resourceGroupName String
    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.
    healthCheckDate String
    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 | UpdateSummariesPropertiesState
    Overall update state of the stamp.
    clusterName string
    The name of the cluster.
    resourceGroupName string
    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.
    healthCheckDate string
    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 | UpdateSummariesPropertiesState
    Overall update state of the stamp.
    cluster_name str
    The name of the cluster.
    resource_group_name str
    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_date str
    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 | UpdateSummariesPropertiesState
    Overall update state of the stamp.
    clusterName String
    The name of the cluster.
    resourceGroupName String
    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.
    healthCheckDate String
    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" | "UpdateAvailable" | "UpdateInProgress" | "UpdateFailed" | "NeedsAttention" | "PreparationInProgress" | "PreparationFailed"
    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.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UpdateSummariesPropertiesState, UpdateSummariesPropertiesStateArgs

    Unknown
    Unknown
    AppliedSuccessfully
    AppliedSuccessfully
    UpdateAvailable
    UpdateAvailable
    UpdateInProgress
    UpdateInProgress
    UpdateFailed
    UpdateFailed
    NeedsAttention
    NeedsAttention
    PreparationInProgress
    PreparationInProgress
    PreparationFailed
    PreparationFailed
    UpdateSummariesPropertiesStateUnknown
    Unknown
    UpdateSummariesPropertiesStateAppliedSuccessfully
    AppliedSuccessfully
    UpdateSummariesPropertiesStateUpdateAvailable
    UpdateAvailable
    UpdateSummariesPropertiesStateUpdateInProgress
    UpdateInProgress
    UpdateSummariesPropertiesStateUpdateFailed
    UpdateFailed
    UpdateSummariesPropertiesStateNeedsAttention
    NeedsAttention
    UpdateSummariesPropertiesStatePreparationInProgress
    PreparationInProgress
    UpdateSummariesPropertiesStatePreparationFailed
    PreparationFailed
    Unknown
    Unknown
    AppliedSuccessfully
    AppliedSuccessfully
    UpdateAvailable
    UpdateAvailable
    UpdateInProgress
    UpdateInProgress
    UpdateFailed
    UpdateFailed
    NeedsAttention
    NeedsAttention
    PreparationInProgress
    PreparationInProgress
    PreparationFailed
    PreparationFailed
    Unknown
    Unknown
    AppliedSuccessfully
    AppliedSuccessfully
    UpdateAvailable
    UpdateAvailable
    UpdateInProgress
    UpdateInProgress
    UpdateFailed
    UpdateFailed
    NeedsAttention
    NeedsAttention
    PreparationInProgress
    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
    "UpdateInProgress"
    UpdateInProgress
    "UpdateFailed"
    UpdateFailed
    "NeedsAttention"
    NeedsAttention
    "PreparationInProgress"
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi