ArmMachineLearningModelFactory.CustomService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the custom service configuration.
public static Azure.ResourceManager.MachineLearning.Models.CustomService CustomService(string name = default, Azure.ResourceManager.MachineLearning.Models.ImageSetting image = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.EnvironmentVariable> environmentVariables = default, Azure.ResourceManager.MachineLearning.Models.DockerSetting docker = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.ContainerEndpoint> endpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.VolumeDefinition> volumes = default, Azure.ResourceManager.MachineLearning.Models.JupyterKernelConfig kernel = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member CustomService : string * Azure.ResourceManager.MachineLearning.Models.ImageSetting * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.EnvironmentVariable> * Azure.ResourceManager.MachineLearning.Models.DockerSetting * seq<Azure.ResourceManager.MachineLearning.Models.ContainerEndpoint> * seq<Azure.ResourceManager.MachineLearning.Models.VolumeDefinition> * Azure.ResourceManager.MachineLearning.Models.JupyterKernelConfig * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.MachineLearning.Models.CustomService
Public Shared Function CustomService (Optional name As String = Nothing, Optional image As ImageSetting = Nothing, Optional environmentVariables As IDictionary(Of String, EnvironmentVariable) = Nothing, Optional docker As DockerSetting = Nothing, Optional endpoints As IEnumerable(Of ContainerEndpoint) = Nothing, Optional volumes As IEnumerable(Of VolumeDefinition) = Nothing, Optional kernel As JupyterKernelConfig = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As CustomService
Parameters
- name
- String
Name of the Custom Service.
- image
- ImageSetting
Describes the Image Specifications.
- environmentVariables
- IDictionary<String,EnvironmentVariable>
Environment Variable for the container.
- docker
- DockerSetting
Describes the docker settings for the image.
- endpoints
- IEnumerable<ContainerEndpoint>
Configuring the endpoints for the container.
- volumes
- IEnumerable<VolumeDefinition>
Configuring the volumes for the container.
- kernel
- JupyterKernelConfig
Describes the jupyter kernel settings for the image if its a custom environment.
- additionalProperties
- IDictionary<String,BinaryData>
Returns
A new CustomService instance for mocking.