Class CloudTenant
java.lang.Object
com.yahoo.vespa.hosted.controller.tenant.Tenant
com.yahoo.vespa.hosted.controller.tenant.CloudTenant
A paying tenant in a Vespa cloud service.
- Author:
- jonmv
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.vespa.hosted.controller.tenant.Tenant
Tenant.Type -
Constructor Summary
ConstructorsConstructorDescriptionCloudTenant(com.yahoo.config.provision.TenantName name, Instant createdAt, LastLoginInfo lastLoginInfo, Optional<SimplePrincipal> creator, com.google.common.collect.BiMap<PublicKey, SimplePrincipal> developerKeys, TenantInfo info, List<TenantSecretStore> tenantSecretStores, ArchiveAccess archiveAccess, Optional<Instant> invalidateUserSessionsBefore, Instant tenantRoleLastMaintained, List<CloudAccountInfo> cloudAccounts, Optional<BillingReference> billingReference, PlanId planId) Public for the serialization layer — do not use! -
Method Summary
Modifier and TypeMethodDescriptionRole or member that is allowed to access archive bucket (log, dump) For AWS is this the IAM role For GCP it is a GCP memberstatic CloudTenantCreates a tenant with the given name, provided it passes validation.creator()The user that created the tenantcom.google.common.collect.BiMap<PublicKey,SimplePrincipal> Returns the set of developer keys and their corresponding developers for this tenant.info()Legal name, addresses etcReturns instant before which all user sessions that have access to this tenant must be refreshedplanId()List of configured secret storestype()Methods inherited from class com.yahoo.vespa.hosted.controller.tenant.Tenant
cloudAccounts, contact, createdAt, equals, hashCode, lastLoginInfo, name, requireName, tenantRolesLastMaintained
-
Constructor Details
-
CloudTenant
public CloudTenant(com.yahoo.config.provision.TenantName name, Instant createdAt, LastLoginInfo lastLoginInfo, Optional<SimplePrincipal> creator, com.google.common.collect.BiMap<PublicKey, SimplePrincipal> developerKeys, TenantInfo info, List<TenantSecretStore> tenantSecretStores, ArchiveAccess archiveAccess, Optional<Instant> invalidateUserSessionsBefore, Instant tenantRoleLastMaintained, List<CloudAccountInfo> cloudAccounts, Optional<BillingReference> billingReference, PlanId planId) Public for the serialization layer — do not use!
-
-
Method Details
-
create
public static CloudTenant create(com.yahoo.config.provision.TenantName tenantName, Instant createdAt, Principal creator) Creates a tenant with the given name, provided it passes validation. -
creator
The user that created the tenant -
info
Legal name, addresses etc -
developerKeys
Returns the set of developer keys and their corresponding developers for this tenant. -
tenantSecretStores
List of configured secret stores -
archiveAccess
Role or member that is allowed to access archive bucket (log, dump) For AWS is this the IAM role For GCP it is a GCP member -
invalidateUserSessionsBefore
Returns instant before which all user sessions that have access to this tenant must be refreshed -
billingReference
-
planId
-
type
-