ArmMachineLearningModelFactory.ServerlessEndpointProperties Method

Definition

Initializes a new instance of ServerlessEndpointProperties.

public static Azure.ResourceManager.MachineLearning.Models.ServerlessEndpointProperties ServerlessEndpointProperties (string modelId = default, Azure.ResourceManager.MachineLearning.Models.ServerlessInferenceEndpointAuthMode authMode = default, Azure.ResourceManager.MachineLearning.Models.ServerlessInferenceEndpoint inferenceEndpoint = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProvisioningState? provisioningState = default, Azure.ResourceManager.MachineLearning.Models.ServerlessEndpointState? endpointState = default, string marketplaceSubscriptionId = default, Azure.ResourceManager.MachineLearning.Models.ContentSafetyStatus? contentSafetyStatus = default);
static member ServerlessEndpointProperties : string * Azure.ResourceManager.MachineLearning.Models.ServerlessInferenceEndpointAuthMode * Azure.ResourceManager.MachineLearning.Models.ServerlessInferenceEndpoint * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointProvisioningState> * Nullable<Azure.ResourceManager.MachineLearning.Models.ServerlessEndpointState> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.ContentSafetyStatus> -> Azure.ResourceManager.MachineLearning.Models.ServerlessEndpointProperties
Public Shared Function ServerlessEndpointProperties (Optional modelId As String = Nothing, Optional authMode As ServerlessInferenceEndpointAuthMode = Nothing, Optional inferenceEndpoint As ServerlessInferenceEndpoint = Nothing, Optional provisioningState As Nullable(Of MachineLearningEndpointProvisioningState) = Nothing, Optional endpointState As Nullable(Of ServerlessEndpointState) = Nothing, Optional marketplaceSubscriptionId As String = Nothing, Optional contentSafetyStatus As Nullable(Of ContentSafetyStatus) = Nothing) As ServerlessEndpointProperties

Parameters

modelId
String

The model settings (model id) for the model being serviced on the ServerlessEndpoint.

authMode
ServerlessInferenceEndpointAuthMode

[Required] Specifies the authentication mode for the Serverless endpoint.

inferenceEndpoint
ServerlessInferenceEndpoint

The inference uri to target when making requests against the serverless endpoint.

provisioningState
Nullable<MachineLearningEndpointProvisioningState>

Provisioning state for the endpoint.

endpointState
Nullable<ServerlessEndpointState>

The current state of the ServerlessEndpoint.

marketplaceSubscriptionId
String

The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint.

contentSafetyStatus
Nullable<ContentSafetyStatus>

Specifies the content safety options. If omitted, the default content safety settings will be configured.

Returns

A new ServerlessEndpointProperties instance for mocking.

Applies to