Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AzSqlInstanceStartStopSchedule

Module:
Az.Sql Module

Get start/stop schedule for Azure SQL Managed Instance

Syntax

GetInstanceScheduleInputParameters (Default)

Get-AzSqlInstanceStartStopSchedule
 [-ResourceGroupName] <String>
 -InstanceName <String>
 [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

GetInstanceScheduleByInstanceModelInputParameters

Get-AzSqlInstanceStartStopSchedule
 [-ResourceGroupName] <String>
 -InstanceModel <AzureSqlManagedInstanceModel>
 [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

Description

Get start/stop schedule for Azure SQL Managed Instance

Examples

Example 1

Get-AzSqlInstanceStartStopSchedule -InstanceName instance-name -ResourceGroupName rg-name
Description TimeZoneId ScheduleList
----------- ---------- ------------
 Central Europe Standard Time {Microsoft.Azure.Commands.Sql.ManagedInstanceSchedule.Model.ScheduleItem}

Gets start/stop schedule for instance-name in rg-name resource group.

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

-InstanceModel

Instance model input object.

Parameter properties

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

Parameter sets

-InstanceName

The name of the Azure SQL Managed Instance

Parameter properties

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

Parameter sets

-ResourceGroupName

The name of the resource group.

Parameter properties

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

Parameter sets

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

AzureSqlManagedInstanceModel

Outputs

AzureSqlManagedInstanceScheduleModel

Related Links


Feedback

Was this page helpful?