RuleProperties Class
Properties of a topic subscription rule.
Please use get_rule
, create_rule
, or list_rules
on the
ServiceBusAdministrationClient to get a RuleProperties
instance instead of
instantiating a RuleProperties
object directly.
- Inheritance
-
azure.servicebus.management._models.DictMixinRuleProperties
Constructor
RuleProperties(name: str, *, filter: CorrelationRuleFilter | SqlRuleFilter | None, action: SqlRuleAction | None, created_at_utc: datetime | None)
Parameters
Name | Description |
---|---|
name
Required
|
Name of the rule. |
Keyword-Only Parameters
Name | Description |
---|---|
filter
|
The filter of the rule. |
action
|
The action of the rule. |
created_at_utc
|
The exact time the rule was created. |
Variables
Name | Description |
---|---|
name
|
Name of the rule. |
filter
|
The filter of the rule. |
action
|
The action of the rule. |
created_at_utc
|
The exact time the rule was created. |
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: str, default: Any | None = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
Default value: None
|
has_key
has_key(k: str) -> bool
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items() -> List[Tuple[str, Any]]
keys
keys() -> List[str]
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> List[Any]
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Python