1. Packages
  2. Azure Native v2
  3. API Docs
  4. sql
  5. getStartStopManagedInstanceSchedule
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.sql.getStartStopManagedInstanceSchedule

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the managed instance’s Start/Stop schedule. Azure REST API version: 2022-11-01-preview.

Other available API versions: 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.

Using getStartStopManagedInstanceSchedule

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getStartStopManagedInstanceSchedule(args: GetStartStopManagedInstanceScheduleArgs, opts?: InvokeOptions): Promise<GetStartStopManagedInstanceScheduleResult>
function getStartStopManagedInstanceScheduleOutput(args: GetStartStopManagedInstanceScheduleOutputArgs, opts?: InvokeOptions): Output<GetStartStopManagedInstanceScheduleResult>
Copy
def get_start_stop_managed_instance_schedule(managed_instance_name: Optional[str] = None,
                                             resource_group_name: Optional[str] = None,
                                             start_stop_schedule_name: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetStartStopManagedInstanceScheduleResult
def get_start_stop_managed_instance_schedule_output(managed_instance_name: Optional[pulumi.Input[str]] = None,
                                             resource_group_name: Optional[pulumi.Input[str]] = None,
                                             start_stop_schedule_name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetStartStopManagedInstanceScheduleResult]
Copy
func LookupStartStopManagedInstanceSchedule(ctx *Context, args *LookupStartStopManagedInstanceScheduleArgs, opts ...InvokeOption) (*LookupStartStopManagedInstanceScheduleResult, error)
func LookupStartStopManagedInstanceScheduleOutput(ctx *Context, args *LookupStartStopManagedInstanceScheduleOutputArgs, opts ...InvokeOption) LookupStartStopManagedInstanceScheduleResultOutput
Copy

> Note: This function is named LookupStartStopManagedInstanceSchedule in the Go SDK.

public static class GetStartStopManagedInstanceSchedule 
{
    public static Task<GetStartStopManagedInstanceScheduleResult> InvokeAsync(GetStartStopManagedInstanceScheduleArgs args, InvokeOptions? opts = null)
    public static Output<GetStartStopManagedInstanceScheduleResult> Invoke(GetStartStopManagedInstanceScheduleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetStartStopManagedInstanceScheduleResult> getStartStopManagedInstanceSchedule(GetStartStopManagedInstanceScheduleArgs args, InvokeOptions options)
public static Output<GetStartStopManagedInstanceScheduleResult> getStartStopManagedInstanceSchedule(GetStartStopManagedInstanceScheduleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:sql:getStartStopManagedInstanceSchedule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed instance.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
StartStopScheduleName
This property is required.
Changes to this property will trigger replacement.
string
Name of the managed instance Start/Stop schedule.
ManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed instance.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
StartStopScheduleName
This property is required.
Changes to this property will trigger replacement.
string
Name of the managed instance Start/Stop schedule.
managedInstanceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed instance.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
startStopScheduleName
This property is required.
Changes to this property will trigger replacement.
String
Name of the managed instance Start/Stop schedule.
managedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed instance.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
startStopScheduleName
This property is required.
Changes to this property will trigger replacement.
string
Name of the managed instance Start/Stop schedule.
managed_instance_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the managed instance.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
start_stop_schedule_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the managed instance Start/Stop schedule.
managedInstanceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed instance.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
startStopScheduleName
This property is required.
Changes to this property will trigger replacement.
String
Name of the managed instance Start/Stop schedule.

getStartStopManagedInstanceSchedule Result

The following output properties are available:

Id string
Resource ID.
Name string
Resource name.
NextExecutionTime string
Timestamp when the next action will be executed in the corresponding schedule time zone.
NextRunAction string
Next action to be executed (Start or Stop)
ScheduleList List<Pulumi.AzureNative.Sql.Outputs.ScheduleItemResponse>
Schedule list.
SystemData Pulumi.AzureNative.Sql.Outputs.SystemDataResponse
System data of the scheduled resource.
Type string
Resource type.
Description string
The description of the schedule.
TimeZoneId string
The time zone of the schedule.
Id string
Resource ID.
Name string
Resource name.
NextExecutionTime string
Timestamp when the next action will be executed in the corresponding schedule time zone.
NextRunAction string
Next action to be executed (Start or Stop)
ScheduleList []ScheduleItemResponse
Schedule list.
SystemData SystemDataResponse
System data of the scheduled resource.
Type string
Resource type.
Description string
The description of the schedule.
TimeZoneId string
The time zone of the schedule.
id String
Resource ID.
name String
Resource name.
nextExecutionTime String
Timestamp when the next action will be executed in the corresponding schedule time zone.
nextRunAction String
Next action to be executed (Start or Stop)
scheduleList List<ScheduleItemResponse>
Schedule list.
systemData SystemDataResponse
System data of the scheduled resource.
type String
Resource type.
description String
The description of the schedule.
timeZoneId String
The time zone of the schedule.
id string
Resource ID.
name string
Resource name.
nextExecutionTime string
Timestamp when the next action will be executed in the corresponding schedule time zone.
nextRunAction string
Next action to be executed (Start or Stop)
scheduleList ScheduleItemResponse[]
Schedule list.
systemData SystemDataResponse
System data of the scheduled resource.
type string
Resource type.
description string
The description of the schedule.
timeZoneId string
The time zone of the schedule.
id str
Resource ID.
name str
Resource name.
next_execution_time str
Timestamp when the next action will be executed in the corresponding schedule time zone.
next_run_action str
Next action to be executed (Start or Stop)
schedule_list Sequence[ScheduleItemResponse]
Schedule list.
system_data SystemDataResponse
System data of the scheduled resource.
type str
Resource type.
description str
The description of the schedule.
time_zone_id str
The time zone of the schedule.
id String
Resource ID.
name String
Resource name.
nextExecutionTime String
Timestamp when the next action will be executed in the corresponding schedule time zone.
nextRunAction String
Next action to be executed (Start or Stop)
scheduleList List<Property Map>
Schedule list.
systemData Property Map
System data of the scheduled resource.
type String
Resource type.
description String
The description of the schedule.
timeZoneId String
The time zone of the schedule.

Supporting Types

ScheduleItemResponse

StartDay This property is required. string
Start day.
StartTime This property is required. string
Start time.
StopDay This property is required. string
Stop day.
StopTime This property is required. string
Stop time.
StartDay This property is required. string
Start day.
StartTime This property is required. string
Start time.
StopDay This property is required. string
Stop day.
StopTime This property is required. string
Stop time.
startDay This property is required. String
Start day.
startTime This property is required. String
Start time.
stopDay This property is required. String
Stop day.
stopTime This property is required. String
Stop time.
startDay This property is required. string
Start day.
startTime This property is required. string
Start time.
stopDay This property is required. string
Stop day.
stopTime This property is required. string
Stop time.
start_day This property is required. str
Start day.
start_time This property is required. str
Start time.
stop_day This property is required. str
Stop day.
stop_time This property is required. str
Stop time.
startDay This property is required. String
Start day.
startTime This property is required. String
Start time.
stopDay This property is required. String
Stop day.
stopTime This property is required. String
Stop time.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi