Get-AzSqlInstanceStartStopSchedule
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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-InstanceModel
Instance model input object.
Parameter properties
Type: | AzureSqlManagedInstanceModel |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetInstanceScheduleByInstanceModelInputParameters
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-InstanceName
The name of the Azure SQL Managed Instance
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetInstanceScheduleInputParameters
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ResourceGroupName
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.