Azure Native

v1.79.2 published on Thursday, Sep 29, 2022 by Pulumi

getBackupPolicy

The backup policy. API Version: 2017-06-01.

Using getBackupPolicy

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 getBackupPolicy(args: GetBackupPolicyArgs, opts?: InvokeOptions): Promise<GetBackupPolicyResult>
function getBackupPolicyOutput(args: GetBackupPolicyOutputArgs, opts?: InvokeOptions): Output<GetBackupPolicyResult>
def get_backup_policy(backup_policy_name: Optional[str] = None,
                      device_name: Optional[str] = None,
                      manager_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetBackupPolicyResult
def get_backup_policy_output(backup_policy_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[GetBackupPolicyResult]
func LookupBackupPolicy(ctx *Context, args *LookupBackupPolicyArgs, opts ...InvokeOption) (*LookupBackupPolicyResult, error)
func LookupBackupPolicyOutput(ctx *Context, args *LookupBackupPolicyOutputArgs, opts ...InvokeOption) LookupBackupPolicyResultOutput

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

public static class GetBackupPolicy 
{
    public static Task<GetBackupPolicyResult> InvokeAsync(GetBackupPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetBackupPolicyResult> Invoke(GetBackupPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupPolicyResult> getBackupPolicy(GetBackupPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:storsimple:getBackupPolicy
  Arguments:
    # Arguments dictionary

The following arguments are supported:

BackupPolicyName string

The name of backup policy to be fetched.

DeviceName string

The device name

ManagerName string

The manager name

ResourceGroupName string

The resource group name

BackupPolicyName string

The name of backup policy to be fetched.

DeviceName string

The device name

ManagerName string

The manager name

ResourceGroupName string

The resource group name

backupPolicyName String

The name of backup policy to be fetched.

deviceName String

The device name

managerName String

The manager name

resourceGroupName String

The resource group name

backupPolicyName string

The name of backup policy to be fetched.

deviceName string

The device name

managerName string

The manager name

resourceGroupName string

The resource group name

backup_policy_name str

The name of backup policy to be fetched.

device_name str

The device name

manager_name str

The manager name

resource_group_name str

The resource group name

backupPolicyName String

The name of backup policy to be fetched.

deviceName String

The device name

managerName String

The manager name

resourceGroupName String

The resource group name

getBackupPolicy Result

The following output properties are available:

BackupPolicyCreationType string

The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager.

Id string

The path ID that uniquely identifies the object.

LastBackupTime string

The time of the last backup for the backup policy.

Name string

The name of the object.

NextBackupTime string

The time of the next backup for the backup policy.

ScheduledBackupStatus string

Indicates whether at least one of the schedules in the backup policy is active or not.

SchedulesCount double

The count of schedules the backup policy contains.

SsmHostName string

If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.

Type string

The hierarchical type of the object.

VolumeIds List<string>

The path IDs of the volumes which are part of the backup policy.

Kind string

The Kind of the object. Currently only Series8000 is supported

BackupPolicyCreationType string

The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager.

Id string

The path ID that uniquely identifies the object.

LastBackupTime string

The time of the last backup for the backup policy.

Name string

The name of the object.

NextBackupTime string

The time of the next backup for the backup policy.

ScheduledBackupStatus string

Indicates whether at least one of the schedules in the backup policy is active or not.

SchedulesCount float64

The count of schedules the backup policy contains.

SsmHostName string

If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.

Type string

The hierarchical type of the object.

VolumeIds []string

The path IDs of the volumes which are part of the backup policy.

Kind string

The Kind of the object. Currently only Series8000 is supported

backupPolicyCreationType String

The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager.

id String

The path ID that uniquely identifies the object.

lastBackupTime String

The time of the last backup for the backup policy.

name String

The name of the object.

nextBackupTime String

The time of the next backup for the backup policy.

scheduledBackupStatus String

Indicates whether at least one of the schedules in the backup policy is active or not.

schedulesCount Double

The count of schedules the backup policy contains.

ssmHostName String

If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.

type String

The hierarchical type of the object.

volumeIds List<String>

The path IDs of the volumes which are part of the backup policy.

kind String

The Kind of the object. Currently only Series8000 is supported

backupPolicyCreationType string

The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager.

id string

The path ID that uniquely identifies the object.

lastBackupTime string

The time of the last backup for the backup policy.

name string

The name of the object.

nextBackupTime string

The time of the next backup for the backup policy.

scheduledBackupStatus string

Indicates whether at least one of the schedules in the backup policy is active or not.

schedulesCount number

The count of schedules the backup policy contains.

ssmHostName string

If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.

type string

The hierarchical type of the object.

volumeIds string[]

The path IDs of the volumes which are part of the backup policy.

kind string

The Kind of the object. Currently only Series8000 is supported

backup_policy_creation_type str

The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager.

id str

The path ID that uniquely identifies the object.

last_backup_time str

The time of the last backup for the backup policy.

name str

The name of the object.

next_backup_time str

The time of the next backup for the backup policy.

scheduled_backup_status str

Indicates whether at least one of the schedules in the backup policy is active or not.

schedules_count float

The count of schedules the backup policy contains.

ssm_host_name str

If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.

type str

The hierarchical type of the object.

volume_ids Sequence[str]

The path IDs of the volumes which are part of the backup policy.

kind str

The Kind of the object. Currently only Series8000 is supported

backupPolicyCreationType String

The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager.

id String

The path ID that uniquely identifies the object.

lastBackupTime String

The time of the last backup for the backup policy.

name String

The name of the object.

nextBackupTime String

The time of the next backup for the backup policy.

scheduledBackupStatus String

Indicates whether at least one of the schedules in the backup policy is active or not.

schedulesCount Number

The count of schedules the backup policy contains.

ssmHostName String

If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.

type String

The hierarchical type of the object.

volumeIds List<String>

The path IDs of the volumes which are part of the backup policy.

kind String

The Kind of the object. Currently only Series8000 is supported

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0