AciServiceDeploymentConfiguration class

Definition

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.

AciServiceDeploymentConfiguration(cpu_cores=None, memory_gb=None, tags=None, properties=None, description=None, location=None, auth_enabled=None, ssl_enabled=None, enable_app_insights=None, ssl_cert_pem_file=None, ssl_key_pem_file=None, ssl_cname=None, dns_name_label=None, primary_key=None, secondary_key=None, collect_model_data=None)
Inheritance
AciServiceDeploymentConfiguration

Parameters

cpu_cores
float

The number of CPU cores to allocate for this Webservice. Can be a decimal. Defaults to 0.1

memory_gb
float

The amount of memory (in GB) to allocate for this Webservice. Can be a decimal. Defaults to 0.5

tags
dict[str, str]

A dictionary of key value tags to give this Webservice.

properties
dict[str, str]

A dictionary of key value properties to give this Webservice. These properties cannot be changed after deployment, however new key value pairs can be added.

description
str

A description to give this Webservice.

location
str

The Azure region to deploy this Webservice to. If not specified, the Workspace location will be used. For more details on available regions, see Products by region.

auth_enabled
bool

Whether or not to enable auth for this Webservice. Defaults to False.

ssl_enabled
bool

Whether or not to enable SSL for this Webservice. Defaults to False.

enable_app_insights
bool

Whether or not to enable AppInsights for this Webservice. Defaults to False.

ssl_cert_pem_file
str

The cert file needed if SSL is enabled.

ssl_key_pem_file
str

The key file needed if SSL is enabled.

ssl_cname
str

The cname for if SSL is enabled.

dns_name_label
str

The DNS name label for the scoring endpoint. If not specified a unique DNS name label will be generated for the scoring endpoint.

Methods

validate_configuration()

Check that the specified configuration values are valid.

Will raise a WebserviceException if validation fails.

validate_configuration()

Check that the specified configuration values are valid.

Will raise a WebserviceException if validation fails.

validate_configuration()