PrivateEndpointsOperations Class
PrivateEndpointsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectPrivateEndpointsOperations
Constructor
PrivateEndpointsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_delete |
Delete the specified private endpoint. |
| create_or_update |
Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. |
| get |
Gets information about the specified Private Endpoint. |
| list_by_cluster |
Lists the private endpoints in the cluster. |
begin_delete
Delete the specified private endpoint.
async begin_delete(resource_group_name: str, cluster_name: str, private_endpoint_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
create_or_update
Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
async create_or_update(resource_group_name: str, cluster_name: str, private_endpoint_name: str, private_endpoint: azure.mgmt.streamanalytics.models._models_py3.PrivateEndpoint, if_match: Optional[str] = None, if_none_match: Optional[str] = None, **kwargs) -> azure.mgmt.streamanalytics.models._models_py3.PrivateEndpoint
Parameters
- private_endpoint
- <xref:stream_analytics_management_client.models.PrivateEndpoint>
The definition of the private endpoint that will be used to create a new cluster or replace the existing one.
- if_match
- str
The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- if_none_match
- str
Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
PrivateEndpoint, or the result of cls(response)
Return type
Exceptions
get
Gets information about the specified Private Endpoint.
async get(resource_group_name: str, cluster_name: str, private_endpoint_name: str, **kwargs) -> azure.mgmt.streamanalytics.models._models_py3.PrivateEndpoint
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
PrivateEndpoint, or the result of cls(response)
Return type
Exceptions
list_by_cluster
Lists the private endpoints in the cluster.
list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs) -> AsyncIterable[azure.mgmt.streamanalytics.models._models_py3.PrivateEndpointListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either PrivateEndpointListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.streamanalytics.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\streamanalytics\\models\\__init__.py'>
Feedback
Submit and view feedback for