These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.storsimple.getBackupPolicy
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the properties of the specified backup policy name. 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:
- Backup
Policy stringName - The name of backup policy 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 name of backup policy 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 name of backup policy 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 name of backup policy 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 name of backup policy 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 name of backup policy to be fetched.
- device
Name String - The device name
- manager
Name String - The manager name
- resource
Group StringName - The resource group name
getBackupPolicy Result
The following output properties are available:
- Backup
Policy stringCreation Type - 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.
- Last
Backup stringTime - The time of the last backup for the backup policy.
- Name string
- The name of the object.
- Next
Backup stringTime - The time of the next backup for the backup policy.
- Scheduled
Backup stringStatus - Indicates whether at least one of the schedules in the backup policy is active or not.
- Schedules
Count double - The count of schedules the backup policy contains.
- Ssm
Host stringName - 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.
- Volume
Ids 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
- Backup
Policy stringCreation Type - 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.
- Last
Backup stringTime - The time of the last backup for the backup policy.
- Name string
- The name of the object.
- Next
Backup stringTime - The time of the next backup for the backup policy.
- Scheduled
Backup stringStatus - Indicates whether at least one of the schedules in the backup policy is active or not.
- Schedules
Count float64 - The count of schedules the backup policy contains.
- Ssm
Host stringName - 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.
- Volume
Ids []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 StringCreation Type - 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.
- last
Backup StringTime - The time of the last backup for the backup policy.
- name String
- The name of the object.
- next
Backup StringTime - The time of the next backup for the backup policy.
- scheduled
Backup StringStatus - Indicates whether at least one of the schedules in the backup policy is active or not.
- schedules
Count Double - The count of schedules the backup policy contains.
- ssm
Host StringName - 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.
- volume
Ids 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
- backup
Policy stringCreation Type - 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.
- last
Backup stringTime - The time of the last backup for the backup policy.
- name string
- The name of the object.
- next
Backup stringTime - The time of the next backup for the backup policy.
- scheduled
Backup stringStatus - Indicates whether at least one of the schedules in the backup policy is active or not.
- schedules
Count number - The count of schedules the backup policy contains.
- ssm
Host stringName - 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.
- volume
Ids 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_ strcreation_ type - 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_ strtime - The time of the last backup for the backup policy.
- name str
- The name of the object.
- next_
backup_ strtime - The time of the next backup for the backup policy.
- scheduled_
backup_ strstatus - 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_ strname - 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
- backup
Policy StringCreation Type - 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.
- last
Backup StringTime - The time of the last backup for the backup policy.
- name String
- The name of the object.
- next
Backup StringTime - The time of the next backup for the backup policy.
- scheduled
Backup StringStatus - Indicates whether at least one of the schedules in the backup policy is active or not.
- schedules
Count Number - The count of schedules the backup policy contains.
- ssm
Host StringName - 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.
- volume
Ids 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
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi