Share via


CustomService Class

Definition

Specifies the custom service configuration

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CustomServiceTypeConverter))]
public class CustomService : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICustomService, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CustomServiceTypeConverter))>]
type CustomService = class
    interface ICustomService
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class CustomService
Implements IAssociativeArray(Of Object), ICustomService
Inheritance
CustomService
Attributes
Implements

Constructors

CustomService()

Creates an new CustomService instance.

Fields

__additionalProperties

Properties

Docker

Describes the docker settings for the image

Endpoint

Configuring the endpoints for the container

EnvironmentVariable

Environment Variable for the container

Image

Describes the Image Specifications

Item[String]
Name

Name of the Custom Service

Volume

Configuring the volumes for the container

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CustomService.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CustomService.

FromJson(JsonNode)

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

FromJsonString(String)

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

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of CustomService into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(CustomService to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties
IAssociativeArray<Object>.Count
IAssociativeArray<Object>.Keys
IAssociativeArray<Object>.Values

Applies to