1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getStartStopManagedInstanceSchedule
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.sql.getStartStopManagedInstanceSchedule

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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.

    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>
    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]
    func LookupStartStopManagedInstanceSchedule(ctx *Context, args *LookupStartStopManagedInstanceScheduleArgs, opts ...InvokeOption) (*LookupStartStopManagedInstanceScheduleResult, error)
    func LookupStartStopManagedInstanceScheduleOutput(ctx *Context, args *LookupStartStopManagedInstanceScheduleOutputArgs, opts ...InvokeOption) LookupStartStopManagedInstanceScheduleResultOutput

    > 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)
    }
    public static CompletableFuture<GetStartStopManagedInstanceScheduleResult> getStartStopManagedInstanceSchedule(GetStartStopManagedInstanceScheduleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getStartStopManagedInstanceSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName 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 string
    Name of the managed instance Start/Stop schedule.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName 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 string
    Name of the managed instance Start/Stop schedule.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName 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 String
    Name of the managed instance Start/Stop schedule.
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName 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 string
    Name of the managed instance Start/Stop schedule.
    managed_instance_name str
    The name of the managed instance.
    resource_group_name 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 str
    Name of the managed instance Start/Stop schedule.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName 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 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 string
    Start day.
    StartTime string
    Start time.
    StopDay string
    Stop day.
    StopTime string
    Stop time.
    StartDay string
    Start day.
    StartTime string
    Start time.
    StopDay string
    Stop day.
    StopTime string
    Stop time.
    startDay String
    Start day.
    startTime String
    Start time.
    stopDay String
    Stop day.
    stopTime String
    Stop time.
    startDay string
    Start day.
    startTime string
    Start time.
    stopDay string
    Stop day.
    stopTime string
    Stop time.
    start_day str
    Start day.
    start_time str
    Start time.
    stop_day str
    Stop day.
    stop_time str
    Stop time.
    startDay String
    Start day.
    startTime String
    Start time.
    stopDay String
    Stop day.
    stopTime 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi