This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.6.1 published on Friday, Aug 1, 2025 by Pulumi
azure-native.computeschedule.getScheduledAction
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.6.1 published on Friday, Aug 1, 2025 by Pulumi
Get a ScheduledAction
Uses Azure REST API version 2025-04-15-preview.
Using getScheduledAction
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 getScheduledAction(args: GetScheduledActionArgs, opts?: InvokeOptions): Promise<GetScheduledActionResult>
function getScheduledActionOutput(args: GetScheduledActionOutputArgs, opts?: InvokeOptions): Output<GetScheduledActionResult>
def get_scheduled_action(resource_group_name: Optional[str] = None,
scheduled_action_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduledActionResult
def get_scheduled_action_output(resource_group_name: Optional[pulumi.Input[str]] = None,
scheduled_action_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScheduledActionResult]
func LookupScheduledAction(ctx *Context, args *LookupScheduledActionArgs, opts ...InvokeOption) (*LookupScheduledActionResult, error)
func LookupScheduledActionOutput(ctx *Context, args *LookupScheduledActionOutputArgs, opts ...InvokeOption) LookupScheduledActionResultOutput
> Note: This function is named LookupScheduledAction
in the Go SDK.
public static class GetScheduledAction
{
public static Task<GetScheduledActionResult> InvokeAsync(GetScheduledActionArgs args, InvokeOptions? opts = null)
public static Output<GetScheduledActionResult> Invoke(GetScheduledActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScheduledActionResult> getScheduledAction(GetScheduledActionArgs args, InvokeOptions options)
public static Output<GetScheduledActionResult> getScheduledAction(GetScheduledActionArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:computeschedule:getScheduledAction
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Scheduled
Action stringName - The name of the ScheduledAction
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Scheduled
Action stringName - The name of the ScheduledAction
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- scheduled
Action StringName - The name of the ScheduledAction
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- scheduled
Action stringName - The name of the ScheduledAction
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- scheduled_
action_ strname - The name of the ScheduledAction
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- scheduled
Action StringName - The name of the ScheduledAction
getScheduledAction Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Compute Schedule. Outputs. Scheduled Action Properties Response - The resource-specific properties for this resource.
- System
Data Pulumi.Azure Native. Compute Schedule. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Scheduled
Action Properties Response - The resource-specific properties for this resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Scheduled
Action Properties Response - The resource-specific properties for this resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Scheduled
Action Properties Response - The resource-specific properties for this resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Scheduled
Action Properties Response - The resource-specific properties for this resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String>
- Resource tags.
Supporting Types
ExecutionParametersResponse
- Optimization
Preference string - Details that could optimize the user's request
- Retry
Policy Pulumi.Azure Native. Compute Schedule. Inputs. Retry Policy Response - Retry policy the user can pass
- Optimization
Preference string - Details that could optimize the user's request
- Retry
Policy RetryPolicy Response - Retry policy the user can pass
- optimization
Preference String - Details that could optimize the user's request
- retry
Policy RetryPolicy Response - Retry policy the user can pass
- optimization
Preference string - Details that could optimize the user's request
- retry
Policy RetryPolicy Response - Retry policy the user can pass
- optimization_
preference str - Details that could optimize the user's request
- retry_
policy RetryPolicy Response - Retry policy the user can pass
- optimization
Preference String - Details that could optimize the user's request
- retry
Policy Property Map - Retry policy the user can pass
NotificationPropertiesResponse
- Destination string
- Where the notification should be sent. For email, it should follow email format.
- Language string
- The language the notification should be sent on.
- Type string
- Type of notification to be sent.
- Disabled bool
- Tells if the notification is enabled or not.
- Destination string
- Where the notification should be sent. For email, it should follow email format.
- Language string
- The language the notification should be sent on.
- Type string
- Type of notification to be sent.
- Disabled bool
- Tells if the notification is enabled or not.
- destination String
- Where the notification should be sent. For email, it should follow email format.
- language String
- The language the notification should be sent on.
- type String
- Type of notification to be sent.
- disabled Boolean
- Tells if the notification is enabled or not.
- destination string
- Where the notification should be sent. For email, it should follow email format.
- language string
- The language the notification should be sent on.
- type string
- Type of notification to be sent.
- disabled boolean
- Tells if the notification is enabled or not.
- destination str
- Where the notification should be sent. For email, it should follow email format.
- language str
- The language the notification should be sent on.
- type str
- Type of notification to be sent.
- disabled bool
- Tells if the notification is enabled or not.
- destination String
- Where the notification should be sent. For email, it should follow email format.
- language String
- The language the notification should be sent on.
- type String
- Type of notification to be sent.
- disabled Boolean
- Tells if the notification is enabled or not.
RetryPolicyResponse
- Retry
Count int - Retry count for user request
- Retry
Window intIn Minutes - Retry window in minutes for user request
- Retry
Count int - Retry count for user request
- Retry
Window intIn Minutes - Retry window in minutes for user request
- retry
Count Integer - Retry count for user request
- retry
Window IntegerIn Minutes - Retry window in minutes for user request
- retry
Count number - Retry count for user request
- retry
Window numberIn Minutes - Retry window in minutes for user request
- retry_
count int - Retry count for user request
- retry_
window_ intin_ minutes - Retry window in minutes for user request
- retry
Count Number - Retry count for user request
- retry
Window NumberIn Minutes - Retry window in minutes for user request
ScheduledActionPropertiesResponse
- Action
Type string - The action the scheduled action should perform in the resources
- Notification
Settings List<Pulumi.Azure Native. Compute Schedule. Inputs. Notification Properties Response> - The notification settings for the scheduled action
- Provisioning
State string - The status of the last provisioning operation performed on the resource.
- Resource
Type string - The type of resource the scheduled action is targeting
- Schedule
Pulumi.
Azure Native. Compute Schedule. Inputs. Scheduled Actions Schedule Response - The schedule the scheduled action is supposed to follow
- Start
Time string - The time which the scheduled action is supposed to start running
- Disabled bool
- Tell if the scheduled action is disabled or not
- End
Time string - The time when the scheduled action is supposed to stop scheduling
- Action
Type string - The action the scheduled action should perform in the resources
- Notification
Settings []NotificationProperties Response - The notification settings for the scheduled action
- Provisioning
State string - The status of the last provisioning operation performed on the resource.
- Resource
Type string - The type of resource the scheduled action is targeting
- Schedule
Scheduled
Actions Schedule Response - The schedule the scheduled action is supposed to follow
- Start
Time string - The time which the scheduled action is supposed to start running
- Disabled bool
- Tell if the scheduled action is disabled or not
- End
Time string - The time when the scheduled action is supposed to stop scheduling
- action
Type String - The action the scheduled action should perform in the resources
- notification
Settings List<NotificationProperties Response> - The notification settings for the scheduled action
- provisioning
State String - The status of the last provisioning operation performed on the resource.
- resource
Type String - The type of resource the scheduled action is targeting
- schedule
Scheduled
Actions Schedule Response - The schedule the scheduled action is supposed to follow
- start
Time String - The time which the scheduled action is supposed to start running
- disabled Boolean
- Tell if the scheduled action is disabled or not
- end
Time String - The time when the scheduled action is supposed to stop scheduling
- action
Type string - The action the scheduled action should perform in the resources
- notification
Settings NotificationProperties Response[] - The notification settings for the scheduled action
- provisioning
State string - The status of the last provisioning operation performed on the resource.
- resource
Type string - The type of resource the scheduled action is targeting
- schedule
Scheduled
Actions Schedule Response - The schedule the scheduled action is supposed to follow
- start
Time string - The time which the scheduled action is supposed to start running
- disabled boolean
- Tell if the scheduled action is disabled or not
- end
Time string - The time when the scheduled action is supposed to stop scheduling
- action_
type str - The action the scheduled action should perform in the resources
- notification_
settings Sequence[NotificationProperties Response] - The notification settings for the scheduled action
- provisioning_
state str - The status of the last provisioning operation performed on the resource.
- resource_
type str - The type of resource the scheduled action is targeting
- schedule
Scheduled
Actions Schedule Response - The schedule the scheduled action is supposed to follow
- start_
time str - The time which the scheduled action is supposed to start running
- disabled bool
- Tell if the scheduled action is disabled or not
- end_
time str - The time when the scheduled action is supposed to stop scheduling
- action
Type String - The action the scheduled action should perform in the resources
- notification
Settings List<Property Map> - The notification settings for the scheduled action
- provisioning
State String - The status of the last provisioning operation performed on the resource.
- resource
Type String - The type of resource the scheduled action is targeting
- schedule Property Map
- The schedule the scheduled action is supposed to follow
- start
Time String - The time which the scheduled action is supposed to start running
- disabled Boolean
- Tell if the scheduled action is disabled or not
- end
Time String - The time when the scheduled action is supposed to stop scheduling
ScheduledActionsScheduleResponse
- Requested
Days List<int>Of The Month - The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.
- Requested
Months List<string> - The months the scheduled action is supposed to run on
- Requested
Week List<string>Days - The week days the scheduled action is supposed to run on
- Scheduled
Time string - The time the scheduled action is supposed to run on
- Time
Zone string - The timezone the scheduled time is specified on
- Deadline
Type string - The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.
- Execution
Parameters Pulumi.Azure Native. Compute Schedule. Inputs. Execution Parameters Response - The execution parameters the scheduled action is supposed to follow
- Requested
Days []intOf The Month - The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.
- Requested
Months []string - The months the scheduled action is supposed to run on
- Requested
Week []stringDays - The week days the scheduled action is supposed to run on
- Scheduled
Time string - The time the scheduled action is supposed to run on
- Time
Zone string - The timezone the scheduled time is specified on
- Deadline
Type string - The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.
- Execution
Parameters ExecutionParameters Response - The execution parameters the scheduled action is supposed to follow
- requested
Days List<Integer>Of The Month - The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.
- requested
Months List<String> - The months the scheduled action is supposed to run on
- requested
Week List<String>Days - The week days the scheduled action is supposed to run on
- scheduled
Time String - The time the scheduled action is supposed to run on
- time
Zone String - The timezone the scheduled time is specified on
- deadline
Type String - The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.
- execution
Parameters ExecutionParameters Response - The execution parameters the scheduled action is supposed to follow
- requested
Days number[]Of The Month - The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.
- requested
Months string[] - The months the scheduled action is supposed to run on
- requested
Week string[]Days - The week days the scheduled action is supposed to run on
- scheduled
Time string - The time the scheduled action is supposed to run on
- time
Zone string - The timezone the scheduled time is specified on
- deadline
Type string - The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.
- execution
Parameters ExecutionParameters Response - The execution parameters the scheduled action is supposed to follow
- requested_
days_ Sequence[int]of_ the_ month - The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.
- requested_
months Sequence[str] - The months the scheduled action is supposed to run on
- requested_
week_ Sequence[str]days - The week days the scheduled action is supposed to run on
- scheduled_
time str - The time the scheduled action is supposed to run on
- time_
zone str - The timezone the scheduled time is specified on
- deadline_
type str - The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.
- execution_
parameters ExecutionParameters Response - The execution parameters the scheduled action is supposed to follow
- requested
Days List<Number>Of The Month - The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.
- requested
Months List<String> - The months the scheduled action is supposed to run on
- requested
Week List<String>Days - The week days the scheduled action is supposed to run on
- scheduled
Time String - The time the scheduled action is supposed to run on
- time
Zone String - The timezone the scheduled time is specified on
- deadline
Type String - The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt.
- execution
Parameters Property Map - The execution parameters the scheduled action is supposed to follow
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.6.1 published on Friday, Aug 1, 2025 by Pulumi