DigitalTwinsEndpointOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AzureDigitalTwinsManagementClient's
<xref:digital_twins_endpoint> attribute.
- Inheritance
-
builtins.objectDigitalTwinsEndpointOperations
Constructor
DigitalTwinsEndpointOperations(*args, **kwargs)
Methods
begin_create_or_update |
Create or update DigitalTwinsInstance endpoint. |
begin_delete |
Delete a DigitalTwinsInstance endpoint. |
get |
Get DigitalTwinsInstances Endpoint. |
list |
Get DigitalTwinsInstance Endpoints. |
begin_create_or_update
Create or update DigitalTwinsInstance endpoint.
begin_create_or_update(resource_group_name: str, resource_name: str, endpoint_name: str, endpoint_description: _models.DigitalTwinsEndpointResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DigitalTwinsEndpointResource]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the DigitalTwinsInstance. Required. |
resource_name
Required
|
The name of the DigitalTwinsInstance. Required. |
endpoint_name
Required
|
Name of Endpoint Resource. Required. |
endpoint_description
Required
|
The DigitalTwinsInstance endpoint metadata and security metadata. Is either a DigitalTwinsEndpointResource type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
Body Parameter content-type. Known values are: 'application/json'. Default value is None. |
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DigitalTwinsEndpointResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete a DigitalTwinsInstance endpoint.
begin_delete(resource_group_name: str, resource_name: str, endpoint_name: str, **kwargs: Any) -> LROPoller[DigitalTwinsEndpointResource]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the DigitalTwinsInstance. Required. |
resource_name
Required
|
The name of the DigitalTwinsInstance. Required. |
endpoint_name
Required
|
Name of Endpoint Resource. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DigitalTwinsEndpointResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get DigitalTwinsInstances Endpoint.
get(resource_group_name: str, resource_name: str, endpoint_name: str, **kwargs: Any) -> DigitalTwinsEndpointResource
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the DigitalTwinsInstance. Required. |
resource_name
Required
|
The name of the DigitalTwinsInstance. Required. |
endpoint_name
Required
|
Name of Endpoint Resource. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
DigitalTwinsEndpointResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Get DigitalTwinsInstance Endpoints.
list(resource_group_name: str, resource_name: str, **kwargs: Any) -> Iterable[DigitalTwinsEndpointResource]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the DigitalTwinsInstance. Required. |
resource_name
Required
|
The name of the DigitalTwinsInstance. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either DigitalTwinsEndpointResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.digitaltwins.v2020_12_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\digitaltwins\\v2020_12_01\\models\\__init__.py'>
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