Edit

Share via


Set-AzStackHciUpdateSummary

Put Update summaries under the HCI cluster

Syntax

PutExpanded (Default)

Set-AzStackHciUpdateSummary
    -ClusterName <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String>]
    [-CurrentSbeVersion <String>]
    [-CurrentVersion <String>]
    [-HardwareModel <String>]
    [-HealthCheckDate <DateTime>]
    [-HealthCheckResult <IPrecheckResult[]>]
    [-HealthState <HealthState>]
    [-LastChecked <DateTime>]
    [-LastUpdated <DateTime>]
    [-Location <String>]
    [-OemFamily <String>]
    [-PackageVersion <IPackageVersionInfo[]>]
    [-State <UpdateSummariesPropertiesState>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Put

Set-AzStackHciUpdateSummary
    -ClusterName <String>
    -ResourceGroupName <String>
    -UpdateLocationProperty <IUpdateSummaries>
    [-SubscriptionId <String>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Put Update summaries under the HCI cluster

Examples

Example 1:

Set-AzStackHciUpdateSummary -ClusterName 'test-cluster' -ResourceGroupName 'test-rg'

Sets the update summary for the cluster

Parameters

-ClusterName

The name of the cluster.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CurrentSbeVersion

Current Sbe version of the stamp.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CurrentVersion

Current Solution Bundle version of the stamp.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HardwareModel

Name of the hardware model.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HealthCheckDate

Last time the package-specific checks were run.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HealthCheckResult

An array of pre-check result objects. To construct, see NOTES section for HEALTHCHECKRESULT properties and create a hash table.

Parameter properties

Type:

IPrecheckResult[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HealthState

Overall health state for update-specific health checks.

Parameter properties

Type:HealthState
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LastChecked

Last time the update service successfully checked for updates

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LastUpdated

Last time an update installation completed successfully.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

The geo-location where the resource lives

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-OemFamily

OEM family name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PackageVersion

Current version of each updatable component. To construct, see NOTES section for PACKAGEVERSION properties and create a hash table.

Parameter properties

Type:

IPackageVersionInfo[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-State

Overall update state of the stamp.

Parameter properties

Type:UpdateSummariesPropertiesState
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

PutExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:String
Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UpdateLocationProperty

Get the update summaries for the cluster To construct, see NOTES section for UPDATELOCATIONPROPERTY properties and create a hash table.

Parameter properties

Type:IUpdateSummaries
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Put
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

IUpdateSummaries

Outputs

IUpdateSummaries