语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmMachineLearningModelFactory.RegistryPrivateEndpointConnection Method

Definition

public static Azure.ResourceManager.MachineLearning.Models.RegistryPrivateEndpointConnection RegistryPrivateEndpointConnection(Azure.Core.ResourceIdentifier id = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<string> groupIds = default, Azure.ResourceManager.MachineLearning.Models.RegistryPrivateEndpoint privateEndpoint = default, Azure.ResourceManager.MachineLearning.Models.RegistryPrivateLinkServiceConnectionState registryPrivateLinkServiceConnectionState = default, string provisioningState = default);
static member RegistryPrivateEndpointConnection : Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * seq<string> * Azure.ResourceManager.MachineLearning.Models.RegistryPrivateEndpoint * Azure.ResourceManager.MachineLearning.Models.RegistryPrivateLinkServiceConnectionState * string -> Azure.ResourceManager.MachineLearning.Models.RegistryPrivateEndpointConnection
Public Shared Function RegistryPrivateEndpointConnection (Optional id As ResourceIdentifier = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional groupIds As IEnumerable(Of String) = Nothing, Optional privateEndpoint As RegistryPrivateEndpoint = Nothing, Optional registryPrivateLinkServiceConnectionState As RegistryPrivateLinkServiceConnectionState = Nothing, Optional provisioningState As String = Nothing) As RegistryPrivateEndpointConnection

Parameters

id
ResourceIdentifier

This is the private endpoint connection name created on SRP Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName}

location
Nullable<AzureLocation>

Same as workspace location.

groupIds
IEnumerable<String>

The group ids.

privateEndpoint
RegistryPrivateEndpoint

The PE network resource that is linked to this PE connection.

registryPrivateLinkServiceConnectionState
RegistryPrivateLinkServiceConnectionState

The connection state.

provisioningState
String

One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null.

Returns

A new RegistryPrivateEndpointConnection instance for mocking.

Applies to