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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.storsimple.getBackupSchedule
Explore with Pulumi AI
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets the properties of the specified backup schedule name. Azure REST API version: 2017-06-01.
Using getBackupSchedule
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 getBackupSchedule(args: GetBackupScheduleArgs, opts?: InvokeOptions): Promise<GetBackupScheduleResult>
function getBackupScheduleOutput(args: GetBackupScheduleOutputArgs, opts?: InvokeOptions): Output<GetBackupScheduleResult>
def get_backup_schedule(backup_policy_name: Optional[str] = None,
backup_schedule_name: Optional[str] = None,
device_name: Optional[str] = None,
manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupScheduleResult
def get_backup_schedule_output(backup_policy_name: Optional[pulumi.Input[str]] = None,
backup_schedule_name: Optional[pulumi.Input[str]] = None,
device_name: Optional[pulumi.Input[str]] = None,
manager_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupScheduleResult]
func LookupBackupSchedule(ctx *Context, args *LookupBackupScheduleArgs, opts ...InvokeOption) (*LookupBackupScheduleResult, error)
func LookupBackupScheduleOutput(ctx *Context, args *LookupBackupScheduleOutputArgs, opts ...InvokeOption) LookupBackupScheduleResultOutput
> Note: This function is named LookupBackupSchedule
in the Go SDK.
public static class GetBackupSchedule
{
public static Task<GetBackupScheduleResult> InvokeAsync(GetBackupScheduleArgs args, InvokeOptions? opts = null)
public static Output<GetBackupScheduleResult> Invoke(GetBackupScheduleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupScheduleResult> getBackupSchedule(GetBackupScheduleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storsimple:getBackupSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Policy stringName - The backup policy name.
- Backup
Schedule stringName - The name of the backup schedule to be fetched
- Device
Name string - The device name
- Manager
Name string - The manager name
- Resource
Group stringName - The resource group name
- Backup
Policy stringName - The backup policy name.
- Backup
Schedule stringName - The name of the backup schedule to be fetched
- Device
Name string - The device name
- Manager
Name string - The manager name
- Resource
Group stringName - The resource group name
- backup
Policy StringName - The backup policy name.
- backup
Schedule StringName - The name of the backup schedule to be fetched
- device
Name String - The device name
- manager
Name String - The manager name
- resource
Group StringName - The resource group name
- backup
Policy stringName - The backup policy name.
- backup
Schedule stringName - The name of the backup schedule to be fetched
- device
Name string - The device name
- manager
Name string - The manager name
- resource
Group stringName - The resource group name
- backup_
policy_ strname - The backup policy name.
- backup_
schedule_ strname - The name of the backup schedule to be fetched
- device_
name str - The device name
- manager_
name str - The manager name
- resource_
group_ strname - The resource group name
- backup
Policy StringName - The backup policy name.
- backup
Schedule StringName - The name of the backup schedule to be fetched
- device
Name String - The device name
- manager
Name String - The manager name
- resource
Group StringName - The resource group name
getBackupSchedule Result
The following output properties are available:
- Backup
Type string - The type of backup which needs to be taken.
- Id string
- The path ID that uniquely identifies the object.
- Last
Successful stringRun - The last successful backup run which was triggered for the schedule.
- Name string
- The name of the object.
- Retention
Count double - The number of backups to be retained.
- Schedule
Recurrence Pulumi.Azure Native. Stor Simple. Outputs. Schedule Recurrence Response - The schedule recurrence.
- Schedule
Status string - The schedule status.
- Start
Time string - The start time of the schedule.
- Type string
- The hierarchical type of the object.
- Kind string
- The Kind of the object. Currently only Series8000 is supported
- Backup
Type string - The type of backup which needs to be taken.
- Id string
- The path ID that uniquely identifies the object.
- Last
Successful stringRun - The last successful backup run which was triggered for the schedule.
- Name string
- The name of the object.
- Retention
Count float64 - The number of backups to be retained.
- Schedule
Recurrence ScheduleRecurrence Response - The schedule recurrence.
- Schedule
Status string - The schedule status.
- Start
Time string - The start time of the schedule.
- Type string
- The hierarchical type of the object.
- Kind string
- The Kind of the object. Currently only Series8000 is supported
- backup
Type String - The type of backup which needs to be taken.
- id String
- The path ID that uniquely identifies the object.
- last
Successful StringRun - The last successful backup run which was triggered for the schedule.
- name String
- The name of the object.
- retention
Count Double - The number of backups to be retained.
- schedule
Recurrence ScheduleRecurrence Response - The schedule recurrence.
- schedule
Status String - The schedule status.
- start
Time String - The start time of the schedule.
- type String
- The hierarchical type of the object.
- kind String
- The Kind of the object. Currently only Series8000 is supported
- backup
Type string - The type of backup which needs to be taken.
- id string
- The path ID that uniquely identifies the object.
- last
Successful stringRun - The last successful backup run which was triggered for the schedule.
- name string
- The name of the object.
- retention
Count number - The number of backups to be retained.
- schedule
Recurrence ScheduleRecurrence Response - The schedule recurrence.
- schedule
Status string - The schedule status.
- start
Time string - The start time of the schedule.
- type string
- The hierarchical type of the object.
- kind string
- The Kind of the object. Currently only Series8000 is supported
- backup_
type str - The type of backup which needs to be taken.
- id str
- The path ID that uniquely identifies the object.
- last_
successful_ strrun - The last successful backup run which was triggered for the schedule.
- name str
- The name of the object.
- retention_
count float - The number of backups to be retained.
- schedule_
recurrence ScheduleRecurrence Response - The schedule recurrence.
- schedule_
status str - The schedule status.
- start_
time str - The start time of the schedule.
- type str
- The hierarchical type of the object.
- kind str
- The Kind of the object. Currently only Series8000 is supported
- backup
Type String - The type of backup which needs to be taken.
- id String
- The path ID that uniquely identifies the object.
- last
Successful StringRun - The last successful backup run which was triggered for the schedule.
- name String
- The name of the object.
- retention
Count Number - The number of backups to be retained.
- schedule
Recurrence Property Map - The schedule recurrence.
- schedule
Status String - The schedule status.
- start
Time String - The start time of the schedule.
- type String
- The hierarchical type of the object.
- kind String
- The Kind of the object. Currently only Series8000 is supported
Supporting Types
ScheduleRecurrenceResponse
- Recurrence
Type string - The recurrence type.
- Recurrence
Value int - The recurrence value.
- Weekly
Days List<string>List - The week days list. Applicable only for schedules of recurrence type 'weekly'.
- Recurrence
Type string - The recurrence type.
- Recurrence
Value int - The recurrence value.
- Weekly
Days []stringList - The week days list. Applicable only for schedules of recurrence type 'weekly'.
- recurrence
Type String - The recurrence type.
- recurrence
Value Integer - The recurrence value.
- weekly
Days List<String>List - The week days list. Applicable only for schedules of recurrence type 'weekly'.
- recurrence
Type string - The recurrence type.
- recurrence
Value number - The recurrence value.
- weekly
Days string[]List - The week days list. Applicable only for schedules of recurrence type 'weekly'.
- recurrence_
type str - The recurrence type.
- recurrence_
value int - The recurrence value.
- weekly_
days_ Sequence[str]list - The week days list. Applicable only for schedules of recurrence type 'weekly'.
- recurrence
Type String - The recurrence type.
- recurrence
Value Number - The recurrence value.
- weekly
Days List<String>List - The week days list. Applicable only for schedules of recurrence type 'weekly'.
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 v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi