Class Operationalization

Operationalization

azureml.deploy.operationalization.Operationalization

Operationalization is designed to be a low-level abstract foundation class from which other service operationalization attribute classes in the mldeploy package can be derived. It provides a standard template for creating attribute-based operationalization lifecycle phases providing a consistent init(), del() sequence that chains initialization (initializer), authentication (authentication), and destruction (destructor) methods for the class hierarchy.

authentication

authentication(context)

Authentication lifecycle method. Invokes the authentication entry-point for the class hierarchy.

An optional noonp method where subclass implementers MAY provide this method definition by overriding.

Sub-class should override and implement.

Arguments

context

The optional authentication context as defined in the implementing sub-class.

delete_service

delete_service(name, **opts)

Sub-class should override and implement.

deploy_realtime

deploy_realtime(name, **opts)

Sub-class should override and implement.

deploy_service

deploy_service(name, **opts)

Sub-class should override and implement.

destructor

destructor()

Destroy lifecycle method. Invokes destructors for the class hierarchy.

An optional noonp method where subclass implementers MAY provide this method definition by overriding.

Sub-class should override and implement.

get_service

get_service(name, **opts)

Retrieve service metadata from the name source and return a new service instance.

Sub-class should override and implement.

initializer

initializer(api_client, config, adapters=None)

Init lifecycle method, invoked during construction. Sets up attributes and invokes initializers for the class hierarchy.

An optional noonp method where subclass implementers MAY provide this method definition by overriding.

Sub-class should override and implement.

list_services

list_services(name=None, **opts)

Sub-class should override and implement.

realtime_service

realtime_service(name)

Begin fluent API chaining of properties for defining a real-time web service.

Example:

client.realtime_service('scoring')
   .description('A new real-time web service')
   .version('v1.0.0')

Arguments

name

The web service name.

Returns

A RealtimeDefinition instance for fluent API chaining.

redeploy_realtime(name, force=False, **opts)

Sub-class should override and implement.

redeploy_service

redeploy_service(name, force=False, **opts)

Sub-class should override and implement.

service

service(name)

Begin fluent API chaining of properties for defining a standard web service.

Example:

client.service('scoring')
   .description('A new web service')
   .version('v1.0.0')

Arguments

name

The web service name.

Returns

A ServiceDefinition instance for fluent API chaining.