az_rec_service: Azure product recommendations service class

Description Format Methods Initialization See Also Examples

Description

Class representing an Azure product recommendations service.

Format

An R6 object of class az_rec_service, inheriting from AzureRMR::az_template.

Methods

Initialization

Generally, the easiest way to initialize a new recommendations service object is via the create_rec_service or get_rec_service methods of the az_subscription or az_resource_group classes.

To create a new recommendations service, supply the following additional arguments to new():

See Also

rec_endpoint, for the client interface to the recommendations service

List of Azure hosting plans

Deployment instructions at the Product Recommendations API repo on GitHub

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

# recommended way of retrieving a resource: via a resource group object
svc <- resgroup$get_rec_service("myrec")

# start the service backend
svc$start()

# get the service endpoint
rec_endp <- svc$get_rec_endpoint()


## End(Not run)

SAR documentation built on Oct. 23, 2020, 7:55 p.m.