getObjectReplicationPolicy

Get the object replication policy of the storage account by policy ID. Uses Azure REST API version 2024-01-01. Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native storage [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

The replication policy between two storage accounts. Multiple rules can be defined in one policy.

Parameters

argument

null


suspend fun getObjectReplicationPolicy(accountName: String, objectReplicationPolicyId: String, resourceGroupName: String): GetObjectReplicationPolicyResult

Return

The replication policy between two storage accounts. Multiple rules can be defined in one policy.

Parameters

accountName

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.

objectReplicationPolicyId

For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

resourceGroupName

The name of the resource group within the user's subscription. The name is case insensitive.

See also


Return

The replication policy between two storage accounts. Multiple rules can be defined in one policy.

Parameters

argument

Builder for com.pulumi.azurenative.storage.kotlin.inputs.GetObjectReplicationPolicyPlainArgs.

See also