共用方式為


ArmMachineLearningModelFactory.MachineLearningPrivateEndpoint Method

Definition

Initializes a new instance of MachineLearningPrivateEndpoint.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningPrivateEndpoint MachineLearningPrivateEndpoint (Azure.Core.ResourceIdentifier id = default, Azure.Core.ResourceIdentifier subnetArmId = default);
static member MachineLearningPrivateEndpoint : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MachineLearning.Models.MachineLearningPrivateEndpoint
Public Shared Function MachineLearningPrivateEndpoint (Optional id As ResourceIdentifier = Nothing, Optional subnetArmId As ResourceIdentifier = Nothing) As MachineLearningPrivateEndpoint

Parameters

id
ResourceIdentifier

e.g. /subscriptions/{networkSubscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}.

subnetArmId
ResourceIdentifier

The subnetId that the private endpoint is connected to.

Returns

A new MachineLearningPrivateEndpoint instance for mocking.

Applies to