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.
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 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.
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:
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Current
Version string - Current Solution Bundle version of the stamp.
- Hardware
Model string - Name of the hardware model.
- Health
Check stringDate - Last time the package-specific checks were run.
- Last
Checked string - Last time the update service successfully checked for updates
- Last
Updated string - Last time an update installation completed successfully.
- Location string
- The geo-location where the resource lives
- Oem
Family string - OEM family name.
- State
string | Pulumi.
Azure Native. Azure Stack HCI. Update Summaries Properties State - Overall update state of the stamp.
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Current
Version string - Current Solution Bundle version of the stamp.
- Hardware
Model string - Name of the hardware model.
- Health
Check stringDate - Last time the package-specific checks were run.
- Last
Checked string - Last time the update service successfully checked for updates
- Last
Updated string - Last time an update installation completed successfully.
- Location string
- The geo-location where the resource lives
- Oem
Family string - OEM family name.
- State
string | Update
Summaries Properties State - Overall update state of the stamp.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- current
Version String - Current Solution Bundle version of the stamp.
- hardware
Model String - Name of the hardware model.
- health
Check StringDate - Last time the package-specific checks were run.
- last
Checked String - Last time the update service successfully checked for updates
- last
Updated String - Last time an update installation completed successfully.
- location String
- The geo-location where the resource lives
- oem
Family String - OEM family name.
- state
String | Update
Summaries Properties State - Overall update state of the stamp.
- cluster
Name string - The name of the cluster.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- current
Version string - Current Solution Bundle version of the stamp.
- hardware
Model string - Name of the hardware model.
- health
Check stringDate - Last time the package-specific checks were run.
- last
Checked string - Last time the update service successfully checked for updates
- last
Updated string - Last time an update installation completed successfully.
- location string
- The geo-location where the resource lives
- oem
Family string - OEM family name.
- state
string | Update
Summaries 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 | Update
Summaries Properties State - Overall update state of the stamp.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- current
Version String - Current Solution Bundle version of the stamp.
- hardware
Model String - Name of the hardware model.
- health
Check StringDate - Last time the package-specific checks were run.
- last
Checked String - Last time the update service successfully checked for updates
- last
Updated String - Last time an update installation completed successfully.
- location String
- The geo-location where the resource lives
- oem
Family String - OEM family name.
- state
String | "Unknown" | "Applied
Successfully" | "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
- Provisioning
State string - Provisioning state of the UpdateSummaries proxy resource.
- System
Data 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
- Provisioning
State string - Provisioning state of the UpdateSummaries proxy resource.
- System
Data 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
- provisioning
State String - Provisioning state of the UpdateSummaries proxy resource.
- system
Data 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
- provisioning
State string - Provisioning state of the UpdateSummaries proxy resource.
- system
Data 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
- provisioning
State String - Provisioning state of the UpdateSummaries proxy resource.
- system
Data 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UpdateSummariesPropertiesState, UpdateSummariesPropertiesStateArgs
- 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
- Update
Summaries Properties State Unknown - Unknown
- Update
Summaries Properties State Applied Successfully - AppliedSuccessfully
- Update
Summaries Properties State Update Available - UpdateAvailable
- Update
Summaries Properties State Update In Progress - UpdateInProgress
- Update
Summaries Properties State Update Failed - UpdateFailed
- Update
Summaries Properties State Needs Attention - NeedsAttention
- Update
Summaries Properties State Preparation In Progress - PreparationInProgress
- Update
Summaries Properties State Preparation Failed - 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
- 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
- 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
- "Applied
Successfully" - AppliedSuccessfully
- "Update
Available" - UpdateAvailable
- "Update
In Progress" - UpdateInProgress
- "Update
Failed" - UpdateFailed
- "Needs
Attention" - NeedsAttention
- "Preparation
In Progress" - PreparationInProgress
- "Preparation
Failed" - 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