aci Module

Contains functionality for deploying machine learning models as web service endpoints on Azure Container Instances.

Azure Container Instances (ACI) is recommended for scenarios that can operate in isolated containers, including simple applications, task automation, and build jobs. For more information about when to use ACI, see Deploy a model to Azure Container Instances.

Classes

AciServiceDeploymentConfiguration

Represents deployment configuration information for a service deployed on Azure Container Instances.

Create an AciServiceDeploymentConfiguration object using the deploy_configuration method of the AciWebservice class.

Create a configuration object for deploying an ACI Webservice.

AciWebservice

Represents a machine learning model deployed as a web service endpoint on Azure Container Instances.

A deployed service is created from a model, script, and associated files. The resulting web service is a load-balanced, HTTP endpoint with a REST API. You can send data to this API and receive the prediction returned by the model.

For more information, see Deploy a model to Azure Container Instances.

Initialize the Webservice instance.

The Webservice constructor retrieves a cloud representation of a Webservice object associated with the provided workspace. It will return an instance of a child class corresponding to the specific type of the retrieved Webservice object.

ContainerResourceRequirements

Defines the resource requirements for a container used by the Webservice.

To specify ContainerResourceRequirements values, you will typically use the deploy_configuration method of the AciWebservice class.

Initialize the container resource requirements.

EncryptionProperties

Defines the encryption properties for a container used by the Webservice.

To specify EncryptionProperties values, you will typically use the deploy_configuration method of the AciWebservice class.

Initialize encryption properties.

VnetConfiguration

Defines the Virtual network configuration for a container used by the Webservice.

To specify VnetConfiguration values, you will typically use the deploy_configuration method of the AciWebservice class.

Initialize encryption properties.