PrivateEndpointDestination Class
Class representing a Private Endpoint outbound rule.
Creating a PrivateEndpointDestination outbound rule object.
from azure.ai.ml.entities import PrivateEndpointDestination
# Example private endpoint outbound to a blob
blobrule = PrivateEndpointDestination(
name="blobrule",
service_resource_id="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/storage-name",
subresource_target="blob",
spark_enabled=False,
)
- Inheritance
-
azure.ai.ml.entities._workspace.networking.OutboundRulePrivateEndpointDestination
Constructor
PrivateEndpointDestination(*, name: str, service_resource_id: str, subresource_target: str, spark_enabled: bool = False, **kwargs: Any)
Parameters
Name | Description |
---|---|
name
Required
|
Name of the outbound rule. |
service_resource_id
Required
|
The resource URI of the root service that supports creation of the private link. |
subresource_target
Required
|
The target endpoint of the subresource of the service. |
spark_enabled
Required
|
Indicates if the private endpoint can be used for Spark jobs, default is "false". |
Keyword-Only Parameters
Name | Description |
---|---|
name
Required
|
|
service_resource_id
Required
|
|
subresource_target
Required
|
|
spark_enabled
Required
|
|
Variables
Name | Description |
---|---|
type
|
Type of the outbound rule. Set to "PrivateEndpoint" for this class. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
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