ObjectReplicationPolicy Class
Policy id and rule ids applied to a blob.
- Inheritance
-
azure.storage.blob._shared.models.DictMixinObjectReplicationPolicy
Constructor
ObjectReplicationPolicy(**kwargs)
Variables
Name | Description |
---|---|
policy_id
|
Policy id for the blob. A replication policy gets created (policy id) when creating a source/destination pair. |
rules
|
Within each policy there may be multiple replication rules. e.g. rule 1= src/container/.pdf to dst/container2/; rule2 = src/container1/.jpg to dst/container3 |
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key, default=None)
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
default value: None
|
has_key
has_key(k)
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items()
keys
keys()
update
update(*args, **kwargs)
values
values()
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for