Share via


ServerlessEndpoint Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ServerlessEndpointTypeConverter))]
public class ServerlessEndpoint : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IServerlessEndpoint, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ServerlessEndpointTypeConverter))>]
type ServerlessEndpoint = class
    interface IServerlessEndpoint
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
    interface IHeaderSerializable
Public Class ServerlessEndpoint
Implements IHeaderSerializable, IServerlessEndpoint, IValidates
Inheritance
ServerlessEndpoint
Attributes
Implements

Constructors

ServerlessEndpoint()

Creates an new ServerlessEndpoint instance.

Properties

AuthMode

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

ContentSafetyStatus

[Required] Specifies the status of content safety.

EndpointState

The current state of the ServerlessEndpoint.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

InferenceEndpointHeader

Specifies any required headers to target this serverless endpoint.

InferenceEndpointUri

[Required] The inference uri to target when making requests against the Serverless Endpoint.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

Location

The geo-location where the resource lives

MarketplaceSubscriptionId

The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint.

ModelSettingModelId

The unique model identifier that this ServerlessEndpoint should provision.

Name

The name of the resource

ProvisioningState

Provisioning state for the endpoint.

ResourceGroupName

Gets the resource group name

SkuCapacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

SkuFamily

If the service has different generations of hardware, for the same SKU, then that can be captured here.

SkuName

The name of the SKU. Ex - P3. It is typically a letter+number code

SkuSize

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

XmsAsyncOperationTimeout

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerlessEndpoint.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerlessEndpoint.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IServerlessEndpoint.

FromJsonString(String)

Creates a new instance of ServerlessEndpoint, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerlessEndpoint into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to