ObjectReplicationPolicy
The replication policy between two storage accounts. Multiple rules can be defined in one policy. Latest API Version: 2019-06-01.
Example Usage
StorageAccountCreateObjectReplicationPolicyOnDestination
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var objectReplicationPolicy = new AzureNextGen.Storage.Latest.ObjectReplicationPolicy("objectReplicationPolicy", new AzureNextGen.Storage.Latest.ObjectReplicationPolicyArgs
{
AccountName = "dst112",
DestinationAccount = "dst112",
ObjectReplicationPolicyId = "default",
ResourceGroupName = "res7687",
Rules =
{
new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyRuleArgs
{
DestinationContainer = "dcont139",
Filters = new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyFilterArgs
{
PrefixMatch =
{
"blobA",
"blobB",
},
},
SourceContainer = "scont139",
},
},
SourceAccount = "src1122",
});
}
}
package main
import (
storage "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/storage/latest"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewObjectReplicationPolicy(ctx, "objectReplicationPolicy", &storage.ObjectReplicationPolicyArgs{
AccountName: pulumi.String("dst112"),
DestinationAccount: pulumi.String("dst112"),
ObjectReplicationPolicyId: pulumi.String("default"),
ResourceGroupName: pulumi.String("res7687"),
Rules: storage.ObjectReplicationPolicyRuleArray{
&storage.ObjectReplicationPolicyRuleArgs{
DestinationContainer: pulumi.String("dcont139"),
Filters: &storage.ObjectReplicationPolicyFilterArgs{
PrefixMatch: pulumi.StringArray{
pulumi.String("blobA"),
pulumi.String("blobB"),
},
},
SourceContainer: pulumi.String("scont139"),
},
},
SourceAccount: pulumi.String("src1122"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
object_replication_policy = azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy",
account_name="dst112",
destination_account="dst112",
object_replication_policy_id="default",
resource_group_name="res7687",
rules=[azure_nextgen.storage.latest.ObjectReplicationPolicyRuleArgs(
destination_container="dcont139",
filters=azure_nextgen.storage.latest.ObjectReplicationPolicyFilterArgs(
prefix_match=[
"blobA",
"blobB",
],
),
source_container="scont139",
)],
source_account="src1122")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const objectReplicationPolicy = new azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy", {
accountName: "dst112",
destinationAccount: "dst112",
objectReplicationPolicyId: "default",
resourceGroupName: "res7687",
rules: [{
destinationContainer: "dcont139",
filters: {
prefixMatch: [
"blobA",
"blobB",
],
},
sourceContainer: "scont139",
}],
sourceAccount: "src1122",
});
StorageAccountCreateObjectReplicationPolicyOnSource
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var objectReplicationPolicy = new AzureNextGen.Storage.Latest.ObjectReplicationPolicy("objectReplicationPolicy", new AzureNextGen.Storage.Latest.ObjectReplicationPolicyArgs
{
AccountName = "src1122",
DestinationAccount = "dst112",
ObjectReplicationPolicyId = "2a20bb73-5717-4635-985a-5d4cf777438f",
ResourceGroupName = "res7687",
Rules =
{
new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyRuleArgs
{
DestinationContainer = "dcont139",
Filters = new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyFilterArgs
{
MinCreationTime = "2020-02-19T16:05:00Z",
PrefixMatch =
{
"blobA",
"blobB",
},
},
RuleId = "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
SourceContainer = "scont139",
},
},
SourceAccount = "src1122",
});
}
}
package main
import (
storage "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/storage/latest"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewObjectReplicationPolicy(ctx, "objectReplicationPolicy", &storage.ObjectReplicationPolicyArgs{
AccountName: pulumi.String("src1122"),
DestinationAccount: pulumi.String("dst112"),
ObjectReplicationPolicyId: pulumi.String("2a20bb73-5717-4635-985a-5d4cf777438f"),
ResourceGroupName: pulumi.String("res7687"),
Rules: storage.ObjectReplicationPolicyRuleArray{
&storage.ObjectReplicationPolicyRuleArgs{
DestinationContainer: pulumi.String("dcont139"),
Filters: &storage.ObjectReplicationPolicyFilterArgs{
MinCreationTime: pulumi.String("2020-02-19T16:05:00Z"),
PrefixMatch: pulumi.StringArray{
pulumi.String("blobA"),
pulumi.String("blobB"),
},
},
RuleId: pulumi.String("d5d18a48-8801-4554-aeaa-74faf65f5ef9"),
SourceContainer: pulumi.String("scont139"),
},
},
SourceAccount: pulumi.String("src1122"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
object_replication_policy = azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy",
account_name="src1122",
destination_account="dst112",
object_replication_policy_id="2a20bb73-5717-4635-985a-5d4cf777438f",
resource_group_name="res7687",
rules=[azure_nextgen.storage.latest.ObjectReplicationPolicyRuleArgs(
destination_container="dcont139",
filters=azure_nextgen.storage.latest.ObjectReplicationPolicyFilterArgs(
min_creation_time="2020-02-19T16:05:00Z",
prefix_match=[
"blobA",
"blobB",
],
),
rule_id="d5d18a48-8801-4554-aeaa-74faf65f5ef9",
source_container="scont139",
)],
source_account="src1122")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const objectReplicationPolicy = new azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy", {
accountName: "src1122",
destinationAccount: "dst112",
objectReplicationPolicyId: "2a20bb73-5717-4635-985a-5d4cf777438f",
resourceGroupName: "res7687",
rules: [{
destinationContainer: "dcont139",
filters: {
minCreationTime: "2020-02-19T16:05:00Z",
prefixMatch: [
"blobA",
"blobB",
],
},
ruleId: "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
sourceContainer: "scont139",
}],
sourceAccount: "src1122",
});
StorageAccountUpdateObjectReplicationPolicyOnDestination
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var objectReplicationPolicy = new AzureNextGen.Storage.Latest.ObjectReplicationPolicy("objectReplicationPolicy", new AzureNextGen.Storage.Latest.ObjectReplicationPolicyArgs
{
AccountName = "dst112",
DestinationAccount = "dst112",
ObjectReplicationPolicyId = "2a20bb73-5717-4635-985a-5d4cf777438f",
ResourceGroupName = "res7687",
Rules =
{
new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyRuleArgs
{
DestinationContainer = "dcont139",
Filters = new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyFilterArgs
{
PrefixMatch =
{
"blobA",
"blobB",
},
},
RuleId = "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
SourceContainer = "scont139",
},
new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyRuleArgs
{
DestinationContainer = "dcont179",
SourceContainer = "scont179",
},
},
SourceAccount = "src1122",
});
}
}
package main
import (
storage "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/storage/latest"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewObjectReplicationPolicy(ctx, "objectReplicationPolicy", &storage.ObjectReplicationPolicyArgs{
AccountName: pulumi.String("dst112"),
DestinationAccount: pulumi.String("dst112"),
ObjectReplicationPolicyId: pulumi.String("2a20bb73-5717-4635-985a-5d4cf777438f"),
ResourceGroupName: pulumi.String("res7687"),
Rules: storage.ObjectReplicationPolicyRuleArray{
&storage.ObjectReplicationPolicyRuleArgs{
DestinationContainer: pulumi.String("dcont139"),
Filters: &storage.ObjectReplicationPolicyFilterArgs{
PrefixMatch: pulumi.StringArray{
pulumi.String("blobA"),
pulumi.String("blobB"),
},
},
RuleId: pulumi.String("d5d18a48-8801-4554-aeaa-74faf65f5ef9"),
SourceContainer: pulumi.String("scont139"),
},
&storage.ObjectReplicationPolicyRuleArgs{
DestinationContainer: pulumi.String("dcont179"),
SourceContainer: pulumi.String("scont179"),
},
},
SourceAccount: pulumi.String("src1122"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
object_replication_policy = azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy",
account_name="dst112",
destination_account="dst112",
object_replication_policy_id="2a20bb73-5717-4635-985a-5d4cf777438f",
resource_group_name="res7687",
rules=[
azure_nextgen.storage.latest.ObjectReplicationPolicyRuleArgs(
destination_container="dcont139",
filters=azure_nextgen.storage.latest.ObjectReplicationPolicyFilterArgs(
prefix_match=[
"blobA",
"blobB",
],
),
rule_id="d5d18a48-8801-4554-aeaa-74faf65f5ef9",
source_container="scont139",
),
azure_nextgen.storage.latest.ObjectReplicationPolicyRuleArgs(
destination_container="dcont179",
source_container="scont179",
),
],
source_account="src1122")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const objectReplicationPolicy = new azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy", {
accountName: "dst112",
destinationAccount: "dst112",
objectReplicationPolicyId: "2a20bb73-5717-4635-985a-5d4cf777438f",
resourceGroupName: "res7687",
rules: [
{
destinationContainer: "dcont139",
filters: {
prefixMatch: [
"blobA",
"blobB",
],
},
ruleId: "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
sourceContainer: "scont139",
},
{
destinationContainer: "dcont179",
sourceContainer: "scont179",
},
],
sourceAccount: "src1122",
});
StorageAccountUpdateObjectReplicationPolicyOnSource
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var objectReplicationPolicy = new AzureNextGen.Storage.Latest.ObjectReplicationPolicy("objectReplicationPolicy", new AzureNextGen.Storage.Latest.ObjectReplicationPolicyArgs
{
AccountName = "src1122",
DestinationAccount = "dst112",
ObjectReplicationPolicyId = "2a20bb73-5717-4635-985a-5d4cf777438f",
ResourceGroupName = "res7687",
Rules =
{
new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyRuleArgs
{
DestinationContainer = "dcont139",
Filters = new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyFilterArgs
{
PrefixMatch =
{
"blobA",
"blobB",
},
},
RuleId = "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
SourceContainer = "scont139",
},
new AzureNextGen.Storage.Latest.Inputs.ObjectReplicationPolicyRuleArgs
{
DestinationContainer = "dcont179",
RuleId = "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2",
SourceContainer = "scont179",
},
},
SourceAccount = "src1122",
});
}
}
package main
import (
storage "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/storage/latest"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewObjectReplicationPolicy(ctx, "objectReplicationPolicy", &storage.ObjectReplicationPolicyArgs{
AccountName: pulumi.String("src1122"),
DestinationAccount: pulumi.String("dst112"),
ObjectReplicationPolicyId: pulumi.String("2a20bb73-5717-4635-985a-5d4cf777438f"),
ResourceGroupName: pulumi.String("res7687"),
Rules: storage.ObjectReplicationPolicyRuleArray{
&storage.ObjectReplicationPolicyRuleArgs{
DestinationContainer: pulumi.String("dcont139"),
Filters: &storage.ObjectReplicationPolicyFilterArgs{
PrefixMatch: pulumi.StringArray{
pulumi.String("blobA"),
pulumi.String("blobB"),
},
},
RuleId: pulumi.String("d5d18a48-8801-4554-aeaa-74faf65f5ef9"),
SourceContainer: pulumi.String("scont139"),
},
&storage.ObjectReplicationPolicyRuleArgs{
DestinationContainer: pulumi.String("dcont179"),
RuleId: pulumi.String("cfbb4bc2-8b60-429f-b05a-d1e0942b33b2"),
SourceContainer: pulumi.String("scont179"),
},
},
SourceAccount: pulumi.String("src1122"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
object_replication_policy = azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy",
account_name="src1122",
destination_account="dst112",
object_replication_policy_id="2a20bb73-5717-4635-985a-5d4cf777438f",
resource_group_name="res7687",
rules=[
azure_nextgen.storage.latest.ObjectReplicationPolicyRuleArgs(
destination_container="dcont139",
filters=azure_nextgen.storage.latest.ObjectReplicationPolicyFilterArgs(
prefix_match=[
"blobA",
"blobB",
],
),
rule_id="d5d18a48-8801-4554-aeaa-74faf65f5ef9",
source_container="scont139",
),
azure_nextgen.storage.latest.ObjectReplicationPolicyRuleArgs(
destination_container="dcont179",
rule_id="cfbb4bc2-8b60-429f-b05a-d1e0942b33b2",
source_container="scont179",
),
],
source_account="src1122")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const objectReplicationPolicy = new azure_nextgen.storage.latest.ObjectReplicationPolicy("objectReplicationPolicy", {
accountName: "src1122",
destinationAccount: "dst112",
objectReplicationPolicyId: "2a20bb73-5717-4635-985a-5d4cf777438f",
resourceGroupName: "res7687",
rules: [
{
destinationContainer: "dcont139",
filters: {
prefixMatch: [
"blobA",
"blobB",
],
},
ruleId: "d5d18a48-8801-4554-aeaa-74faf65f5ef9",
sourceContainer: "scont139",
},
{
destinationContainer: "dcont179",
ruleId: "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2",
sourceContainer: "scont179",
},
],
sourceAccount: "src1122",
});
Create a ObjectReplicationPolicy Resource
new ObjectReplicationPolicy(name: string, args: ObjectReplicationPolicyArgs, opts?: CustomResourceOptions);
def ObjectReplicationPolicy(resource_name: str, opts: Optional[ResourceOptions] = None, account_name: Optional[str] = None, destination_account: Optional[str] = None, object_replication_policy_id: Optional[str] = None, resource_group_name: Optional[str] = None, rules: Optional[Sequence[ObjectReplicationPolicyRuleArgs]] = None, source_account: Optional[str] = None)
func NewObjectReplicationPolicy(ctx *Context, name string, args ObjectReplicationPolicyArgs, opts ...ResourceOption) (*ObjectReplicationPolicy, error)
public ObjectReplicationPolicy(string name, ObjectReplicationPolicyArgs args, CustomResourceOptions? opts = null)
- name string
- The unique name of the resource.
- args ObjectReplicationPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ObjectReplicationPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectReplicationPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ObjectReplicationPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ObjectReplicationPolicy resource accepts the following input properties:
- 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.
- Destination
Account string - Required. Destination account name.
- 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.
- Source
Account string - Required. Source account name.
- Rules
List<Pulumi.
Azure Next Gen. Storage. Inputs. Object Replication Policy Rule Args> - The storage account object replication rules.
- 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.
- Destination
Account string - Required. Destination account name.
- 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.
- Source
Account string - Required. Source account name.
- Rules
[]Object
Replication Policy Rule - The storage account object replication rules.
- 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.
- destination
Account string - Required. Destination account name.
- 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.
- source
Account string - Required. Source account name.
- rules
Object
Replication Policy Rule[] - The storage account object replication rules.
- 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.
- destination_
account str - Required. Destination account name.
- 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.
- source_
account str - Required. Source account name.
- rules
Sequence[Object
Replication Policy Rule Args] - The storage account object replication rules.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectReplicationPolicy resource produces the following output properties:
- Enabled
Time string - Indicates when the policy is enabled on the source account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Policy
Id string - A unique id for object replication policy.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Enabled
Time string - Indicates when the policy is enabled on the source account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Policy
Id string - A unique id for object replication policy.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- enabled
Time string - Indicates when the policy is enabled on the source account.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- policy
Id string - A unique id for object replication policy.
- type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- enabled_
time str - Indicates when the policy is enabled on the source account.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- policy_
id str - A unique id for object replication policy.
- type str
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
Supporting Types
ObjectReplicationPolicyFilter
- 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 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.
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 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.
ObjectReplicationPolicyRule
- Destination
Container string - Required. Destination container name.
- Source
Container string - Required. Source container name.
- Filters
Pulumi.
Azure Next Gen. Storage. Inputs. Object Replication Policy Filter Args - 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 - 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 - 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 Args - 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.
ObjectReplicationPolicyRuleResponse
- Destination
Container string - Required. Destination container name.
- Source
Container string - Required. Source container name.
- Filters
Pulumi.
Azure Next Gen. Storage. Inputs. Object Replication Policy Filter Response Args - 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 Args - 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-nextgen:storage/latest:ObjectReplicationPolicy 2a20bb73-5717-4635-985a-5d4cf777438f /subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0