azure-native.sql.getStartStopManagedInstanceSchedule
Explore with Pulumi AI
Gets the managed instance’s Start/Stop schedule.
Uses Azure REST API version 2023-08-01.
Other available API versions: 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sql [ApiVersion]
. See the version guide for details.
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)
public static Output<GetStartStopManagedInstanceScheduleResult> getStartStopManagedInstanceSchedule(GetStartStopManagedInstanceScheduleArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:sql:getStartStopManagedInstanceSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Instance stringName - The name of the managed instance.
- Resource
Group stringName - 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 stringSchedule Name - Name of the managed instance Start/Stop schedule.
- Managed
Instance stringName - The name of the managed instance.
- Resource
Group stringName - 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 stringSchedule Name - Name of the managed instance Start/Stop schedule.
- managed
Instance StringName - The name of the managed instance.
- resource
Group StringName - 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 StringSchedule Name - Name of the managed instance Start/Stop schedule.
- managed
Instance stringName - The name of the managed instance.
- resource
Group stringName - 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 stringSchedule Name - Name of the managed instance Start/Stop schedule.
- managed_
instance_ strname - The name of the managed instance.
- resource_
group_ strname - 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_ strschedule_ name - Name of the managed instance Start/Stop schedule.
- managed
Instance StringName - The name of the managed instance.
- resource
Group StringName - 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 StringSchedule Name - Name of the managed instance Start/Stop schedule.
getStartStopManagedInstanceSchedule Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource ID.
- Name string
- Resource name.
- Next
Execution stringTime - Timestamp when the next action will be executed in the corresponding schedule time zone.
- Next
Run stringAction - Next action to be executed (Start or Stop)
- Schedule
List List<Pulumi.Azure Native. Sql. Outputs. Schedule Item Response> - Schedule list.
- System
Data Pulumi.Azure Native. Sql. Outputs. System Data Response - System data of the scheduled resource.
- Type string
- Resource type.
- Description string
- The description of the schedule.
- Time
Zone stringId - The time zone of the schedule.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource ID.
- Name string
- Resource name.
- Next
Execution stringTime - Timestamp when the next action will be executed in the corresponding schedule time zone.
- Next
Run stringAction - Next action to be executed (Start or Stop)
- Schedule
List []ScheduleItem Response - Schedule list.
- System
Data SystemData Response - System data of the scheduled resource.
- Type string
- Resource type.
- Description string
- The description of the schedule.
- Time
Zone stringId - The time zone of the schedule.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource ID.
- name String
- Resource name.
- next
Execution StringTime - Timestamp when the next action will be executed in the corresponding schedule time zone.
- next
Run StringAction - Next action to be executed (Start or Stop)
- schedule
List List<ScheduleItem Response> - Schedule list.
- system
Data SystemData Response - System data of the scheduled resource.
- type String
- Resource type.
- description String
- The description of the schedule.
- time
Zone StringId - The time zone of the schedule.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource ID.
- name string
- Resource name.
- next
Execution stringTime - Timestamp when the next action will be executed in the corresponding schedule time zone.
- next
Run stringAction - Next action to be executed (Start or Stop)
- schedule
List ScheduleItem Response[] - Schedule list.
- system
Data SystemData Response - System data of the scheduled resource.
- type string
- Resource type.
- description string
- The description of the schedule.
- time
Zone stringId - The time zone of the schedule.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource ID.
- name str
- Resource name.
- next_
execution_ strtime - Timestamp when the next action will be executed in the corresponding schedule time zone.
- next_
run_ straction - Next action to be executed (Start or Stop)
- schedule_
list Sequence[ScheduleItem Response] - Schedule list.
- system_
data SystemData Response - System data of the scheduled resource.
- type str
- Resource type.
- description str
- The description of the schedule.
- time_
zone_ strid - The time zone of the schedule.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource ID.
- name String
- Resource name.
- next
Execution StringTime - Timestamp when the next action will be executed in the corresponding schedule time zone.
- next
Run StringAction - Next action to be executed (Start or Stop)
- schedule
List List<Property Map> - Schedule list.
- system
Data Property Map - System data of the scheduled resource.
- type String
- Resource type.
- description String
- The description of the schedule.
- time
Zone StringId - The time zone of the schedule.
Supporting Types
ScheduleItemResponse
- start_
day str - Start day.
- start_
time str - Start time.
- stop_
day str - Stop day.
- stop_
time str - Stop time.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0