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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.datareplication.getPolicy
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets the details of the policy. Azure REST API version: 2021-02-16-preview.
Using getPolicy
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 getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>
def get_policy(policy_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
vault_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(policy_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
vault_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]
func LookupPolicy(ctx *Context, args *LookupPolicyArgs, opts ...InvokeOption) (*LookupPolicyResult, error)
func LookupPolicyOutput(ctx *Context, args *LookupPolicyOutputArgs, opts ...InvokeOption) LookupPolicyResultOutput
> Note: This function is named LookupPolicy
in the Go SDK.
public static class GetPolicy
{
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:datareplication:getPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Policy
Name string - The policy name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Vault
Name string - The vault name.
- Policy
Name string - The policy name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Vault
Name string - The vault name.
- policy
Name String - The policy name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- vault
Name String - The vault name.
- policy
Name string - The policy name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- vault
Name string - The vault name.
- policy_
name str - The policy name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- vault_
name str - The vault name.
- policy
Name String - The policy name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- vault
Name String - The vault name.
getPolicy Result
The following output properties are available:
- Id string
- Gets or sets the Id of the resource.
- Name string
- Gets or sets the name of the resource.
- Properties
Pulumi.
Azure Native. Data Replication. Outputs. Policy Model Properties Response - Policy model properties.
- System
Data Pulumi.Azure Native. Data Replication. Outputs. Policy Model Response System Data - Type string
- Gets or sets the type of the resource.
- Id string
- Gets or sets the Id of the resource.
- Name string
- Gets or sets the name of the resource.
- Properties
Policy
Model Properties Response - Policy model properties.
- System
Data PolicyModel Response System Data - Type string
- Gets or sets the type of the resource.
- id String
- Gets or sets the Id of the resource.
- name String
- Gets or sets the name of the resource.
- properties
Policy
Model Properties Response - Policy model properties.
- system
Data PolicyModel Response System Data - type String
- Gets or sets the type of the resource.
- id string
- Gets or sets the Id of the resource.
- name string
- Gets or sets the name of the resource.
- properties
Policy
Model Properties Response - Policy model properties.
- system
Data PolicyModel Response System Data - type string
- Gets or sets the type of the resource.
- id str
- Gets or sets the Id of the resource.
- name str
- Gets or sets the name of the resource.
- properties
Policy
Model Properties Response - Policy model properties.
- system_
data PolicyModel Response System Data - type str
- Gets or sets the type of the resource.
- id String
- Gets or sets the Id of the resource.
- name String
- Gets or sets the name of the resource.
- properties Property Map
- Policy model properties.
- system
Data Property Map - type String
- Gets or sets the type of the resource.
Supporting Types
HyperVToAzStackHCIPolicyModelCustomPropertiesResponse
- App
Consistent intFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- Crash
Consistent intFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- Recovery
Point intHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- App
Consistent intFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- Crash
Consistent intFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- Recovery
Point intHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app
Consistent IntegerFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash
Consistent IntegerFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery
Point IntegerHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app
Consistent numberFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash
Consistent numberFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery
Point numberHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app_
consistent_ intfrequency_ in_ minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash_
consistent_ intfrequency_ in_ minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery_
point_ inthistory_ in_ minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app
Consistent NumberFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash
Consistent NumberFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery
Point NumberHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
PolicyModelPropertiesResponse
- Custom
Properties Pulumi.Azure | Pulumi.Native. Data Replication. Inputs. Hyper VTo Az Stack HCIPolicy Model Custom Properties Response Azure Native. Data Replication. Inputs. VMware To Az Stack HCIPolicy Model Custom Properties Response - Policy model custom properties.
- Provisioning
State string - Gets or sets the provisioning state of the policy.
- Custom
Properties HyperVTo | VMwareAz Stack HCIPolicy Model Custom Properties Response To Az Stack HCIPolicy Model Custom Properties Response - Policy model custom properties.
- Provisioning
State string - Gets or sets the provisioning state of the policy.
- custom
Properties HyperVTo | VMwareAz Stack HCIPolicy Model Custom Properties Response To Az Stack HCIPolicy Model Custom Properties Response - Policy model custom properties.
- provisioning
State String - Gets or sets the provisioning state of the policy.
- custom
Properties HyperVTo | VMwareAz Stack HCIPolicy Model Custom Properties Response To Az Stack HCIPolicy Model Custom Properties Response - Policy model custom properties.
- provisioning
State string - Gets or sets the provisioning state of the policy.
- custom_
properties HyperVTo | VMwareAz Stack HCIPolicy Model Custom Properties Response To Az Stack HCIPolicy Model Custom Properties Response - Policy model custom properties.
- provisioning_
state str - Gets or sets the provisioning state of the policy.
- custom
Properties Property Map | Property Map - Policy model custom properties.
- provisioning
State String - Gets or sets the provisioning state of the policy.
PolicyModelResponseSystemData
- Created
At string - Gets or sets the timestamp of resource creation (UTC).
- Created
By string - Gets or sets identity that created the resource.
- Created
By stringType - Gets or sets the type of identity that created the resource: user, application, managedIdentity.
- Last
Modified stringAt - Gets or sets the timestamp of resource last modification (UTC).
- Last
Modified stringBy - Gets or sets the identity that last modified the resource.
- Last
Modified stringBy Type - Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
- Created
At string - Gets or sets the timestamp of resource creation (UTC).
- Created
By string - Gets or sets identity that created the resource.
- Created
By stringType - Gets or sets the type of identity that created the resource: user, application, managedIdentity.
- Last
Modified stringAt - Gets or sets the timestamp of resource last modification (UTC).
- Last
Modified stringBy - Gets or sets the identity that last modified the resource.
- Last
Modified stringBy Type - Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
- created
At String - Gets or sets the timestamp of resource creation (UTC).
- created
By String - Gets or sets identity that created the resource.
- created
By StringType - Gets or sets the type of identity that created the resource: user, application, managedIdentity.
- last
Modified StringAt - Gets or sets the timestamp of resource last modification (UTC).
- last
Modified StringBy - Gets or sets the identity that last modified the resource.
- last
Modified StringBy Type - Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
- created
At string - Gets or sets the timestamp of resource creation (UTC).
- created
By string - Gets or sets identity that created the resource.
- created
By stringType - Gets or sets the type of identity that created the resource: user, application, managedIdentity.
- last
Modified stringAt - Gets or sets the timestamp of resource last modification (UTC).
- last
Modified stringBy - Gets or sets the identity that last modified the resource.
- last
Modified stringBy Type - Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
- created_
at str - Gets or sets the timestamp of resource creation (UTC).
- created_
by str - Gets or sets identity that created the resource.
- created_
by_ strtype - Gets or sets the type of identity that created the resource: user, application, managedIdentity.
- last_
modified_ strat - Gets or sets the timestamp of resource last modification (UTC).
- last_
modified_ strby - Gets or sets the identity that last modified the resource.
- last_
modified_ strby_ type - Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
- created
At String - Gets or sets the timestamp of resource creation (UTC).
- created
By String - Gets or sets identity that created the resource.
- created
By StringType - Gets or sets the type of identity that created the resource: user, application, managedIdentity.
- last
Modified StringAt - Gets or sets the timestamp of resource last modification (UTC).
- last
Modified StringBy - Gets or sets the identity that last modified the resource.
- last
Modified StringBy Type - Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
VMwareToAzStackHCIPolicyModelCustomPropertiesResponse
- App
Consistent intFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- Crash
Consistent intFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- Recovery
Point intHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- App
Consistent intFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- Crash
Consistent intFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- Recovery
Point intHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app
Consistent IntegerFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash
Consistent IntegerFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery
Point IntegerHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app
Consistent numberFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash
Consistent numberFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery
Point numberHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app_
consistent_ intfrequency_ in_ minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash_
consistent_ intfrequency_ in_ minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery_
point_ inthistory_ in_ minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
- app
Consistent NumberFrequency In Minutes - Gets or sets the app consistent snapshot frequency (in minutes).
- crash
Consistent NumberFrequency In Minutes - Gets or sets the crash consistent snapshot frequency (in minutes).
- recovery
Point NumberHistory In Minutes - Gets or sets the duration in minutes until which the recovery points need to be stored.
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi