Editar

Partilhar via


Set-AzStackHciUpdateSummary

Put Update summaries under the HCI cluster

Syntax

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>]
Set-AzStackHciUpdateSummary
   -ClusterName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -UpdateLocationProperty <IUpdateSummaries>
   [-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.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CurrentSbeVersion

Current Sbe version of the stamp.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CurrentVersion

Current Solution Bundle version of the stamp.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

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

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HardwareModel

Name of the hardware model.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HealthCheckDate

Last time the package-specific checks were run.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HealthCheckResult

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

Type:IPrecheckResult[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HealthState

Overall health state for update-specific health checks.

Type:HealthState
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastChecked

Last time the update service successfully checked for updates

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastUpdated

Last time an update installation completed successfully.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

The geo-location where the resource lives

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OemFamily

OEM family name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PackageVersion

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

Type:IPackageVersionInfo[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-State

Overall update state of the stamp.

Type:UpdateSummariesPropertiesState
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

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

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UpdateLocationProperty

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

Type:IUpdateSummaries
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IUpdateSummaries

Outputs

IUpdateSummaries