Skip to main content

update_summaries

Creates, updates, deletes, gets or lists a update_summaries resource.

Overview

Nameupdate_summaries
TypeResource
Idazure_stack.azure_stack_hci.update_summaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
currentOemVersionstringCurrent OEM Version.
currentSbeVersionstringCurrent Sbe version of the stamp.
currentVersionstringCurrent Solution Bundle version of the stamp.
hardwareModelstringName of the hardware model.
healthCheckDatestring (date-time)Last time the package-specific checks were run.
healthCheckResultarrayAn array of pre-check result objects.
healthStatestringOverall health state for update-specific health checks. Known values are: "Unknown", "Success", "Failure", "Warning", "Error", and "InProgress". (Unknown, Success, Failure, Warning, Error, InProgress)
lastCheckedstring (date-time)Last time the update service successfully checked for updates.
lastUpdatedstring (date-time)Last time an update installation completed successfully.
locationstringThe geo-location where the resource lives.
oemFamilystringOEM family name.
packageVersionsarrayCurrent version of each updatable component.
provisioningStatestringProvisioning state of the UpdateSummaries proxy resource. Indicates the current lifecycle status of the update summary operation, such as whether it has been accepted, is in progress, or has completed. Known values are: "NotSpecified", "Error", "Succeeded", "Failed", "Canceled", "Connected", "Disconnected", "Deleted", "Creating", "Updating", "Deleting", "Moving", "PartiallySucceeded", "PartiallyConnected", "InProgress", "Accepted", "Provisioning", and "DisableInProgress". (NotSpecified, Error, Succeeded, Failed, Canceled, Connected, Disconnected, Deleted, Creating, Updating, Deleting, Moving, PartiallySucceeded, PartiallyConnected, InProgress, Accepted, Provisioning, DisableInProgress)
statestringOverall update state of the stamp. Indicates the current status of update deployment across the stamp, including preparation, application, and any issues encountered. Known values are: "Unknown", "AppliedSuccessfully", "UpdateAvailable", "UpdateInProgress", "UpdateFailed", "NeedsAttention", "PreparationInProgress", and "PreparationFailed". (Unknown, AppliedSuccessfully, UpdateAvailable, UpdateInProgress, UpdateFailed, NeedsAttention, PreparationInProgress, PreparationFailed)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, subscription_idGet all Update summaries under the HCI cluster.
deletedeleteresource_group_name, cluster_name, subscription_idDelete Update Summaries.
putexecresource_group_name, cluster_name, subscription_idPut Update summaries under the HCI cluster.
list_rawexecresource_group_name, cluster_name, subscription_idList all Update summaries under the HCI cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_namestringThe name of the cluster. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get all Update summaries under the HCI cluster.

SELECT
id,
name,
currentOemVersion,
currentSbeVersion,
currentVersion,
hardwareModel,
healthCheckDate,
healthCheckResult,
healthState,
lastChecked,
lastUpdated,
location,
oemFamily,
packageVersions,
provisioningState,
state,
systemData,
type
FROM azure_stack.azure_stack_hci.update_summaries
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

DELETE examples

Delete Update Summaries.

DELETE FROM azure_stack.azure_stack_hci.update_summaries
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Put Update summaries under the HCI cluster.

EXEC azure_stack.azure_stack_hci.update_summaries.put 
@resource_group_name='{{ resource_group_name }}' --required,
@cluster_name='{{ cluster_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}",
"location": "{{ location }}"
}'
;