Edit

Get-AzServiceFabricManagedClusterMaintenanceWindowStatus

Get the maintenance window status of a Service Fabric Managed Cluster.

Syntax

Default (Default)

Get-AzServiceFabricManagedClusterMaintenanceWindowStatus
    [-ResourceGroupName] <String>
    [-Name] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

This cmdlet gets the maintenance window status of the Service Fabric Managed Cluster, including whether the maintenance window is enabled, active, and when it was last applied.

Examples

Example 1

Get-AzServiceFabricManagedClusterMaintenanceWindowStatus -ResourceGroupName "myResourceGroup" -Name "myCluster"

Get the maintenance window status for the managed cluster 'myCluster' in resource group 'myResourceGroup'.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, 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

-Name

Specify the name of the cluster.

Parameter properties

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

Parameter sets

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

-ResourceGroupName

Specify the name of the resource group.

Parameter properties

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

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
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

String

Outputs

PSManagedMaintenanceWindowStatus