Dela via


ObjectReplicationPolicy Klass

Princip-ID och regel-ID:t som tillämpas på en blob.

Arv
azure.storage.blob._shared.models.DictMixin
ObjectReplicationPolicy

Konstruktor

ObjectReplicationPolicy(**kwargs)

Variabler

Name Description
policy_id
str

Princip-ID för bloben. En replikeringsprincip skapas (princip-ID) när du skapar ett käll-/målpar.

rules

I varje princip kan det finnas flera replikeringsregler. t.ex. regel 1= src/container/.pdf till dst/container2/; rule2 = src/container1/.jpg till dst/container3

Metoder

get
has_key
items
keys
update
values

get

get(key, default=None)

Parametrar

Name Description
key
Obligatorisk
default
standardvärde: None

has_key

has_key(k)

Parametrar

Name Description
k
Obligatorisk

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()