EventHubConnectionStringProperties Class
Properties of a connection string.
- Inheritance
-
azure.eventhub._mixin.DictMixinEventHubConnectionStringProperties
Constructor
EventHubConnectionStringProperties(*, fully_qualified_namespace: str, endpoint: str, eventhub_name: str | None = None, shared_access_signature: str | None = None, shared_access_key_name: str | None = None, shared_access_key: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
fully_qualified_namespace
Required
|
|
endpoint
Required
|
|
eventhub_name
Required
|
|
shared_access_signature
Required
|
|
shared_access_key_name
Required
|
|
shared_access_key
Required
|
|
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]
Attributes
endpoint
eventhub_name
Optional. The name of the Event Hub, represented by EntityPath in the connection string.
Returns
Type | Description |
---|---|
fully_qualified_namespace
The fully qualified host name for the Event Hubs namespace. The namespace format is: .servicebus.windows.net.
Returns
Type | Description |
---|---|
shared_access_key
The shared_access_key can be used along with the shared_access_key_name as a credential.
Returns
Type | Description |
---|---|
shared_access_key_name
The name of the shared_access_key. This must be used along with the shared_access_key.
Returns
Type | Description |
---|---|
shared_access_signature
This can be provided instead of the shared_access_key_name and the shared_access_key.
Returns
Type | Description |
---|---|
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python