aci_webservice_deployment_config: Create a deployment config for deploying an ACI web service

Description Usage Arguments Value See Also Examples

View source: R/webservice-aci.R

Description

Deploy a web service to Azure Container Instances for testing or debugging. Use ACI for low-scale CPU-based workloads that require less than 48 GB of RAM.

Deploy to ACI if one of the following conditions is true:

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
aci_webservice_deployment_config(
  cpu_cores = NULL,
  memory_gb = NULL,
  tags = NULL,
  properties = NULL,
  description = NULL,
  location = NULL,
  auth_enabled = NULL,
  ssl_enabled = NULL,
  enable_app_insights = NULL,
  ssl_cert_pem_file = NULL,
  ssl_key_pem_file = NULL,
  ssl_cname = NULL,
  dns_name_label = NULL
)

Arguments

cpu_cores

The number of cpu cores to allocate for the web service. Can be a decimal. Defaults to 0.1.

memory_gb

The amount of memory (in GB) to allocate for the web service. Can be a decimal. Defaults to 0.5.

tags

A named list of key-value tags for the web service, e.g. list("key" = "value").

properties

A named list of key-value properties for the web service, e.g. list("key" = "value"). These properties cannot be changed after deployment, but new key-value pairs can be added.

description

A string of the description to give the web service.

location

A string of the Azure region to deploy the web service to. If not specified the workspace location will be used. More details on available regions can be found here.

auth_enabled

If TRUE enable key-based authentication for the web service. Defaults to FALSE.

ssl_enabled

If TRUE enable SSL for the web service. Defaults to FALSE.

enable_app_insights

If TRUE enable AppInsights for the web service. Defaults to FALSE.

ssl_cert_pem_file

A string of the cert file needed if SSL is enabled.

ssl_key_pem_file

A string of the key file needed if SSL is enabled.

ssl_cname

A string of the cname if SSL is enabled.

dns_name_label

A string of the dns name label for the scoring endpoint. If not specified a unique dns name label will be generated for the scoring endpoint.

Value

The AciServiceDeploymentConfiguration object.

See Also

deploy_model()

Examples

1
2
3
4
## Not run: 
deployment_config <- aci_webservice_deployment_config(cpu_cores = 1, memory_gb = 1)

## End(Not run)

azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.