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.storage.getObjectReplicationPolicy
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
Get the object replication policy of the storage account by policy ID. API Version: 2021-02-01.
Using getObjectReplicationPolicy
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 getObjectReplicationPolicy(args: GetObjectReplicationPolicyArgs, opts?: InvokeOptions): Promise<GetObjectReplicationPolicyResult>
function getObjectReplicationPolicyOutput(args: GetObjectReplicationPolicyOutputArgs, opts?: InvokeOptions): Output<GetObjectReplicationPolicyResult>
def get_object_replication_policy(account_name: Optional[str] = None,
object_replication_policy_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObjectReplicationPolicyResult
def get_object_replication_policy_output(account_name: Optional[pulumi.Input[str]] = None,
object_replication_policy_id: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObjectReplicationPolicyResult]
func LookupObjectReplicationPolicy(ctx *Context, args *LookupObjectReplicationPolicyArgs, opts ...InvokeOption) (*LookupObjectReplicationPolicyResult, error)
func LookupObjectReplicationPolicyOutput(ctx *Context, args *LookupObjectReplicationPolicyOutputArgs, opts ...InvokeOption) LookupObjectReplicationPolicyResultOutput
> Note: This function is named LookupObjectReplicationPolicy
in the Go SDK.
public static class GetObjectReplicationPolicy
{
public static Task<GetObjectReplicationPolicyResult> InvokeAsync(GetObjectReplicationPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetObjectReplicationPolicyResult> Invoke(GetObjectReplicationPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetObjectReplicationPolicyResult> getObjectReplicationPolicy(GetObjectReplicationPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storage:getObjectReplicationPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Object
Replication stringPolicy Id - The ID of object replication policy or 'default' if the policy ID is unknown.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Object
Replication stringPolicy Id - The ID of object replication policy or 'default' if the policy ID is unknown.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- object
Replication StringPolicy Id - The ID of object replication policy or 'default' if the policy ID is unknown.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- object
Replication stringPolicy Id - The ID of object replication policy or 'default' if the policy ID is unknown.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account_
name str - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- object_
replication_ strpolicy_ id - The ID of object replication policy or 'default' if the policy ID is unknown.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- object
Replication StringPolicy Id - The ID of object replication policy or 'default' if the policy ID is unknown.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
getObjectReplicationPolicy Result
The following output properties are available:
- Destination
Account string - Required. Destination account name.
- Enabled
Time string - Indicates when the policy is enabled on the source account.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Policy
Id string - A unique id for object replication policy.
- Source
Account string - Required. Source account name.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Rules
List<Pulumi.
Azure Native. Storage. Outputs. Object Replication Policy Rule Response> - The storage account object replication rules.
- Destination
Account string - Required. Destination account name.
- Enabled
Time string - Indicates when the policy is enabled on the source account.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Policy
Id string - A unique id for object replication policy.
- Source
Account string - Required. Source account name.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Rules
[]Object
Replication Policy Rule Response - The storage account object replication rules.
- destination
Account String - Required. Destination account name.
- enabled
Time String - Indicates when the policy is enabled on the source account.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- policy
Id String - A unique id for object replication policy.
- source
Account String - Required. Source account name.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- rules
List<Object
Replication Policy Rule Response> - The storage account object replication rules.
- destination
Account string - Required. Destination account name.
- enabled
Time string - Indicates when the policy is enabled on the source account.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- policy
Id string - A unique id for object replication policy.
- source
Account string - Required. Source account name.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- rules
Object
Replication Policy Rule Response[] - The storage account object replication rules.
- destination_
account str - Required. Destination account name.
- enabled_
time str - Indicates when the policy is enabled on the source account.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- policy_
id str - A unique id for object replication policy.
- source_
account str - Required. Source account name.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- rules
Sequence[Object
Replication Policy Rule Response] - The storage account object replication rules.
- destination
Account String - Required. Destination account name.
- enabled
Time String - Indicates when the policy is enabled on the source account.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- policy
Id String - A unique id for object replication policy.
- source
Account String - Required. Source account name.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- rules List<Property Map>
- The storage account object replication rules.
Supporting Types
ObjectReplicationPolicyFilterResponse
- Min
Creation stringTime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
- Prefix
Match List<string> - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
- Min
Creation stringTime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
- Prefix
Match []string - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
- min
Creation StringTime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
- prefix
Match List<String> - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
- min
Creation stringTime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
- prefix
Match string[] - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
- min_
creation_ strtime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
- prefix_
match Sequence[str] - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
- min
Creation StringTime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z
- prefix
Match List<String> - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
ObjectReplicationPolicyRuleResponse
- Destination
Container string - Required. Destination container name.
- Source
Container string - Required. Source container name.
- Filters
Pulumi.
Azure Native. Storage. Inputs. Object Replication Policy Filter Response - Optional. An object that defines the filter set.
- Rule
Id string - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
- Destination
Container string - Required. Destination container name.
- Source
Container string - Required. Source container name.
- Filters
Object
Replication Policy Filter Response - Optional. An object that defines the filter set.
- Rule
Id string - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
- destination
Container String - Required. Destination container name.
- source
Container String - Required. Source container name.
- filters
Object
Replication Policy Filter Response - Optional. An object that defines the filter set.
- rule
Id String - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
- destination
Container string - Required. Destination container name.
- source
Container string - Required. Source container name.
- filters
Object
Replication Policy Filter Response - Optional. An object that defines the filter set.
- rule
Id string - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
- destination_
container str - Required. Destination container name.
- source_
container str - Required. Source container name.
- filters
Object
Replication Policy Filter Response - Optional. An object that defines the filter set.
- rule_
id str - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
- destination
Container String - Required. Destination container name.
- source
Container String - Required. Source container name.
- filters Property Map
- Optional. An object that defines the filter set.
- rule
Id String - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
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