Fleet Manager Tenant

The FMCloudAuthentication and FMCloudCredentials help define how the authentication will be done on the cloud side.

FMCloudTags are the Fleet Manager tags.

Reference API doc

class dataikuapi.fm.tenant.FMCloudAuthentication(data)
static aws_same_as_fm()

AWS Only: use the same authentication as Fleet Manager

static aws_iam_role(role_arn)

AWS Only: use an IAM Role

Parameters

role_arn (str) – ARN of the IAM Role

static aws_keypair(access_key_id, secret_access_key)

AWS Only: use an AWS Access Key

Parameters
  • access_key_id (str) – AWS Access Key ID

  • secret_access_key (str) – AWS Secret Access Key

static azure(subscription, tenant_id, environment, client_id)

Azure Only

Parameters
  • subscription (str) – Azure Subscription

  • tenant_id (str) – Azure Tenant Id

  • environment (str) – Azure Environment

  • client_id (str) – Azure Client Id

static gcp(project_id, service_account_key)

GCP Only

Parameters
  • project_id (str) – GCP project

  • service_account_key (str) – Optional, service account key (JSON)

class dataikuapi.fm.tenant.FMCloudCredentials(client, cloud_credentials)

A Tenant Cloud Credentials in the FM instance

set_cmk_key(cmk_key_id)
set_static_license(license_file_path=None, license_string=None)

Set a default static license for the DSS instances

Parameters
  • license_file_path (str) – Optional, load the license from a json file

  • license_string (str) – Optional, load the license from a json string

set_automatically_updated_license(license_token)

Set an automatically updated license for the DSS instances

Parameters

license_token (str) – License token

set_authentication(authentication)

Set the authentication for the tenant

Parameters

authentication (dataikuapi.fm.tenant.FMCloudAuthentication) – the authentication to be used

save()

Saves back the settings to the project

class dataikuapi.fm.tenant.FMCloudTags(client, cloud_tags)

A Tenant Cloud Tags in the FM instance

property tags
save()

Saves the tags on FM