Documentation ¶
Index ¶
- Constants
- Variables
- type AWSEndpointConnectionStatusType
- type AWSPrivateLinkServiceDetail
- func (o *AWSPrivateLinkServiceDetail) GetAvailabilityZoneIds() []string
- func (o *AWSPrivateLinkServiceDetail) GetServiceId() string
- func (o *AWSPrivateLinkServiceDetail) GetServiceName() string
- func (o *AWSPrivateLinkServiceDetail) SetAvailabilityZoneIds(v []string)
- func (o *AWSPrivateLinkServiceDetail) SetServiceId(v string)
- func (o *AWSPrivateLinkServiceDetail) SetServiceName(v string)
- type AddEgressRuleRequest
- func (o *AddEgressRuleRequest) GetDescription() string
- func (o *AddEgressRuleRequest) GetDestination() string
- func (o *AddEgressRuleRequest) GetIdempotencyKey() string
- func (o *AddEgressRuleRequest) GetName() string
- func (o *AddEgressRuleRequest) GetPaths() []string
- func (o *AddEgressRuleRequest) GetPorts() []int32
- func (o *AddEgressRuleRequest) GetType() string
- func (o *AddEgressRuleRequest) SetDescription(v string)
- func (o *AddEgressRuleRequest) SetDestination(v string)
- func (o *AddEgressRuleRequest) SetIdempotencyKey(v string)
- func (o *AddEgressRuleRequest) SetName(v string)
- func (o *AddEgressRuleRequest) SetPaths(v []string)
- func (o *AddEgressRuleRequest) SetPorts(v []int32)
- func (o *AddEgressRuleRequest) SetType(v string)
- type AddEgressRuleResponse
- type AddJWTIssuerRequest
- func (o *AddJWTIssuerRequest) GetAudience() string
- func (o *AddJWTIssuerRequest) GetClaim() string
- func (o *AddJWTIssuerRequest) GetIdentityMap() []JWTIssuerIdentityMapEntry
- func (o *AddJWTIssuerRequest) GetIssuerUrl() string
- func (o *AddJWTIssuerRequest) GetJwks() string
- func (o *AddJWTIssuerRequest) SetAudience(v string)
- func (o *AddJWTIssuerRequest) SetClaim(v string)
- func (o *AddJWTIssuerRequest) SetIdentityMap(v []JWTIssuerIdentityMapEntry)
- func (o *AddJWTIssuerRequest) SetIssuerUrl(v string)
- func (o *AddJWTIssuerRequest) SetJwks(v string)
- type AddPrivateEndpointConnectionRequest
- type AddPrivateEndpointTrustedOwnerRequest
- func (o *AddPrivateEndpointTrustedOwnerRequest) GetExternalOwnerId() string
- func (o *AddPrivateEndpointTrustedOwnerRequest) GetType() PrivateEndpointTrustedOwnerTypeType
- func (o *AddPrivateEndpointTrustedOwnerRequest) SetExternalOwnerId(v string)
- func (o *AddPrivateEndpointTrustedOwnerRequest) SetType(v PrivateEndpointTrustedOwnerTypeType)
- type AddPrivateEndpointTrustedOwnerResponse
- type AllowlistEntry
- func (o *AllowlistEntry) GetCidrIp() string
- func (o *AllowlistEntry) GetCidrMask() int32
- func (o *AllowlistEntry) GetName() string
- func (o *AllowlistEntry) GetSql() bool
- func (o *AllowlistEntry) GetUi() bool
- func (o *AllowlistEntry) SetCidrIp(v string)
- func (o *AllowlistEntry) SetCidrMask(v int32)
- func (o *AllowlistEntry) SetName(v string)
- func (o *AllowlistEntry) SetSql(v bool)
- func (o *AllowlistEntry) SetUi(v bool)
- type AllowlistEntry1
- type Any
- type ApiKey
- func (o *ApiKey) GetCreatedAt() time.Time
- func (o *ApiKey) GetId() string
- func (o *ApiKey) GetName() string
- func (o *ApiKey) GetServiceAccountId() string
- func (o *ApiKey) SetCreatedAt(v time.Time)
- func (o *ApiKey) SetId(v string)
- func (o *ApiKey) SetName(v string)
- func (o *ApiKey) SetServiceAccountId(v string)
- type ApiOidcConfig
- func (o *ApiOidcConfig) GetAudience() string
- func (o *ApiOidcConfig) GetClaim() string
- func (o *ApiOidcConfig) GetId() string
- func (o *ApiOidcConfig) GetIdentityMap() []ApiOidcIdentityMapEntry
- func (o *ApiOidcConfig) GetIssuer() string
- func (o *ApiOidcConfig) GetJwks() string
- func (o *ApiOidcConfig) SetAudience(v string)
- func (o *ApiOidcConfig) SetClaim(v string)
- func (o *ApiOidcConfig) SetId(v string)
- func (o *ApiOidcConfig) SetIdentityMap(v []ApiOidcIdentityMapEntry)
- func (o *ApiOidcConfig) SetIssuer(v string)
- func (o *ApiOidcConfig) SetJwks(v string)
- type ApiOidcConfig1
- func (o *ApiOidcConfig1) GetAudience() string
- func (o *ApiOidcConfig1) GetClaim() string
- func (o *ApiOidcConfig1) GetIdentityMap() []ApiOidcIdentityMapEntry
- func (o *ApiOidcConfig1) GetIssuer() string
- func (o *ApiOidcConfig1) GetJwks() string
- func (o *ApiOidcConfig1) SetAudience(v string)
- func (o *ApiOidcConfig1) SetClaim(v string)
- func (o *ApiOidcConfig1) SetIdentityMap(v []ApiOidcIdentityMapEntry)
- func (o *ApiOidcConfig1) SetIssuer(v string)
- func (o *ApiOidcConfig1) SetJwks(v string)
- type ApiOidcIdentityMapEntry
- func (o *ApiOidcIdentityMapEntry) GetCcIdentity() string
- func (o *ApiOidcIdentityMapEntry) GetIsRegex() bool
- func (o *ApiOidcIdentityMapEntry) GetTokenIdentity() string
- func (o *ApiOidcIdentityMapEntry) SetCcIdentity(v string)
- func (o *ApiOidcIdentityMapEntry) SetIsRegex(v bool)
- func (o *ApiOidcIdentityMapEntry) SetTokenIdentity(v string)
- type AuditLogAction
- type AuditLogEntry
- func (o *AuditLogEntry) GetAction() AuditLogAction
- func (o *AuditLogEntry) GetClusterId() string
- func (o *AuditLogEntry) GetClusterName() string
- func (o *AuditLogEntry) GetCreatedAt() time.Time
- func (o *AuditLogEntry) GetError() string
- func (o *AuditLogEntry) GetId() string
- func (o *AuditLogEntry) GetMetadata() AuditLogMetadata
- func (o *AuditLogEntry) GetPayload() map[string]interface{}
- func (o *AuditLogEntry) GetServiceAccountName() string
- func (o *AuditLogEntry) GetSessionId() string
- func (o *AuditLogEntry) GetSource() AuditLogSource
- func (o *AuditLogEntry) GetTraceId() string
- func (o *AuditLogEntry) GetUserEmail() string
- func (o *AuditLogEntry) SetAction(v AuditLogAction)
- func (o *AuditLogEntry) SetClusterId(v string)
- func (o *AuditLogEntry) SetClusterName(v string)
- func (o *AuditLogEntry) SetCreatedAt(v time.Time)
- func (o *AuditLogEntry) SetError(v string)
- func (o *AuditLogEntry) SetId(v string)
- func (o *AuditLogEntry) SetMetadata(v AuditLogMetadata)
- func (o *AuditLogEntry) SetPayload(v map[string]interface{})
- func (o *AuditLogEntry) SetServiceAccountName(v string)
- func (o *AuditLogEntry) SetSessionId(v string)
- func (o *AuditLogEntry) SetSource(v AuditLogSource)
- func (o *AuditLogEntry) SetTraceId(v string)
- func (o *AuditLogEntry) SetUserEmail(v string)
- type AuditLogMetadata
- type AuditLogSource
- type AwsEndpointConnection
- func (o *AwsEndpointConnection) GetCloudProvider() CloudProviderType
- func (o *AwsEndpointConnection) GetEndpointId() string
- func (o *AwsEndpointConnection) GetExternalOwnerId() string
- func (o *AwsEndpointConnection) GetRegionName() string
- func (o *AwsEndpointConnection) GetServiceId() string
- func (o *AwsEndpointConnection) GetStatus() AWSEndpointConnectionStatusType
- func (o *AwsEndpointConnection) SetCloudProvider(v CloudProviderType)
- func (o *AwsEndpointConnection) SetEndpointId(v string)
- func (o *AwsEndpointConnection) SetExternalOwnerId(v string)
- func (o *AwsEndpointConnection) SetRegionName(v string)
- func (o *AwsEndpointConnection) SetServiceId(v string)
- func (o *AwsEndpointConnection) SetStatus(v AWSEndpointConnectionStatusType)
- type AwsEndpointConnections
- type BuiltInFromGroups
- type BuiltInRole
- type CMEKClusterInfo
- type CMEKClusterSpecification
- type CMEKCustomerAction
- type CMEKKeyInfo
- func (o *CMEKKeyInfo) GetCreatedAt() time.Time
- func (o *CMEKKeyInfo) GetSpec() CMEKKeySpecification
- func (o *CMEKKeyInfo) GetStatus() CMEKStatus
- func (o *CMEKKeyInfo) GetUpdatedAt() time.Time
- func (o *CMEKKeyInfo) GetUserMessage() string
- func (o *CMEKKeyInfo) SetCreatedAt(v time.Time)
- func (o *CMEKKeyInfo) SetSpec(v CMEKKeySpecification)
- func (o *CMEKKeyInfo) SetStatus(v CMEKStatus)
- func (o *CMEKKeyInfo) SetUpdatedAt(v time.Time)
- func (o *CMEKKeyInfo) SetUserMessage(v string)
- type CMEKKeySpecification
- func (o *CMEKKeySpecification) GetAuthPrincipal() string
- func (o *CMEKKeySpecification) GetType() CMEKKeyType
- func (o *CMEKKeySpecification) GetUri() string
- func (o *CMEKKeySpecification) SetAuthPrincipal(v string)
- func (o *CMEKKeySpecification) SetType(v CMEKKeyType)
- func (o *CMEKKeySpecification) SetUri(v string)
- type CMEKKeyType
- type CMEKRegionInfo
- type CMEKRegionSpecification
- type CMEKStatus
- type Client
- type ClientCACertInfo
- type ClientCACertStatus
- type CloudProviderRegion
- func (o *CloudProviderRegion) GetDistance() float32
- func (o *CloudProviderRegion) GetLocation() string
- func (o *CloudProviderRegion) GetName() string
- func (o *CloudProviderRegion) GetProvider() CloudProviderType
- func (o *CloudProviderRegion) GetServerless() bool
- func (o *CloudProviderRegion) SetDistance(v float32)
- func (o *CloudProviderRegion) SetLocation(v string)
- func (o *CloudProviderRegion) SetName(v string)
- func (o *CloudProviderRegion) SetProvider(v CloudProviderType)
- func (o *CloudProviderRegion) SetServerless(v bool)
- type CloudProviderType
- type CloudWatchMetricExportInfo
- func (o *CloudWatchMetricExportInfo) GetClusterId() string
- func (o *CloudWatchMetricExportInfo) GetLogGroupName() string
- func (o *CloudWatchMetricExportInfo) GetRoleArn() string
- func (o *CloudWatchMetricExportInfo) GetStatus() MetricExportStatusType
- func (o *CloudWatchMetricExportInfo) GetTargetRegion() string
- func (o *CloudWatchMetricExportInfo) GetUserMessage() string
- func (o *CloudWatchMetricExportInfo) SetClusterId(v string)
- func (o *CloudWatchMetricExportInfo) SetLogGroupName(v string)
- func (o *CloudWatchMetricExportInfo) SetRoleArn(v string)
- func (o *CloudWatchMetricExportInfo) SetStatus(v MetricExportStatusType)
- func (o *CloudWatchMetricExportInfo) SetTargetRegion(v string)
- func (o *CloudWatchMetricExportInfo) SetUserMessage(v string)
- type Cluster
- func (o *Cluster) GetAccountId() string
- func (o *Cluster) GetCloudProvider() CloudProviderType
- func (o *Cluster) GetCockroachVersion() string
- func (o *Cluster) GetConfig() ClusterConfig
- func (o *Cluster) GetCreatedAt() time.Time
- func (o *Cluster) GetCreatorId() string
- func (o *Cluster) GetDeleteProtection() DeleteProtectionStateType
- func (o *Cluster) GetDeletedAt() time.Time
- func (o *Cluster) GetEgressTrafficPolicy() EgressTrafficPolicyType
- func (o *Cluster) GetId() string
- func (o *Cluster) GetName() string
- func (o *Cluster) GetNetworkVisibility() NetworkVisibilityType
- func (o *Cluster) GetOperationStatus() ClusterStatusType
- func (o *Cluster) GetParentId() string
- func (o *Cluster) GetPlan() PlanType
- func (o *Cluster) GetRegions() []Region
- func (o *Cluster) GetSqlDns() string
- func (o *Cluster) GetState() ClusterStateType
- func (o *Cluster) GetUpdatedAt() time.Time
- func (o *Cluster) GetUpgradeStatus() ClusterUpgradeStatusType
- func (o *Cluster) SetAccountId(v string)
- func (o *Cluster) SetCloudProvider(v CloudProviderType)
- func (o *Cluster) SetCockroachVersion(v string)
- func (o *Cluster) SetConfig(v ClusterConfig)
- func (o *Cluster) SetCreatedAt(v time.Time)
- func (o *Cluster) SetCreatorId(v string)
- func (o *Cluster) SetDeleteProtection(v DeleteProtectionStateType)
- func (o *Cluster) SetDeletedAt(v time.Time)
- func (o *Cluster) SetEgressTrafficPolicy(v EgressTrafficPolicyType)
- func (o *Cluster) SetId(v string)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetNetworkVisibility(v NetworkVisibilityType)
- func (o *Cluster) SetOperationStatus(v ClusterStatusType)
- func (o *Cluster) SetParentId(v string)
- func (o *Cluster) SetPlan(v PlanType)
- func (o *Cluster) SetRegions(v []Region)
- func (o *Cluster) SetSqlDns(v string)
- func (o *Cluster) SetState(v ClusterStateType)
- func (o *Cluster) SetUpdatedAt(v time.Time)
- func (o *Cluster) SetUpgradeStatus(v ClusterUpgradeStatusType)
- type ClusterConfig
- type ClusterMajorVersion
- func (o *ClusterMajorVersion) GetAllowedUpgrades() []string
- func (o *ClusterMajorVersion) GetReleaseType() ReleaseTypeType
- func (o *ClusterMajorVersion) GetSupportEnd() time.Time
- func (o *ClusterMajorVersion) GetSupportStatus() ClusterMajorVersionSupportStatusType
- func (o *ClusterMajorVersion) GetVersion() string
- func (o *ClusterMajorVersion) SetAllowedUpgrades(v []string)
- func (o *ClusterMajorVersion) SetReleaseType(v ReleaseTypeType)
- func (o *ClusterMajorVersion) SetSupportEnd(v time.Time)
- func (o *ClusterMajorVersion) SetSupportStatus(v ClusterMajorVersionSupportStatusType)
- func (o *ClusterMajorVersion) SetVersion(v string)
- type ClusterMajorVersionSupportStatusType
- type ClusterStateType
- type ClusterStatusType
- type ClusterUpgradeStatusType
- type ClusterVersionDeferral
- type ClusterVersionDeferralPolicyType
- type CockroachCloudSetRolesForUserRequest
- type Configuration
- type ConnectionStringParameters
- func (o *ConnectionStringParameters) GetDatabase() string
- func (o *ConnectionStringParameters) GetHost() string
- func (o *ConnectionStringParameters) GetPort() string
- func (o *ConnectionStringParameters) GetUsername() string
- func (o *ConnectionStringParameters) SetDatabase(v string)
- func (o *ConnectionStringParameters) SetHost(v string)
- func (o *ConnectionStringParameters) SetPort(v string)
- func (o *ConnectionStringParameters) SetUsername(v string)
- type CreateApiKeyRequest
- type CreateApiKeyResponse
- type CreateApiOidcConfigRequest
- func (o *CreateApiOidcConfigRequest) GetAudience() string
- func (o *CreateApiOidcConfigRequest) GetClaim() string
- func (o *CreateApiOidcConfigRequest) GetIdentityMap() []ApiOidcIdentityMapEntry
- func (o *CreateApiOidcConfigRequest) GetIssuer() string
- func (o *CreateApiOidcConfigRequest) GetJwks() string
- func (o *CreateApiOidcConfigRequest) SetAudience(v string)
- func (o *CreateApiOidcConfigRequest) SetClaim(v string)
- func (o *CreateApiOidcConfigRequest) SetIdentityMap(v []ApiOidcIdentityMapEntry)
- func (o *CreateApiOidcConfigRequest) SetIssuer(v string)
- func (o *CreateApiOidcConfigRequest) SetJwks(v string)
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetName() string
- func (o *CreateClusterRequest) GetProvider() CloudProviderType
- func (o *CreateClusterRequest) GetSpec() CreateClusterSpecification
- func (o *CreateClusterRequest) SetName(v string)
- func (o *CreateClusterRequest) SetProvider(v CloudProviderType)
- func (o *CreateClusterRequest) SetSpec(v CreateClusterSpecification)
- type CreateClusterSpecification
- func (o *CreateClusterSpecification) GetDedicated() DedicatedClusterCreateSpecification
- func (o *CreateClusterSpecification) GetDeleteProtection() DeleteProtectionStateType
- func (o *CreateClusterSpecification) GetParentId() string
- func (o *CreateClusterSpecification) GetPlan() PlanType
- func (o *CreateClusterSpecification) GetServerless() ServerlessClusterCreateSpecification
- func (o *CreateClusterSpecification) SetDedicated(v DedicatedClusterCreateSpecification)
- func (o *CreateClusterSpecification) SetDeleteProtection(v DeleteProtectionStateType)
- func (o *CreateClusterSpecification) SetParentId(v string)
- func (o *CreateClusterSpecification) SetPlan(v PlanType)
- func (o *CreateClusterSpecification) SetServerless(v ServerlessClusterCreateSpecification)
- type CreateDatabaseRequest
- type CreateFolderRequest
- type CreateGroupRequest
- func (o *CreateGroupRequest) GetDisplayName() string
- func (o *CreateGroupRequest) GetExternalId() string
- func (o *CreateGroupRequest) GetMembers() []ScimResource
- func (o *CreateGroupRequest) GetSchemas() []string
- func (o *CreateGroupRequest) SetDisplayName(v string)
- func (o *CreateGroupRequest) SetExternalId(v string)
- func (o *CreateGroupRequest) SetMembers(v []ScimResource)
- func (o *CreateGroupRequest) SetSchemas(v []string)
- type CreateSQLUserRequest
- type CreateServiceAccountRequest
- func (o *CreateServiceAccountRequest) GetDescription() string
- func (o *CreateServiceAccountRequest) GetName() string
- func (o *CreateServiceAccountRequest) GetRoles() []BuiltInRole
- func (o *CreateServiceAccountRequest) SetDescription(v string)
- func (o *CreateServiceAccountRequest) SetName(v string)
- func (o *CreateServiceAccountRequest) SetRoles(v []BuiltInRole)
- type CreateUserRequest
- func (o *CreateUserRequest) GetActive() bool
- func (o *CreateUserRequest) GetDisplayName() string
- func (o *CreateUserRequest) GetEmails() []ScimEmail
- func (o *CreateUserRequest) GetExternalId() string
- func (o *CreateUserRequest) GetName() ScimName
- func (o *CreateUserRequest) GetSchemas() []string
- func (o *CreateUserRequest) GetUserName() string
- func (o *CreateUserRequest) SetActive(v bool)
- func (o *CreateUserRequest) SetDisplayName(v string)
- func (o *CreateUserRequest) SetEmails(v []ScimEmail)
- func (o *CreateUserRequest) SetExternalId(v string)
- func (o *CreateUserRequest) SetName(v ScimName)
- func (o *CreateUserRequest) SetSchemas(v []string)
- func (o *CreateUserRequest) SetUserName(v string)
- type CurrencyAmount
- type CurrencyType
- type Database
- type DatadogMetricExportInfo
- func (o *DatadogMetricExportInfo) GetApiKey() string
- func (o *DatadogMetricExportInfo) GetClusterId() string
- func (o *DatadogMetricExportInfo) GetSite() DatadogSiteType
- func (o *DatadogMetricExportInfo) GetStatus() MetricExportStatusType
- func (o *DatadogMetricExportInfo) GetUserMessage() string
- func (o *DatadogMetricExportInfo) SetApiKey(v string)
- func (o *DatadogMetricExportInfo) SetClusterId(v string)
- func (o *DatadogMetricExportInfo) SetSite(v DatadogSiteType)
- func (o *DatadogMetricExportInfo) SetStatus(v MetricExportStatusType)
- func (o *DatadogMetricExportInfo) SetUserMessage(v string)
- type DatadogSiteType
- type DedicatedClusterCreateSpecification
- func (o *DedicatedClusterCreateSpecification) GetCockroachVersion() string
- func (o *DedicatedClusterCreateSpecification) GetHardware() DedicatedHardwareCreateSpecification
- func (o *DedicatedClusterCreateSpecification) GetNetworkVisibility() NetworkVisibilityType
- func (o *DedicatedClusterCreateSpecification) GetRegionNodes() map[string]int32
- func (o *DedicatedClusterCreateSpecification) GetRestrictEgressTraffic() bool
- func (o *DedicatedClusterCreateSpecification) SetCockroachVersion(v string)
- func (o *DedicatedClusterCreateSpecification) SetHardware(v DedicatedHardwareCreateSpecification)
- func (o *DedicatedClusterCreateSpecification) SetNetworkVisibility(v NetworkVisibilityType)
- func (o *DedicatedClusterCreateSpecification) SetRegionNodes(v map[string]int32)
- func (o *DedicatedClusterCreateSpecification) SetRestrictEgressTraffic(v bool)
- type DedicatedClusterUpdateSpecification
- func (o *DedicatedClusterUpdateSpecification) GetCmekRegionSpecs() []CMEKRegionSpecification
- func (o *DedicatedClusterUpdateSpecification) GetHardware() DedicatedHardwareUpdateSpecification
- func (o *DedicatedClusterUpdateSpecification) GetRegionNodes() map[string]int32
- func (o *DedicatedClusterUpdateSpecification) SetCmekRegionSpecs(v []CMEKRegionSpecification)
- func (o *DedicatedClusterUpdateSpecification) SetHardware(v DedicatedHardwareUpdateSpecification)
- func (o *DedicatedClusterUpdateSpecification) SetRegionNodes(v map[string]int32)
- type DedicatedHardwareConfig
- func (o *DedicatedHardwareConfig) GetDiskIops() int32
- func (o *DedicatedHardwareConfig) GetMachineType() string
- func (o *DedicatedHardwareConfig) GetMemoryGib() float32
- func (o *DedicatedHardwareConfig) GetNumVirtualCpus() int32
- func (o *DedicatedHardwareConfig) GetStorageGib() int32
- func (o *DedicatedHardwareConfig) SetDiskIops(v int32)
- func (o *DedicatedHardwareConfig) SetMachineType(v string)
- func (o *DedicatedHardwareConfig) SetMemoryGib(v float32)
- func (o *DedicatedHardwareConfig) SetNumVirtualCpus(v int32)
- func (o *DedicatedHardwareConfig) SetStorageGib(v int32)
- type DedicatedHardwareCreateSpecification
- func (o *DedicatedHardwareCreateSpecification) GetDiskIops() int32
- func (o *DedicatedHardwareCreateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
- func (o *DedicatedHardwareCreateSpecification) GetStorageGib() int32
- func (o *DedicatedHardwareCreateSpecification) SetDiskIops(v int32)
- func (o *DedicatedHardwareCreateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
- func (o *DedicatedHardwareCreateSpecification) SetStorageGib(v int32)
- type DedicatedHardwareUpdateSpecification
- func (o *DedicatedHardwareUpdateSpecification) GetDiskIops() int32
- func (o *DedicatedHardwareUpdateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
- func (o *DedicatedHardwareUpdateSpecification) GetStorageGib() int32
- func (o *DedicatedHardwareUpdateSpecification) SetDiskIops(v int32)
- func (o *DedicatedHardwareUpdateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
- func (o *DedicatedHardwareUpdateSpecification) SetStorageGib(v int32)
- type DedicatedMachineTypeSpecification
- type DeleteEgressRuleOptions
- type DeleteEgressRuleResponse
- type DeleteMetricExportResponse
- type DeleteProtectionStateType
- type EditEgressRuleRequest
- func (o *EditEgressRuleRequest) GetDescription() string
- func (o *EditEgressRuleRequest) GetDestination() string
- func (o *EditEgressRuleRequest) GetIdempotencyKey() string
- func (o *EditEgressRuleRequest) GetPaths() []string
- func (o *EditEgressRuleRequest) GetPorts() []int32
- func (o *EditEgressRuleRequest) GetType() string
- func (o *EditEgressRuleRequest) SetDescription(v string)
- func (o *EditEgressRuleRequest) SetDestination(v string)
- func (o *EditEgressRuleRequest) SetIdempotencyKey(v string)
- func (o *EditEgressRuleRequest) SetPaths(v []string)
- func (o *EditEgressRuleRequest) SetPorts(v []int32)
- func (o *EditEgressRuleRequest) SetType(v string)
- type EditEgressRuleResponse
- type EgressRule
- func (o *EgressRule) GetClusterId() string
- func (o *EgressRule) GetCreatedAt() time.Time
- func (o *EgressRule) GetCrlManaged() bool
- func (o *EgressRule) GetDescription() string
- func (o *EgressRule) GetDestination() string
- func (o *EgressRule) GetId() string
- func (o *EgressRule) GetName() string
- func (o *EgressRule) GetPaths() []string
- func (o *EgressRule) GetPorts() []int32
- func (o *EgressRule) GetState() string
- func (o *EgressRule) GetType() string
- func (o *EgressRule) SetClusterId(v string)
- func (o *EgressRule) SetCreatedAt(v time.Time)
- func (o *EgressRule) SetCrlManaged(v bool)
- func (o *EgressRule) SetDescription(v string)
- func (o *EgressRule) SetDestination(v string)
- func (o *EgressRule) SetId(v string)
- func (o *EgressRule) SetName(v string)
- func (o *EgressRule) SetPaths(v []string)
- func (o *EgressRule) SetPorts(v []int32)
- func (o *EgressRule) SetState(v string)
- func (o *EgressRule) SetType(v string)
- type EgressTrafficPolicyType
- type EnableCloudWatchMetricExportRequest
- func (o *EnableCloudWatchMetricExportRequest) GetLogGroupName() string
- func (o *EnableCloudWatchMetricExportRequest) GetRoleArn() string
- func (o *EnableCloudWatchMetricExportRequest) GetTargetRegion() string
- func (o *EnableCloudWatchMetricExportRequest) SetLogGroupName(v string)
- func (o *EnableCloudWatchMetricExportRequest) SetRoleArn(v string)
- func (o *EnableCloudWatchMetricExportRequest) SetTargetRegion(v string)
- type EnableDatadogMetricExportRequest
- type EnableLogExportRequest
- func (o *EnableLogExportRequest) GetAuthPrincipal() string
- func (o *EnableLogExportRequest) GetAzureSharedKey() string
- func (o *EnableLogExportRequest) GetGroups() []LogExportGroup
- func (o *EnableLogExportRequest) GetLogName() string
- func (o *EnableLogExportRequest) GetOmittedChannels() []string
- func (o *EnableLogExportRequest) GetRedact() bool
- func (o *EnableLogExportRequest) GetRegion() string
- func (o *EnableLogExportRequest) GetType() LogExportType
- func (o *EnableLogExportRequest) SetAuthPrincipal(v string)
- func (o *EnableLogExportRequest) SetAzureSharedKey(v string)
- func (o *EnableLogExportRequest) SetGroups(v []LogExportGroup)
- func (o *EnableLogExportRequest) SetLogName(v string)
- func (o *EnableLogExportRequest) SetOmittedChannels(v []string)
- func (o *EnableLogExportRequest) SetRedact(v bool)
- func (o *EnableLogExportRequest) SetRegion(v string)
- func (o *EnableLogExportRequest) SetType(v LogExportType)
- type Error
- type FolderResource
- func (o *FolderResource) GetName() string
- func (o *FolderResource) GetOrganizationId() string
- func (o *FolderResource) GetParentId() string
- func (o *FolderResource) GetPath() []PathSegment
- func (o *FolderResource) GetResourceId() string
- func (o *FolderResource) GetResourceType() FolderResourceTypeType
- func (o *FolderResource) SetName(v string)
- func (o *FolderResource) SetOrganizationId(v string)
- func (o *FolderResource) SetParentId(v string)
- func (o *FolderResource) SetPath(v []PathSegment)
- func (o *FolderResource) SetResourceId(v string)
- func (o *FolderResource) SetResourceType(v FolderResourceTypeType)
- type FolderResourceList
- type FolderResourceTypeType
- type GetAllRolesForUserResponse
- type GetConnectionStringOptions
- type GetConnectionStringResponse
- type GetEgressRuleResponse
- type GetGroupOptions
- type GetGroupRequest
- type GetGroupsOptions
- type GetGroupsRequest
- func (o *GetGroupsRequest) GetAttributes() string
- func (o *GetGroupsRequest) GetExcludedAttributes() string
- func (o *GetGroupsRequest) GetFilter() string
- func (o *GetGroupsRequest) SetAttributes(v string)
- func (o *GetGroupsRequest) SetExcludedAttributes(v string)
- func (o *GetGroupsRequest) SetFilter(v string)
- type GetGroupsResponse
- func (o *GetGroupsResponse) GetItemsPerPage() int32
- func (o *GetGroupsResponse) GetResources() []ScimGroup
- func (o *GetGroupsResponse) GetSchemas() []string
- func (o *GetGroupsResponse) GetTotalResults() int32
- func (o *GetGroupsResponse) SetItemsPerPage(v int32)
- func (o *GetGroupsResponse) SetResources(v []ScimGroup)
- func (o *GetGroupsResponse) SetSchemas(v []string)
- func (o *GetGroupsResponse) SetTotalResults(v int32)
- type GetPersonUsersByEmailResponse
- type GetPrivateEndpointTrustedOwnerResponse
- type GetResourceTypeOptions
- type GetResourceTypesOptions
- type GetResourceTypesResponse
- func (o *GetResourceTypesResponse) GetItemsPerPage() int32
- func (o *GetResourceTypesResponse) GetResources() []ScimResourceType
- func (o *GetResourceTypesResponse) GetSchemas() []string
- func (o *GetResourceTypesResponse) GetStartIndex() int32
- func (o *GetResourceTypesResponse) GetTotalResults() int32
- func (o *GetResourceTypesResponse) SetItemsPerPage(v int32)
- func (o *GetResourceTypesResponse) SetResources(v []ScimResourceType)
- func (o *GetResourceTypesResponse) SetSchemas(v []string)
- func (o *GetResourceTypesResponse) SetStartIndex(v int32)
- func (o *GetResourceTypesResponse) SetTotalResults(v int32)
- type GetSchemaOptions
- type GetSchemasOptions
- type GetSchemasResponse
- func (o *GetSchemasResponse) GetItemsPerPage() int32
- func (o *GetSchemasResponse) GetResources() []ScimSchema
- func (o *GetSchemasResponse) GetSchemas() []string
- func (o *GetSchemasResponse) GetStartIndex() int32
- func (o *GetSchemasResponse) GetTotalResults() int32
- func (o *GetSchemasResponse) SetItemsPerPage(v int32)
- func (o *GetSchemasResponse) SetResources(v []ScimSchema)
- func (o *GetSchemasResponse) SetSchemas(v []string)
- func (o *GetSchemasResponse) SetStartIndex(v int32)
- func (o *GetSchemasResponse) SetTotalResults(v int32)
- type GetServiceProviderConfigResponse
- func (o *GetServiceProviderConfigResponse) GetAuthenticationSchemes() []ScimAuthenticationScheme
- func (o *GetServiceProviderConfigResponse) GetBulk() ScimBulkSupport
- func (o *GetServiceProviderConfigResponse) GetChangePassword() ScimChangePasswordSupport
- func (o *GetServiceProviderConfigResponse) GetEtag() ScimEtagSupport
- func (o *GetServiceProviderConfigResponse) GetFilter() ScimFilterSupport
- func (o *GetServiceProviderConfigResponse) GetMeta() ScimMetadata
- func (o *GetServiceProviderConfigResponse) GetSchemas() []string
- func (o *GetServiceProviderConfigResponse) GetSort() ScimSortSupport
- func (o *GetServiceProviderConfigResponse) SetAuthenticationSchemes(v []ScimAuthenticationScheme)
- func (o *GetServiceProviderConfigResponse) SetBulk(v ScimBulkSupport)
- func (o *GetServiceProviderConfigResponse) SetChangePassword(v ScimChangePasswordSupport)
- func (o *GetServiceProviderConfigResponse) SetEtag(v ScimEtagSupport)
- func (o *GetServiceProviderConfigResponse) SetFilter(v ScimFilterSupport)
- func (o *GetServiceProviderConfigResponse) SetMeta(v ScimMetadata)
- func (o *GetServiceProviderConfigResponse) SetSchemas(v []string)
- func (o *GetServiceProviderConfigResponse) SetSort(v ScimSortSupport)
- type GetUserOptions
- type GetUserRequest
- type GetUsersOptions
- type GetUsersRequest
- func (o *GetUsersRequest) GetAttributes() string
- func (o *GetUsersRequest) GetExcludedAttributes() string
- func (o *GetUsersRequest) GetFilter() string
- func (o *GetUsersRequest) SetAttributes(v string)
- func (o *GetUsersRequest) SetExcludedAttributes(v string)
- func (o *GetUsersRequest) SetFilter(v string)
- type GetUsersResponse
- func (o *GetUsersResponse) GetResources() []ScimUser
- func (o *GetUsersResponse) GetSchemas() []string
- func (o *GetUsersResponse) GetTotalResults() int32
- func (o *GetUsersResponse) SetResources(v []ScimUser)
- func (o *GetUsersResponse) SetSchemas(v []string)
- func (o *GetUsersResponse) SetTotalResults(v int32)
- type Invoice
- func (o *Invoice) GetAdjustments() []InvoiceAdjustment
- func (o *Invoice) GetBalances() []CurrencyAmount
- func (o *Invoice) GetFolderResources() []FolderResource
- func (o *Invoice) GetInvoiceId() string
- func (o *Invoice) GetInvoiceItems() []InvoiceItem
- func (o *Invoice) GetPeriodEnd() time.Time
- func (o *Invoice) GetPeriodStart() time.Time
- func (o *Invoice) GetTotals() []CurrencyAmount
- func (o *Invoice) SetAdjustments(v []InvoiceAdjustment)
- func (o *Invoice) SetBalances(v []CurrencyAmount)
- func (o *Invoice) SetFolderResources(v []FolderResource)
- func (o *Invoice) SetInvoiceId(v string)
- func (o *Invoice) SetInvoiceItems(v []InvoiceItem)
- func (o *Invoice) SetPeriodEnd(v time.Time)
- func (o *Invoice) SetPeriodStart(v time.Time)
- func (o *Invoice) SetTotals(v []CurrencyAmount)
- type InvoiceAdjustment
- type InvoiceItem
- type JWTIssuer
- func (o *JWTIssuer) GetAudience() string
- func (o *JWTIssuer) GetClaim() string
- func (o *JWTIssuer) GetId() string
- func (o *JWTIssuer) GetIdentityMap() []JWTIssuerIdentityMapEntry
- func (o *JWTIssuer) GetIssuerUrl() string
- func (o *JWTIssuer) GetJwks() string
- func (o *JWTIssuer) SetAudience(v string)
- func (o *JWTIssuer) SetClaim(v string)
- func (o *JWTIssuer) SetId(v string)
- func (o *JWTIssuer) SetIdentityMap(v []JWTIssuerIdentityMapEntry)
- func (o *JWTIssuer) SetIssuerUrl(v string)
- func (o *JWTIssuer) SetJwks(v string)
- type JWTIssuerIdentityMapEntry
- func (o *JWTIssuerIdentityMapEntry) GetCcIdentity() string
- func (o *JWTIssuerIdentityMapEntry) GetIsRegex() bool
- func (o *JWTIssuerIdentityMapEntry) GetTokenIdentity() string
- func (o *JWTIssuerIdentityMapEntry) SetCcIdentity(v string)
- func (o *JWTIssuerIdentityMapEntry) SetIsRegex(v bool)
- func (o *JWTIssuerIdentityMapEntry) SetTokenIdentity(v string)
- type KeysetPaginationResponse
- type LineItem
- func (o *LineItem) GetDescription() string
- func (o *LineItem) GetQuantity() float64
- func (o *LineItem) GetQuantityUnit() QuantityUnitType
- func (o *LineItem) GetTotal() CurrencyAmount
- func (o *LineItem) GetUnitCost() float64
- func (o *LineItem) SetDescription(v string)
- func (o *LineItem) SetQuantity(v float64)
- func (o *LineItem) SetQuantityUnit(v QuantityUnitType)
- func (o *LineItem) SetTotal(v CurrencyAmount)
- func (o *LineItem) SetUnitCost(v float64)
- type ListAllowlistEntriesOptions
- type ListAllowlistEntriesResponse
- func (o *ListAllowlistEntriesResponse) GetAllowlist() []AllowlistEntry
- func (o *ListAllowlistEntriesResponse) GetPagination() KeysetPaginationResponse
- func (o *ListAllowlistEntriesResponse) GetPropagating() bool
- func (o *ListAllowlistEntriesResponse) SetAllowlist(v []AllowlistEntry)
- func (o *ListAllowlistEntriesResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListAllowlistEntriesResponse) SetPropagating(v bool)
- type ListApiKeysOptions
- type ListApiKeysResponse
- type ListApiOidcConfigOptions
- type ListApiOidcConfigResponse
- type ListAuditLogsOptions
- type ListAuditLogsResponse
- type ListAvailableRegionsOptions
- type ListAvailableRegionsResponse
- func (o *ListAvailableRegionsResponse) GetPagination() KeysetPaginationResponse
- func (o *ListAvailableRegionsResponse) GetRegions() []CloudProviderRegion
- func (o *ListAvailableRegionsResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListAvailableRegionsResponse) SetRegions(v []CloudProviderRegion)
- type ListClusterNodesOptions
- type ListClusterNodesResponse
- type ListClustersOptions
- type ListClustersResponse
- type ListDatabasesOptions
- type ListDatabasesResponse
- type ListEgressRulesOptions
- type ListEgressRulesResponse
- type ListFolderContentsOptions
- type ListFoldersOptions
- type ListFoldersResponse
- type ListInvoicesResponse
- type ListJWTIssuersOptions
- type ListJWTIssuersResponse
- type ListMajorClusterVersionsOptions
- type ListMajorClusterVersionsResponse
- func (o *ListMajorClusterVersionsResponse) GetPagination() KeysetPaginationResponse
- func (o *ListMajorClusterVersionsResponse) GetVersions() []ClusterMajorVersion
- func (o *ListMajorClusterVersionsResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListMajorClusterVersionsResponse) SetVersions(v []ClusterMajorVersion)
- type ListPrivateEndpointTrustedOwnersResponse
- type ListRoleGrantsOptions
- type ListRoleGrantsResponse
- func (o *ListRoleGrantsResponse) GetGrants() []UserRoleGrants
- func (o *ListRoleGrantsResponse) GetPagination() KeysetPaginationResponse
- func (o *ListRoleGrantsResponse) GetUserGroupGrants() []UserGroupRoleGrant
- func (o *ListRoleGrantsResponse) SetGrants(v []UserRoleGrants)
- func (o *ListRoleGrantsResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListRoleGrantsResponse) SetUserGroupGrants(v []UserGroupRoleGrant)
- type ListSQLUsersOptions
- type ListSQLUsersResponse
- type ListServiceAccountsOptions
- type ListServiceAccountsResponse
- func (o *ListServiceAccountsResponse) GetPagination() KeysetPaginationResponse
- func (o *ListServiceAccountsResponse) GetServiceAccounts() []ServiceAccount
- func (o *ListServiceAccountsResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListServiceAccountsResponse) SetServiceAccounts(v []ServiceAccount)
- type LogExportClusterInfo
- func (o *LogExportClusterInfo) GetClusterId() string
- func (o *LogExportClusterInfo) GetCreatedAt() time.Time
- func (o *LogExportClusterInfo) GetSpec() LogExportClusterSpecification
- func (o *LogExportClusterInfo) GetStatus() LogExportStatus
- func (o *LogExportClusterInfo) GetUpdatedAt() time.Time
- func (o *LogExportClusterInfo) GetUserMessage() string
- func (o *LogExportClusterInfo) SetClusterId(v string)
- func (o *LogExportClusterInfo) SetCreatedAt(v time.Time)
- func (o *LogExportClusterInfo) SetSpec(v LogExportClusterSpecification)
- func (o *LogExportClusterInfo) SetStatus(v LogExportStatus)
- func (o *LogExportClusterInfo) SetUpdatedAt(v time.Time)
- func (o *LogExportClusterInfo) SetUserMessage(v string)
- type LogExportClusterSpecification
- func (o *LogExportClusterSpecification) GetAuthPrincipal() string
- func (o *LogExportClusterSpecification) GetAzureSharedKey() string
- func (o *LogExportClusterSpecification) GetGroups() []LogExportGroup
- func (o *LogExportClusterSpecification) GetLogName() string
- func (o *LogExportClusterSpecification) GetOmittedChannels() []string
- func (o *LogExportClusterSpecification) GetRedact() bool
- func (o *LogExportClusterSpecification) GetRegion() string
- func (o *LogExportClusterSpecification) GetType() LogExportType
- func (o *LogExportClusterSpecification) SetAuthPrincipal(v string)
- func (o *LogExportClusterSpecification) SetAzureSharedKey(v string)
- func (o *LogExportClusterSpecification) SetGroups(v []LogExportGroup)
- func (o *LogExportClusterSpecification) SetLogName(v string)
- func (o *LogExportClusterSpecification) SetOmittedChannels(v []string)
- func (o *LogExportClusterSpecification) SetRedact(v bool)
- func (o *LogExportClusterSpecification) SetRegion(v string)
- func (o *LogExportClusterSpecification) SetType(v LogExportType)
- type LogExportGroup
- func (o *LogExportGroup) GetChannels() []string
- func (o *LogExportGroup) GetLogName() string
- func (o *LogExportGroup) GetMinLevel() LogLevelType
- func (o *LogExportGroup) GetRedact() bool
- func (o *LogExportGroup) SetChannels(v []string)
- func (o *LogExportGroup) SetLogName(v string)
- func (o *LogExportGroup) SetMinLevel(v LogLevelType)
- func (o *LogExportGroup) SetRedact(v bool)
- type LogExportStatus
- type LogExportType
- type LogLevelType
- type MaintenanceWindow
- type MetricExportStatusType
- type NetworkVisibilityType
- type Node
- type NodeStatusType
- type OperatingSystemType
- type Organization
- func (o *Organization) GetCreatedAt() time.Time
- func (o *Organization) GetId() string
- func (o *Organization) GetLabel() string
- func (o *Organization) GetName() string
- func (o *Organization) SetCreatedAt(v time.Time)
- func (o *Organization) SetId(v string)
- func (o *Organization) SetLabel(v string)
- func (o *Organization) SetName(v string)
- type OrganizationUserRoleType
- type PathSegment
- type PersonUserInfo
- type PlanType
- type PrivateEndpointConnection
- func (o *PrivateEndpointConnection) GetCloudProvider() CloudProviderType
- func (o *PrivateEndpointConnection) GetEndpointId() string
- func (o *PrivateEndpointConnection) GetEndpointServiceId() string
- func (o *PrivateEndpointConnection) GetExternalOwnerId() string
- func (o *PrivateEndpointConnection) GetRegionName() string
- func (o *PrivateEndpointConnection) GetServiceName() string
- func (o *PrivateEndpointConnection) GetStatus() PrivateEndpointConnectionStatus
- func (o *PrivateEndpointConnection) SetCloudProvider(v CloudProviderType)
- func (o *PrivateEndpointConnection) SetEndpointId(v string)
- func (o *PrivateEndpointConnection) SetEndpointServiceId(v string)
- func (o *PrivateEndpointConnection) SetExternalOwnerId(v string)
- func (o *PrivateEndpointConnection) SetRegionName(v string)
- func (o *PrivateEndpointConnection) SetServiceName(v string)
- func (o *PrivateEndpointConnection) SetStatus(v PrivateEndpointConnectionStatus)
- type PrivateEndpointConnectionStatus
- type PrivateEndpointConnections
- type PrivateEndpointService
- func (o *PrivateEndpointService) GetAvailabilityZoneIds() []string
- func (o *PrivateEndpointService) GetAws() AWSPrivateLinkServiceDetail
- func (o *PrivateEndpointService) GetCloudProvider() CloudProviderType
- func (o *PrivateEndpointService) GetEndpointServiceId() string
- func (o *PrivateEndpointService) GetName() string
- func (o *PrivateEndpointService) GetRegionName() string
- func (o *PrivateEndpointService) GetStatus() PrivateEndpointServiceStatusType
- func (o *PrivateEndpointService) SetAvailabilityZoneIds(v []string)
- func (o *PrivateEndpointService) SetAws(v AWSPrivateLinkServiceDetail)
- func (o *PrivateEndpointService) SetCloudProvider(v CloudProviderType)
- func (o *PrivateEndpointService) SetEndpointServiceId(v string)
- func (o *PrivateEndpointService) SetName(v string)
- func (o *PrivateEndpointService) SetRegionName(v string)
- func (o *PrivateEndpointService) SetStatus(v PrivateEndpointServiceStatusType)
- type PrivateEndpointServiceStatusType
- type PrivateEndpointServices
- type PrivateEndpointTrustedOwner
- func (o *PrivateEndpointTrustedOwner) GetClusterId() string
- func (o *PrivateEndpointTrustedOwner) GetCreatedAt() time.Time
- func (o *PrivateEndpointTrustedOwner) GetExternalOwnerId() string
- func (o *PrivateEndpointTrustedOwner) GetId() string
- func (o *PrivateEndpointTrustedOwner) GetType() PrivateEndpointTrustedOwnerTypeType
- func (o *PrivateEndpointTrustedOwner) SetClusterId(v string)
- func (o *PrivateEndpointTrustedOwner) SetCreatedAt(v time.Time)
- func (o *PrivateEndpointTrustedOwner) SetExternalOwnerId(v string)
- func (o *PrivateEndpointTrustedOwner) SetId(v string)
- func (o *PrivateEndpointTrustedOwner) SetType(v PrivateEndpointTrustedOwnerTypeType)
- type PrivateEndpointTrustedOwnerTypeType
- type PrometheusMetricExportInfo
- func (o *PrometheusMetricExportInfo) GetClusterId() string
- func (o *PrometheusMetricExportInfo) GetStatus() MetricExportStatusType
- func (o *PrometheusMetricExportInfo) GetTargets() map[string]string
- func (o *PrometheusMetricExportInfo) GetUserMessage() string
- func (o *PrometheusMetricExportInfo) SetClusterId(v string)
- func (o *PrometheusMetricExportInfo) SetStatus(v MetricExportStatusType)
- func (o *PrometheusMetricExportInfo) SetTargets(v map[string]string)
- func (o *PrometheusMetricExportInfo) SetUserMessage(v string)
- type QuantityUnitType
- type Region
- func (o *Region) GetInternalDns() string
- func (o *Region) GetName() string
- func (o *Region) GetNodeCount() int32
- func (o *Region) GetPrimary() bool
- func (o *Region) GetPrivateEndpointDns() string
- func (o *Region) GetSqlDns() string
- func (o *Region) GetUiDns() string
- func (o *Region) SetInternalDns(v string)
- func (o *Region) SetName(v string)
- func (o *Region) SetNodeCount(v int32)
- func (o *Region) SetPrimary(v bool)
- func (o *Region) SetPrivateEndpointDns(v string)
- func (o *Region) SetSqlDns(v string)
- func (o *Region) SetUiDns(v string)
- type ReleaseTypeType
- type RemovePrivateEndpointTrustedOwnerResponse
- type Resource
- type ResourceTypeType
- type SQLUser
- type ScimAuthenticationScheme
- func (o *ScimAuthenticationScheme) GetDescription() string
- func (o *ScimAuthenticationScheme) GetDocumentationUri() string
- func (o *ScimAuthenticationScheme) GetName() string
- func (o *ScimAuthenticationScheme) GetPrimary() bool
- func (o *ScimAuthenticationScheme) GetSpecUri() string
- func (o *ScimAuthenticationScheme) GetType() string
- func (o *ScimAuthenticationScheme) SetDescription(v string)
- func (o *ScimAuthenticationScheme) SetDocumentationUri(v string)
- func (o *ScimAuthenticationScheme) SetName(v string)
- func (o *ScimAuthenticationScheme) SetPrimary(v bool)
- func (o *ScimAuthenticationScheme) SetSpecUri(v string)
- func (o *ScimAuthenticationScheme) SetType(v string)
- type ScimBulkSupport
- func (o *ScimBulkSupport) GetMaxOperations() int32
- func (o *ScimBulkSupport) GetMaxPayloadSize() int32
- func (o *ScimBulkSupport) GetSupported() bool
- func (o *ScimBulkSupport) SetMaxOperations(v int32)
- func (o *ScimBulkSupport) SetMaxPayloadSize(v int32)
- func (o *ScimBulkSupport) SetSupported(v bool)
- type ScimChangePasswordSupport
- type ScimEmail
- func (o *ScimEmail) GetDisplay() string
- func (o *ScimEmail) GetPrimary() bool
- func (o *ScimEmail) GetType() string
- func (o *ScimEmail) GetValue() string
- func (o *ScimEmail) SetDisplay(v string)
- func (o *ScimEmail) SetPrimary(v bool)
- func (o *ScimEmail) SetType(v string)
- func (o *ScimEmail) SetValue(v string)
- type ScimEtagSupport
- type ScimFilterSupport
- type ScimGroup
- func (o *ScimGroup) GetDisplayName() string
- func (o *ScimGroup) GetExternalId() string
- func (o *ScimGroup) GetId() string
- func (o *ScimGroup) GetMembers() []ScimResource
- func (o *ScimGroup) GetMeta() ScimMetadata
- func (o *ScimGroup) GetSchemas() []string
- func (o *ScimGroup) SetDisplayName(v string)
- func (o *ScimGroup) SetExternalId(v string)
- func (o *ScimGroup) SetId(v string)
- func (o *ScimGroup) SetMembers(v []ScimResource)
- func (o *ScimGroup) SetMeta(v ScimMetadata)
- func (o *ScimGroup) SetSchemas(v []string)
- type ScimMetadata
- func (o *ScimMetadata) GetCreated() string
- func (o *ScimMetadata) GetLastModified() string
- func (o *ScimMetadata) GetLocation() string
- func (o *ScimMetadata) GetResourceType() string
- func (o *ScimMetadata) SetCreated(v string)
- func (o *ScimMetadata) SetLastModified(v string)
- func (o *ScimMetadata) SetLocation(v string)
- func (o *ScimMetadata) SetResourceType(v string)
- type ScimName
- type ScimResource
- func (o *ScimResource) GetDisplay() string
- func (o *ScimResource) GetRef() string
- func (o *ScimResource) GetType() string
- func (o *ScimResource) GetValue() string
- func (o *ScimResource) SetDisplay(v string)
- func (o *ScimResource) SetRef(v string)
- func (o *ScimResource) SetType(v string)
- func (o *ScimResource) SetValue(v string)
- type ScimResourceType
- func (o *ScimResourceType) GetDescription() string
- func (o *ScimResourceType) GetEndpoint() string
- func (o *ScimResourceType) GetId() string
- func (o *ScimResourceType) GetMeta() ScimMetadata
- func (o *ScimResourceType) GetName() string
- func (o *ScimResourceType) GetSchema() string
- func (o *ScimResourceType) GetSchemas() []string
- func (o *ScimResourceType) SetDescription(v string)
- func (o *ScimResourceType) SetEndpoint(v string)
- func (o *ScimResourceType) SetId(v string)
- func (o *ScimResourceType) SetMeta(v ScimMetadata)
- func (o *ScimResourceType) SetName(v string)
- func (o *ScimResourceType) SetSchema(v string)
- func (o *ScimResourceType) SetSchemas(v []string)
- type ScimSchema
- func (o *ScimSchema) GetAttributes() []ScimSchemaAttribute
- func (o *ScimSchema) GetDescription() string
- func (o *ScimSchema) GetId() string
- func (o *ScimSchema) GetMeta() ScimMetadata
- func (o *ScimSchema) GetName() string
- func (o *ScimSchema) SetAttributes(v []ScimSchemaAttribute)
- func (o *ScimSchema) SetDescription(v string)
- func (o *ScimSchema) SetId(v string)
- func (o *ScimSchema) SetMeta(v ScimMetadata)
- func (o *ScimSchema) SetName(v string)
- type ScimSchemaAttribute
- func (o *ScimSchemaAttribute) GetCanonicalValues() []string
- func (o *ScimSchemaAttribute) GetCaseExact() bool
- func (o *ScimSchemaAttribute) GetDescription() string
- func (o *ScimSchemaAttribute) GetMultiValued() bool
- func (o *ScimSchemaAttribute) GetMutability() string
- func (o *ScimSchemaAttribute) GetName() string
- func (o *ScimSchemaAttribute) GetReferenceTypes() []string
- func (o *ScimSchemaAttribute) GetRequired() bool
- func (o *ScimSchemaAttribute) GetReturned() string
- func (o *ScimSchemaAttribute) GetSubAttributes() []ScimSchemaAttribute
- func (o *ScimSchemaAttribute) GetType() string
- func (o *ScimSchemaAttribute) GetUniqueness() string
- func (o *ScimSchemaAttribute) SetCanonicalValues(v []string)
- func (o *ScimSchemaAttribute) SetCaseExact(v bool)
- func (o *ScimSchemaAttribute) SetDescription(v string)
- func (o *ScimSchemaAttribute) SetMultiValued(v bool)
- func (o *ScimSchemaAttribute) SetMutability(v string)
- func (o *ScimSchemaAttribute) SetName(v string)
- func (o *ScimSchemaAttribute) SetReferenceTypes(v []string)
- func (o *ScimSchemaAttribute) SetRequired(v bool)
- func (o *ScimSchemaAttribute) SetReturned(v string)
- func (o *ScimSchemaAttribute) SetSubAttributes(v []ScimSchemaAttribute)
- func (o *ScimSchemaAttribute) SetType(v string)
- func (o *ScimSchemaAttribute) SetUniqueness(v string)
- type ScimSortSupport
- type ScimUser
- func (o *ScimUser) GetActive() bool
- func (o *ScimUser) GetDisplayName() string
- func (o *ScimUser) GetEmails() []ScimEmail
- func (o *ScimUser) GetExternalId() string
- func (o *ScimUser) GetGroups() []ScimResource
- func (o *ScimUser) GetId() string
- func (o *ScimUser) GetMeta() ScimMetadata
- func (o *ScimUser) GetName() ScimName
- func (o *ScimUser) GetSchemas() []string
- func (o *ScimUser) GetUserName() string
- func (o *ScimUser) SetActive(v bool)
- func (o *ScimUser) SetDisplayName(v string)
- func (o *ScimUser) SetEmails(v []ScimEmail)
- func (o *ScimUser) SetExternalId(v string)
- func (o *ScimUser) SetGroups(v []ScimResource)
- func (o *ScimUser) SetId(v string)
- func (o *ScimUser) SetMeta(v ScimMetadata)
- func (o *ScimUser) SetName(v ScimName)
- func (o *ScimUser) SetSchemas(v []string)
- func (o *ScimUser) SetUserName(v string)
- type ServerlessClusterConfig
- func (o *ServerlessClusterConfig) GetRoutingId() string
- func (o *ServerlessClusterConfig) GetUpgradeType() UpgradeTypeType
- func (o *ServerlessClusterConfig) GetUsageLimits() UsageLimits
- func (o *ServerlessClusterConfig) SetRoutingId(v string)
- func (o *ServerlessClusterConfig) SetUpgradeType(v UpgradeTypeType)
- func (o *ServerlessClusterConfig) SetUsageLimits(v UsageLimits)
- type ServerlessClusterCreateSpecification
- func (o *ServerlessClusterCreateSpecification) GetPrimaryRegion() string
- func (o *ServerlessClusterCreateSpecification) GetRegions() []string
- func (o *ServerlessClusterCreateSpecification) GetUpgradeType() UpgradeTypeType
- func (o *ServerlessClusterCreateSpecification) GetUsageLimits() UsageLimits
- func (o *ServerlessClusterCreateSpecification) GetWithEmptyIpAllowlist() bool
- func (o *ServerlessClusterCreateSpecification) SetPrimaryRegion(v string)
- func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)
- func (o *ServerlessClusterCreateSpecification) SetUpgradeType(v UpgradeTypeType)
- func (o *ServerlessClusterCreateSpecification) SetUsageLimits(v UsageLimits)
- func (o *ServerlessClusterCreateSpecification) SetWithEmptyIpAllowlist(v bool)
- type ServerlessClusterUpdateSpecification
- func (o *ServerlessClusterUpdateSpecification) GetPrimaryRegion() string
- func (o *ServerlessClusterUpdateSpecification) GetRegions() []string
- func (o *ServerlessClusterUpdateSpecification) GetUpgradeType() UpgradeTypeType
- func (o *ServerlessClusterUpdateSpecification) GetUsageLimits() UsageLimits
- func (o *ServerlessClusterUpdateSpecification) SetPrimaryRegion(v string)
- func (o *ServerlessClusterUpdateSpecification) SetRegions(v []string)
- func (o *ServerlessClusterUpdateSpecification) SetUpgradeType(v UpgradeTypeType)
- func (o *ServerlessClusterUpdateSpecification) SetUsageLimits(v UsageLimits)
- type Service
- type ServiceAccount
- func (o *ServiceAccount) GetCreatedAt() time.Time
- func (o *ServiceAccount) GetCreatorName() string
- func (o *ServiceAccount) GetDescription() string
- func (o *ServiceAccount) GetGroupRoles() []BuiltInFromGroups
- func (o *ServiceAccount) GetId() string
- func (o *ServiceAccount) GetName() string
- func (o *ServiceAccount) GetRoles() []BuiltInRole
- func (o *ServiceAccount) SetCreatedAt(v time.Time)
- func (o *ServiceAccount) SetCreatorName(v string)
- func (o *ServiceAccount) SetDescription(v string)
- func (o *ServiceAccount) SetGroupRoles(v []BuiltInFromGroups)
- func (o *ServiceAccount) SetId(v string)
- func (o *ServiceAccount) SetName(v string)
- func (o *ServiceAccount) SetRoles(v []BuiltInRole)
- type ServiceImpl
- func (a *ServiceImpl) AddAllowlistEntry(ctx _context.Context, clusterId string, allowlistEntry *AllowlistEntry) (*AllowlistEntry, *_nethttp.Response, error)
- func (a *ServiceImpl) AddAllowlistEntry2(ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, ...) (*AllowlistEntry, *_nethttp.Response, error)
- func (a *ServiceImpl) AddEgressRule(ctx _context.Context, clusterId string, ...) (*AddEgressRuleResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) AddJWTIssuer(ctx _context.Context, addJWTIssuerRequest *AddJWTIssuerRequest) (*JWTIssuer, *_nethttp.Response, error)
- func (a *ServiceImpl) AddPrivateEndpointConnection(ctx _context.Context, clusterId string, ...) (*PrivateEndpointConnection, *_nethttp.Response, error)
- func (a *ServiceImpl) AddPrivateEndpointTrustedOwner(ctx _context.Context, clusterId string, ...) (*AddPrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) AddUserToRole(ctx _context.Context, userId string, resourceType string, resourceId string, ...) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateApiKey(ctx _context.Context, createApiKeyRequest *CreateApiKeyRequest) (*CreateApiKeyResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateApiOidcConfig(ctx _context.Context, createApiOidcConfigRequest *CreateApiOidcConfigRequest) (*ApiOidcConfig, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateCluster(ctx _context.Context, createClusterRequest *CreateClusterRequest) (*Cluster, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateDatabase(ctx _context.Context, clusterId string, ...) (*Database, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateFolder(ctx _context.Context, createFolderRequest *CreateFolderRequest) (*FolderResource, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateGroup(ctx _context.Context, createGroupRequest *CreateGroupRequest) (*ScimGroup, *_nethttp.Response, error)
- func (a *ServiceImpl) CreatePrivateEndpointServices(ctx _context.Context, clusterId string) (*PrivateEndpointServices, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateSQLUser(ctx _context.Context, clusterId string, ...) (*SQLUser, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateServiceAccount(ctx _context.Context, createServiceAccountRequest *CreateServiceAccountRequest) (*ServiceAccount, *_nethttp.Response, error)
- func (a *ServiceImpl) CreateUser(ctx _context.Context, createUserRequest *CreateUserRequest) (*ScimUser, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteAllowlistEntry(ctx _context.Context, clusterId string, cidrIp string, cidrMask int32) (*AllowlistEntry, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteApiKey(ctx _context.Context, id string) (*ApiKey, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteApiOidcConfig(ctx _context.Context, id string) (*ApiOidcConfig, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteClientCACert(ctx _context.Context, clusterId string) (*ClientCACertInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteCloudWatchMetricExport(ctx _context.Context, clusterId string) (*DeleteMetricExportResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteCluster(ctx _context.Context, clusterId string) (*Cluster, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteDatabase(ctx _context.Context, clusterId string, name string) (*Database, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteDatadogMetricExport(ctx _context.Context, clusterId string) (*DeleteMetricExportResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteEgressRule(ctx _context.Context, clusterId string, ruleId string, ...) (*DeleteEgressRuleResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteFolder(ctx _context.Context, folderId string) (*_nethttp.Response, error)
- func (a *ServiceImpl) DeleteGroup(ctx _context.Context, id string) (*_nethttp.Response, error)
- func (a *ServiceImpl) DeleteJWTIssuer(ctx _context.Context, id string) (*JWTIssuer, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteLogExport(ctx _context.Context, clusterId string) (*LogExportClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteMaintenanceWindow(ctx _context.Context, clusterId string) (*MaintenanceWindow, *_nethttp.Response, error)
- func (a *ServiceImpl) DeletePrivateEndpointConnection(ctx _context.Context, clusterId string, endpointId string) (*_nethttp.Response, error)
- func (a *ServiceImpl) DeletePrometheusMetricExport(ctx _context.Context, clusterId string) (*DeleteMetricExportResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteSQLUser(ctx _context.Context, clusterId string, name string) (*SQLUser, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteServiceAccount(ctx _context.Context, id string) (*ServiceAccount, *_nethttp.Response, error)
- func (a *ServiceImpl) DeleteUser(ctx _context.Context, id string) (*_nethttp.Response, error)
- func (a *ServiceImpl) EditDatabase(ctx _context.Context, clusterId string, name string, ...) (*Database, *_nethttp.Response, error)
- func (a *ServiceImpl) EditDatabase2(ctx _context.Context, clusterId string, ...) (*Database, *_nethttp.Response, error)
- func (a *ServiceImpl) EditEgressRule(ctx _context.Context, clusterId string, ruleId string, ...) (*EditEgressRuleResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) EnableCMEKSpec(ctx _context.Context, clusterId string, ...) (*CMEKClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) EnableCloudWatchMetricExport(ctx _context.Context, clusterId string, ...) (*CloudWatchMetricExportInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) EnableDatadogMetricExport(ctx _context.Context, clusterId string, ...) (*DatadogMetricExportInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) EnableLogExport(ctx _context.Context, clusterId string, ...) (*LogExportClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) EnablePrometheusMetricExport(ctx _context.Context, clusterId string) (*PrometheusMetricExportInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetAllRolesForUser(ctx _context.Context, userId string) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetApiKey(ctx _context.Context, id string) (*ApiKey, *_nethttp.Response, error)
- func (a *ServiceImpl) GetApiOidcConfig(ctx _context.Context, id string) (*ApiOidcConfig, *_nethttp.Response, error)
- func (a *ServiceImpl) GetCMEKClusterInfo(ctx _context.Context, clusterId string) (*CMEKClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetClientCACert(ctx _context.Context, clusterId string) (*ClientCACertInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetCloudWatchMetricExportInfo(ctx _context.Context, clusterId string) (*CloudWatchMetricExportInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetCluster(ctx _context.Context, clusterId string) (*Cluster, *_nethttp.Response, error)
- func (a *ServiceImpl) GetClusterVersionDeferral(ctx _context.Context, clusterId string) (*ClusterVersionDeferral, *_nethttp.Response, error)
- func (a *ServiceImpl) GetConnectionString(ctx _context.Context, clusterId string, options *GetConnectionStringOptions) (*GetConnectionStringResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetDatadogMetricExportInfo(ctx _context.Context, clusterId string) (*DatadogMetricExportInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetEgressRule(ctx _context.Context, clusterId string, ruleId string) (*GetEgressRuleResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetFolder(ctx _context.Context, folderId string) (*FolderResource, *_nethttp.Response, error)
- func (a *ServiceImpl) GetGroup(ctx _context.Context, id string, options *GetGroupOptions) (*ScimGroup, *_nethttp.Response, error)
- func (a *ServiceImpl) GetGroup2(ctx _context.Context, id string, getGroupRequest *GetGroupRequest) (*ScimGroup, *_nethttp.Response, error)
- func (a *ServiceImpl) GetGroups(ctx _context.Context, options *GetGroupsOptions) (*GetGroupsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetGroups2(ctx _context.Context, getGroupsRequest *GetGroupsRequest) (*GetGroupsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetInvoice(ctx _context.Context, invoiceId string) (*Invoice, *_nethttp.Response, error)
- func (a *ServiceImpl) GetJWTIssuer(ctx _context.Context, id string) (*JWTIssuer, *_nethttp.Response, error)
- func (a *ServiceImpl) GetLogExportInfo(ctx _context.Context, clusterId string) (*LogExportClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetMaintenanceWindow(ctx _context.Context, clusterId string) (*MaintenanceWindow, *_nethttp.Response, error)
- func (a *ServiceImpl) GetOrganizationInfo(ctx _context.Context) (*Organization, *_nethttp.Response, error)
- func (a *ServiceImpl) GetPersonUsersByEmail(ctx _context.Context, email *string) (*GetPersonUsersByEmailResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetPrivateEndpointTrustedOwner(ctx _context.Context, clusterId string, ownerId string) (*GetPrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetPrometheusMetricExportInfo(ctx _context.Context, clusterId string) (*PrometheusMetricExportInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) GetResourceType(ctx _context.Context, resourceId string, options *GetResourceTypeOptions) (*ScimResourceType, *_nethttp.Response, error)
- func (a *ServiceImpl) GetResourceTypes(ctx _context.Context, options *GetResourceTypesOptions) (*GetResourceTypesResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetSchema(ctx _context.Context, schemaId string, options *GetSchemaOptions) (*ScimSchema, *_nethttp.Response, error)
- func (a *ServiceImpl) GetSchemas(ctx _context.Context, options *GetSchemasOptions) (*GetSchemasResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetServiceAccount(ctx _context.Context, id string) (*ServiceAccount, *_nethttp.Response, error)
- func (a *ServiceImpl) GetServiceProviderConfig(ctx _context.Context) (*GetServiceProviderConfigResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetUser(ctx _context.Context, id string, options *GetUserOptions) (*ScimUser, *_nethttp.Response, error)
- func (a *ServiceImpl) GetUser2(ctx _context.Context, id string, getUserRequest *GetUserRequest) (*ScimUser, *_nethttp.Response, error)
- func (a *ServiceImpl) GetUsers(ctx _context.Context, options *GetUsersOptions) (*GetUsersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) GetUsers2(ctx _context.Context, getUsersRequest *GetUsersRequest) (*GetUsersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListAllowlistEntries(ctx _context.Context, clusterId string, options *ListAllowlistEntriesOptions) (*ListAllowlistEntriesResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListApiKeys(ctx _context.Context, options *ListApiKeysOptions) (*ListApiKeysResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListApiOidcConfig(ctx _context.Context, options *ListApiOidcConfigOptions) (*ListApiOidcConfigResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListAuditLogs(ctx _context.Context, options *ListAuditLogsOptions) (*ListAuditLogsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListAvailableRegions(ctx _context.Context, options *ListAvailableRegionsOptions) (*ListAvailableRegionsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListAwsEndpointConnections(ctx _context.Context, clusterId string) (*AwsEndpointConnections, *_nethttp.Response, error)
- func (a *ServiceImpl) ListClusterNodes(ctx _context.Context, clusterId string, options *ListClusterNodesOptions) (*ListClusterNodesResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListClusters(ctx _context.Context, options *ListClustersOptions) (*ListClustersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListDatabases(ctx _context.Context, clusterId string, options *ListDatabasesOptions) (*ListDatabasesResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListEgressRules(ctx _context.Context, clusterId string, options *ListEgressRulesOptions) (*ListEgressRulesResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListFolderContents(ctx _context.Context, folderId string, options *ListFolderContentsOptions) (*FolderResourceList, *_nethttp.Response, error)
- func (a *ServiceImpl) ListFolders(ctx _context.Context, options *ListFoldersOptions) (*ListFoldersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListInvoices(ctx _context.Context) (*ListInvoicesResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListJWTIssuers(ctx _context.Context, options *ListJWTIssuersOptions) (*ListJWTIssuersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListMajorClusterVersions(ctx _context.Context, options *ListMajorClusterVersionsOptions) (*ListMajorClusterVersionsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListPrivateEndpointConnections(ctx _context.Context, clusterId string) (*PrivateEndpointConnections, *_nethttp.Response, error)
- func (a *ServiceImpl) ListPrivateEndpointServices(ctx _context.Context, clusterId string) (*PrivateEndpointServices, *_nethttp.Response, error)
- func (a *ServiceImpl) ListPrivateEndpointTrustedOwners(ctx _context.Context, clusterId string) (*ListPrivateEndpointTrustedOwnersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListRoleGrants(ctx _context.Context, options *ListRoleGrantsOptions) (*ListRoleGrantsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListSQLUsers(ctx _context.Context, clusterId string, options *ListSQLUsersOptions) (*ListSQLUsersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) ListServiceAccounts(ctx _context.Context, options *ListServiceAccountsOptions) (*ListServiceAccountsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) RemovePrivateEndpointTrustedOwner(ctx _context.Context, clusterId string, ownerId string) (*RemovePrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) RemoveUserFromRole(ctx _context.Context, userId string, resourceType string, resourceId string, ...) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) SearchGroup(ctx _context.Context, id string, getGroupRequest *GetGroupRequest) (*ScimGroup, *_nethttp.Response, error)
- func (a *ServiceImpl) SearchGroups(ctx _context.Context, getGroupsRequest *GetGroupsRequest) (*GetGroupsResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) SearchUser(ctx _context.Context, id string, getUserRequest *GetUserRequest) (*ScimUser, *_nethttp.Response, error)
- func (a *ServiceImpl) SearchUsers(ctx _context.Context, getUsersRequest *GetUsersRequest) (*GetUsersResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) SetAwsEndpointConnectionState(ctx _context.Context, clusterId string, endpointId string, ...) (*AwsEndpointConnection, *_nethttp.Response, error)
- func (a *ServiceImpl) SetClientCACert(ctx _context.Context, clusterId string, ...) (*ClientCACertInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) SetClusterVersionDeferral(ctx _context.Context, clusterId string, ...) (*ClusterVersionDeferral, *_nethttp.Response, error)
- func (a *ServiceImpl) SetEgressTrafficPolicy(ctx _context.Context, clusterId string, ...) (*_nethttp.Response, error)
- func (a *ServiceImpl) SetMaintenanceWindow(ctx _context.Context, clusterId string, maintenanceWindow *MaintenanceWindow) (*MaintenanceWindow, *_nethttp.Response, error)
- func (a *ServiceImpl) SetRolesForUser(ctx _context.Context, userId string, ...) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateAllowlistEntry(ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, ...) (*AllowlistEntry, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateApiKey(ctx _context.Context, id string, ...) (*ApiKey, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateApiOidcConfig(ctx _context.Context, id string, apiOidcConfig1 *ApiOidcConfig1) (*ApiOidcConfig, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateCMEKSpec(ctx _context.Context, clusterId string, ...) (*CMEKClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateCMEKStatus(ctx _context.Context, clusterId string, ...) (*CMEKClusterInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateClientCACert(ctx _context.Context, clusterId string, ...) (*ClientCACertInfo, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateCluster(ctx _context.Context, clusterId string, ...) (*Cluster, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateFolder(ctx _context.Context, folderId string, ...) (*FolderResource, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateGroup(ctx _context.Context, id string, updateGroupRequest *UpdateGroupRequest) (*ScimGroup, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateJWTIssuer(ctx _context.Context, id string, ...) (*JWTIssuer, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateSQLUserPassword(ctx _context.Context, clusterId string, name string, ...) (*SQLUser, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateServiceAccount(ctx _context.Context, id string, ...) (*ServiceAccount, *_nethttp.Response, error)
- func (a *ServiceImpl) UpdateUser(ctx _context.Context, id string, updateUserRequest *UpdateUserRequest) (*ScimUser, *_nethttp.Response, error)
- type SetAWSEndpointConnectionStatusType
- type SetAwsEndpointConnectionStateRequest
- type SetClientCACertRequest
- type SetEgressTrafficPolicyRequest
- type Status
- type UpdateApiKeySpecification
- type UpdateCMEKStatusRequest
- type UpdateClientCACertRequest
- type UpdateClusterSpecification
- func (o *UpdateClusterSpecification) GetDedicated() DedicatedClusterUpdateSpecification
- func (o *UpdateClusterSpecification) GetDeleteProtection() DeleteProtectionStateType
- func (o *UpdateClusterSpecification) GetParentId() string
- func (o *UpdateClusterSpecification) GetPlan() PlanType
- func (o *UpdateClusterSpecification) GetServerless() ServerlessClusterUpdateSpecification
- func (o *UpdateClusterSpecification) GetUpgradeStatus() ClusterUpgradeStatusType
- func (o *UpdateClusterSpecification) SetDedicated(v DedicatedClusterUpdateSpecification)
- func (o *UpdateClusterSpecification) SetDeleteProtection(v DeleteProtectionStateType)
- func (o *UpdateClusterSpecification) SetParentId(v string)
- func (o *UpdateClusterSpecification) SetPlan(v PlanType)
- func (o *UpdateClusterSpecification) SetServerless(v ServerlessClusterUpdateSpecification)
- func (o *UpdateClusterSpecification) SetUpgradeStatus(v ClusterUpgradeStatusType)
- type UpdateDatabaseRequest
- type UpdateDatabaseRequest1
- type UpdateFolderSpecification
- type UpdateGroupRequest
- func (o *UpdateGroupRequest) GetDisplayName() string
- func (o *UpdateGroupRequest) GetExternalId() string
- func (o *UpdateGroupRequest) GetMembers() []ScimResource
- func (o *UpdateGroupRequest) GetSchemas() []string
- func (o *UpdateGroupRequest) SetDisplayName(v string)
- func (o *UpdateGroupRequest) SetExternalId(v string)
- func (o *UpdateGroupRequest) SetMembers(v []ScimResource)
- func (o *UpdateGroupRequest) SetSchemas(v []string)
- type UpdateJWTIssuerRequest
- func (o *UpdateJWTIssuerRequest) GetAudience() string
- func (o *UpdateJWTIssuerRequest) GetClaim() string
- func (o *UpdateJWTIssuerRequest) GetIdentityMap() []JWTIssuerIdentityMapEntry
- func (o *UpdateJWTIssuerRequest) GetIssuerUrl() string
- func (o *UpdateJWTIssuerRequest) GetJwks() string
- func (o *UpdateJWTIssuerRequest) SetAudience(v string)
- func (o *UpdateJWTIssuerRequest) SetClaim(v string)
- func (o *UpdateJWTIssuerRequest) SetIdentityMap(v []JWTIssuerIdentityMapEntry)
- func (o *UpdateJWTIssuerRequest) SetIssuerUrl(v string)
- func (o *UpdateJWTIssuerRequest) SetJwks(v string)
- type UpdateSQLUserPasswordRequest
- type UpdateServiceAccountSpecification
- type UpdateUserRequest
- func (o *UpdateUserRequest) GetActive() bool
- func (o *UpdateUserRequest) GetDisplayName() string
- func (o *UpdateUserRequest) GetEmails() []ScimEmail
- func (o *UpdateUserRequest) GetExternalId() string
- func (o *UpdateUserRequest) GetName() ScimName
- func (o *UpdateUserRequest) GetSchemas() []string
- func (o *UpdateUserRequest) GetUserName() string
- func (o *UpdateUserRequest) SetActive(v bool)
- func (o *UpdateUserRequest) SetDisplayName(v string)
- func (o *UpdateUserRequest) SetEmails(v []ScimEmail)
- func (o *UpdateUserRequest) SetExternalId(v string)
- func (o *UpdateUserRequest) SetName(v ScimName)
- func (o *UpdateUserRequest) SetSchemas(v []string)
- func (o *UpdateUserRequest) SetUserName(v string)
- type UpgradeTypeType
- type UsageLimits
- func (o *UsageLimits) GetProvisionedVirtualCpus() int64
- func (o *UsageLimits) GetRequestUnitLimit() int64
- func (o *UsageLimits) GetStorageMibLimit() int64
- func (o *UsageLimits) SetProvisionedVirtualCpus(v int64)
- func (o *UsageLimits) SetRequestUnitLimit(v int64)
- func (o *UsageLimits) SetStorageMibLimit(v int64)
- type UserGroupRoleGrant
- type UserRoleGrants
Constants ¶
const ApiVersion = "2024-09-16"
const DefaultServerURL string = "https://cockroachlabs.cloud"
Variables ¶
var AllowedAWSEndpointConnectionStatusTypeEnumValues = []AWSEndpointConnectionStatusType{
"PENDING",
"PENDING_ACCEPTANCE",
"AVAILABLE",
"DELETING",
"DELETED",
"REJECTED",
"FAILED",
"EXPIRED",
}
All allowed values of AWSEndpointConnectionStatusType enum.
var AllowedAuditLogActionEnumValues = []AuditLogAction{
"AUDIT_LOG_ACTION_CREATE_CLUSTER",
"AUDIT_LOG_ACTION_DELETE_CLUSTER",
"AUDIT_LOG_ACTION_INVITE_USER_TO_ORGANIZATION",
"AUDIT_LOG_ACTION_EDIT_USER_INVITE",
"AUDIT_LOG_ACTION_REVOKE_USER_INVITE",
"AUDIT_LOG_ACTION_ACCEPT_USER_INVITE",
"AUDIT_LOG_ACTION_ASSIGN_USER_ROLE",
"AUDIT_LOG_ACTION_DELETE_USER_FROM_ORGANIZATION",
"AUDIT_LOG_ACTION_CREATE_SERVICE_ACCOUNT",
"AUDIT_LOG_ACTION_UPDATE_SERVICE_ACCOUNT",
"AUDIT_LOG_ACTION_DELETE_SERVICE_ACCOUNT",
"AUDIT_LOG_ACTION_CREATE_API_KEY",
"AUDIT_LOG_ACTION_UPDATE_API_KEY",
"AUDIT_LOG_ACTION_DELETE_API_KEY",
"AUDIT_LOG_ACTION_UPDATE_CLUSTER",
"AUDIT_LOG_ACTION_CREATE_SQL_USER",
"AUDIT_LOG_ACTION_CHANGE_SQL_USER_PASSWORD",
"AUDIT_LOG_ACTION_DELETE_SQL_USER",
"AUDIT_LOG_ACTION_ADD_IP_ALLOWLIST",
"AUDIT_LOG_ACTION_EDIT_IP_ALLOWLIST",
"AUDIT_LOG_ACTION_DELETE_IP_ALLOWLIST",
"AUDIT_LOG_ACTION_CREATE_VPC_PEERING",
"AUDIT_LOG_ACTION_DELETE_VPC_PEERING",
"AUDIT_LOG_ACTION_CREATE_PRIVATE_LINK",
"AUDIT_LOG_ACTION_ACCEPT_PRIVATE_LINK",
"AUDIT_LOG_ACTION_REJECT_PRIVATE_LINK",
"AUDIT_LOG_ACTION_USER_LOGIN",
"AUDIT_LOG_ACTION_ADD_USER_TO_ROLE",
"AUDIT_LOG_ACTION_REMOVE_USER_FROM_ROLE",
"AUDIT_LOG_ACTION_CREATE_USER",
"AUDIT_LOG_ACTION_DELETE_USER",
"AUDIT_LOG_ACTION_UPDATE_USER",
"AUDIT_LOG_ACTION_CREATE_GROUP",
"AUDIT_LOG_ACTION_DELETE_GROUP",
"AUDIT_LOG_ACTION_UPDATE_GROUP",
"AUDIT_LOG_ACTION_SET_CLIENT_CA_CERT",
"AUDIT_LOG_ACTION_UPDATE_CLIENT_CA_CERT",
"AUDIT_LOG_ACTION_DELETE_CLIENT_CA_CERT",
"AUDIT_LOG_ACTION_CREATE_API_OIDC_CONFIG",
"AUDIT_LOG_ACTION_DELETE_API_OIDC_CONFIG",
"AUDIT_LOG_ACTION_UPDATE_API_OIDC_CONFIG",
"AUDIT_LOG_ACTION_CREATE_FOLDER",
"AUDIT_LOG_ACTION_DELETE_FOLDER",
"AUDIT_LOG_ACTION_UPDATE_FOLDER",
"AUDIT_LOG_ACTION_ADD_PRIVATE_ENDPOINT_TRUSTED_OWNER",
"AUDIT_LOG_ACTION_REMOVE_PRIVATE_ENDPOINT_TRUSTED_OWNER",
"AUDIT_LOG_ACTION_ADD_ALERT_RECIPIENT",
"AUDIT_LOG_ACTION_REMOVE_ALERT_RECIPIENT",
"AUDIT_LOG_ACTION_TOGGLE_ALERTS",
"AUDIT_LOG_ACTION_TEST_ALERT_EMAIL",
"AUDIT_LOG_ACTION_UPDATE_CMEK",
"AUDIT_LOG_ACTION_REVOKE_CMEK",
"AUDIT_LOG_ACTION_UPDATE_CLUSTER_LOG_EXPORT",
"AUDIT_LOG_ACTION_DELETE_CLUSTER_LOG_EXPORT",
"AUDIT_LOG_ACTION_UPDATE_CLUSTER_METRIC_EXPORT",
"AUDIT_LOG_ACTION_DELETE_CLUSTER_METRIC_EXPORT",
"AUDIT_LOG_ACTION_RESTORE_CLUSTER",
"AUDIT_LOG_ACTION_UPDATE_CLUSTER_MAJOR_VERSION",
"AUDIT_LOG_ACTION_ROLLBACK_CLUSTER_MAJOR_VERSION_UPDATE",
"AUDIT_LOG_ACTION_FINALIZE_CLUSTER_MAJOR_VERSION_UPDATE",
"AUDIT_LOG_ACTION_UPDATE_CLUSTER_VERSION_UPGRADE_DEFERRAL",
"AUDIT_LOG_ACTION_SET_CLUSTER_MAINTENANCE_WINDOW",
"AUDIT_LOG_ACTION_DELETE_CLUSTER_MAINTENANCE_WINDOW",
"AUDIT_LOG_ACTION_SET_EGRESS_TRAFFIC_POLICY",
"AUDIT_LOG_ACTION_ADD_EGRESS_RULE",
"AUDIT_LOG_ACTION_EDIT_EGRESS_RULE",
"AUDIT_LOG_ACTION_DELETE_EGRESS_RULE",
"AUDIT_LOG_ACTION_ENABLE_CLOUD_ORG_SSO",
"AUDIT_LOG_ACTION_ADD_AUTHENTICATION_METHOD",
"AUDIT_LOG_ACTION_UPDATE_AUTHENTICATION_METHOD",
"AUDIT_LOG_ACTION_DELETE_AUTHENTICATION_METHOD",
"AUDIT_LOG_ACTION_SET_DELETE_PROTECTION",
"AUDIT_LOG_ACTION_MARKETPLACE_CREATE_SUBSCRIPTION",
"AUDIT_LOG_ACTION_MARKETPLACE_CANCEL_SUBSCRIPTION",
"AUDIT_LOG_ACTION_ADD_JWT_ISSUER",
"AUDIT_LOG_ACTION_DELETE_JWT_ISSUER",
"AUDIT_LOG_ACTION_UPDATE_JWT_ISSUER",
}
All allowed values of AuditLogAction enum.
var AllowedAuditLogSourceEnumValues = []AuditLogSource{
"AUDIT_LOG_SOURCE_CC_API",
"AUDIT_LOG_SOURCE_CLI",
"AUDIT_LOG_SOURCE_UI",
"AUDIT_LOG_SOURCE_INTERNAL",
}
All allowed values of AuditLogSource enum.
var AllowedCMEKCustomerActionEnumValues = []CMEKCustomerAction{
"REVOKE",
}
All allowed values of CMEKCustomerAction enum.
var AllowedCMEKKeyTypeEnumValues = []CMEKKeyType{
"AWS_KMS",
"GCP_CLOUD_KMS",
"NULL_KMS",
}
All allowed values of CMEKKeyType enum.
var AllowedCMEKStatusEnumValues = []CMEKStatus{
"DISABLED",
"DISABLING",
"DISABLE_FAILED",
"ENABLED",
"ENABLING",
"ENABLE_FAILED",
"ROTATING",
"ROTATE_FAILED",
"REVOKED",
"REVOKING",
"REVOKE_FAILED",
}
All allowed values of CMEKStatus enum.
var AllowedClientCACertStatusEnumValues = []ClientCACertStatus{
"NOT_SET",
"IS_SET",
"PENDING",
"FAILED",
}
All allowed values of ClientCACertStatus enum.
var AllowedCloudProviderTypeEnumValues = []CloudProviderType{
"GCP",
"AWS",
"AZURE",
}
All allowed values of CloudProviderType enum.
var AllowedClusterMajorVersionSupportStatusTypeEnumValues = []ClusterMajorVersionSupportStatusType{
"UNSUPPORTED",
"SUPPORTED",
"PREVIEW",
}
All allowed values of ClusterMajorVersionSupportStatusType enum.
var AllowedClusterStateTypeEnumValues = []ClusterStateType{
"CREATING",
"CREATED",
"CREATION_FAILED",
"DELETED",
"LOCKED",
}
All allowed values of ClusterStateType enum.
var AllowedClusterStatusTypeEnumValues = []ClusterStatusType{
"UNSPECIFIED",
"CRDB_MAJOR_UPGRADE_RUNNING",
"CRDB_MAJOR_UPGRADE_FAILED",
"CRDB_MAJOR_ROLLBACK_RUNNING",
"CRDB_MAJOR_ROLLBACK_FAILED",
"CRDB_PATCH_RUNNING",
"CRDB_PATCH_FAILED",
"CRDB_SCALE_RUNNING",
"CRDB_SCALE_FAILED",
"MAINTENANCE_RUNNING",
"CRDB_INSTANCE_UPDATE_RUNNING",
"CRDB_INSTANCE_UPDATE_FAILED",
"CRDB_EDIT_CLUSTER_RUNNING",
"CRDB_EDIT_CLUSTER_FAILED",
"CRDB_CMEK_OPERATION_RUNNING",
"CRDB_CMEK_OPERATION_FAILED",
"TENANT_RESTORE_RUNNING",
"TENANT_RESTORE_FAILED",
"CRDB_LOG_EXPORT_OPERATION_RUNNING",
"CRDB_LOG_EXPORT_OPERATION_FAILED",
"CRDB_CLUSTER_DISRUPTION_RUNNING",
"CRDB_CLUSTER_DISRUPTION_FAILED",
"CRDB_REPAVE_RUNNING",
"CRDB_REPAVE_FAILED",
"CRDB_CUSTOM_CLIENT_CA_RUNNING",
"CRDB_CUSTOM_CLIENT_CA_FAILED",
"DEDICATED_FULL_CLUSTER_RESTORE_RUNNING",
"DEDICATED_FULL_CLUSTER_RESTORE_FAILED",
}
All allowed values of ClusterStatusType enum.
var AllowedClusterUpgradeStatusTypeEnumValues = []ClusterUpgradeStatusType{
"FINALIZED",
"MAJOR_UPGRADE_RUNNING",
"UPGRADE_AVAILABLE",
"PENDING_FINALIZATION",
"ROLLBACK_RUNNING",
}
All allowed values of ClusterUpgradeStatusType enum.
var AllowedClusterVersionDeferralPolicyTypeEnumValues = []ClusterVersionDeferralPolicyType{
"NOT_DEFERRED",
"FIXED_DEFERRAL",
}
All allowed values of ClusterVersionDeferralPolicyType enum.
var AllowedCurrencyTypeEnumValues = []CurrencyType{
"USD",
"CRDB_CLOUD_CREDITS",
}
All allowed values of CurrencyType enum.
var AllowedDatadogSiteTypeEnumValues = []DatadogSiteType{
"US1",
"US3",
"US5",
"US1_GOV",
"EU1",
}
All allowed values of DatadogSiteType enum.
var AllowedDeleteProtectionStateTypeEnumValues = []DeleteProtectionStateType{
"ENABLED",
"DISABLED",
}
All allowed values of DeleteProtectionStateType enum.
var AllowedEgressTrafficPolicyTypeEnumValues = []EgressTrafficPolicyType{
"UNSPECIFIED",
"ERROR",
"ALLOW_ALL",
"DEFAULT_DENY",
"UPDATING",
}
All allowed values of EgressTrafficPolicyType enum.
var AllowedFolderResourceTypeTypeEnumValues = []FolderResourceTypeType{
"FOLDER",
"CLUSTER",
}
All allowed values of FolderResourceTypeType enum.
var AllowedLogExportStatusEnumValues = []LogExportStatus{
"DISABLED",
"DISABLING",
"DISABLE_FAILED",
"ENABLED",
"ENABLING",
"ENABLE_FAILED",
"CREDENTIALS_ERROR",
}
All allowed values of LogExportStatus enum.
var AllowedLogExportTypeEnumValues = []LogExportType{
"AWS_CLOUDWATCH",
"GCP_CLOUD_LOGGING",
"AZURE_LOG_ANALYTICS",
}
All allowed values of LogExportType enum.
var AllowedLogLevelTypeEnumValues = []LogLevelType{
"UNSPECIFIED",
"WARNING",
"ERROR",
"FATAL",
}
All allowed values of LogLevelType enum.
var AllowedMetricExportStatusTypeEnumValues = []MetricExportStatusType{
"NOT_DEPLOYED",
"DISABLING",
"ENABLING",
"ENABLED",
"ERROR",
}
All allowed values of MetricExportStatusType enum.
var AllowedNetworkVisibilityTypeEnumValues = []NetworkVisibilityType{
"PUBLIC",
"PRIVATE",
}
All allowed values of NetworkVisibilityType enum.
var AllowedNodeStatusTypeEnumValues = []NodeStatusType{
"LIVE",
"NOT_READY",
}
All allowed values of NodeStatusType enum.
var AllowedOperatingSystemTypeEnumValues = []OperatingSystemType{
"MAC",
"LINUX",
"WINDOWS",
}
All allowed values of OperatingSystemType enum.
var AllowedOrganizationUserRoleTypeEnumValues = []OrganizationUserRoleType{
"BILLING_COORDINATOR",
"ORG_ADMIN",
"ORG_MEMBER",
"CLUSTER_ADMIN",
"CLUSTER_OPERATOR_WRITER",
"CLUSTER_DEVELOPER",
"CLUSTER_CREATOR",
"FOLDER_ADMIN",
"FOLDER_MOVER",
}
All allowed values of OrganizationUserRoleType enum.
var AllowedPlanTypeEnumValues = []PlanType{
"BASIC",
"STANDARD",
"ADVANCED",
}
All allowed values of PlanType enum.
var AllowedPrivateEndpointConnectionStatusEnumValues = []PrivateEndpointConnectionStatus{
"STATUS_PENDING",
"STATUS_PENDING_ACCEPTANCE",
"STATUS_AVAILABLE",
"STATUS_DELETING",
"STATUS_DELETED",
"STATUS_REJECTED",
"STATUS_FAILED",
"STATUS_EXPIRED",
}
All allowed values of PrivateEndpointConnectionStatus enum.
var AllowedPrivateEndpointServiceStatusTypeEnumValues = []PrivateEndpointServiceStatusType{
"CREATING",
"AVAILABLE",
"CREATE_FAILED",
"DELETING",
"DELETE_FAILED",
}
All allowed values of PrivateEndpointServiceStatusType enum.
var AllowedPrivateEndpointTrustedOwnerTypeTypeEnumValues = []PrivateEndpointTrustedOwnerTypeType{
"AWS_ACCOUNT_ID",
}
All allowed values of PrivateEndpointTrustedOwnerTypeType enum.
var AllowedQuantityUnitTypeEnumValues = []QuantityUnitType{
"HOURS",
"REQUEST_UNITS",
"GIB",
"GIB_HOURS",
}
All allowed values of QuantityUnitType enum.
var AllowedReleaseTypeTypeEnumValues = []ReleaseTypeType{
"REGULAR",
"INNOVATION",
}
All allowed values of ReleaseTypeType enum.
var AllowedResourceTypeTypeEnumValues = []ResourceTypeType{
"ORGANIZATION",
"CLUSTER",
"FOLDER",
}
All allowed values of ResourceTypeType enum.
var AllowedSetAWSEndpointConnectionStatusTypeEnumValues = []SetAWSEndpointConnectionStatusType{
"AVAILABLE",
"REJECTED",
}
All allowed values of SetAWSEndpointConnectionStatusType enum.
var AllowedUpgradeTypeTypeEnumValues = []UpgradeTypeType{
"MANUAL",
"AUTOMATIC",
}
All allowed values of UpgradeTypeType enum.
Functions ¶
This section is empty.
Types ¶
type AWSEndpointConnectionStatusType ¶
type AWSEndpointConnectionStatusType string
AWSEndpointConnectionStatusType the model 'AWSEndpointConnectionStatusType'.
const ( AWSENDPOINTCONNECTIONSTATUSTYPE_PENDING AWSEndpointConnectionStatusType = "PENDING" AWSENDPOINTCONNECTIONSTATUSTYPE_PENDING_ACCEPTANCE AWSEndpointConnectionStatusType = "PENDING_ACCEPTANCE" AWSENDPOINTCONNECTIONSTATUSTYPE_AVAILABLE AWSEndpointConnectionStatusType = "AVAILABLE" AWSENDPOINTCONNECTIONSTATUSTYPE_DELETING AWSEndpointConnectionStatusType = "DELETING" AWSENDPOINTCONNECTIONSTATUSTYPE_DELETED AWSEndpointConnectionStatusType = "DELETED" AWSENDPOINTCONNECTIONSTATUSTYPE_REJECTED AWSEndpointConnectionStatusType = "REJECTED" AWSENDPOINTCONNECTIONSTATUSTYPE_FAILED AWSEndpointConnectionStatusType = "FAILED" AWSENDPOINTCONNECTIONSTATUSTYPE_EXPIRED AWSEndpointConnectionStatusType = "EXPIRED" )
List of AWSEndpointConnectionStatus.Type.
func NewAWSEndpointConnectionStatusTypeFromValue ¶
func NewAWSEndpointConnectionStatusTypeFromValue(v string) (*AWSEndpointConnectionStatusType, error)
NewAWSEndpointConnectionStatusTypeFromValue returns a pointer to a valid AWSEndpointConnectionStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (AWSEndpointConnectionStatusType) IsValid ¶
func (v AWSEndpointConnectionStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AWSEndpointConnectionStatusType) Ptr ¶
func (v AWSEndpointConnectionStatusType) Ptr() *AWSEndpointConnectionStatusType
Ptr returns reference to AWSEndpointConnectionStatus.Type value.
type AWSPrivateLinkServiceDetail ¶
type AWSPrivateLinkServiceDetail struct { // availability_zone_ids are the identifiers for the availability zones that the service is available in. AvailabilityZoneIds []string `json:"availability_zone_ids"` // service_id is the server side of the PrivateLink connection. This is the same as AWSPrivateLinkEndpoint.service_id. ServiceId string `json:"service_id"` // service_name is the AWS service name customers use to create endpoints on their end. ServiceName string `json:"service_name"` }
AWSPrivateLinkServiceDetail struct for AWSPrivateLinkServiceDetail.
func NewAWSPrivateLinkServiceDetail ¶
func NewAWSPrivateLinkServiceDetail(availabilityZoneIds []string, serviceId string, serviceName string) *AWSPrivateLinkServiceDetail
NewAWSPrivateLinkServiceDetail instantiates a new AWSPrivateLinkServiceDetail object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAWSPrivateLinkServiceDetailWithDefaults ¶
func NewAWSPrivateLinkServiceDetailWithDefaults() *AWSPrivateLinkServiceDetail
NewAWSPrivateLinkServiceDetailWithDefaults instantiates a new AWSPrivateLinkServiceDetail object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AWSPrivateLinkServiceDetail) GetAvailabilityZoneIds ¶
func (o *AWSPrivateLinkServiceDetail) GetAvailabilityZoneIds() []string
GetAvailabilityZoneIds returns the AvailabilityZoneIds field value.
func (*AWSPrivateLinkServiceDetail) GetServiceId ¶
func (o *AWSPrivateLinkServiceDetail) GetServiceId() string
GetServiceId returns the ServiceId field value.
func (*AWSPrivateLinkServiceDetail) GetServiceName ¶
func (o *AWSPrivateLinkServiceDetail) GetServiceName() string
GetServiceName returns the ServiceName field value.
func (*AWSPrivateLinkServiceDetail) SetAvailabilityZoneIds ¶
func (o *AWSPrivateLinkServiceDetail) SetAvailabilityZoneIds(v []string)
SetAvailabilityZoneIds sets field value.
func (*AWSPrivateLinkServiceDetail) SetServiceId ¶
func (o *AWSPrivateLinkServiceDetail) SetServiceId(v string)
SetServiceId sets field value.
func (*AWSPrivateLinkServiceDetail) SetServiceName ¶
func (o *AWSPrivateLinkServiceDetail) SetServiceName(v string)
SetServiceName sets field value.
type AddEgressRuleRequest ¶
type AddEgressRuleRequest struct { // description is text that serves to document the rules purpose. Description string `json:"description"` // destination is the endpoint (or subnetwork if CIDR) to which traffic is allowed. Destination string `json:"destination"` // idempotency_key uniquely identifies this request. If not set, it will be set by the server. IdempotencyKey *string `json:"idempotency_key,omitempty"` // name is the name of the egress rule. Name string `json:"name"` // Deprecated: This field is ignored and will be removed in the next version. paths are the allowed URL paths. If empty, all paths are allowed. Only valid if Type=\"FQDN\". Paths *[]string `json:"paths,omitempty"` // ports are the allowed ports for TCP protocol. If Empty, all ports are allowed. Ports *[]int32 `json:"ports,omitempty"` // type classifies the Destination field. Valid types include: \"FQDN\", \"CIDR\". Type string `json:"type"` }
AddEgressRuleRequest struct for AddEgressRuleRequest.
func NewAddEgressRuleRequest ¶
func NewAddEgressRuleRequest(description string, destination string, name string, type_ string) *AddEgressRuleRequest
NewAddEgressRuleRequest instantiates a new AddEgressRuleRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddEgressRuleRequestWithDefaults ¶
func NewAddEgressRuleRequestWithDefaults() *AddEgressRuleRequest
NewAddEgressRuleRequestWithDefaults instantiates a new AddEgressRuleRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddEgressRuleRequest) GetDescription ¶
func (o *AddEgressRuleRequest) GetDescription() string
GetDescription returns the Description field value.
func (*AddEgressRuleRequest) GetDestination ¶
func (o *AddEgressRuleRequest) GetDestination() string
GetDestination returns the Destination field value.
func (*AddEgressRuleRequest) GetIdempotencyKey ¶
func (o *AddEgressRuleRequest) GetIdempotencyKey() string
GetIdempotencyKey returns the IdempotencyKey field value if set, zero value otherwise.
func (*AddEgressRuleRequest) GetName ¶
func (o *AddEgressRuleRequest) GetName() string
GetName returns the Name field value.
func (*AddEgressRuleRequest) GetPaths ¶
func (o *AddEgressRuleRequest) GetPaths() []string
GetPaths returns the Paths field value if set, zero value otherwise.
func (*AddEgressRuleRequest) GetPorts ¶
func (o *AddEgressRuleRequest) GetPorts() []int32
GetPorts returns the Ports field value if set, zero value otherwise.
func (*AddEgressRuleRequest) GetType ¶
func (o *AddEgressRuleRequest) GetType() string
GetType returns the Type field value.
func (*AddEgressRuleRequest) SetDescription ¶
func (o *AddEgressRuleRequest) SetDescription(v string)
SetDescription sets field value.
func (*AddEgressRuleRequest) SetDestination ¶
func (o *AddEgressRuleRequest) SetDestination(v string)
SetDestination sets field value.
func (*AddEgressRuleRequest) SetIdempotencyKey ¶
func (o *AddEgressRuleRequest) SetIdempotencyKey(v string)
SetIdempotencyKey gets a reference to the given string and assigns it to the IdempotencyKey field.
func (*AddEgressRuleRequest) SetName ¶
func (o *AddEgressRuleRequest) SetName(v string)
SetName sets field value.
func (*AddEgressRuleRequest) SetPaths ¶
func (o *AddEgressRuleRequest) SetPaths(v []string)
SetPaths gets a reference to the given []string and assigns it to the Paths field.
func (*AddEgressRuleRequest) SetPorts ¶
func (o *AddEgressRuleRequest) SetPorts(v []int32)
SetPorts gets a reference to the given []int32 and assigns it to the Ports field.
func (*AddEgressRuleRequest) SetType ¶
func (o *AddEgressRuleRequest) SetType(v string)
SetType sets field value.
type AddEgressRuleResponse ¶
type AddEgressRuleResponse struct {
Rule *EgressRule `json:"Rule,omitempty"`
}
AddEgressRuleResponse struct for AddEgressRuleResponse.
func NewAddEgressRuleResponse ¶
func NewAddEgressRuleResponse() *AddEgressRuleResponse
NewAddEgressRuleResponse instantiates a new AddEgressRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*AddEgressRuleResponse) GetRule ¶
func (o *AddEgressRuleResponse) GetRule() EgressRule
GetRule returns the Rule field value if set, zero value otherwise.
func (*AddEgressRuleResponse) SetRule ¶
func (o *AddEgressRuleResponse) SetRule(v EgressRule)
SetRule gets a reference to the given EgressRule and assigns it to the Rule field.
type AddJWTIssuerRequest ¶
type AddJWTIssuerRequest struct { Audience string `json:"audience"` Claim *string `json:"claim,omitempty"` // A list of mappings to map the external token identity into CockroachDB Cloud. IdentityMap *[]JWTIssuerIdentityMapEntry `json:"identity_map,omitempty"` IssuerUrl string `json:"issuer_url"` Jwks *string `json:"jwks,omitempty"` }
AddJWTIssuerRequest struct for AddJWTIssuerRequest.
func NewAddJWTIssuerRequest ¶
func NewAddJWTIssuerRequest(audience string, issuerUrl string) *AddJWTIssuerRequest
NewAddJWTIssuerRequest instantiates a new AddJWTIssuerRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddJWTIssuerRequestWithDefaults ¶
func NewAddJWTIssuerRequestWithDefaults() *AddJWTIssuerRequest
NewAddJWTIssuerRequestWithDefaults instantiates a new AddJWTIssuerRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddJWTIssuerRequest) GetAudience ¶
func (o *AddJWTIssuerRequest) GetAudience() string
GetAudience returns the Audience field value.
func (*AddJWTIssuerRequest) GetClaim ¶
func (o *AddJWTIssuerRequest) GetClaim() string
GetClaim returns the Claim field value if set, zero value otherwise.
func (*AddJWTIssuerRequest) GetIdentityMap ¶
func (o *AddJWTIssuerRequest) GetIdentityMap() []JWTIssuerIdentityMapEntry
GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.
func (*AddJWTIssuerRequest) GetIssuerUrl ¶
func (o *AddJWTIssuerRequest) GetIssuerUrl() string
GetIssuerUrl returns the IssuerUrl field value.
func (*AddJWTIssuerRequest) GetJwks ¶
func (o *AddJWTIssuerRequest) GetJwks() string
GetJwks returns the Jwks field value if set, zero value otherwise.
func (*AddJWTIssuerRequest) SetAudience ¶
func (o *AddJWTIssuerRequest) SetAudience(v string)
SetAudience sets field value.
func (*AddJWTIssuerRequest) SetClaim ¶
func (o *AddJWTIssuerRequest) SetClaim(v string)
SetClaim gets a reference to the given string and assigns it to the Claim field.
func (*AddJWTIssuerRequest) SetIdentityMap ¶
func (o *AddJWTIssuerRequest) SetIdentityMap(v []JWTIssuerIdentityMapEntry)
SetIdentityMap gets a reference to the given []JWTIssuerIdentityMapEntry and assigns it to the IdentityMap field.
func (*AddJWTIssuerRequest) SetIssuerUrl ¶
func (o *AddJWTIssuerRequest) SetIssuerUrl(v string)
SetIssuerUrl sets field value.
func (*AddJWTIssuerRequest) SetJwks ¶
func (o *AddJWTIssuerRequest) SetJwks(v string)
SetJwks gets a reference to the given string and assigns it to the Jwks field.
type AddPrivateEndpointConnectionRequest ¶
type AddPrivateEndpointConnectionRequest struct { // endpoint_id is the id of the private endpoint associated with a cluster's private endpoint service. The private endpoint is customer-created and its id is generated by the cloud provider at endpoint creation time. EndpointId string `json:"endpoint_id"` }
AddPrivateEndpointConnectionRequest struct for AddPrivateEndpointConnectionRequest.
func NewAddPrivateEndpointConnectionRequest ¶
func NewAddPrivateEndpointConnectionRequest(endpointId string) *AddPrivateEndpointConnectionRequest
NewAddPrivateEndpointConnectionRequest instantiates a new AddPrivateEndpointConnectionRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddPrivateEndpointConnectionRequestWithDefaults ¶
func NewAddPrivateEndpointConnectionRequestWithDefaults() *AddPrivateEndpointConnectionRequest
NewAddPrivateEndpointConnectionRequestWithDefaults instantiates a new AddPrivateEndpointConnectionRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddPrivateEndpointConnectionRequest) GetEndpointId ¶
func (o *AddPrivateEndpointConnectionRequest) GetEndpointId() string
GetEndpointId returns the EndpointId field value.
func (*AddPrivateEndpointConnectionRequest) SetEndpointId ¶
func (o *AddPrivateEndpointConnectionRequest) SetEndpointId(v string)
SetEndpointId sets field value.
type AddPrivateEndpointTrustedOwnerRequest ¶
type AddPrivateEndpointTrustedOwnerRequest struct { // external_owner_id is the identifier of the owner within the cloud provider for private endpoint connections. A wildcard character (\"*\") can be used to denote all owners. ExternalOwnerId string `json:"external_owner_id"` Type PrivateEndpointTrustedOwnerTypeType `json:"type"` }
AddPrivateEndpointTrustedOwnerRequest struct for AddPrivateEndpointTrustedOwnerRequest.
func NewAddPrivateEndpointTrustedOwnerRequest ¶
func NewAddPrivateEndpointTrustedOwnerRequest(externalOwnerId string, type_ PrivateEndpointTrustedOwnerTypeType) *AddPrivateEndpointTrustedOwnerRequest
NewAddPrivateEndpointTrustedOwnerRequest instantiates a new AddPrivateEndpointTrustedOwnerRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddPrivateEndpointTrustedOwnerRequestWithDefaults ¶
func NewAddPrivateEndpointTrustedOwnerRequestWithDefaults() *AddPrivateEndpointTrustedOwnerRequest
NewAddPrivateEndpointTrustedOwnerRequestWithDefaults instantiates a new AddPrivateEndpointTrustedOwnerRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddPrivateEndpointTrustedOwnerRequest) GetExternalOwnerId ¶
func (o *AddPrivateEndpointTrustedOwnerRequest) GetExternalOwnerId() string
GetExternalOwnerId returns the ExternalOwnerId field value.
func (*AddPrivateEndpointTrustedOwnerRequest) GetType ¶
func (o *AddPrivateEndpointTrustedOwnerRequest) GetType() PrivateEndpointTrustedOwnerTypeType
GetType returns the Type field value.
func (*AddPrivateEndpointTrustedOwnerRequest) SetExternalOwnerId ¶
func (o *AddPrivateEndpointTrustedOwnerRequest) SetExternalOwnerId(v string)
SetExternalOwnerId sets field value.
func (*AddPrivateEndpointTrustedOwnerRequest) SetType ¶
func (o *AddPrivateEndpointTrustedOwnerRequest) SetType(v PrivateEndpointTrustedOwnerTypeType)
SetType sets field value.
type AddPrivateEndpointTrustedOwnerResponse ¶
type AddPrivateEndpointTrustedOwnerResponse struct {
TrustedOwner PrivateEndpointTrustedOwner `json:"trusted_owner"`
}
AddPrivateEndpointTrustedOwnerResponse struct for AddPrivateEndpointTrustedOwnerResponse.
func NewAddPrivateEndpointTrustedOwnerResponse ¶
func NewAddPrivateEndpointTrustedOwnerResponse(trustedOwner PrivateEndpointTrustedOwner) *AddPrivateEndpointTrustedOwnerResponse
NewAddPrivateEndpointTrustedOwnerResponse instantiates a new AddPrivateEndpointTrustedOwnerResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddPrivateEndpointTrustedOwnerResponseWithDefaults ¶
func NewAddPrivateEndpointTrustedOwnerResponseWithDefaults() *AddPrivateEndpointTrustedOwnerResponse
NewAddPrivateEndpointTrustedOwnerResponseWithDefaults instantiates a new AddPrivateEndpointTrustedOwnerResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddPrivateEndpointTrustedOwnerResponse) GetTrustedOwner ¶
func (o *AddPrivateEndpointTrustedOwnerResponse) GetTrustedOwner() PrivateEndpointTrustedOwner
GetTrustedOwner returns the TrustedOwner field value.
func (*AddPrivateEndpointTrustedOwnerResponse) SetTrustedOwner ¶
func (o *AddPrivateEndpointTrustedOwnerResponse) SetTrustedOwner(v PrivateEndpointTrustedOwner)
SetTrustedOwner sets field value.
type AllowlistEntry ¶
type AllowlistEntry struct { CidrIp string `json:"cidr_ip"` CidrMask int32 `json:"cidr_mask"` Name *string `json:"name,omitempty"` Sql bool `json:"sql"` Ui bool `json:"ui"` }
AllowlistEntry struct for AllowlistEntry.
func NewAllowlistEntry ¶
func NewAllowlistEntry(cidrIp string, cidrMask int32, sql bool, ui bool) *AllowlistEntry
NewAllowlistEntry instantiates a new AllowlistEntry object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllowlistEntryWithDefaults ¶
func NewAllowlistEntryWithDefaults() *AllowlistEntry
NewAllowlistEntryWithDefaults instantiates a new AllowlistEntry object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllowlistEntry) GetCidrIp ¶
func (o *AllowlistEntry) GetCidrIp() string
GetCidrIp returns the CidrIp field value.
func (*AllowlistEntry) GetCidrMask ¶
func (o *AllowlistEntry) GetCidrMask() int32
GetCidrMask returns the CidrMask field value.
func (*AllowlistEntry) GetName ¶
func (o *AllowlistEntry) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AllowlistEntry) GetSql ¶
func (o *AllowlistEntry) GetSql() bool
GetSql returns the Sql field value.
func (*AllowlistEntry) GetUi ¶
func (o *AllowlistEntry) GetUi() bool
GetUi returns the Ui field value.
func (*AllowlistEntry) SetCidrIp ¶
func (o *AllowlistEntry) SetCidrIp(v string)
SetCidrIp sets field value.
func (*AllowlistEntry) SetCidrMask ¶
func (o *AllowlistEntry) SetCidrMask(v int32)
SetCidrMask sets field value.
func (*AllowlistEntry) SetName ¶
func (o *AllowlistEntry) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type AllowlistEntry1 ¶
type AllowlistEntry1 struct { Name *string `json:"name,omitempty"` Sql bool `json:"sql"` Ui bool `json:"ui"` }
AllowlistEntry1 struct for AllowlistEntry1.
func NewAllowlistEntry1 ¶
func NewAllowlistEntry1(sql bool, ui bool) *AllowlistEntry1
NewAllowlistEntry1 instantiates a new AllowlistEntry1 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllowlistEntry1WithDefaults ¶
func NewAllowlistEntry1WithDefaults() *AllowlistEntry1
NewAllowlistEntry1WithDefaults instantiates a new AllowlistEntry1 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllowlistEntry1) GetName ¶
func (o *AllowlistEntry1) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AllowlistEntry1) GetSql ¶
func (o *AllowlistEntry1) GetSql() bool
GetSql returns the Sql field value.
func (*AllowlistEntry1) GetUi ¶
func (o *AllowlistEntry1) GetUi() bool
GetUi returns the Ui field value.
func (*AllowlistEntry1) SetName ¶
func (o *AllowlistEntry1) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type Any ¶
type Any struct { // A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. Type *string `json:"@type,omitempty"` }
Any `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": <string>, \"lastName\": <string> } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }.
func NewAny ¶
func NewAny() *Any
NewAny instantiates a new Any object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
type ApiKey ¶
type ApiKey struct { // the creation time of the api key. CreatedAt time.Time `json:"created_at"` // the ID of the api key. Id string `json:"id"` Name string `json:"name"` // the ID of the service account the api key references. ServiceAccountId string `json:"service_account_id"` }
ApiKey struct for ApiKey.
func NewApiKey ¶
NewApiKey instantiates a new ApiKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiKeyWithDefaults ¶
func NewApiKeyWithDefaults() *ApiKey
NewApiKeyWithDefaults instantiates a new ApiKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiKey) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*ApiKey) GetServiceAccountId ¶
GetServiceAccountId returns the ServiceAccountId field value.
func (*ApiKey) SetCreatedAt ¶
SetCreatedAt sets field value.
func (*ApiKey) SetServiceAccountId ¶
SetServiceAccountId sets field value.
type ApiOidcConfig ¶
type ApiOidcConfig struct { Audience string `json:"audience"` Claim *string `json:"claim,omitempty"` Id string `json:"id"` IdentityMap *[]ApiOidcIdentityMapEntry `json:"identity_map,omitempty"` Issuer string `json:"issuer"` Jwks string `json:"jwks"` }
ApiOidcConfig api_oidc_config contains information about an OIDC provider that can generate JWT tokens that can be used for authentication with the Cockroach Cloud API..
func NewApiOidcConfig ¶
func NewApiOidcConfig(audience string, id string, issuer string, jwks string) *ApiOidcConfig
NewApiOidcConfig instantiates a new ApiOidcConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiOidcConfigWithDefaults ¶
func NewApiOidcConfigWithDefaults() *ApiOidcConfig
NewApiOidcConfigWithDefaults instantiates a new ApiOidcConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiOidcConfig) GetAudience ¶
func (o *ApiOidcConfig) GetAudience() string
GetAudience returns the Audience field value.
func (*ApiOidcConfig) GetClaim ¶
func (o *ApiOidcConfig) GetClaim() string
GetClaim returns the Claim field value if set, zero value otherwise.
func (*ApiOidcConfig) GetId ¶
func (o *ApiOidcConfig) GetId() string
GetId returns the Id field value.
func (*ApiOidcConfig) GetIdentityMap ¶
func (o *ApiOidcConfig) GetIdentityMap() []ApiOidcIdentityMapEntry
GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.
func (*ApiOidcConfig) GetIssuer ¶
func (o *ApiOidcConfig) GetIssuer() string
GetIssuer returns the Issuer field value.
func (*ApiOidcConfig) GetJwks ¶
func (o *ApiOidcConfig) GetJwks() string
GetJwks returns the Jwks field value.
func (*ApiOidcConfig) SetAudience ¶
func (o *ApiOidcConfig) SetAudience(v string)
SetAudience sets field value.
func (*ApiOidcConfig) SetClaim ¶
func (o *ApiOidcConfig) SetClaim(v string)
SetClaim gets a reference to the given string and assigns it to the Claim field.
func (*ApiOidcConfig) SetIdentityMap ¶
func (o *ApiOidcConfig) SetIdentityMap(v []ApiOidcIdentityMapEntry)
SetIdentityMap gets a reference to the given []ApiOidcIdentityMapEntry and assigns it to the IdentityMap field.
func (*ApiOidcConfig) SetIssuer ¶
func (o *ApiOidcConfig) SetIssuer(v string)
SetIssuer sets field value.
type ApiOidcConfig1 ¶
type ApiOidcConfig1 struct { Audience string `json:"audience"` Claim *string `json:"claim,omitempty"` IdentityMap *[]ApiOidcIdentityMapEntry `json:"identity_map,omitempty"` Issuer string `json:"issuer"` Jwks string `json:"jwks"` }
ApiOidcConfig1 api_oidc_config contains information about an OIDC provider that can generate JWT tokens that can be used for authentication with the Cockroach Cloud API..
func NewApiOidcConfig1 ¶
func NewApiOidcConfig1(audience string, issuer string, jwks string) *ApiOidcConfig1
NewApiOidcConfig1 instantiates a new ApiOidcConfig1 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiOidcConfig1WithDefaults ¶
func NewApiOidcConfig1WithDefaults() *ApiOidcConfig1
NewApiOidcConfig1WithDefaults instantiates a new ApiOidcConfig1 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiOidcConfig1) GetAudience ¶
func (o *ApiOidcConfig1) GetAudience() string
GetAudience returns the Audience field value.
func (*ApiOidcConfig1) GetClaim ¶
func (o *ApiOidcConfig1) GetClaim() string
GetClaim returns the Claim field value if set, zero value otherwise.
func (*ApiOidcConfig1) GetIdentityMap ¶
func (o *ApiOidcConfig1) GetIdentityMap() []ApiOidcIdentityMapEntry
GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.
func (*ApiOidcConfig1) GetIssuer ¶
func (o *ApiOidcConfig1) GetIssuer() string
GetIssuer returns the Issuer field value.
func (*ApiOidcConfig1) GetJwks ¶
func (o *ApiOidcConfig1) GetJwks() string
GetJwks returns the Jwks field value.
func (*ApiOidcConfig1) SetAudience ¶
func (o *ApiOidcConfig1) SetAudience(v string)
SetAudience sets field value.
func (*ApiOidcConfig1) SetClaim ¶
func (o *ApiOidcConfig1) SetClaim(v string)
SetClaim gets a reference to the given string and assigns it to the Claim field.
func (*ApiOidcConfig1) SetIdentityMap ¶
func (o *ApiOidcConfig1) SetIdentityMap(v []ApiOidcIdentityMapEntry)
SetIdentityMap gets a reference to the given []ApiOidcIdentityMapEntry and assigns it to the IdentityMap field.
func (*ApiOidcConfig1) SetIssuer ¶
func (o *ApiOidcConfig1) SetIssuer(v string)
SetIssuer sets field value.
func (*ApiOidcConfig1) SetJwks ¶
func (o *ApiOidcConfig1) SetJwks(v string)
SetJwks sets field value.
type ApiOidcIdentityMapEntry ¶
type ApiOidcIdentityMapEntry struct { CcIdentity *string `json:"cc_identity,omitempty"` IsRegex *bool `json:"is_regex,omitempty"` TokenIdentity *string `json:"token_identity,omitempty"` }
ApiOidcIdentityMapEntry struct for ApiOidcIdentityMapEntry.
func NewApiOidcIdentityMapEntry ¶
func NewApiOidcIdentityMapEntry() *ApiOidcIdentityMapEntry
NewApiOidcIdentityMapEntry instantiates a new ApiOidcIdentityMapEntry object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ApiOidcIdentityMapEntry) GetCcIdentity ¶
func (o *ApiOidcIdentityMapEntry) GetCcIdentity() string
GetCcIdentity returns the CcIdentity field value if set, zero value otherwise.
func (*ApiOidcIdentityMapEntry) GetIsRegex ¶
func (o *ApiOidcIdentityMapEntry) GetIsRegex() bool
GetIsRegex returns the IsRegex field value if set, zero value otherwise.
func (*ApiOidcIdentityMapEntry) GetTokenIdentity ¶
func (o *ApiOidcIdentityMapEntry) GetTokenIdentity() string
GetTokenIdentity returns the TokenIdentity field value if set, zero value otherwise.
func (*ApiOidcIdentityMapEntry) SetCcIdentity ¶
func (o *ApiOidcIdentityMapEntry) SetCcIdentity(v string)
SetCcIdentity gets a reference to the given string and assigns it to the CcIdentity field.
func (*ApiOidcIdentityMapEntry) SetIsRegex ¶
func (o *ApiOidcIdentityMapEntry) SetIsRegex(v bool)
SetIsRegex gets a reference to the given bool and assigns it to the IsRegex field.
func (*ApiOidcIdentityMapEntry) SetTokenIdentity ¶
func (o *ApiOidcIdentityMapEntry) SetTokenIdentity(v string)
SetTokenIdentity gets a reference to the given string and assigns it to the TokenIdentity field.
type AuditLogAction ¶
type AuditLogAction string
AuditLogAction the model 'AuditLogAction'.
const ( AUDITLOGACTION_CREATE_CLUSTER AuditLogAction = "AUDIT_LOG_ACTION_CREATE_CLUSTER" AUDITLOGACTION_DELETE_CLUSTER AuditLogAction = "AUDIT_LOG_ACTION_DELETE_CLUSTER" AUDITLOGACTION_INVITE_USER_TO_ORGANIZATION AuditLogAction = "AUDIT_LOG_ACTION_INVITE_USER_TO_ORGANIZATION" AUDITLOGACTION_EDIT_USER_INVITE AuditLogAction = "AUDIT_LOG_ACTION_EDIT_USER_INVITE" AUDITLOGACTION_REVOKE_USER_INVITE AuditLogAction = "AUDIT_LOG_ACTION_REVOKE_USER_INVITE" AUDITLOGACTION_ACCEPT_USER_INVITE AuditLogAction = "AUDIT_LOG_ACTION_ACCEPT_USER_INVITE" AUDITLOGACTION_ASSIGN_USER_ROLE AuditLogAction = "AUDIT_LOG_ACTION_ASSIGN_USER_ROLE" AUDITLOGACTION_DELETE_USER_FROM_ORGANIZATION AuditLogAction = "AUDIT_LOG_ACTION_DELETE_USER_FROM_ORGANIZATION" AUDITLOGACTION_CREATE_SERVICE_ACCOUNT AuditLogAction = "AUDIT_LOG_ACTION_CREATE_SERVICE_ACCOUNT" AUDITLOGACTION_UPDATE_SERVICE_ACCOUNT AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_SERVICE_ACCOUNT" AUDITLOGACTION_DELETE_SERVICE_ACCOUNT AuditLogAction = "AUDIT_LOG_ACTION_DELETE_SERVICE_ACCOUNT" AUDITLOGACTION_CREATE_API_KEY AuditLogAction = "AUDIT_LOG_ACTION_CREATE_API_KEY" AUDITLOGACTION_UPDATE_API_KEY AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_API_KEY" AUDITLOGACTION_DELETE_API_KEY AuditLogAction = "AUDIT_LOG_ACTION_DELETE_API_KEY" AUDITLOGACTION_UPDATE_CLUSTER AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CLUSTER" AUDITLOGACTION_CREATE_SQL_USER AuditLogAction = "AUDIT_LOG_ACTION_CREATE_SQL_USER" AUDITLOGACTION_CHANGE_SQL_USER_PASSWORD AuditLogAction = "AUDIT_LOG_ACTION_CHANGE_SQL_USER_PASSWORD" AUDITLOGACTION_DELETE_SQL_USER AuditLogAction = "AUDIT_LOG_ACTION_DELETE_SQL_USER" AUDITLOGACTION_ADD_IP_ALLOWLIST AuditLogAction = "AUDIT_LOG_ACTION_ADD_IP_ALLOWLIST" AUDITLOGACTION_EDIT_IP_ALLOWLIST AuditLogAction = "AUDIT_LOG_ACTION_EDIT_IP_ALLOWLIST" AUDITLOGACTION_DELETE_IP_ALLOWLIST AuditLogAction = "AUDIT_LOG_ACTION_DELETE_IP_ALLOWLIST" AUDITLOGACTION_CREATE_VPC_PEERING AuditLogAction = "AUDIT_LOG_ACTION_CREATE_VPC_PEERING" AUDITLOGACTION_DELETE_VPC_PEERING AuditLogAction = "AUDIT_LOG_ACTION_DELETE_VPC_PEERING" AUDITLOGACTION_CREATE_PRIVATE_LINK AuditLogAction = "AUDIT_LOG_ACTION_CREATE_PRIVATE_LINK" AUDITLOGACTION_ACCEPT_PRIVATE_LINK AuditLogAction = "AUDIT_LOG_ACTION_ACCEPT_PRIVATE_LINK" AUDITLOGACTION_REJECT_PRIVATE_LINK AuditLogAction = "AUDIT_LOG_ACTION_REJECT_PRIVATE_LINK" AUDITLOGACTION_USER_LOGIN AuditLogAction = "AUDIT_LOG_ACTION_USER_LOGIN" AUDITLOGACTION_ADD_USER_TO_ROLE AuditLogAction = "AUDIT_LOG_ACTION_ADD_USER_TO_ROLE" AUDITLOGACTION_REMOVE_USER_FROM_ROLE AuditLogAction = "AUDIT_LOG_ACTION_REMOVE_USER_FROM_ROLE" AUDITLOGACTION_CREATE_USER AuditLogAction = "AUDIT_LOG_ACTION_CREATE_USER" AUDITLOGACTION_DELETE_USER AuditLogAction = "AUDIT_LOG_ACTION_DELETE_USER" AUDITLOGACTION_UPDATE_USER AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_USER" AUDITLOGACTION_CREATE_GROUP AuditLogAction = "AUDIT_LOG_ACTION_CREATE_GROUP" AUDITLOGACTION_DELETE_GROUP AuditLogAction = "AUDIT_LOG_ACTION_DELETE_GROUP" AUDITLOGACTION_UPDATE_GROUP AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_GROUP" AUDITLOGACTION_SET_CLIENT_CA_CERT AuditLogAction = "AUDIT_LOG_ACTION_SET_CLIENT_CA_CERT" AUDITLOGACTION_UPDATE_CLIENT_CA_CERT AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CLIENT_CA_CERT" AUDITLOGACTION_DELETE_CLIENT_CA_CERT AuditLogAction = "AUDIT_LOG_ACTION_DELETE_CLIENT_CA_CERT" AUDITLOGACTION_CREATE_API_OIDC_CONFIG AuditLogAction = "AUDIT_LOG_ACTION_CREATE_API_OIDC_CONFIG" AUDITLOGACTION_DELETE_API_OIDC_CONFIG AuditLogAction = "AUDIT_LOG_ACTION_DELETE_API_OIDC_CONFIG" AUDITLOGACTION_UPDATE_API_OIDC_CONFIG AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_API_OIDC_CONFIG" AUDITLOGACTION_CREATE_FOLDER AuditLogAction = "AUDIT_LOG_ACTION_CREATE_FOLDER" AUDITLOGACTION_DELETE_FOLDER AuditLogAction = "AUDIT_LOG_ACTION_DELETE_FOLDER" AUDITLOGACTION_UPDATE_FOLDER AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_FOLDER" AUDITLOGACTION_ADD_PRIVATE_ENDPOINT_TRUSTED_OWNER AuditLogAction = "AUDIT_LOG_ACTION_ADD_PRIVATE_ENDPOINT_TRUSTED_OWNER" AUDITLOGACTION_REMOVE_PRIVATE_ENDPOINT_TRUSTED_OWNER AuditLogAction = "AUDIT_LOG_ACTION_REMOVE_PRIVATE_ENDPOINT_TRUSTED_OWNER" AUDITLOGACTION_ADD_ALERT_RECIPIENT AuditLogAction = "AUDIT_LOG_ACTION_ADD_ALERT_RECIPIENT" AUDITLOGACTION_REMOVE_ALERT_RECIPIENT AuditLogAction = "AUDIT_LOG_ACTION_REMOVE_ALERT_RECIPIENT" AUDITLOGACTION_TOGGLE_ALERTS AuditLogAction = "AUDIT_LOG_ACTION_TOGGLE_ALERTS" AUDITLOGACTION_TEST_ALERT_EMAIL AuditLogAction = "AUDIT_LOG_ACTION_TEST_ALERT_EMAIL" AUDITLOGACTION_UPDATE_CMEK AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CMEK" AUDITLOGACTION_REVOKE_CMEK AuditLogAction = "AUDIT_LOG_ACTION_REVOKE_CMEK" AUDITLOGACTION_UPDATE_CLUSTER_LOG_EXPORT AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CLUSTER_LOG_EXPORT" AUDITLOGACTION_DELETE_CLUSTER_LOG_EXPORT AuditLogAction = "AUDIT_LOG_ACTION_DELETE_CLUSTER_LOG_EXPORT" AUDITLOGACTION_UPDATE_CLUSTER_METRIC_EXPORT AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CLUSTER_METRIC_EXPORT" AUDITLOGACTION_DELETE_CLUSTER_METRIC_EXPORT AuditLogAction = "AUDIT_LOG_ACTION_DELETE_CLUSTER_METRIC_EXPORT" AUDITLOGACTION_RESTORE_CLUSTER AuditLogAction = "AUDIT_LOG_ACTION_RESTORE_CLUSTER" AUDITLOGACTION_UPDATE_CLUSTER_MAJOR_VERSION AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CLUSTER_MAJOR_VERSION" AUDITLOGACTION_ROLLBACK_CLUSTER_MAJOR_VERSION_UPDATE AuditLogAction = "AUDIT_LOG_ACTION_ROLLBACK_CLUSTER_MAJOR_VERSION_UPDATE" AUDITLOGACTION_FINALIZE_CLUSTER_MAJOR_VERSION_UPDATE AuditLogAction = "AUDIT_LOG_ACTION_FINALIZE_CLUSTER_MAJOR_VERSION_UPDATE" AUDITLOGACTION_UPDATE_CLUSTER_VERSION_UPGRADE_DEFERRAL AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_CLUSTER_VERSION_UPGRADE_DEFERRAL" AUDITLOGACTION_SET_CLUSTER_MAINTENANCE_WINDOW AuditLogAction = "AUDIT_LOG_ACTION_SET_CLUSTER_MAINTENANCE_WINDOW" AUDITLOGACTION_DELETE_CLUSTER_MAINTENANCE_WINDOW AuditLogAction = "AUDIT_LOG_ACTION_DELETE_CLUSTER_MAINTENANCE_WINDOW" AUDITLOGACTION_SET_EGRESS_TRAFFIC_POLICY AuditLogAction = "AUDIT_LOG_ACTION_SET_EGRESS_TRAFFIC_POLICY" AUDITLOGACTION_ADD_EGRESS_RULE AuditLogAction = "AUDIT_LOG_ACTION_ADD_EGRESS_RULE" AUDITLOGACTION_EDIT_EGRESS_RULE AuditLogAction = "AUDIT_LOG_ACTION_EDIT_EGRESS_RULE" AUDITLOGACTION_DELETE_EGRESS_RULE AuditLogAction = "AUDIT_LOG_ACTION_DELETE_EGRESS_RULE" AUDITLOGACTION_ENABLE_CLOUD_ORG_SSO AuditLogAction = "AUDIT_LOG_ACTION_ENABLE_CLOUD_ORG_SSO" AUDITLOGACTION_ADD_AUTHENTICATION_METHOD AuditLogAction = "AUDIT_LOG_ACTION_ADD_AUTHENTICATION_METHOD" AUDITLOGACTION_UPDATE_AUTHENTICATION_METHOD AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_AUTHENTICATION_METHOD" AUDITLOGACTION_DELETE_AUTHENTICATION_METHOD AuditLogAction = "AUDIT_LOG_ACTION_DELETE_AUTHENTICATION_METHOD" AUDITLOGACTION_SET_DELETE_PROTECTION AuditLogAction = "AUDIT_LOG_ACTION_SET_DELETE_PROTECTION" AUDITLOGACTION_MARKETPLACE_CREATE_SUBSCRIPTION AuditLogAction = "AUDIT_LOG_ACTION_MARKETPLACE_CREATE_SUBSCRIPTION" AUDITLOGACTION_MARKETPLACE_CANCEL_SUBSCRIPTION AuditLogAction = "AUDIT_LOG_ACTION_MARKETPLACE_CANCEL_SUBSCRIPTION" AUDITLOGACTION_ADD_JWT_ISSUER AuditLogAction = "AUDIT_LOG_ACTION_ADD_JWT_ISSUER" AUDITLOGACTION_DELETE_JWT_ISSUER AuditLogAction = "AUDIT_LOG_ACTION_DELETE_JWT_ISSUER" AUDITLOGACTION_UPDATE_JWT_ISSUER AuditLogAction = "AUDIT_LOG_ACTION_UPDATE_JWT_ISSUER" )
List of AuditLogAction.
func NewAuditLogActionFromValue ¶
func NewAuditLogActionFromValue(v string) (*AuditLogAction, error)
NewAuditLogActionFromValue returns a pointer to a valid AuditLogAction for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (AuditLogAction) IsValid ¶
func (v AuditLogAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuditLogAction) Ptr ¶
func (v AuditLogAction) Ptr() *AuditLogAction
Ptr returns reference to AuditLogAction value.
type AuditLogEntry ¶
type AuditLogEntry struct { Action *AuditLogAction `json:"action,omitempty"` // ClusterId is the ID of the cluster to which this log entry applies, if it applies to a single cluster. ClusterId *string `json:"cluster_id,omitempty"` // ClusterName is the name of the cluster to which this log entry applies, if it applies to a single cluster. ClusterName *string `json:"cluster_name,omitempty"` // CreatedAt is the time that this log entry was recorded. CreatedAt *time.Time `json:"created_at,omitempty"` // Error is the error that applies to this entry if it represents a failure. Error *string `json:"error,omitempty"` // Id uniquely identifies this entry. Id *string `json:"id,omitempty"` Metadata *AuditLogMetadata `json:"metadata,omitempty"` // Payload is a representation of the essential details relating to this log entry. Payload *map[string]interface{} `json:"payload,omitempty"` // ServiceAccountName is the name of the service account that triggered this log entry. If it was not a service account, it will be empty. ServiceAccountName *string `json:"service_account_name,omitempty"` // SessionId is an ID that can be used to correlate this log entry with others that are emitted as part of the same user session, typically for users interacting through the UI. It should be treated as an opaque string with no guaranteed structure. SessionId *string `json:"session_id,omitempty"` Source *AuditLogSource `json:"source,omitempty"` // TraceId is an ID that can be used to correlate this log entry with others that are emitted as part of the same process. It should be treated as an opaque string with no guaranteed structure. TraceId *string `json:"trace_id,omitempty"` // UserEmail is the email address of the user that triggered this log entry. If it was not a human user, it will be empty. UserEmail *string `json:"user_email,omitempty"` }
AuditLogEntry AuditLogEntry represents an entry in the cloud event log. Note that this message definition should always match exactly with the corresponding `AuditLogEntry` message in `console/consolepb/console.proto`..
func NewAuditLogEntry ¶
func NewAuditLogEntry() *AuditLogEntry
NewAuditLogEntry instantiates a new AuditLogEntry object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*AuditLogEntry) GetAction ¶
func (o *AuditLogEntry) GetAction() AuditLogAction
GetAction returns the Action field value if set, zero value otherwise.
func (*AuditLogEntry) GetClusterId ¶
func (o *AuditLogEntry) GetClusterId() string
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*AuditLogEntry) GetClusterName ¶
func (o *AuditLogEntry) GetClusterName() string
GetClusterName returns the ClusterName field value if set, zero value otherwise.
func (*AuditLogEntry) GetCreatedAt ¶
func (o *AuditLogEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AuditLogEntry) GetError ¶
func (o *AuditLogEntry) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*AuditLogEntry) GetId ¶
func (o *AuditLogEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AuditLogEntry) GetMetadata ¶
func (o *AuditLogEntry) GetMetadata() AuditLogMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*AuditLogEntry) GetPayload ¶
func (o *AuditLogEntry) GetPayload() map[string]interface{}
GetPayload returns the Payload field value if set, zero value otherwise.
func (*AuditLogEntry) GetServiceAccountName ¶
func (o *AuditLogEntry) GetServiceAccountName() string
GetServiceAccountName returns the ServiceAccountName field value if set, zero value otherwise.
func (*AuditLogEntry) GetSessionId ¶
func (o *AuditLogEntry) GetSessionId() string
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*AuditLogEntry) GetSource ¶
func (o *AuditLogEntry) GetSource() AuditLogSource
GetSource returns the Source field value if set, zero value otherwise.
func (*AuditLogEntry) GetTraceId ¶
func (o *AuditLogEntry) GetTraceId() string
GetTraceId returns the TraceId field value if set, zero value otherwise.
func (*AuditLogEntry) GetUserEmail ¶
func (o *AuditLogEntry) GetUserEmail() string
GetUserEmail returns the UserEmail field value if set, zero value otherwise.
func (*AuditLogEntry) SetAction ¶
func (o *AuditLogEntry) SetAction(v AuditLogAction)
SetAction gets a reference to the given AuditLogAction and assigns it to the Action field.
func (*AuditLogEntry) SetClusterId ¶
func (o *AuditLogEntry) SetClusterId(v string)
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*AuditLogEntry) SetClusterName ¶
func (o *AuditLogEntry) SetClusterName(v string)
SetClusterName gets a reference to the given string and assigns it to the ClusterName field.
func (*AuditLogEntry) SetCreatedAt ¶
func (o *AuditLogEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AuditLogEntry) SetError ¶
func (o *AuditLogEntry) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*AuditLogEntry) SetId ¶
func (o *AuditLogEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AuditLogEntry) SetMetadata ¶
func (o *AuditLogEntry) SetMetadata(v AuditLogMetadata)
SetMetadata gets a reference to the given AuditLogMetadata and assigns it to the Metadata field.
func (*AuditLogEntry) SetPayload ¶
func (o *AuditLogEntry) SetPayload(v map[string]interface{})
SetPayload gets a reference to the given map[string]interface{} and assigns it to the Payload field.
func (*AuditLogEntry) SetServiceAccountName ¶
func (o *AuditLogEntry) SetServiceAccountName(v string)
SetServiceAccountName gets a reference to the given string and assigns it to the ServiceAccountName field.
func (*AuditLogEntry) SetSessionId ¶
func (o *AuditLogEntry) SetSessionId(v string)
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
func (*AuditLogEntry) SetSource ¶
func (o *AuditLogEntry) SetSource(v AuditLogSource)
SetSource gets a reference to the given AuditLogSource and assigns it to the Source field.
func (*AuditLogEntry) SetTraceId ¶
func (o *AuditLogEntry) SetTraceId(v string)
SetTraceId gets a reference to the given string and assigns it to the TraceId field.
func (*AuditLogEntry) SetUserEmail ¶
func (o *AuditLogEntry) SetUserEmail(v string)
SetUserEmail gets a reference to the given string and assigns it to the UserEmail field.
type AuditLogMetadata ¶
type AuditLogMetadata struct {
IpAddress *string `json:"ip_address,omitempty"`
}
AuditLogMetadata struct for AuditLogMetadata.
func NewAuditLogMetadata ¶
func NewAuditLogMetadata() *AuditLogMetadata
NewAuditLogMetadata instantiates a new AuditLogMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*AuditLogMetadata) GetIpAddress ¶
func (o *AuditLogMetadata) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*AuditLogMetadata) SetIpAddress ¶
func (o *AuditLogMetadata) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
type AuditLogSource ¶
type AuditLogSource string
AuditLogSource the model 'AuditLogSource'.
const ( AUDITLOGSOURCE_CC_API AuditLogSource = "AUDIT_LOG_SOURCE_CC_API" AUDITLOGSOURCE_CLI AuditLogSource = "AUDIT_LOG_SOURCE_CLI" AUDITLOGSOURCE_UI AuditLogSource = "AUDIT_LOG_SOURCE_UI" AUDITLOGSOURCE_INTERNAL AuditLogSource = "AUDIT_LOG_SOURCE_INTERNAL" )
List of AuditLogSource.
func NewAuditLogSourceFromValue ¶
func NewAuditLogSourceFromValue(v string) (*AuditLogSource, error)
NewAuditLogSourceFromValue returns a pointer to a valid AuditLogSource for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (AuditLogSource) IsValid ¶
func (v AuditLogSource) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuditLogSource) Ptr ¶
func (v AuditLogSource) Ptr() *AuditLogSource
Ptr returns reference to AuditLogSource value.
type AwsEndpointConnection ¶
type AwsEndpointConnection struct { CloudProvider CloudProviderType `json:"cloud_provider"` // endpoint_id is the client side of the PrivateLink connection. EndpointId string `json:"endpoint_id"` // external_owner_id represents the ID of the AWS account that owns the PrivateLink connection. ExternalOwnerId *string `json:"external_owner_id,omitempty"` // region_name is the cloud provider region name (i.e. us-east-1). RegionName string `json:"region_name"` // service_id is the server side of the PrivateLink connection. This is the same as AWSPrivateLinkEndpoint.service_id. ServiceId string `json:"service_id"` Status AWSEndpointConnectionStatusType `json:"status"` }
AwsEndpointConnection struct for AwsEndpointConnection.
func NewAwsEndpointConnection ¶
func NewAwsEndpointConnection(cloudProvider CloudProviderType, endpointId string, regionName string, serviceId string, status AWSEndpointConnectionStatusType) *AwsEndpointConnection
NewAwsEndpointConnection instantiates a new AwsEndpointConnection object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAwsEndpointConnectionWithDefaults ¶
func NewAwsEndpointConnectionWithDefaults() *AwsEndpointConnection
NewAwsEndpointConnectionWithDefaults instantiates a new AwsEndpointConnection object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AwsEndpointConnection) GetCloudProvider ¶
func (o *AwsEndpointConnection) GetCloudProvider() CloudProviderType
GetCloudProvider returns the CloudProvider field value.
func (*AwsEndpointConnection) GetEndpointId ¶
func (o *AwsEndpointConnection) GetEndpointId() string
GetEndpointId returns the EndpointId field value.
func (*AwsEndpointConnection) GetExternalOwnerId ¶
func (o *AwsEndpointConnection) GetExternalOwnerId() string
GetExternalOwnerId returns the ExternalOwnerId field value if set, zero value otherwise.
func (*AwsEndpointConnection) GetRegionName ¶
func (o *AwsEndpointConnection) GetRegionName() string
GetRegionName returns the RegionName field value.
func (*AwsEndpointConnection) GetServiceId ¶
func (o *AwsEndpointConnection) GetServiceId() string
GetServiceId returns the ServiceId field value.
func (*AwsEndpointConnection) GetStatus ¶
func (o *AwsEndpointConnection) GetStatus() AWSEndpointConnectionStatusType
GetStatus returns the Status field value.
func (*AwsEndpointConnection) SetCloudProvider ¶
func (o *AwsEndpointConnection) SetCloudProvider(v CloudProviderType)
SetCloudProvider sets field value.
func (*AwsEndpointConnection) SetEndpointId ¶
func (o *AwsEndpointConnection) SetEndpointId(v string)
SetEndpointId sets field value.
func (*AwsEndpointConnection) SetExternalOwnerId ¶
func (o *AwsEndpointConnection) SetExternalOwnerId(v string)
SetExternalOwnerId gets a reference to the given string and assigns it to the ExternalOwnerId field.
func (*AwsEndpointConnection) SetRegionName ¶
func (o *AwsEndpointConnection) SetRegionName(v string)
SetRegionName sets field value.
func (*AwsEndpointConnection) SetServiceId ¶
func (o *AwsEndpointConnection) SetServiceId(v string)
SetServiceId sets field value.
func (*AwsEndpointConnection) SetStatus ¶
func (o *AwsEndpointConnection) SetStatus(v AWSEndpointConnectionStatusType)
SetStatus sets field value.
type AwsEndpointConnections ¶
type AwsEndpointConnections struct { // Connections is a list of private endpoints. Connections []AwsEndpointConnection `json:"connections"` }
AwsEndpointConnections struct for AwsEndpointConnections.
func NewAwsEndpointConnections ¶
func NewAwsEndpointConnections(connections []AwsEndpointConnection) *AwsEndpointConnections
NewAwsEndpointConnections instantiates a new AwsEndpointConnections object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAwsEndpointConnectionsWithDefaults ¶
func NewAwsEndpointConnectionsWithDefaults() *AwsEndpointConnections
NewAwsEndpointConnectionsWithDefaults instantiates a new AwsEndpointConnections object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AwsEndpointConnections) GetConnections ¶
func (o *AwsEndpointConnections) GetConnections() []AwsEndpointConnection
GetConnections returns the Connections field value.
func (*AwsEndpointConnections) SetConnections ¶
func (o *AwsEndpointConnections) SetConnections(v []AwsEndpointConnection)
SetConnections sets field value.
type BuiltInFromGroups ¶
type BuiltInFromGroups struct { GroupNames *[]string `json:"group_names,omitempty"` Role *BuiltInRole `json:"role,omitempty"` }
BuiltInFromGroups struct for BuiltInFromGroups.
func NewBuiltInFromGroups ¶
func NewBuiltInFromGroups() *BuiltInFromGroups
NewBuiltInFromGroups instantiates a new BuiltInFromGroups object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*BuiltInFromGroups) GetGroupNames ¶
func (o *BuiltInFromGroups) GetGroupNames() []string
GetGroupNames returns the GroupNames field value if set, zero value otherwise.
func (*BuiltInFromGroups) GetRole ¶
func (o *BuiltInFromGroups) GetRole() BuiltInRole
GetRole returns the Role field value if set, zero value otherwise.
func (*BuiltInFromGroups) SetGroupNames ¶
func (o *BuiltInFromGroups) SetGroupNames(v []string)
SetGroupNames gets a reference to the given []string and assigns it to the GroupNames field.
func (*BuiltInFromGroups) SetRole ¶
func (o *BuiltInFromGroups) SetRole(v BuiltInRole)
SetRole gets a reference to the given BuiltInRole and assigns it to the Role field.
type BuiltInRole ¶
type BuiltInRole struct { Name OrganizationUserRoleType `json:"name"` Resource Resource `json:"resource"` }
BuiltInRole struct for BuiltInRole.
func NewBuiltInRole ¶
func NewBuiltInRole(name OrganizationUserRoleType, resource Resource) *BuiltInRole
NewBuiltInRole instantiates a new BuiltInRole object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBuiltInRoleWithDefaults ¶
func NewBuiltInRoleWithDefaults() *BuiltInRole
NewBuiltInRoleWithDefaults instantiates a new BuiltInRole object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BuiltInRole) GetName ¶
func (o *BuiltInRole) GetName() OrganizationUserRoleType
GetName returns the Name field value.
func (*BuiltInRole) GetResource ¶
func (o *BuiltInRole) GetResource() Resource
GetResource returns the Resource field value.
func (*BuiltInRole) SetName ¶
func (o *BuiltInRole) SetName(v OrganizationUserRoleType)
SetName sets field value.
func (*BuiltInRole) SetResource ¶
func (o *BuiltInRole) SetResource(v Resource)
SetResource sets field value.
type CMEKClusterInfo ¶
type CMEKClusterInfo struct { RegionInfos *[]CMEKRegionInfo `json:"region_infos,omitempty"` Status *CMEKStatus `json:"status,omitempty"` }
CMEKClusterInfo CMEKClusterInfo contains the status of CMEK across an entire cluster, including within each one its regions..
func NewCMEKClusterInfo ¶
func NewCMEKClusterInfo() *CMEKClusterInfo
NewCMEKClusterInfo instantiates a new CMEKClusterInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CMEKClusterInfo) GetRegionInfos ¶
func (o *CMEKClusterInfo) GetRegionInfos() []CMEKRegionInfo
GetRegionInfos returns the RegionInfos field value if set, zero value otherwise.
func (*CMEKClusterInfo) GetStatus ¶
func (o *CMEKClusterInfo) GetStatus() CMEKStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*CMEKClusterInfo) SetRegionInfos ¶
func (o *CMEKClusterInfo) SetRegionInfos(v []CMEKRegionInfo)
SetRegionInfos gets a reference to the given []CMEKRegionInfo and assigns it to the RegionInfos field.
func (*CMEKClusterInfo) SetStatus ¶
func (o *CMEKClusterInfo) SetStatus(v CMEKStatus)
SetStatus gets a reference to the given CMEKStatus and assigns it to the Status field.
type CMEKClusterSpecification ¶
type CMEKClusterSpecification struct {
RegionSpecs []CMEKRegionSpecification `json:"region_specs"`
}
CMEKClusterSpecification struct for CMEKClusterSpecification.
func NewCMEKClusterSpecification ¶
func NewCMEKClusterSpecification(regionSpecs []CMEKRegionSpecification) *CMEKClusterSpecification
NewCMEKClusterSpecification instantiates a new CMEKClusterSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCMEKClusterSpecificationWithDefaults ¶
func NewCMEKClusterSpecificationWithDefaults() *CMEKClusterSpecification
NewCMEKClusterSpecificationWithDefaults instantiates a new CMEKClusterSpecification object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CMEKClusterSpecification) GetRegionSpecs ¶
func (o *CMEKClusterSpecification) GetRegionSpecs() []CMEKRegionSpecification
GetRegionSpecs returns the RegionSpecs field value.
func (*CMEKClusterSpecification) SetRegionSpecs ¶
func (o *CMEKClusterSpecification) SetRegionSpecs(v []CMEKRegionSpecification)
SetRegionSpecs sets field value.
type CMEKCustomerAction ¶
type CMEKCustomerAction string
CMEKCustomerAction CMEKCustomerAction enumerates the actions a customer can take on a cluster that has been enabled for CMEK.
const (
CMEKCUSTOMERACTION_REVOKE CMEKCustomerAction = "REVOKE"
)
List of CMEKCustomerAction.
func NewCMEKCustomerActionFromValue ¶
func NewCMEKCustomerActionFromValue(v string) (*CMEKCustomerAction, error)
NewCMEKCustomerActionFromValue returns a pointer to a valid CMEKCustomerAction for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (CMEKCustomerAction) IsValid ¶
func (v CMEKCustomerAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CMEKCustomerAction) Ptr ¶
func (v CMEKCustomerAction) Ptr() *CMEKCustomerAction
Ptr returns reference to CMEKCustomerAction value.
type CMEKKeyInfo ¶
type CMEKKeyInfo struct { CreatedAt *time.Time `json:"created_at,omitempty"` Spec *CMEKKeySpecification `json:"spec,omitempty"` Status *CMEKStatus `json:"status,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` UserMessage *string `json:"user_message,omitempty"` }
CMEKKeyInfo CMEKKeyInfo contains the status of a customer-provided key alongside the specification..
func NewCMEKKeyInfo ¶
func NewCMEKKeyInfo() *CMEKKeyInfo
NewCMEKKeyInfo instantiates a new CMEKKeyInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CMEKKeyInfo) GetCreatedAt ¶
func (o *CMEKKeyInfo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetSpec ¶
func (o *CMEKKeyInfo) GetSpec() CMEKKeySpecification
GetSpec returns the Spec field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetStatus ¶
func (o *CMEKKeyInfo) GetStatus() CMEKStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetUpdatedAt ¶
func (o *CMEKKeyInfo) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetUserMessage ¶
func (o *CMEKKeyInfo) GetUserMessage() string
GetUserMessage returns the UserMessage field value if set, zero value otherwise.
func (*CMEKKeyInfo) SetCreatedAt ¶
func (o *CMEKKeyInfo) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CMEKKeyInfo) SetSpec ¶
func (o *CMEKKeyInfo) SetSpec(v CMEKKeySpecification)
SetSpec gets a reference to the given CMEKKeySpecification and assigns it to the Spec field.
func (*CMEKKeyInfo) SetStatus ¶
func (o *CMEKKeyInfo) SetStatus(v CMEKStatus)
SetStatus gets a reference to the given CMEKStatus and assigns it to the Status field.
func (*CMEKKeyInfo) SetUpdatedAt ¶
func (o *CMEKKeyInfo) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CMEKKeyInfo) SetUserMessage ¶
func (o *CMEKKeyInfo) SetUserMessage(v string)
SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.
type CMEKKeySpecification ¶
type CMEKKeySpecification struct { AuthPrincipal *string `json:"auth_principal,omitempty"` Type *CMEKKeyType `json:"type,omitempty"` Uri *string `json:"uri,omitempty"` }
CMEKKeySpecification CMEKKeySpecification contains all the details necessary to use a customer-provided encryption key. This involves the type/location of the key and the principal to authenticate as when accessing it..
func NewCMEKKeySpecification ¶
func NewCMEKKeySpecification() *CMEKKeySpecification
NewCMEKKeySpecification instantiates a new CMEKKeySpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CMEKKeySpecification) GetAuthPrincipal ¶
func (o *CMEKKeySpecification) GetAuthPrincipal() string
GetAuthPrincipal returns the AuthPrincipal field value if set, zero value otherwise.
func (*CMEKKeySpecification) GetType ¶
func (o *CMEKKeySpecification) GetType() CMEKKeyType
GetType returns the Type field value if set, zero value otherwise.
func (*CMEKKeySpecification) GetUri ¶
func (o *CMEKKeySpecification) GetUri() string
GetUri returns the Uri field value if set, zero value otherwise.
func (*CMEKKeySpecification) SetAuthPrincipal ¶
func (o *CMEKKeySpecification) SetAuthPrincipal(v string)
SetAuthPrincipal gets a reference to the given string and assigns it to the AuthPrincipal field.
func (*CMEKKeySpecification) SetType ¶
func (o *CMEKKeySpecification) SetType(v CMEKKeyType)
SetType gets a reference to the given CMEKKeyType and assigns it to the Type field.
func (*CMEKKeySpecification) SetUri ¶
func (o *CMEKKeySpecification) SetUri(v string)
SetUri gets a reference to the given string and assigns it to the Uri field.
type CMEKKeyType ¶
type CMEKKeyType string
CMEKKeyType the model 'CMEKKeyType'.
const ( CMEKKEYTYPE_AWS_KMS CMEKKeyType = "AWS_KMS" CMEKKEYTYPE_GCP_CLOUD_KMS CMEKKeyType = "GCP_CLOUD_KMS" CMEKKEYTYPE_NULL_KMS CMEKKeyType = "NULL_KMS" )
List of CMEKKeyType.
func NewCMEKKeyTypeFromValue ¶
func NewCMEKKeyTypeFromValue(v string) (*CMEKKeyType, error)
NewCMEKKeyTypeFromValue returns a pointer to a valid CMEKKeyType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (CMEKKeyType) IsValid ¶
func (v CMEKKeyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CMEKKeyType) Ptr ¶
func (v CMEKKeyType) Ptr() *CMEKKeyType
Ptr returns reference to CMEKKeyType value.
type CMEKRegionInfo ¶
type CMEKRegionInfo struct { KeyInfos *[]CMEKKeyInfo `json:"key_infos,omitempty"` Region *string `json:"region,omitempty"` Status *CMEKStatus `json:"status,omitempty"` }
CMEKRegionInfo CMEKRegionInfo contains the status of CMEK within a region. This includes current and past key specifications used within the region, as well as the status of those specifications.
func NewCMEKRegionInfo ¶
func NewCMEKRegionInfo() *CMEKRegionInfo
NewCMEKRegionInfo instantiates a new CMEKRegionInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CMEKRegionInfo) GetKeyInfos ¶
func (o *CMEKRegionInfo) GetKeyInfos() []CMEKKeyInfo
GetKeyInfos returns the KeyInfos field value if set, zero value otherwise.
func (*CMEKRegionInfo) GetRegion ¶
func (o *CMEKRegionInfo) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CMEKRegionInfo) GetStatus ¶
func (o *CMEKRegionInfo) GetStatus() CMEKStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*CMEKRegionInfo) SetKeyInfos ¶
func (o *CMEKRegionInfo) SetKeyInfos(v []CMEKKeyInfo)
SetKeyInfos gets a reference to the given []CMEKKeyInfo and assigns it to the KeyInfos field.
func (*CMEKRegionInfo) SetRegion ¶
func (o *CMEKRegionInfo) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CMEKRegionInfo) SetStatus ¶
func (o *CMEKRegionInfo) SetStatus(v CMEKStatus)
SetStatus gets a reference to the given CMEKStatus and assigns it to the Status field.
type CMEKRegionSpecification ¶
type CMEKRegionSpecification struct { KeySpec *CMEKKeySpecification `json:"key_spec,omitempty"` Region *string `json:"region,omitempty"` }
CMEKRegionSpecification CMEKRegionSpecification declares the customer-provided key specification that should be used in a given region..
func NewCMEKRegionSpecification ¶
func NewCMEKRegionSpecification() *CMEKRegionSpecification
NewCMEKRegionSpecification instantiates a new CMEKRegionSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CMEKRegionSpecification) GetKeySpec ¶
func (o *CMEKRegionSpecification) GetKeySpec() CMEKKeySpecification
GetKeySpec returns the KeySpec field value if set, zero value otherwise.
func (*CMEKRegionSpecification) GetRegion ¶
func (o *CMEKRegionSpecification) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CMEKRegionSpecification) SetKeySpec ¶
func (o *CMEKRegionSpecification) SetKeySpec(v CMEKKeySpecification)
SetKeySpec gets a reference to the given CMEKKeySpecification and assigns it to the KeySpec field.
func (*CMEKRegionSpecification) SetRegion ¶
func (o *CMEKRegionSpecification) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
type CMEKStatus ¶
type CMEKStatus string
CMEKStatus CMEKStatus describes the current status of CMEK for an entire CRDB cluster or a CMEK key within a region. - DISABLED: DISABLED corresponds to the state of a cluster or region-level key when CMEK has finished being disabled. By default, CMEK will be disabled for new clusters. - DISABLING: DISABLING corresponds to the state of a cluster or region-level key when CMEK is in the process of being disabled. - DISABLE_FAILED: DISABLE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be disabled. - ENABLED: ENABLED corresponds to the state of a cluster or region-level key when CMEK is enabled. - ENABLING: ENABLING corresponds to the state of a cluster or region-level key when CMEK is in the process of being enabled. - ENABLE_FAILED: ENABLE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be enabled. - ROTATING: ROTATING corresponds to the state of a cluster or region when the a new spec is in the process of being enabled while an existing spec is being disabled. - ROTATE_FAILED: ROTATE_FAILED corresponds to the state of a cluster or region if there was a failure to update from one CMEK spec to another. - REVOKED: REVOKED corresponds to the state of a cluster or region-level key when the customer has revoked CockroachLab's permissions for their key. - REVOKING: REVOKING corresponds to the state of a cluster or region-level key when CMEK is in the process of being revoked. - REVOKE_FAILED: REVOKE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be revoked.
const ( CMEKSTATUS_DISABLED CMEKStatus = "DISABLED" CMEKSTATUS_DISABLING CMEKStatus = "DISABLING" CMEKSTATUS_DISABLE_FAILED CMEKStatus = "DISABLE_FAILED" CMEKSTATUS_ENABLED CMEKStatus = "ENABLED" CMEKSTATUS_ENABLING CMEKStatus = "ENABLING" CMEKSTATUS_ENABLE_FAILED CMEKStatus = "ENABLE_FAILED" CMEKSTATUS_ROTATING CMEKStatus = "ROTATING" CMEKSTATUS_ROTATE_FAILED CMEKStatus = "ROTATE_FAILED" CMEKSTATUS_REVOKED CMEKStatus = "REVOKED" CMEKSTATUS_REVOKING CMEKStatus = "REVOKING" CMEKSTATUS_REVOKE_FAILED CMEKStatus = "REVOKE_FAILED" )
List of CMEKStatus.
func NewCMEKStatusFromValue ¶
func NewCMEKStatusFromValue(v string) (*CMEKStatus, error)
NewCMEKStatusFromValue returns a pointer to a valid CMEKStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (CMEKStatus) IsValid ¶
func (v CMEKStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CMEKStatus) Ptr ¶
func (v CMEKStatus) Ptr() *CMEKStatus
Ptr returns reference to CMEKStatus value.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages communication with the CockroachDB Cloud API v2024-09-16.
func NewClient ¶
func NewClient(cfg *Configuration) *Client
NewClient creates a new API client. Requires a userAgent string describing your application. Optionally a custom http.Client to allow for advanced features such as caching.
func (*Client) GetConfig ¶
func (c *Client) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing. Caution: modifying the configuration while live can cause data races and potentially unwanted behavior.
type ClientCACertInfo ¶
type ClientCACertInfo struct { Status *ClientCACertStatus `json:"status,omitempty"` X509PemCert *string `json:"x509_pem_cert,omitempty"` }
ClientCACertInfo struct for ClientCACertInfo.
func NewClientCACertInfo ¶
func NewClientCACertInfo() *ClientCACertInfo
NewClientCACertInfo instantiates a new ClientCACertInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ClientCACertInfo) GetStatus ¶
func (o *ClientCACertInfo) GetStatus() ClientCACertStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*ClientCACertInfo) GetX509PemCert ¶
func (o *ClientCACertInfo) GetX509PemCert() string
GetX509PemCert returns the X509PemCert field value if set, zero value otherwise.
func (*ClientCACertInfo) SetStatus ¶
func (o *ClientCACertInfo) SetStatus(v ClientCACertStatus)
SetStatus gets a reference to the given ClientCACertStatus and assigns it to the Status field.
func (*ClientCACertInfo) SetX509PemCert ¶
func (o *ClientCACertInfo) SetX509PemCert(v string)
SetX509PemCert gets a reference to the given string and assigns it to the X509PemCert field.
type ClientCACertStatus ¶
type ClientCACertStatus string
ClientCACertStatus - NOT_SET: NOT_SET indicates a client CA cert is not set on the cluster. New clusters won't have a client CA cert set. - IS_SET: IS_SET indicates a client CA cert is set on the cluster. - PENDING: PENDING indicates a client CA cert update is in flight on the cluster. - FAILED: FAILED indicates a client CA cert update was attempted, but failed.
const ( CLIENTCACERTSTATUS_NOT_SET ClientCACertStatus = "NOT_SET" CLIENTCACERTSTATUS_IS_SET ClientCACertStatus = "IS_SET" CLIENTCACERTSTATUS_PENDING ClientCACertStatus = "PENDING" CLIENTCACERTSTATUS_FAILED ClientCACertStatus = "FAILED" )
List of ClientCACertStatus.
func NewClientCACertStatusFromValue ¶
func NewClientCACertStatusFromValue(v string) (*ClientCACertStatus, error)
NewClientCACertStatusFromValue returns a pointer to a valid ClientCACertStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ClientCACertStatus) IsValid ¶
func (v ClientCACertStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClientCACertStatus) Ptr ¶
func (v ClientCACertStatus) Ptr() *ClientCACertStatus
Ptr returns reference to ClientCACertStatus value.
type CloudProviderRegion ¶
type CloudProviderRegion struct { // Distance in miles, based on client IP address. Distance float32 `json:"distance"` Location string `json:"location"` Name string `json:"name"` Provider CloudProviderType `json:"provider"` Serverless bool `json:"serverless"` }
CloudProviderRegion struct for CloudProviderRegion.
func NewCloudProviderRegion ¶
func NewCloudProviderRegion(distance float32, location string, name string, provider CloudProviderType, serverless bool) *CloudProviderRegion
NewCloudProviderRegion instantiates a new CloudProviderRegion object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloudProviderRegionWithDefaults ¶
func NewCloudProviderRegionWithDefaults() *CloudProviderRegion
NewCloudProviderRegionWithDefaults instantiates a new CloudProviderRegion object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloudProviderRegion) GetDistance ¶
func (o *CloudProviderRegion) GetDistance() float32
GetDistance returns the Distance field value.
func (*CloudProviderRegion) GetLocation ¶
func (o *CloudProviderRegion) GetLocation() string
GetLocation returns the Location field value.
func (*CloudProviderRegion) GetName ¶
func (o *CloudProviderRegion) GetName() string
GetName returns the Name field value.
func (*CloudProviderRegion) GetProvider ¶
func (o *CloudProviderRegion) GetProvider() CloudProviderType
GetProvider returns the Provider field value.
func (*CloudProviderRegion) GetServerless ¶
func (o *CloudProviderRegion) GetServerless() bool
GetServerless returns the Serverless field value.
func (*CloudProviderRegion) SetDistance ¶
func (o *CloudProviderRegion) SetDistance(v float32)
SetDistance sets field value.
func (*CloudProviderRegion) SetLocation ¶
func (o *CloudProviderRegion) SetLocation(v string)
SetLocation sets field value.
func (*CloudProviderRegion) SetName ¶
func (o *CloudProviderRegion) SetName(v string)
SetName sets field value.
func (*CloudProviderRegion) SetProvider ¶
func (o *CloudProviderRegion) SetProvider(v CloudProviderType)
SetProvider sets field value.
func (*CloudProviderRegion) SetServerless ¶
func (o *CloudProviderRegion) SetServerless(v bool)
SetServerless sets field value.
type CloudProviderType ¶
type CloudProviderType string
CloudProviderType - GCP: The Google Cloud Platform cloud provider. - AWS: The Amazon Web Services cloud provider. - AZURE: The Azure cloud provider.
const ( CLOUDPROVIDERTYPE_GCP CloudProviderType = "GCP" CLOUDPROVIDERTYPE_AWS CloudProviderType = "AWS" CLOUDPROVIDERTYPE_AZURE CloudProviderType = "AZURE" )
List of CloudProvider.Type.
func NewCloudProviderTypeFromValue ¶
func NewCloudProviderTypeFromValue(v string) (*CloudProviderType, error)
NewCloudProviderTypeFromValue returns a pointer to a valid CloudProviderType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (CloudProviderType) IsValid ¶
func (v CloudProviderType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CloudProviderType) Ptr ¶
func (v CloudProviderType) Ptr() *CloudProviderType
Ptr returns reference to CloudProvider.Type value.
type CloudWatchMetricExportInfo ¶
type CloudWatchMetricExportInfo struct { ClusterId string `json:"cluster_id"` // log_group_name is the customized log group name. LogGroupName *string `json:"log_group_name,omitempty"` // role_arn is the IAM role used to upload metric segments to the target AWS account. RoleArn string `json:"role_arn"` Status *MetricExportStatusType `json:"status,omitempty"` // target_region specifies the specific AWS region that the metrics will be exported to. TargetRegion *string `json:"target_region,omitempty"` UserMessage *string `json:"user_message,omitempty"` }
CloudWatchMetricExportInfo struct for CloudWatchMetricExportInfo.
func NewCloudWatchMetricExportInfo ¶
func NewCloudWatchMetricExportInfo(clusterId string, roleArn string) *CloudWatchMetricExportInfo
NewCloudWatchMetricExportInfo instantiates a new CloudWatchMetricExportInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCloudWatchMetricExportInfoWithDefaults ¶
func NewCloudWatchMetricExportInfoWithDefaults() *CloudWatchMetricExportInfo
NewCloudWatchMetricExportInfoWithDefaults instantiates a new CloudWatchMetricExportInfo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CloudWatchMetricExportInfo) GetClusterId ¶
func (o *CloudWatchMetricExportInfo) GetClusterId() string
GetClusterId returns the ClusterId field value.
func (*CloudWatchMetricExportInfo) GetLogGroupName ¶
func (o *CloudWatchMetricExportInfo) GetLogGroupName() string
GetLogGroupName returns the LogGroupName field value if set, zero value otherwise.
func (*CloudWatchMetricExportInfo) GetRoleArn ¶
func (o *CloudWatchMetricExportInfo) GetRoleArn() string
GetRoleArn returns the RoleArn field value.
func (*CloudWatchMetricExportInfo) GetStatus ¶
func (o *CloudWatchMetricExportInfo) GetStatus() MetricExportStatusType
GetStatus returns the Status field value if set, zero value otherwise.
func (*CloudWatchMetricExportInfo) GetTargetRegion ¶
func (o *CloudWatchMetricExportInfo) GetTargetRegion() string
GetTargetRegion returns the TargetRegion field value if set, zero value otherwise.
func (*CloudWatchMetricExportInfo) GetUserMessage ¶
func (o *CloudWatchMetricExportInfo) GetUserMessage() string
GetUserMessage returns the UserMessage field value if set, zero value otherwise.
func (*CloudWatchMetricExportInfo) SetClusterId ¶
func (o *CloudWatchMetricExportInfo) SetClusterId(v string)
SetClusterId sets field value.
func (*CloudWatchMetricExportInfo) SetLogGroupName ¶
func (o *CloudWatchMetricExportInfo) SetLogGroupName(v string)
SetLogGroupName gets a reference to the given string and assigns it to the LogGroupName field.
func (*CloudWatchMetricExportInfo) SetRoleArn ¶
func (o *CloudWatchMetricExportInfo) SetRoleArn(v string)
SetRoleArn sets field value.
func (*CloudWatchMetricExportInfo) SetStatus ¶
func (o *CloudWatchMetricExportInfo) SetStatus(v MetricExportStatusType)
SetStatus gets a reference to the given MetricExportStatusType and assigns it to the Status field.
func (*CloudWatchMetricExportInfo) SetTargetRegion ¶
func (o *CloudWatchMetricExportInfo) SetTargetRegion(v string)
SetTargetRegion gets a reference to the given string and assigns it to the TargetRegion field.
func (*CloudWatchMetricExportInfo) SetUserMessage ¶
func (o *CloudWatchMetricExportInfo) SetUserMessage(v string)
SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.
type Cluster ¶
type Cluster struct { AccountId *string `json:"account_id,omitempty"` CloudProvider CloudProviderType `json:"cloud_provider"` CockroachVersion string `json:"cockroach_version"` Config ClusterConfig `json:"config"` CreatedAt *time.Time `json:"created_at,omitempty"` CreatorId string `json:"creator_id"` DeleteProtection *DeleteProtectionStateType `json:"delete_protection,omitempty"` DeletedAt *time.Time `json:"deleted_at,omitempty"` EgressTrafficPolicy *EgressTrafficPolicyType `json:"egress_traffic_policy,omitempty"` Id string `json:"id"` Name string `json:"name"` NetworkVisibility *NetworkVisibilityType `json:"network_visibility,omitempty"` OperationStatus ClusterStatusType `json:"operation_status"` // Preview: The parent ID is a folder ID. A \"root\" valued parent ID refers to a cluster at the root level. ParentId *string `json:"parent_id,omitempty"` Plan PlanType `json:"plan"` Regions []Region `json:"regions"` // sql_dns is the DNS name of SQL interface of the cluster. SqlDns *string `json:"sql_dns,omitempty"` State ClusterStateType `json:"state"` UpdatedAt *time.Time `json:"updated_at,omitempty"` UpgradeStatus ClusterUpgradeStatusType `json:"upgrade_status"` }
Cluster struct for Cluster.
func NewCluster ¶
func NewCluster(cloudProvider CloudProviderType, cockroachVersion string, config ClusterConfig, creatorId string, id string, name string, operationStatus ClusterStatusType, plan PlanType, regions []Region, state ClusterStateType, upgradeStatus ClusterUpgradeStatusType) *Cluster
NewCluster instantiates a new Cluster object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterWithDefaults ¶
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Cluster) GetAccountId ¶
GetAccountId returns the AccountId field value if set, zero value otherwise.
func (*Cluster) GetCloudProvider ¶
func (o *Cluster) GetCloudProvider() CloudProviderType
GetCloudProvider returns the CloudProvider field value.
func (*Cluster) GetCockroachVersion ¶
GetCockroachVersion returns the CockroachVersion field value.
func (*Cluster) GetConfig ¶
func (o *Cluster) GetConfig() ClusterConfig
GetConfig returns the Config field value.
func (*Cluster) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Cluster) GetCreatorId ¶
GetCreatorId returns the CreatorId field value.
func (*Cluster) GetDeleteProtection ¶
func (o *Cluster) GetDeleteProtection() DeleteProtectionStateType
GetDeleteProtection returns the DeleteProtection field value if set, zero value otherwise.
func (*Cluster) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Cluster) GetEgressTrafficPolicy ¶
func (o *Cluster) GetEgressTrafficPolicy() EgressTrafficPolicyType
GetEgressTrafficPolicy returns the EgressTrafficPolicy field value if set, zero value otherwise.
func (*Cluster) GetNetworkVisibility ¶
func (o *Cluster) GetNetworkVisibility() NetworkVisibilityType
GetNetworkVisibility returns the NetworkVisibility field value if set, zero value otherwise.
func (*Cluster) GetOperationStatus ¶
func (o *Cluster) GetOperationStatus() ClusterStatusType
GetOperationStatus returns the OperationStatus field value.
func (*Cluster) GetParentId ¶
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*Cluster) GetRegions ¶
GetRegions returns the Regions field value.
func (*Cluster) GetState ¶
func (o *Cluster) GetState() ClusterStateType
GetState returns the State field value.
func (*Cluster) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Cluster) GetUpgradeStatus ¶
func (o *Cluster) GetUpgradeStatus() ClusterUpgradeStatusType
GetUpgradeStatus returns the UpgradeStatus field value.
func (*Cluster) SetAccountId ¶
SetAccountId gets a reference to the given string and assigns it to the AccountId field.
func (*Cluster) SetCloudProvider ¶
func (o *Cluster) SetCloudProvider(v CloudProviderType)
SetCloudProvider sets field value.
func (*Cluster) SetCockroachVersion ¶
SetCockroachVersion sets field value.
func (*Cluster) SetConfig ¶
func (o *Cluster) SetConfig(v ClusterConfig)
SetConfig sets field value.
func (*Cluster) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Cluster) SetCreatorId ¶
SetCreatorId sets field value.
func (*Cluster) SetDeleteProtection ¶
func (o *Cluster) SetDeleteProtection(v DeleteProtectionStateType)
SetDeleteProtection gets a reference to the given DeleteProtectionStateType and assigns it to the DeleteProtection field.
func (*Cluster) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Cluster) SetEgressTrafficPolicy ¶
func (o *Cluster) SetEgressTrafficPolicy(v EgressTrafficPolicyType)
SetEgressTrafficPolicy gets a reference to the given EgressTrafficPolicyType and assigns it to the EgressTrafficPolicy field.
func (*Cluster) SetNetworkVisibility ¶
func (o *Cluster) SetNetworkVisibility(v NetworkVisibilityType)
SetNetworkVisibility gets a reference to the given NetworkVisibilityType and assigns it to the NetworkVisibility field.
func (*Cluster) SetOperationStatus ¶
func (o *Cluster) SetOperationStatus(v ClusterStatusType)
SetOperationStatus sets field value.
func (*Cluster) SetParentId ¶
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*Cluster) SetSqlDns ¶
SetSqlDns gets a reference to the given string and assigns it to the SqlDns field.
func (*Cluster) SetState ¶
func (o *Cluster) SetState(v ClusterStateType)
SetState sets field value.
func (*Cluster) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Cluster) SetUpgradeStatus ¶
func (o *Cluster) SetUpgradeStatus(v ClusterUpgradeStatusType)
SetUpgradeStatus sets field value.
type ClusterConfig ¶
type ClusterConfig struct { Dedicated *DedicatedHardwareConfig `json:"dedicated,omitempty"` Serverless *ServerlessClusterConfig `json:"serverless,omitempty"` }
ClusterConfig struct for ClusterConfig.
func NewClusterConfig ¶
func NewClusterConfig() *ClusterConfig
NewClusterConfig instantiates a new ClusterConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ClusterConfig) GetDedicated ¶
func (o *ClusterConfig) GetDedicated() DedicatedHardwareConfig
GetDedicated returns the Dedicated field value if set, zero value otherwise.
func (*ClusterConfig) GetServerless ¶
func (o *ClusterConfig) GetServerless() ServerlessClusterConfig
GetServerless returns the Serverless field value if set, zero value otherwise.
func (*ClusterConfig) SetDedicated ¶
func (o *ClusterConfig) SetDedicated(v DedicatedHardwareConfig)
SetDedicated gets a reference to the given DedicatedHardwareConfig and assigns it to the Dedicated field.
func (*ClusterConfig) SetServerless ¶
func (o *ClusterConfig) SetServerless(v ServerlessClusterConfig)
SetServerless gets a reference to the given ServerlessClusterConfig and assigns it to the Serverless field.
type ClusterMajorVersion ¶
type ClusterMajorVersion struct { AllowedUpgrades []string `json:"allowed_upgrades"` ReleaseType ReleaseTypeType `json:"release_type"` SupportEnd time.Time `json:"support_end"` SupportStatus ClusterMajorVersionSupportStatusType `json:"support_status"` Version string `json:"version"` }
ClusterMajorVersion For more information about CockroachDB cluster version support, see https://www.cockroachlabs.com/docs/releases/release-support-policy.html.
func NewClusterMajorVersion ¶
func NewClusterMajorVersion(allowedUpgrades []string, releaseType ReleaseTypeType, supportEnd time.Time, supportStatus ClusterMajorVersionSupportStatusType, version string) *ClusterMajorVersion
NewClusterMajorVersion instantiates a new ClusterMajorVersion object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterMajorVersionWithDefaults ¶
func NewClusterMajorVersionWithDefaults() *ClusterMajorVersion
NewClusterMajorVersionWithDefaults instantiates a new ClusterMajorVersion object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterMajorVersion) GetAllowedUpgrades ¶
func (o *ClusterMajorVersion) GetAllowedUpgrades() []string
GetAllowedUpgrades returns the AllowedUpgrades field value.
func (*ClusterMajorVersion) GetReleaseType ¶
func (o *ClusterMajorVersion) GetReleaseType() ReleaseTypeType
GetReleaseType returns the ReleaseType field value.
func (*ClusterMajorVersion) GetSupportEnd ¶
func (o *ClusterMajorVersion) GetSupportEnd() time.Time
GetSupportEnd returns the SupportEnd field value.
func (*ClusterMajorVersion) GetSupportStatus ¶
func (o *ClusterMajorVersion) GetSupportStatus() ClusterMajorVersionSupportStatusType
GetSupportStatus returns the SupportStatus field value.
func (*ClusterMajorVersion) GetVersion ¶
func (o *ClusterMajorVersion) GetVersion() string
GetVersion returns the Version field value.
func (*ClusterMajorVersion) SetAllowedUpgrades ¶
func (o *ClusterMajorVersion) SetAllowedUpgrades(v []string)
SetAllowedUpgrades sets field value.
func (*ClusterMajorVersion) SetReleaseType ¶
func (o *ClusterMajorVersion) SetReleaseType(v ReleaseTypeType)
SetReleaseType sets field value.
func (*ClusterMajorVersion) SetSupportEnd ¶
func (o *ClusterMajorVersion) SetSupportEnd(v time.Time)
SetSupportEnd sets field value.
func (*ClusterMajorVersion) SetSupportStatus ¶
func (o *ClusterMajorVersion) SetSupportStatus(v ClusterMajorVersionSupportStatusType)
SetSupportStatus sets field value.
func (*ClusterMajorVersion) SetVersion ¶
func (o *ClusterMajorVersion) SetVersion(v string)
SetVersion sets field value.
type ClusterMajorVersionSupportStatusType ¶
type ClusterMajorVersionSupportStatusType string
ClusterMajorVersionSupportStatusType the model 'ClusterMajorVersionSupportStatusType'.
const ( CLUSTERMAJORVERSIONSUPPORTSTATUSTYPE_UNSUPPORTED ClusterMajorVersionSupportStatusType = "UNSUPPORTED" CLUSTERMAJORVERSIONSUPPORTSTATUSTYPE_SUPPORTED ClusterMajorVersionSupportStatusType = "SUPPORTED" CLUSTERMAJORVERSIONSUPPORTSTATUSTYPE_PREVIEW ClusterMajorVersionSupportStatusType = "PREVIEW" )
List of ClusterMajorVersionSupportStatus.Type.
func NewClusterMajorVersionSupportStatusTypeFromValue ¶
func NewClusterMajorVersionSupportStatusTypeFromValue(v string) (*ClusterMajorVersionSupportStatusType, error)
NewClusterMajorVersionSupportStatusTypeFromValue returns a pointer to a valid ClusterMajorVersionSupportStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ClusterMajorVersionSupportStatusType) IsValid ¶
func (v ClusterMajorVersionSupportStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
type ClusterStateType ¶
type ClusterStateType string
ClusterStateType - LOCKED: An exclusive operation is being performed on this cluster. Other operations should not proceed if they did not set a cluster into the LOCKED state.
const ( CLUSTERSTATETYPE_CREATING ClusterStateType = "CREATING" CLUSTERSTATETYPE_CREATED ClusterStateType = "CREATED" CLUSTERSTATETYPE_CREATION_FAILED ClusterStateType = "CREATION_FAILED" CLUSTERSTATETYPE_DELETED ClusterStateType = "DELETED" CLUSTERSTATETYPE_LOCKED ClusterStateType = "LOCKED" )
List of ClusterState.Type.
func NewClusterStateTypeFromValue ¶
func NewClusterStateTypeFromValue(v string) (*ClusterStateType, error)
NewClusterStateTypeFromValue returns a pointer to a valid ClusterStateType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ClusterStateType) IsValid ¶
func (v ClusterStateType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClusterStateType) Ptr ¶
func (v ClusterStateType) Ptr() *ClusterStateType
Ptr returns reference to ClusterState.Type value.
type ClusterStatusType ¶
type ClusterStatusType string
ClusterStatusType the model 'ClusterStatusType'.
const ( CLUSTERSTATUSTYPE_UNSPECIFIED ClusterStatusType = "UNSPECIFIED" CLUSTERSTATUSTYPE_CRDB_MAJOR_UPGRADE_RUNNING ClusterStatusType = "CRDB_MAJOR_UPGRADE_RUNNING" CLUSTERSTATUSTYPE_CRDB_MAJOR_UPGRADE_FAILED ClusterStatusType = "CRDB_MAJOR_UPGRADE_FAILED" CLUSTERSTATUSTYPE_CRDB_MAJOR_ROLLBACK_RUNNING ClusterStatusType = "CRDB_MAJOR_ROLLBACK_RUNNING" CLUSTERSTATUSTYPE_CRDB_MAJOR_ROLLBACK_FAILED ClusterStatusType = "CRDB_MAJOR_ROLLBACK_FAILED" CLUSTERSTATUSTYPE_CRDB_PATCH_RUNNING ClusterStatusType = "CRDB_PATCH_RUNNING" CLUSTERSTATUSTYPE_CRDB_PATCH_FAILED ClusterStatusType = "CRDB_PATCH_FAILED" CLUSTERSTATUSTYPE_CRDB_SCALE_RUNNING ClusterStatusType = "CRDB_SCALE_RUNNING" CLUSTERSTATUSTYPE_CRDB_SCALE_FAILED ClusterStatusType = "CRDB_SCALE_FAILED" CLUSTERSTATUSTYPE_MAINTENANCE_RUNNING ClusterStatusType = "MAINTENANCE_RUNNING" CLUSTERSTATUSTYPE_CRDB_INSTANCE_UPDATE_RUNNING ClusterStatusType = "CRDB_INSTANCE_UPDATE_RUNNING" CLUSTERSTATUSTYPE_CRDB_INSTANCE_UPDATE_FAILED ClusterStatusType = "CRDB_INSTANCE_UPDATE_FAILED" CLUSTERSTATUSTYPE_CRDB_EDIT_CLUSTER_RUNNING ClusterStatusType = "CRDB_EDIT_CLUSTER_RUNNING" CLUSTERSTATUSTYPE_CRDB_EDIT_CLUSTER_FAILED ClusterStatusType = "CRDB_EDIT_CLUSTER_FAILED" CLUSTERSTATUSTYPE_CRDB_CMEK_OPERATION_RUNNING ClusterStatusType = "CRDB_CMEK_OPERATION_RUNNING" CLUSTERSTATUSTYPE_CRDB_CMEK_OPERATION_FAILED ClusterStatusType = "CRDB_CMEK_OPERATION_FAILED" CLUSTERSTATUSTYPE_TENANT_RESTORE_RUNNING ClusterStatusType = "TENANT_RESTORE_RUNNING" CLUSTERSTATUSTYPE_TENANT_RESTORE_FAILED ClusterStatusType = "TENANT_RESTORE_FAILED" CLUSTERSTATUSTYPE_CRDB_LOG_EXPORT_OPERATION_RUNNING ClusterStatusType = "CRDB_LOG_EXPORT_OPERATION_RUNNING" CLUSTERSTATUSTYPE_CRDB_LOG_EXPORT_OPERATION_FAILED ClusterStatusType = "CRDB_LOG_EXPORT_OPERATION_FAILED" CLUSTERSTATUSTYPE_CRDB_CLUSTER_DISRUPTION_RUNNING ClusterStatusType = "CRDB_CLUSTER_DISRUPTION_RUNNING" CLUSTERSTATUSTYPE_CRDB_CLUSTER_DISRUPTION_FAILED ClusterStatusType = "CRDB_CLUSTER_DISRUPTION_FAILED" CLUSTERSTATUSTYPE_CRDB_REPAVE_RUNNING ClusterStatusType = "CRDB_REPAVE_RUNNING" CLUSTERSTATUSTYPE_CRDB_REPAVE_FAILED ClusterStatusType = "CRDB_REPAVE_FAILED" CLUSTERSTATUSTYPE_CRDB_CUSTOM_CLIENT_CA_RUNNING ClusterStatusType = "CRDB_CUSTOM_CLIENT_CA_RUNNING" CLUSTERSTATUSTYPE_CRDB_CUSTOM_CLIENT_CA_FAILED ClusterStatusType = "CRDB_CUSTOM_CLIENT_CA_FAILED" CLUSTERSTATUSTYPE_DEDICATED_FULL_CLUSTER_RESTORE_RUNNING ClusterStatusType = "DEDICATED_FULL_CLUSTER_RESTORE_RUNNING" CLUSTERSTATUSTYPE_DEDICATED_FULL_CLUSTER_RESTORE_FAILED ClusterStatusType = "DEDICATED_FULL_CLUSTER_RESTORE_FAILED" )
List of ClusterStatus.Type.
func NewClusterStatusTypeFromValue ¶
func NewClusterStatusTypeFromValue(v string) (*ClusterStatusType, error)
NewClusterStatusTypeFromValue returns a pointer to a valid ClusterStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ClusterStatusType) IsValid ¶
func (v ClusterStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClusterStatusType) Ptr ¶
func (v ClusterStatusType) Ptr() *ClusterStatusType
Ptr returns reference to ClusterStatus.Type value.
type ClusterUpgradeStatusType ¶
type ClusterUpgradeStatusType string
ClusterUpgradeStatusType - FINALIZED: The cluster is running the latest available CockroachDB version, and all upgrades have been finalized. - MAJOR_UPGRADE_RUNNING: An major version upgrade is currently in progress. - UPGRADE_AVAILABLE: An upgrade is available. If preview builds are enabled for the parent organization, this could indicate that a preview upgrade is available. - PENDING_FINALIZATION: An upgrade is complete, but pending finalization. Upgrades are automatically finalized after 72 hours. For more information, see https://www.cockroachlabs.com/docs/stable/upgrade-cockroach-version.html - ROLLBACK_RUNNING: A rollback operation is currently in progress.
const ( CLUSTERUPGRADESTATUSTYPE_FINALIZED ClusterUpgradeStatusType = "FINALIZED" CLUSTERUPGRADESTATUSTYPE_MAJOR_UPGRADE_RUNNING ClusterUpgradeStatusType = "MAJOR_UPGRADE_RUNNING" CLUSTERUPGRADESTATUSTYPE_UPGRADE_AVAILABLE ClusterUpgradeStatusType = "UPGRADE_AVAILABLE" CLUSTERUPGRADESTATUSTYPE_PENDING_FINALIZATION ClusterUpgradeStatusType = "PENDING_FINALIZATION" CLUSTERUPGRADESTATUSTYPE_ROLLBACK_RUNNING ClusterUpgradeStatusType = "ROLLBACK_RUNNING" )
List of ClusterUpgradeStatus.Type.
func NewClusterUpgradeStatusTypeFromValue ¶
func NewClusterUpgradeStatusTypeFromValue(v string) (*ClusterUpgradeStatusType, error)
NewClusterUpgradeStatusTypeFromValue returns a pointer to a valid ClusterUpgradeStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ClusterUpgradeStatusType) IsValid ¶
func (v ClusterUpgradeStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClusterUpgradeStatusType) Ptr ¶
func (v ClusterUpgradeStatusType) Ptr() *ClusterUpgradeStatusType
Ptr returns reference to ClusterUpgradeStatus.Type value.
type ClusterVersionDeferral ¶
type ClusterVersionDeferral struct {
DeferralPolicy ClusterVersionDeferralPolicyType `json:"deferral_policy"`
}
ClusterVersionDeferral ClusterVersionDeferral specifies whether automatic patch version upgrades are applied immediately or deferred. If upgrades are deferred, the cluster will be automatically upgraded to each patch version 60 days after the version is released to CockroachDB Cloud..
func NewClusterVersionDeferral ¶
func NewClusterVersionDeferral(deferralPolicy ClusterVersionDeferralPolicyType) *ClusterVersionDeferral
NewClusterVersionDeferral instantiates a new ClusterVersionDeferral object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClusterVersionDeferralWithDefaults ¶
func NewClusterVersionDeferralWithDefaults() *ClusterVersionDeferral
NewClusterVersionDeferralWithDefaults instantiates a new ClusterVersionDeferral object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClusterVersionDeferral) GetDeferralPolicy ¶
func (o *ClusterVersionDeferral) GetDeferralPolicy() ClusterVersionDeferralPolicyType
GetDeferralPolicy returns the DeferralPolicy field value.
func (*ClusterVersionDeferral) SetDeferralPolicy ¶
func (o *ClusterVersionDeferral) SetDeferralPolicy(v ClusterVersionDeferralPolicyType)
SetDeferralPolicy sets field value.
type ClusterVersionDeferralPolicyType ¶
type ClusterVersionDeferralPolicyType string
ClusterVersionDeferralPolicyType the model 'ClusterVersionDeferralPolicyType'.
const ( CLUSTERVERSIONDEFERRALPOLICYTYPE_NOT_DEFERRED ClusterVersionDeferralPolicyType = "NOT_DEFERRED" CLUSTERVERSIONDEFERRALPOLICYTYPE_FIXED_DEFERRAL ClusterVersionDeferralPolicyType = "FIXED_DEFERRAL" )
List of ClusterVersionDeferralPolicy.Type.
func NewClusterVersionDeferralPolicyTypeFromValue ¶
func NewClusterVersionDeferralPolicyTypeFromValue(v string) (*ClusterVersionDeferralPolicyType, error)
NewClusterVersionDeferralPolicyTypeFromValue returns a pointer to a valid ClusterVersionDeferralPolicyType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ClusterVersionDeferralPolicyType) IsValid ¶
func (v ClusterVersionDeferralPolicyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClusterVersionDeferralPolicyType) Ptr ¶
func (v ClusterVersionDeferralPolicyType) Ptr() *ClusterVersionDeferralPolicyType
Ptr returns reference to ClusterVersionDeferralPolicy.Type value.
type CockroachCloudSetRolesForUserRequest ¶
type CockroachCloudSetRolesForUserRequest struct {
Roles []BuiltInRole `json:"roles"`
}
CockroachCloudSetRolesForUserRequest struct for CockroachCloudSetRolesForUserRequest.
func NewCockroachCloudSetRolesForUserRequest ¶
func NewCockroachCloudSetRolesForUserRequest(roles []BuiltInRole) *CockroachCloudSetRolesForUserRequest
NewCockroachCloudSetRolesForUserRequest instantiates a new CockroachCloudSetRolesForUserRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCockroachCloudSetRolesForUserRequestWithDefaults ¶
func NewCockroachCloudSetRolesForUserRequestWithDefaults() *CockroachCloudSetRolesForUserRequest
NewCockroachCloudSetRolesForUserRequestWithDefaults instantiates a new CockroachCloudSetRolesForUserRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CockroachCloudSetRolesForUserRequest) GetRoles ¶
func (o *CockroachCloudSetRolesForUserRequest) GetRoles() []BuiltInRole
GetRoles returns the Roles field value.
func (*CockroachCloudSetRolesForUserRequest) SetRoles ¶
func (o *CockroachCloudSetRolesForUserRequest) SetRoles(v []BuiltInRole)
SetRoles sets field value.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` ServerURL string HTTPClient *http.Client // contains filtered or unexported fields }
Configuration stores the configuration of the API client.
func NewConfiguration ¶
func NewConfiguration(apiKey string) *Configuration
NewConfiguration returns a new Configuration object.
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request.
type ConnectionStringParameters ¶
type ConnectionStringParameters struct { Database string `json:"Database"` Host string `json:"Host"` Port string `json:"Port"` Username *string `json:"Username,omitempty"` }
ConnectionStringParameters Individual parameters used to create a connection string..
func NewConnectionStringParameters ¶
func NewConnectionStringParameters(database string, host string, port string) *ConnectionStringParameters
NewConnectionStringParameters instantiates a new ConnectionStringParameters object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConnectionStringParametersWithDefaults ¶
func NewConnectionStringParametersWithDefaults() *ConnectionStringParameters
NewConnectionStringParametersWithDefaults instantiates a new ConnectionStringParameters object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConnectionStringParameters) GetDatabase ¶
func (o *ConnectionStringParameters) GetDatabase() string
GetDatabase returns the Database field value.
func (*ConnectionStringParameters) GetHost ¶
func (o *ConnectionStringParameters) GetHost() string
GetHost returns the Host field value.
func (*ConnectionStringParameters) GetPort ¶
func (o *ConnectionStringParameters) GetPort() string
GetPort returns the Port field value.
func (*ConnectionStringParameters) GetUsername ¶
func (o *ConnectionStringParameters) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*ConnectionStringParameters) SetDatabase ¶
func (o *ConnectionStringParameters) SetDatabase(v string)
SetDatabase sets field value.
func (*ConnectionStringParameters) SetHost ¶
func (o *ConnectionStringParameters) SetHost(v string)
SetHost sets field value.
func (*ConnectionStringParameters) SetPort ¶
func (o *ConnectionStringParameters) SetPort(v string)
SetPort sets field value.
func (*ConnectionStringParameters) SetUsername ¶
func (o *ConnectionStringParameters) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
type CreateApiKeyRequest ¶
type CreateApiKeyRequest struct { // The name of the api key. Name string `json:"name"` // The ID of the service account to create the api key for. ServiceAccountId string `json:"service_account_id"` }
CreateApiKeyRequest struct for CreateApiKeyRequest.
func NewCreateApiKeyRequest ¶
func NewCreateApiKeyRequest(name string, serviceAccountId string) *CreateApiKeyRequest
NewCreateApiKeyRequest instantiates a new CreateApiKeyRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateApiKeyRequestWithDefaults ¶
func NewCreateApiKeyRequestWithDefaults() *CreateApiKeyRequest
NewCreateApiKeyRequestWithDefaults instantiates a new CreateApiKeyRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateApiKeyRequest) GetName ¶
func (o *CreateApiKeyRequest) GetName() string
GetName returns the Name field value.
func (*CreateApiKeyRequest) GetServiceAccountId ¶
func (o *CreateApiKeyRequest) GetServiceAccountId() string
GetServiceAccountId returns the ServiceAccountId field value.
func (*CreateApiKeyRequest) SetName ¶
func (o *CreateApiKeyRequest) SetName(v string)
SetName sets field value.
func (*CreateApiKeyRequest) SetServiceAccountId ¶
func (o *CreateApiKeyRequest) SetServiceAccountId(v string)
SetServiceAccountId sets field value.
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct { ApiKey ApiKey `json:"api_key"` // The full api key. This is the value that would be passed in the Authorization header. It is not stored by the backend and is therefore not recoverable if lost. Secret string `json:"secret"` }
CreateApiKeyResponse struct for CreateApiKeyResponse.
func NewCreateApiKeyResponse ¶
func NewCreateApiKeyResponse(apiKey ApiKey, secret string) *CreateApiKeyResponse
NewCreateApiKeyResponse instantiates a new CreateApiKeyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateApiKeyResponseWithDefaults ¶
func NewCreateApiKeyResponseWithDefaults() *CreateApiKeyResponse
NewCreateApiKeyResponseWithDefaults instantiates a new CreateApiKeyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateApiKeyResponse) GetApiKey ¶
func (o *CreateApiKeyResponse) GetApiKey() ApiKey
GetApiKey returns the ApiKey field value.
func (*CreateApiKeyResponse) GetSecret ¶
func (o *CreateApiKeyResponse) GetSecret() string
GetSecret returns the Secret field value.
func (*CreateApiKeyResponse) SetApiKey ¶
func (o *CreateApiKeyResponse) SetApiKey(v ApiKey)
SetApiKey sets field value.
func (*CreateApiKeyResponse) SetSecret ¶
func (o *CreateApiKeyResponse) SetSecret(v string)
SetSecret sets field value.
type CreateApiOidcConfigRequest ¶
type CreateApiOidcConfigRequest struct { Audience string `json:"audience"` Claim *string `json:"claim,omitempty"` IdentityMap *[]ApiOidcIdentityMapEntry `json:"identity_map,omitempty"` Issuer string `json:"issuer"` Jwks string `json:"jwks"` }
CreateApiOidcConfigRequest struct for CreateApiOidcConfigRequest.
func NewCreateApiOidcConfigRequest ¶
func NewCreateApiOidcConfigRequest(audience string, issuer string, jwks string) *CreateApiOidcConfigRequest
NewCreateApiOidcConfigRequest instantiates a new CreateApiOidcConfigRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateApiOidcConfigRequestWithDefaults ¶
func NewCreateApiOidcConfigRequestWithDefaults() *CreateApiOidcConfigRequest
NewCreateApiOidcConfigRequestWithDefaults instantiates a new CreateApiOidcConfigRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateApiOidcConfigRequest) GetAudience ¶
func (o *CreateApiOidcConfigRequest) GetAudience() string
GetAudience returns the Audience field value.
func (*CreateApiOidcConfigRequest) GetClaim ¶
func (o *CreateApiOidcConfigRequest) GetClaim() string
GetClaim returns the Claim field value if set, zero value otherwise.
func (*CreateApiOidcConfigRequest) GetIdentityMap ¶
func (o *CreateApiOidcConfigRequest) GetIdentityMap() []ApiOidcIdentityMapEntry
GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.
func (*CreateApiOidcConfigRequest) GetIssuer ¶
func (o *CreateApiOidcConfigRequest) GetIssuer() string
GetIssuer returns the Issuer field value.
func (*CreateApiOidcConfigRequest) GetJwks ¶
func (o *CreateApiOidcConfigRequest) GetJwks() string
GetJwks returns the Jwks field value.
func (*CreateApiOidcConfigRequest) SetAudience ¶
func (o *CreateApiOidcConfigRequest) SetAudience(v string)
SetAudience sets field value.
func (*CreateApiOidcConfigRequest) SetClaim ¶
func (o *CreateApiOidcConfigRequest) SetClaim(v string)
SetClaim gets a reference to the given string and assigns it to the Claim field.
func (*CreateApiOidcConfigRequest) SetIdentityMap ¶
func (o *CreateApiOidcConfigRequest) SetIdentityMap(v []ApiOidcIdentityMapEntry)
SetIdentityMap gets a reference to the given []ApiOidcIdentityMapEntry and assigns it to the IdentityMap field.
func (*CreateApiOidcConfigRequest) SetIssuer ¶
func (o *CreateApiOidcConfigRequest) SetIssuer(v string)
SetIssuer sets field value.
func (*CreateApiOidcConfigRequest) SetJwks ¶
func (o *CreateApiOidcConfigRequest) SetJwks(v string)
SetJwks sets field value.
type CreateClusterRequest ¶
type CreateClusterRequest struct { // Name must be 6-20 characters in length and can include numbers, lowercase letters, and dashes (but no leading or trailing dashes). Name string `json:"name"` Provider CloudProviderType `json:"provider"` Spec CreateClusterSpecification `json:"spec"` }
CreateClusterRequest struct for CreateClusterRequest.
func NewCreateClusterRequest ¶
func NewCreateClusterRequest(name string, provider CloudProviderType, spec CreateClusterSpecification) *CreateClusterRequest
NewCreateClusterRequest instantiates a new CreateClusterRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateClusterRequestWithDefaults ¶
func NewCreateClusterRequestWithDefaults() *CreateClusterRequest
NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateClusterRequest) GetName ¶
func (o *CreateClusterRequest) GetName() string
GetName returns the Name field value.
func (*CreateClusterRequest) GetProvider ¶
func (o *CreateClusterRequest) GetProvider() CloudProviderType
GetProvider returns the Provider field value.
func (*CreateClusterRequest) GetSpec ¶
func (o *CreateClusterRequest) GetSpec() CreateClusterSpecification
GetSpec returns the Spec field value.
func (*CreateClusterRequest) SetName ¶
func (o *CreateClusterRequest) SetName(v string)
SetName sets field value.
func (*CreateClusterRequest) SetProvider ¶
func (o *CreateClusterRequest) SetProvider(v CloudProviderType)
SetProvider sets field value.
func (*CreateClusterRequest) SetSpec ¶
func (o *CreateClusterRequest) SetSpec(v CreateClusterSpecification)
SetSpec sets field value.
type CreateClusterSpecification ¶
type CreateClusterSpecification struct { Dedicated *DedicatedClusterCreateSpecification `json:"dedicated,omitempty"` DeleteProtection *DeleteProtectionStateType `json:"delete_protection,omitempty"` // Preview: The parent ID is a folder ID. An empty string or \"root\" will create a cluster at the root level. ParentId *string `json:"parent_id,omitempty"` Plan *PlanType `json:"plan,omitempty"` Serverless *ServerlessClusterCreateSpecification `json:"serverless,omitempty"` }
CreateClusterSpecification struct for CreateClusterSpecification.
func NewCreateClusterSpecification ¶
func NewCreateClusterSpecification() *CreateClusterSpecification
NewCreateClusterSpecification instantiates a new CreateClusterSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CreateClusterSpecification) GetDedicated ¶
func (o *CreateClusterSpecification) GetDedicated() DedicatedClusterCreateSpecification
GetDedicated returns the Dedicated field value if set, zero value otherwise.
func (*CreateClusterSpecification) GetDeleteProtection ¶
func (o *CreateClusterSpecification) GetDeleteProtection() DeleteProtectionStateType
GetDeleteProtection returns the DeleteProtection field value if set, zero value otherwise.
func (*CreateClusterSpecification) GetParentId ¶
func (o *CreateClusterSpecification) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CreateClusterSpecification) GetPlan ¶
func (o *CreateClusterSpecification) GetPlan() PlanType
GetPlan returns the Plan field value if set, zero value otherwise.
func (*CreateClusterSpecification) GetServerless ¶
func (o *CreateClusterSpecification) GetServerless() ServerlessClusterCreateSpecification
GetServerless returns the Serverless field value if set, zero value otherwise.
func (*CreateClusterSpecification) SetDedicated ¶
func (o *CreateClusterSpecification) SetDedicated(v DedicatedClusterCreateSpecification)
SetDedicated gets a reference to the given DedicatedClusterCreateSpecification and assigns it to the Dedicated field.
func (*CreateClusterSpecification) SetDeleteProtection ¶
func (o *CreateClusterSpecification) SetDeleteProtection(v DeleteProtectionStateType)
SetDeleteProtection gets a reference to the given DeleteProtectionStateType and assigns it to the DeleteProtection field.
func (*CreateClusterSpecification) SetParentId ¶
func (o *CreateClusterSpecification) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*CreateClusterSpecification) SetPlan ¶
func (o *CreateClusterSpecification) SetPlan(v PlanType)
SetPlan gets a reference to the given PlanType and assigns it to the Plan field.
func (*CreateClusterSpecification) SetServerless ¶
func (o *CreateClusterSpecification) SetServerless(v ServerlessClusterCreateSpecification)
SetServerless gets a reference to the given ServerlessClusterCreateSpecification and assigns it to the Serverless field.
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct {
Name string `json:"name"`
}
CreateDatabaseRequest struct for CreateDatabaseRequest.
func NewCreateDatabaseRequest ¶
func NewCreateDatabaseRequest(name string) *CreateDatabaseRequest
NewCreateDatabaseRequest instantiates a new CreateDatabaseRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDatabaseRequestWithDefaults ¶
func NewCreateDatabaseRequestWithDefaults() *CreateDatabaseRequest
NewCreateDatabaseRequestWithDefaults instantiates a new CreateDatabaseRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDatabaseRequest) GetName ¶
func (o *CreateDatabaseRequest) GetName() string
GetName returns the Name field value.
func (*CreateDatabaseRequest) SetName ¶
func (o *CreateDatabaseRequest) SetName(v string)
SetName sets field value.
type CreateFolderRequest ¶
type CreateFolderRequest struct { Name string `json:"name"` // The parent ID is a folder ID. An empty string or \"root\" will create a folder at the root level. ParentId *string `json:"parent_id,omitempty"` }
CreateFolderRequest struct for CreateFolderRequest.
func NewCreateFolderRequest ¶
func NewCreateFolderRequest(name string) *CreateFolderRequest
NewCreateFolderRequest instantiates a new CreateFolderRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFolderRequestWithDefaults ¶
func NewCreateFolderRequestWithDefaults() *CreateFolderRequest
NewCreateFolderRequestWithDefaults instantiates a new CreateFolderRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFolderRequest) GetName ¶
func (o *CreateFolderRequest) GetName() string
GetName returns the Name field value.
func (*CreateFolderRequest) GetParentId ¶
func (o *CreateFolderRequest) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*CreateFolderRequest) SetName ¶
func (o *CreateFolderRequest) SetName(v string)
SetName sets field value.
func (*CreateFolderRequest) SetParentId ¶
func (o *CreateFolderRequest) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
type CreateGroupRequest ¶
type CreateGroupRequest struct { DisplayName string `json:"displayName"` ExternalId *string `json:"externalId,omitempty"` Members *[]ScimResource `json:"members,omitempty"` Schemas *[]string `json:"schemas,omitempty"` }
CreateGroupRequest struct for CreateGroupRequest.
func NewCreateGroupRequest ¶
func NewCreateGroupRequest(displayName string) *CreateGroupRequest
NewCreateGroupRequest instantiates a new CreateGroupRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateGroupRequestWithDefaults ¶
func NewCreateGroupRequestWithDefaults() *CreateGroupRequest
NewCreateGroupRequestWithDefaults instantiates a new CreateGroupRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateGroupRequest) GetDisplayName ¶
func (o *CreateGroupRequest) GetDisplayName() string
GetDisplayName returns the DisplayName field value.
func (*CreateGroupRequest) GetExternalId ¶
func (o *CreateGroupRequest) GetExternalId() string
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*CreateGroupRequest) GetMembers ¶
func (o *CreateGroupRequest) GetMembers() []ScimResource
GetMembers returns the Members field value if set, zero value otherwise.
func (*CreateGroupRequest) GetSchemas ¶
func (o *CreateGroupRequest) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*CreateGroupRequest) SetDisplayName ¶
func (o *CreateGroupRequest) SetDisplayName(v string)
SetDisplayName sets field value.
func (*CreateGroupRequest) SetExternalId ¶
func (o *CreateGroupRequest) SetExternalId(v string)
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*CreateGroupRequest) SetMembers ¶
func (o *CreateGroupRequest) SetMembers(v []ScimResource)
SetMembers gets a reference to the given []ScimResource and assigns it to the Members field.
func (*CreateGroupRequest) SetSchemas ¶
func (o *CreateGroupRequest) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
type CreateSQLUserRequest ¶
CreateSQLUserRequest struct for CreateSQLUserRequest.
func NewCreateSQLUserRequest ¶
func NewCreateSQLUserRequest(name string, password string) *CreateSQLUserRequest
NewCreateSQLUserRequest instantiates a new CreateSQLUserRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSQLUserRequestWithDefaults ¶
func NewCreateSQLUserRequestWithDefaults() *CreateSQLUserRequest
NewCreateSQLUserRequestWithDefaults instantiates a new CreateSQLUserRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSQLUserRequest) GetName ¶
func (o *CreateSQLUserRequest) GetName() string
GetName returns the Name field value.
func (*CreateSQLUserRequest) GetPassword ¶
func (o *CreateSQLUserRequest) GetPassword() string
GetPassword returns the Password field value.
func (*CreateSQLUserRequest) SetName ¶
func (o *CreateSQLUserRequest) SetName(v string)
SetName sets field value.
func (*CreateSQLUserRequest) SetPassword ¶
func (o *CreateSQLUserRequest) SetPassword(v string)
SetPassword sets field value.
type CreateServiceAccountRequest ¶
type CreateServiceAccountRequest struct { // description of the service account. Description string `json:"description"` // name of the service account. Name string `json:"name"` // roles that are assigned to the service account. Roles []BuiltInRole `json:"roles"` }
CreateServiceAccountRequest struct for CreateServiceAccountRequest.
func NewCreateServiceAccountRequest ¶
func NewCreateServiceAccountRequest(description string, name string, roles []BuiltInRole) *CreateServiceAccountRequest
NewCreateServiceAccountRequest instantiates a new CreateServiceAccountRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServiceAccountRequestWithDefaults ¶
func NewCreateServiceAccountRequestWithDefaults() *CreateServiceAccountRequest
NewCreateServiceAccountRequestWithDefaults instantiates a new CreateServiceAccountRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServiceAccountRequest) GetDescription ¶
func (o *CreateServiceAccountRequest) GetDescription() string
GetDescription returns the Description field value.
func (*CreateServiceAccountRequest) GetName ¶
func (o *CreateServiceAccountRequest) GetName() string
GetName returns the Name field value.
func (*CreateServiceAccountRequest) GetRoles ¶
func (o *CreateServiceAccountRequest) GetRoles() []BuiltInRole
GetRoles returns the Roles field value.
func (*CreateServiceAccountRequest) SetDescription ¶
func (o *CreateServiceAccountRequest) SetDescription(v string)
SetDescription sets field value.
func (*CreateServiceAccountRequest) SetName ¶
func (o *CreateServiceAccountRequest) SetName(v string)
SetName sets field value.
func (*CreateServiceAccountRequest) SetRoles ¶
func (o *CreateServiceAccountRequest) SetRoles(v []BuiltInRole)
SetRoles sets field value.
type CreateUserRequest ¶
type CreateUserRequest struct { Active bool `json:"active"` DisplayName string `json:"displayName"` Emails []ScimEmail `json:"emails"` ExternalId *string `json:"externalId,omitempty"` Name ScimName `json:"name"` Schemas *[]string `json:"schemas,omitempty"` UserName *string `json:"userName,omitempty"` }
CreateUserRequest struct for CreateUserRequest.
func NewCreateUserRequest ¶
func NewCreateUserRequest(active bool, displayName string, emails []ScimEmail, name ScimName) *CreateUserRequest
NewCreateUserRequest instantiates a new CreateUserRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserRequestWithDefaults ¶
func NewCreateUserRequestWithDefaults() *CreateUserRequest
NewCreateUserRequestWithDefaults instantiates a new CreateUserRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserRequest) GetActive ¶
func (o *CreateUserRequest) GetActive() bool
GetActive returns the Active field value.
func (*CreateUserRequest) GetDisplayName ¶
func (o *CreateUserRequest) GetDisplayName() string
GetDisplayName returns the DisplayName field value.
func (*CreateUserRequest) GetEmails ¶
func (o *CreateUserRequest) GetEmails() []ScimEmail
GetEmails returns the Emails field value.
func (*CreateUserRequest) GetExternalId ¶
func (o *CreateUserRequest) GetExternalId() string
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*CreateUserRequest) GetName ¶
func (o *CreateUserRequest) GetName() ScimName
GetName returns the Name field value.
func (*CreateUserRequest) GetSchemas ¶
func (o *CreateUserRequest) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*CreateUserRequest) GetUserName ¶
func (o *CreateUserRequest) GetUserName() string
GetUserName returns the UserName field value if set, zero value otherwise.
func (*CreateUserRequest) SetActive ¶
func (o *CreateUserRequest) SetActive(v bool)
SetActive sets field value.
func (*CreateUserRequest) SetDisplayName ¶
func (o *CreateUserRequest) SetDisplayName(v string)
SetDisplayName sets field value.
func (*CreateUserRequest) SetEmails ¶
func (o *CreateUserRequest) SetEmails(v []ScimEmail)
SetEmails sets field value.
func (*CreateUserRequest) SetExternalId ¶
func (o *CreateUserRequest) SetExternalId(v string)
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*CreateUserRequest) SetName ¶
func (o *CreateUserRequest) SetName(v ScimName)
SetName sets field value.
func (*CreateUserRequest) SetSchemas ¶
func (o *CreateUserRequest) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*CreateUserRequest) SetUserName ¶
func (o *CreateUserRequest) SetUserName(v string)
SetUserName gets a reference to the given string and assigns it to the UserName field.
type CurrencyAmount ¶
type CurrencyAmount struct { // amount is the quantity of currency. Internally, currency amounts are tracked and stored using an arbitrary-precision decimal representation, but are serialized as 64-bit floating point numbers. There may be minor rounding discrepancies when parsed as a 32-bit float. Amount *float64 `json:"amount,omitempty"` Currency *CurrencyType `json:"currency,omitempty"` }
CurrencyAmount struct for CurrencyAmount.
func NewCurrencyAmount ¶
func NewCurrencyAmount() *CurrencyAmount
NewCurrencyAmount instantiates a new CurrencyAmount object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*CurrencyAmount) GetAmount ¶
func (o *CurrencyAmount) GetAmount() float64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*CurrencyAmount) GetCurrency ¶
func (o *CurrencyAmount) GetCurrency() CurrencyType
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*CurrencyAmount) SetAmount ¶
func (o *CurrencyAmount) SetAmount(v float64)
SetAmount gets a reference to the given float64 and assigns it to the Amount field.
func (*CurrencyAmount) SetCurrency ¶
func (o *CurrencyAmount) SetCurrency(v CurrencyType)
SetCurrency gets a reference to the given CurrencyType and assigns it to the Currency field.
type CurrencyType ¶
type CurrencyType string
CurrencyType the model 'CurrencyType'.
const ( CURRENCYTYPE_USD CurrencyType = "USD" CURRENCYTYPE_CRDB_CLOUD_CREDITS CurrencyType = "CRDB_CLOUD_CREDITS" )
List of Currency.Type.
func NewCurrencyTypeFromValue ¶
func NewCurrencyTypeFromValue(v string) (*CurrencyType, error)
NewCurrencyTypeFromValue returns a pointer to a valid CurrencyType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (CurrencyType) IsValid ¶
func (v CurrencyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CurrencyType) Ptr ¶
func (v CurrencyType) Ptr() *CurrencyType
Ptr returns reference to Currency.Type value.
type Database ¶
type Database struct { Name string `json:"name"` TableCount *int64 `json:"table_count,omitempty,string"` }
Database struct for Database.
func NewDatabase ¶
NewDatabase instantiates a new Database object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatabaseWithDefaults ¶
func NewDatabaseWithDefaults() *Database
NewDatabaseWithDefaults instantiates a new Database object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Database) GetTableCount ¶
GetTableCount returns the TableCount field value if set, zero value otherwise.
func (*Database) SetTableCount ¶
SetTableCount gets a reference to the given int64 and assigns it to the TableCount field.
type DatadogMetricExportInfo ¶
type DatadogMetricExportInfo struct { // api_key is the last 4 digits of a Datadog API key. ApiKey *string `json:"api_key,omitempty"` ClusterId string `json:"cluster_id"` Site DatadogSiteType `json:"site"` Status *MetricExportStatusType `json:"status,omitempty"` UserMessage *string `json:"user_message,omitempty"` }
DatadogMetricExportInfo struct for DatadogMetricExportInfo.
func NewDatadogMetricExportInfo ¶
func NewDatadogMetricExportInfo(clusterId string, site DatadogSiteType) *DatadogMetricExportInfo
NewDatadogMetricExportInfo instantiates a new DatadogMetricExportInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatadogMetricExportInfoWithDefaults ¶
func NewDatadogMetricExportInfoWithDefaults() *DatadogMetricExportInfo
NewDatadogMetricExportInfoWithDefaults instantiates a new DatadogMetricExportInfo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DatadogMetricExportInfo) GetApiKey ¶
func (o *DatadogMetricExportInfo) GetApiKey() string
GetApiKey returns the ApiKey field value if set, zero value otherwise.
func (*DatadogMetricExportInfo) GetClusterId ¶
func (o *DatadogMetricExportInfo) GetClusterId() string
GetClusterId returns the ClusterId field value.
func (*DatadogMetricExportInfo) GetSite ¶
func (o *DatadogMetricExportInfo) GetSite() DatadogSiteType
GetSite returns the Site field value.
func (*DatadogMetricExportInfo) GetStatus ¶
func (o *DatadogMetricExportInfo) GetStatus() MetricExportStatusType
GetStatus returns the Status field value if set, zero value otherwise.
func (*DatadogMetricExportInfo) GetUserMessage ¶
func (o *DatadogMetricExportInfo) GetUserMessage() string
GetUserMessage returns the UserMessage field value if set, zero value otherwise.
func (*DatadogMetricExportInfo) SetApiKey ¶
func (o *DatadogMetricExportInfo) SetApiKey(v string)
SetApiKey gets a reference to the given string and assigns it to the ApiKey field.
func (*DatadogMetricExportInfo) SetClusterId ¶
func (o *DatadogMetricExportInfo) SetClusterId(v string)
SetClusterId sets field value.
func (*DatadogMetricExportInfo) SetSite ¶
func (o *DatadogMetricExportInfo) SetSite(v DatadogSiteType)
SetSite sets field value.
func (*DatadogMetricExportInfo) SetStatus ¶
func (o *DatadogMetricExportInfo) SetStatus(v MetricExportStatusType)
SetStatus gets a reference to the given MetricExportStatusType and assigns it to the Status field.
func (*DatadogMetricExportInfo) SetUserMessage ¶
func (o *DatadogMetricExportInfo) SetUserMessage(v string)
SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.
type DatadogSiteType ¶
type DatadogSiteType string
DatadogSiteType the model 'DatadogSiteType'.
const ( DATADOGSITETYPE_US1 DatadogSiteType = "US1" DATADOGSITETYPE_US3 DatadogSiteType = "US3" DATADOGSITETYPE_US5 DatadogSiteType = "US5" DATADOGSITETYPE_US1_GOV DatadogSiteType = "US1_GOV" DATADOGSITETYPE_EU1 DatadogSiteType = "EU1" )
List of DatadogSite.Type.
func NewDatadogSiteTypeFromValue ¶
func NewDatadogSiteTypeFromValue(v string) (*DatadogSiteType, error)
NewDatadogSiteTypeFromValue returns a pointer to a valid DatadogSiteType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (DatadogSiteType) IsValid ¶
func (v DatadogSiteType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (DatadogSiteType) Ptr ¶
func (v DatadogSiteType) Ptr() *DatadogSiteType
Ptr returns reference to DatadogSite.Type value.
type DedicatedClusterCreateSpecification ¶
type DedicatedClusterCreateSpecification struct { // The CockroachDB version for the cluster. The current version is used if omitted. CockroachVersion *string `json:"cockroach_version,omitempty"` Hardware DedicatedHardwareCreateSpecification `json:"hardware"` NetworkVisibility *NetworkVisibilityType `json:"network_visibility,omitempty"` // Region keys should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Values represent the node count. RegionNodes map[string]int32 `json:"region_nodes"` // Preview: RestrictEgressTraffic if set, results in an egress traffic policy of default-deny at creation time. RestrictEgressTraffic *bool `json:"restrict_egress_traffic,omitempty"` }
DedicatedClusterCreateSpecification struct for DedicatedClusterCreateSpecification.
func NewDedicatedClusterCreateSpecification ¶
func NewDedicatedClusterCreateSpecification(hardware DedicatedHardwareCreateSpecification, regionNodes map[string]int32) *DedicatedClusterCreateSpecification
NewDedicatedClusterCreateSpecification instantiates a new DedicatedClusterCreateSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDedicatedClusterCreateSpecificationWithDefaults ¶
func NewDedicatedClusterCreateSpecificationWithDefaults() *DedicatedClusterCreateSpecification
NewDedicatedClusterCreateSpecificationWithDefaults instantiates a new DedicatedClusterCreateSpecification object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DedicatedClusterCreateSpecification) GetCockroachVersion ¶
func (o *DedicatedClusterCreateSpecification) GetCockroachVersion() string
GetCockroachVersion returns the CockroachVersion field value if set, zero value otherwise.
func (*DedicatedClusterCreateSpecification) GetHardware ¶
func (o *DedicatedClusterCreateSpecification) GetHardware() DedicatedHardwareCreateSpecification
GetHardware returns the Hardware field value.
func (*DedicatedClusterCreateSpecification) GetNetworkVisibility ¶
func (o *DedicatedClusterCreateSpecification) GetNetworkVisibility() NetworkVisibilityType
GetNetworkVisibility returns the NetworkVisibility field value if set, zero value otherwise.
func (*DedicatedClusterCreateSpecification) GetRegionNodes ¶
func (o *DedicatedClusterCreateSpecification) GetRegionNodes() map[string]int32
GetRegionNodes returns the RegionNodes field value.
func (*DedicatedClusterCreateSpecification) GetRestrictEgressTraffic ¶
func (o *DedicatedClusterCreateSpecification) GetRestrictEgressTraffic() bool
GetRestrictEgressTraffic returns the RestrictEgressTraffic field value if set, zero value otherwise.
func (*DedicatedClusterCreateSpecification) SetCockroachVersion ¶
func (o *DedicatedClusterCreateSpecification) SetCockroachVersion(v string)
SetCockroachVersion gets a reference to the given string and assigns it to the CockroachVersion field.
func (*DedicatedClusterCreateSpecification) SetHardware ¶
func (o *DedicatedClusterCreateSpecification) SetHardware(v DedicatedHardwareCreateSpecification)
SetHardware sets field value.
func (*DedicatedClusterCreateSpecification) SetNetworkVisibility ¶
func (o *DedicatedClusterCreateSpecification) SetNetworkVisibility(v NetworkVisibilityType)
SetNetworkVisibility gets a reference to the given NetworkVisibilityType and assigns it to the NetworkVisibility field.
func (*DedicatedClusterCreateSpecification) SetRegionNodes ¶
func (o *DedicatedClusterCreateSpecification) SetRegionNodes(v map[string]int32)
SetRegionNodes sets field value.
func (*DedicatedClusterCreateSpecification) SetRestrictEgressTraffic ¶
func (o *DedicatedClusterCreateSpecification) SetRestrictEgressTraffic(v bool)
SetRestrictEgressTraffic gets a reference to the given bool and assigns it to the RestrictEgressTraffic field.
type DedicatedClusterUpdateSpecification ¶
type DedicatedClusterUpdateSpecification struct { // This field should contain the CMEK specs for newly added regions. If a CMEK spec is provided for an existing region, the request is invalid and will fail. CmekRegionSpecs *[]CMEKRegionSpecification `json:"cmek_region_specs,omitempty"` Hardware *DedicatedHardwareUpdateSpecification `json:"hardware,omitempty"` // Region keys should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Values represent the node count. RegionNodes *map[string]int32 `json:"region_nodes,omitempty"` }
DedicatedClusterUpdateSpecification struct for DedicatedClusterUpdateSpecification.
func NewDedicatedClusterUpdateSpecification ¶
func NewDedicatedClusterUpdateSpecification() *DedicatedClusterUpdateSpecification
NewDedicatedClusterUpdateSpecification instantiates a new DedicatedClusterUpdateSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*DedicatedClusterUpdateSpecification) GetCmekRegionSpecs ¶
func (o *DedicatedClusterUpdateSpecification) GetCmekRegionSpecs() []CMEKRegionSpecification
GetCmekRegionSpecs returns the CmekRegionSpecs field value if set, zero value otherwise.
func (*DedicatedClusterUpdateSpecification) GetHardware ¶
func (o *DedicatedClusterUpdateSpecification) GetHardware() DedicatedHardwareUpdateSpecification
GetHardware returns the Hardware field value if set, zero value otherwise.
func (*DedicatedClusterUpdateSpecification) GetRegionNodes ¶
func (o *DedicatedClusterUpdateSpecification) GetRegionNodes() map[string]int32
GetRegionNodes returns the RegionNodes field value if set, zero value otherwise.
func (*DedicatedClusterUpdateSpecification) SetCmekRegionSpecs ¶
func (o *DedicatedClusterUpdateSpecification) SetCmekRegionSpecs(v []CMEKRegionSpecification)
SetCmekRegionSpecs gets a reference to the given []CMEKRegionSpecification and assigns it to the CmekRegionSpecs field.
func (*DedicatedClusterUpdateSpecification) SetHardware ¶
func (o *DedicatedClusterUpdateSpecification) SetHardware(v DedicatedHardwareUpdateSpecification)
SetHardware gets a reference to the given DedicatedHardwareUpdateSpecification and assigns it to the Hardware field.
func (*DedicatedClusterUpdateSpecification) SetRegionNodes ¶
func (o *DedicatedClusterUpdateSpecification) SetRegionNodes(v map[string]int32)
SetRegionNodes gets a reference to the given map[string]int32 and assigns it to the RegionNodes field.
type DedicatedHardwareConfig ¶
type DedicatedHardwareConfig struct { // disk_iops is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. DiskIops int32 `json:"disk_iops"` // machine_type is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4. MachineType string `json:"machine_type"` // memory_gib is the memory GiB per node in the cluster. MemoryGib float32 `json:"memory_gib"` // num_virtual_cpus is the number of virtual CPUs per node in the cluster. NumVirtualCpus int32 `json:"num_virtual_cpus"` // storage_gib is the number of storage GiB per node in the cluster. StorageGib int32 `json:"storage_gib"` }
DedicatedHardwareConfig struct for DedicatedHardwareConfig.
func NewDedicatedHardwareConfig ¶
func NewDedicatedHardwareConfig(diskIops int32, machineType string, memoryGib float32, numVirtualCpus int32, storageGib int32) *DedicatedHardwareConfig
NewDedicatedHardwareConfig instantiates a new DedicatedHardwareConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDedicatedHardwareConfigWithDefaults ¶
func NewDedicatedHardwareConfigWithDefaults() *DedicatedHardwareConfig
NewDedicatedHardwareConfigWithDefaults instantiates a new DedicatedHardwareConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DedicatedHardwareConfig) GetDiskIops ¶
func (o *DedicatedHardwareConfig) GetDiskIops() int32
GetDiskIops returns the DiskIops field value.
func (*DedicatedHardwareConfig) GetMachineType ¶
func (o *DedicatedHardwareConfig) GetMachineType() string
GetMachineType returns the MachineType field value.
func (*DedicatedHardwareConfig) GetMemoryGib ¶
func (o *DedicatedHardwareConfig) GetMemoryGib() float32
GetMemoryGib returns the MemoryGib field value.
func (*DedicatedHardwareConfig) GetNumVirtualCpus ¶
func (o *DedicatedHardwareConfig) GetNumVirtualCpus() int32
GetNumVirtualCpus returns the NumVirtualCpus field value.
func (*DedicatedHardwareConfig) GetStorageGib ¶
func (o *DedicatedHardwareConfig) GetStorageGib() int32
GetStorageGib returns the StorageGib field value.
func (*DedicatedHardwareConfig) SetDiskIops ¶
func (o *DedicatedHardwareConfig) SetDiskIops(v int32)
SetDiskIops sets field value.
func (*DedicatedHardwareConfig) SetMachineType ¶
func (o *DedicatedHardwareConfig) SetMachineType(v string)
SetMachineType sets field value.
func (*DedicatedHardwareConfig) SetMemoryGib ¶
func (o *DedicatedHardwareConfig) SetMemoryGib(v float32)
SetMemoryGib sets field value.
func (*DedicatedHardwareConfig) SetNumVirtualCpus ¶
func (o *DedicatedHardwareConfig) SetNumVirtualCpus(v int32)
SetNumVirtualCpus sets field value.
func (*DedicatedHardwareConfig) SetStorageGib ¶
func (o *DedicatedHardwareConfig) SetStorageGib(v int32)
SetStorageGib sets field value.
type DedicatedHardwareCreateSpecification ¶
type DedicatedHardwareCreateSpecification struct { // disk_iops is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. Only available for AWS clusters. DiskIops *int32 `json:"disk_iops,omitempty"` MachineSpec DedicatedMachineTypeSpecification `json:"machine_spec"` // storage_gib is the number of storage GiB per node in the cluster. Zero indicates default to the lowest storage GiB available given machine specs. StorageGib int32 `json:"storage_gib"` }
DedicatedHardwareCreateSpecification struct for DedicatedHardwareCreateSpecification.
func NewDedicatedHardwareCreateSpecification ¶
func NewDedicatedHardwareCreateSpecification(machineSpec DedicatedMachineTypeSpecification, storageGib int32) *DedicatedHardwareCreateSpecification
NewDedicatedHardwareCreateSpecification instantiates a new DedicatedHardwareCreateSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDedicatedHardwareCreateSpecificationWithDefaults ¶
func NewDedicatedHardwareCreateSpecificationWithDefaults() *DedicatedHardwareCreateSpecification
NewDedicatedHardwareCreateSpecificationWithDefaults instantiates a new DedicatedHardwareCreateSpecification object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DedicatedHardwareCreateSpecification) GetDiskIops ¶
func (o *DedicatedHardwareCreateSpecification) GetDiskIops() int32
GetDiskIops returns the DiskIops field value if set, zero value otherwise.
func (*DedicatedHardwareCreateSpecification) GetMachineSpec ¶
func (o *DedicatedHardwareCreateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
GetMachineSpec returns the MachineSpec field value.
func (*DedicatedHardwareCreateSpecification) GetStorageGib ¶
func (o *DedicatedHardwareCreateSpecification) GetStorageGib() int32
GetStorageGib returns the StorageGib field value.
func (*DedicatedHardwareCreateSpecification) SetDiskIops ¶
func (o *DedicatedHardwareCreateSpecification) SetDiskIops(v int32)
SetDiskIops gets a reference to the given int32 and assigns it to the DiskIops field.
func (*DedicatedHardwareCreateSpecification) SetMachineSpec ¶
func (o *DedicatedHardwareCreateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
SetMachineSpec sets field value.
func (*DedicatedHardwareCreateSpecification) SetStorageGib ¶
func (o *DedicatedHardwareCreateSpecification) SetStorageGib(v int32)
SetStorageGib sets field value.
type DedicatedHardwareUpdateSpecification ¶
type DedicatedHardwareUpdateSpecification struct { // disk_iops is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. Only available for AWS clusters. DiskIops *int32 `json:"disk_iops,omitempty"` MachineSpec *DedicatedMachineTypeSpecification `json:"machine_spec,omitempty"` // storage_gib is the number of storage GiB per node in the cluster. StorageGib *int32 `json:"storage_gib,omitempty"` }
DedicatedHardwareUpdateSpecification struct for DedicatedHardwareUpdateSpecification.
func NewDedicatedHardwareUpdateSpecification ¶
func NewDedicatedHardwareUpdateSpecification() *DedicatedHardwareUpdateSpecification
NewDedicatedHardwareUpdateSpecification instantiates a new DedicatedHardwareUpdateSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*DedicatedHardwareUpdateSpecification) GetDiskIops ¶
func (o *DedicatedHardwareUpdateSpecification) GetDiskIops() int32
GetDiskIops returns the DiskIops field value if set, zero value otherwise.
func (*DedicatedHardwareUpdateSpecification) GetMachineSpec ¶
func (o *DedicatedHardwareUpdateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
GetMachineSpec returns the MachineSpec field value if set, zero value otherwise.
func (*DedicatedHardwareUpdateSpecification) GetStorageGib ¶
func (o *DedicatedHardwareUpdateSpecification) GetStorageGib() int32
GetStorageGib returns the StorageGib field value if set, zero value otherwise.
func (*DedicatedHardwareUpdateSpecification) SetDiskIops ¶
func (o *DedicatedHardwareUpdateSpecification) SetDiskIops(v int32)
SetDiskIops gets a reference to the given int32 and assigns it to the DiskIops field.
func (*DedicatedHardwareUpdateSpecification) SetMachineSpec ¶
func (o *DedicatedHardwareUpdateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
SetMachineSpec gets a reference to the given DedicatedMachineTypeSpecification and assigns it to the MachineSpec field.
func (*DedicatedHardwareUpdateSpecification) SetStorageGib ¶
func (o *DedicatedHardwareUpdateSpecification) SetStorageGib(v int32)
SetStorageGib gets a reference to the given int32 and assigns it to the StorageGib field.
type DedicatedMachineTypeSpecification ¶
type DedicatedMachineTypeSpecification struct { // machine_type is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4. MachineType *string `json:"machine_type,omitempty"` // num_virtual_cpus may be used to automatically select a machine type according to the desired number of vCPUs. NumVirtualCpus *int32 `json:"num_virtual_cpus,omitempty"` }
DedicatedMachineTypeSpecification struct for DedicatedMachineTypeSpecification.
func NewDedicatedMachineTypeSpecification ¶
func NewDedicatedMachineTypeSpecification() *DedicatedMachineTypeSpecification
NewDedicatedMachineTypeSpecification instantiates a new DedicatedMachineTypeSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*DedicatedMachineTypeSpecification) GetMachineType ¶
func (o *DedicatedMachineTypeSpecification) GetMachineType() string
GetMachineType returns the MachineType field value if set, zero value otherwise.
func (*DedicatedMachineTypeSpecification) GetNumVirtualCpus ¶
func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpus() int32
GetNumVirtualCpus returns the NumVirtualCpus field value if set, zero value otherwise.
func (*DedicatedMachineTypeSpecification) SetMachineType ¶
func (o *DedicatedMachineTypeSpecification) SetMachineType(v string)
SetMachineType gets a reference to the given string and assigns it to the MachineType field.
func (*DedicatedMachineTypeSpecification) SetNumVirtualCpus ¶
func (o *DedicatedMachineTypeSpecification) SetNumVirtualCpus(v int32)
SetNumVirtualCpus gets a reference to the given int32 and assigns it to the NumVirtualCpus field.
type DeleteEgressRuleOptions ¶
type DeleteEgressRuleOptions struct { // idempotency_key uniquely identifies this request. If not set, it will be set by the server. IdempotencyKey *string }
DeleteEgressRuleOptions contains optional parameters for DeleteEgressRule.
type DeleteEgressRuleResponse ¶
type DeleteEgressRuleResponse struct {
Rule *EgressRule `json:"Rule,omitempty"`
}
DeleteEgressRuleResponse struct for DeleteEgressRuleResponse.
func NewDeleteEgressRuleResponse ¶
func NewDeleteEgressRuleResponse() *DeleteEgressRuleResponse
NewDeleteEgressRuleResponse instantiates a new DeleteEgressRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*DeleteEgressRuleResponse) GetRule ¶
func (o *DeleteEgressRuleResponse) GetRule() EgressRule
GetRule returns the Rule field value if set, zero value otherwise.
func (*DeleteEgressRuleResponse) SetRule ¶
func (o *DeleteEgressRuleResponse) SetRule(v EgressRule)
SetRule gets a reference to the given EgressRule and assigns it to the Rule field.
type DeleteMetricExportResponse ¶
type DeleteMetricExportResponse struct { ClusterId string `json:"cluster_id"` Status *MetricExportStatusType `json:"status,omitempty"` }
DeleteMetricExportResponse struct for DeleteMetricExportResponse.
func NewDeleteMetricExportResponse ¶
func NewDeleteMetricExportResponse(clusterId string) *DeleteMetricExportResponse
NewDeleteMetricExportResponse instantiates a new DeleteMetricExportResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteMetricExportResponseWithDefaults ¶
func NewDeleteMetricExportResponseWithDefaults() *DeleteMetricExportResponse
NewDeleteMetricExportResponseWithDefaults instantiates a new DeleteMetricExportResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteMetricExportResponse) GetClusterId ¶
func (o *DeleteMetricExportResponse) GetClusterId() string
GetClusterId returns the ClusterId field value.
func (*DeleteMetricExportResponse) GetStatus ¶
func (o *DeleteMetricExportResponse) GetStatus() MetricExportStatusType
GetStatus returns the Status field value if set, zero value otherwise.
func (*DeleteMetricExportResponse) SetClusterId ¶
func (o *DeleteMetricExportResponse) SetClusterId(v string)
SetClusterId sets field value.
func (*DeleteMetricExportResponse) SetStatus ¶
func (o *DeleteMetricExportResponse) SetStatus(v MetricExportStatusType)
SetStatus gets a reference to the given MetricExportStatusType and assigns it to the Status field.
type DeleteProtectionStateType ¶
type DeleteProtectionStateType string
DeleteProtectionStateType the model 'DeleteProtectionStateType'.
const ( DELETEPROTECTIONSTATETYPE_ENABLED DeleteProtectionStateType = "ENABLED" DELETEPROTECTIONSTATETYPE_DISABLED DeleteProtectionStateType = "DISABLED" )
List of DeleteProtectionState.Type.
func NewDeleteProtectionStateTypeFromValue ¶
func NewDeleteProtectionStateTypeFromValue(v string) (*DeleteProtectionStateType, error)
NewDeleteProtectionStateTypeFromValue returns a pointer to a valid DeleteProtectionStateType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (DeleteProtectionStateType) IsValid ¶
func (v DeleteProtectionStateType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (DeleteProtectionStateType) Ptr ¶
func (v DeleteProtectionStateType) Ptr() *DeleteProtectionStateType
Ptr returns reference to DeleteProtectionState.Type value.
type EditEgressRuleRequest ¶
type EditEgressRuleRequest struct { // description is text that serves to document the rules purpose. Description *string `json:"description,omitempty"` // destination is a CIDR range or fully-qualified domain name to which outgoing traffic should be allowed. This field is required. Destination *string `json:"destination,omitempty"` // idempotency_key uniquely identifies this request. If not set, it will be set by the server. IdempotencyKey *string `json:"idempotency_key,omitempty"` // Deprecated: This field is ignored and will be removed in the next version. paths are the allowed URL paths. If empty, all paths are allowed. Only valid if Type=\"FQDN\". Paths *[]string `json:"paths,omitempty"` // ports are the allowed ports for TCP protocol. If empty, all ports are allowed. Ports *[]int32 `json:"ports,omitempty"` // type is the destination type of this rule. Example values are FQDN or CIDR. This field is required. Type *string `json:"type,omitempty"` }
EditEgressRuleRequest struct for EditEgressRuleRequest.
func NewEditEgressRuleRequest ¶
func NewEditEgressRuleRequest() *EditEgressRuleRequest
NewEditEgressRuleRequest instantiates a new EditEgressRuleRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*EditEgressRuleRequest) GetDescription ¶
func (o *EditEgressRuleRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*EditEgressRuleRequest) GetDestination ¶
func (o *EditEgressRuleRequest) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*EditEgressRuleRequest) GetIdempotencyKey ¶
func (o *EditEgressRuleRequest) GetIdempotencyKey() string
GetIdempotencyKey returns the IdempotencyKey field value if set, zero value otherwise.
func (*EditEgressRuleRequest) GetPaths ¶
func (o *EditEgressRuleRequest) GetPaths() []string
GetPaths returns the Paths field value if set, zero value otherwise.
func (*EditEgressRuleRequest) GetPorts ¶
func (o *EditEgressRuleRequest) GetPorts() []int32
GetPorts returns the Ports field value if set, zero value otherwise.
func (*EditEgressRuleRequest) GetType ¶
func (o *EditEgressRuleRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*EditEgressRuleRequest) SetDescription ¶
func (o *EditEgressRuleRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*EditEgressRuleRequest) SetDestination ¶
func (o *EditEgressRuleRequest) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*EditEgressRuleRequest) SetIdempotencyKey ¶
func (o *EditEgressRuleRequest) SetIdempotencyKey(v string)
SetIdempotencyKey gets a reference to the given string and assigns it to the IdempotencyKey field.
func (*EditEgressRuleRequest) SetPaths ¶
func (o *EditEgressRuleRequest) SetPaths(v []string)
SetPaths gets a reference to the given []string and assigns it to the Paths field.
func (*EditEgressRuleRequest) SetPorts ¶
func (o *EditEgressRuleRequest) SetPorts(v []int32)
SetPorts gets a reference to the given []int32 and assigns it to the Ports field.
func (*EditEgressRuleRequest) SetType ¶
func (o *EditEgressRuleRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type EditEgressRuleResponse ¶
type EditEgressRuleResponse struct {
Rule *EgressRule `json:"Rule,omitempty"`
}
EditEgressRuleResponse struct for EditEgressRuleResponse.
func NewEditEgressRuleResponse ¶
func NewEditEgressRuleResponse() *EditEgressRuleResponse
NewEditEgressRuleResponse instantiates a new EditEgressRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*EditEgressRuleResponse) GetRule ¶
func (o *EditEgressRuleResponse) GetRule() EgressRule
GetRule returns the Rule field value if set, zero value otherwise.
func (*EditEgressRuleResponse) SetRule ¶
func (o *EditEgressRuleResponse) SetRule(v EgressRule)
SetRule gets a reference to the given EgressRule and assigns it to the Rule field.
type EgressRule ¶
type EgressRule struct { // cluster_id identifies the cluster to which this egress rule applies. ClusterId string `json:"cluster_id"` // created_at is the time at which the time at which the egress rule was created. CreatedAt *time.Time `json:"created_at,omitempty"` // crl_managed indicates this egress rule is managed by CockroachDB Cloud services. This field is set by the server. CrlManaged bool `json:"crl_managed"` // description is a longer that serves to document the rules purpose. Description string `json:"description"` // destination is the endpoint (or subnetwork if CIDR) to which traffic is allowed. Destination string `json:"destination"` // id uniquely identifies this egress rule. Id string `json:"id"` // name is the name of the egress rule. Name string `json:"name"` // Deprecated: This field is ignored and will be removed in the next version. paths are the allowed URL paths. Only valid if Type=\"FQDN\". Paths *[]string `json:"paths,omitempty"` // ports are the allowed ports for TCP protocol. If Empty, all ports are allowed. Ports *[]int32 `json:"ports,omitempty"` // state indicates the state of the egress rule. State string `json:"state"` // type classifies the destination field. Valid types include: \"FQDN\", \"CIDR\". Type string `json:"type"` }
EgressRule EgressRule represents a network egress rule..
func NewEgressRule ¶
func NewEgressRule(clusterId string, crlManaged bool, description string, destination string, id string, name string, state string, type_ string) *EgressRule
NewEgressRule instantiates a new EgressRule object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEgressRuleWithDefaults ¶
func NewEgressRuleWithDefaults() *EgressRule
NewEgressRuleWithDefaults instantiates a new EgressRule object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EgressRule) GetClusterId ¶
func (o *EgressRule) GetClusterId() string
GetClusterId returns the ClusterId field value.
func (*EgressRule) GetCreatedAt ¶
func (o *EgressRule) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*EgressRule) GetCrlManaged ¶
func (o *EgressRule) GetCrlManaged() bool
GetCrlManaged returns the CrlManaged field value.
func (*EgressRule) GetDescription ¶
func (o *EgressRule) GetDescription() string
GetDescription returns the Description field value.
func (*EgressRule) GetDestination ¶
func (o *EgressRule) GetDestination() string
GetDestination returns the Destination field value.
func (*EgressRule) GetName ¶
func (o *EgressRule) GetName() string
GetName returns the Name field value.
func (*EgressRule) GetPaths ¶
func (o *EgressRule) GetPaths() []string
GetPaths returns the Paths field value if set, zero value otherwise.
func (*EgressRule) GetPorts ¶
func (o *EgressRule) GetPorts() []int32
GetPorts returns the Ports field value if set, zero value otherwise.
func (*EgressRule) GetState ¶
func (o *EgressRule) GetState() string
GetState returns the State field value.
func (*EgressRule) GetType ¶
func (o *EgressRule) GetType() string
GetType returns the Type field value.
func (*EgressRule) SetClusterId ¶
func (o *EgressRule) SetClusterId(v string)
SetClusterId sets field value.
func (*EgressRule) SetCreatedAt ¶
func (o *EgressRule) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*EgressRule) SetCrlManaged ¶
func (o *EgressRule) SetCrlManaged(v bool)
SetCrlManaged sets field value.
func (*EgressRule) SetDescription ¶
func (o *EgressRule) SetDescription(v string)
SetDescription sets field value.
func (*EgressRule) SetDestination ¶
func (o *EgressRule) SetDestination(v string)
SetDestination sets field value.
func (*EgressRule) SetPaths ¶
func (o *EgressRule) SetPaths(v []string)
SetPaths gets a reference to the given []string and assigns it to the Paths field.
func (*EgressRule) SetPorts ¶
func (o *EgressRule) SetPorts(v []int32)
SetPorts gets a reference to the given []int32 and assigns it to the Ports field.
type EgressTrafficPolicyType ¶
type EgressTrafficPolicyType string
EgressTrafficPolicyType - UNSPECIFIED: UNSPECIFIED signifies the egress traffic policy is unspecified. - ERROR: ERROR signifies there has been an internal server error during an update to the egress traffic policy. - ALLOW_ALL: ALLOW_ALL signifies all outbound connections from CockroachDB are allowed. - DEFAULT_DENY: DEFAULT_DENY signifies that CockroachDB can only initiate network connections to destinations explicitly allowed by the user or CockroachDB Cloud operators. - UPDATING: UPDATING signifies the egress traffic policy is updating.
const ( EGRESSTRAFFICPOLICYTYPE_UNSPECIFIED EgressTrafficPolicyType = "UNSPECIFIED" EGRESSTRAFFICPOLICYTYPE_ERROR EgressTrafficPolicyType = "ERROR" EGRESSTRAFFICPOLICYTYPE_ALLOW_ALL EgressTrafficPolicyType = "ALLOW_ALL" EGRESSTRAFFICPOLICYTYPE_DEFAULT_DENY EgressTrafficPolicyType = "DEFAULT_DENY" EGRESSTRAFFICPOLICYTYPE_UPDATING EgressTrafficPolicyType = "UPDATING" )
List of EgressTrafficPolicy.Type.
func NewEgressTrafficPolicyTypeFromValue ¶
func NewEgressTrafficPolicyTypeFromValue(v string) (*EgressTrafficPolicyType, error)
NewEgressTrafficPolicyTypeFromValue returns a pointer to a valid EgressTrafficPolicyType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (EgressTrafficPolicyType) IsValid ¶
func (v EgressTrafficPolicyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EgressTrafficPolicyType) Ptr ¶
func (v EgressTrafficPolicyType) Ptr() *EgressTrafficPolicyType
Ptr returns reference to EgressTrafficPolicy.Type value.
type EnableCloudWatchMetricExportRequest ¶
type EnableCloudWatchMetricExportRequest struct { // log_group_name is the customized log group name. LogGroupName *string `json:"log_group_name,omitempty"` // role_arn is the IAM role used to upload metric segments to the target AWS account. RoleArn string `json:"role_arn"` // target_region specifies the specific AWS region that the metrics will be exported to. TargetRegion *string `json:"target_region,omitempty"` }
EnableCloudWatchMetricExportRequest struct for EnableCloudWatchMetricExportRequest.
func NewEnableCloudWatchMetricExportRequest ¶
func NewEnableCloudWatchMetricExportRequest(roleArn string) *EnableCloudWatchMetricExportRequest
NewEnableCloudWatchMetricExportRequest instantiates a new EnableCloudWatchMetricExportRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnableCloudWatchMetricExportRequestWithDefaults ¶
func NewEnableCloudWatchMetricExportRequestWithDefaults() *EnableCloudWatchMetricExportRequest
NewEnableCloudWatchMetricExportRequestWithDefaults instantiates a new EnableCloudWatchMetricExportRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnableCloudWatchMetricExportRequest) GetLogGroupName ¶
func (o *EnableCloudWatchMetricExportRequest) GetLogGroupName() string
GetLogGroupName returns the LogGroupName field value if set, zero value otherwise.
func (*EnableCloudWatchMetricExportRequest) GetRoleArn ¶
func (o *EnableCloudWatchMetricExportRequest) GetRoleArn() string
GetRoleArn returns the RoleArn field value.
func (*EnableCloudWatchMetricExportRequest) GetTargetRegion ¶
func (o *EnableCloudWatchMetricExportRequest) GetTargetRegion() string
GetTargetRegion returns the TargetRegion field value if set, zero value otherwise.
func (*EnableCloudWatchMetricExportRequest) SetLogGroupName ¶
func (o *EnableCloudWatchMetricExportRequest) SetLogGroupName(v string)
SetLogGroupName gets a reference to the given string and assigns it to the LogGroupName field.
func (*EnableCloudWatchMetricExportRequest) SetRoleArn ¶
func (o *EnableCloudWatchMetricExportRequest) SetRoleArn(v string)
SetRoleArn sets field value.
func (*EnableCloudWatchMetricExportRequest) SetTargetRegion ¶
func (o *EnableCloudWatchMetricExportRequest) SetTargetRegion(v string)
SetTargetRegion gets a reference to the given string and assigns it to the TargetRegion field.
type EnableDatadogMetricExportRequest ¶
type EnableDatadogMetricExportRequest struct { // api_key is a Datadog API key. ApiKey string `json:"api_key"` Site DatadogSiteType `json:"site"` }
EnableDatadogMetricExportRequest struct for EnableDatadogMetricExportRequest.
func NewEnableDatadogMetricExportRequest ¶
func NewEnableDatadogMetricExportRequest(apiKey string, site DatadogSiteType) *EnableDatadogMetricExportRequest
NewEnableDatadogMetricExportRequest instantiates a new EnableDatadogMetricExportRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnableDatadogMetricExportRequestWithDefaults ¶
func NewEnableDatadogMetricExportRequestWithDefaults() *EnableDatadogMetricExportRequest
NewEnableDatadogMetricExportRequestWithDefaults instantiates a new EnableDatadogMetricExportRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnableDatadogMetricExportRequest) GetApiKey ¶
func (o *EnableDatadogMetricExportRequest) GetApiKey() string
GetApiKey returns the ApiKey field value.
func (*EnableDatadogMetricExportRequest) GetSite ¶
func (o *EnableDatadogMetricExportRequest) GetSite() DatadogSiteType
GetSite returns the Site field value.
func (*EnableDatadogMetricExportRequest) SetApiKey ¶
func (o *EnableDatadogMetricExportRequest) SetApiKey(v string)
SetApiKey sets field value.
func (*EnableDatadogMetricExportRequest) SetSite ¶
func (o *EnableDatadogMetricExportRequest) SetSite(v DatadogSiteType)
SetSite sets field value.
type EnableLogExportRequest ¶
type EnableLogExportRequest struct { AuthPrincipal string `json:"auth_principal"` AzureSharedKey *string `json:"azure_shared_key,omitempty"` // groups is a collection of log group configurations that allows the customer to define collections of CRDB log channels that are aggregated separately at the target sink. Groups *[]LogExportGroup `json:"groups,omitempty"` // log_name is an identifier for the logs in the customer's log sink. LogName string `json:"log_name"` // omitted_channels is a list of channels that the user does not want to export logs for. OmittedChannels *[]string `json:"omitted_channels,omitempty"` // redact allows the customer to set a default redaction policy for logs before they are exported to the target sink. If a group config omits a redact flag and this one is set to `true`, then that group will receive redacted logs. Redact *bool `json:"redact,omitempty"` // region allows the customer to override the destination region for all logs for a cluster. Region *string `json:"region,omitempty"` Type LogExportType `json:"type"` }
EnableLogExportRequest struct for EnableLogExportRequest.
func NewEnableLogExportRequest ¶
func NewEnableLogExportRequest(authPrincipal string, logName string, type_ LogExportType) *EnableLogExportRequest
NewEnableLogExportRequest instantiates a new EnableLogExportRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnableLogExportRequestWithDefaults ¶
func NewEnableLogExportRequestWithDefaults() *EnableLogExportRequest
NewEnableLogExportRequestWithDefaults instantiates a new EnableLogExportRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnableLogExportRequest) GetAuthPrincipal ¶
func (o *EnableLogExportRequest) GetAuthPrincipal() string
GetAuthPrincipal returns the AuthPrincipal field value.
func (*EnableLogExportRequest) GetAzureSharedKey ¶
func (o *EnableLogExportRequest) GetAzureSharedKey() string
GetAzureSharedKey returns the AzureSharedKey field value if set, zero value otherwise.
func (*EnableLogExportRequest) GetGroups ¶
func (o *EnableLogExportRequest) GetGroups() []LogExportGroup
GetGroups returns the Groups field value if set, zero value otherwise.
func (*EnableLogExportRequest) GetLogName ¶
func (o *EnableLogExportRequest) GetLogName() string
GetLogName returns the LogName field value.
func (*EnableLogExportRequest) GetOmittedChannels ¶
func (o *EnableLogExportRequest) GetOmittedChannels() []string
GetOmittedChannels returns the OmittedChannels field value if set, zero value otherwise.
func (*EnableLogExportRequest) GetRedact ¶
func (o *EnableLogExportRequest) GetRedact() bool
GetRedact returns the Redact field value if set, zero value otherwise.
func (*EnableLogExportRequest) GetRegion ¶
func (o *EnableLogExportRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*EnableLogExportRequest) GetType ¶
func (o *EnableLogExportRequest) GetType() LogExportType
GetType returns the Type field value.
func (*EnableLogExportRequest) SetAuthPrincipal ¶
func (o *EnableLogExportRequest) SetAuthPrincipal(v string)
SetAuthPrincipal sets field value.
func (*EnableLogExportRequest) SetAzureSharedKey ¶
func (o *EnableLogExportRequest) SetAzureSharedKey(v string)
SetAzureSharedKey gets a reference to the given string and assigns it to the AzureSharedKey field.
func (*EnableLogExportRequest) SetGroups ¶
func (o *EnableLogExportRequest) SetGroups(v []LogExportGroup)
SetGroups gets a reference to the given []LogExportGroup and assigns it to the Groups field.
func (*EnableLogExportRequest) SetLogName ¶
func (o *EnableLogExportRequest) SetLogName(v string)
SetLogName sets field value.
func (*EnableLogExportRequest) SetOmittedChannels ¶
func (o *EnableLogExportRequest) SetOmittedChannels(v []string)
SetOmittedChannels gets a reference to the given []string and assigns it to the OmittedChannels field.
func (*EnableLogExportRequest) SetRedact ¶
func (o *EnableLogExportRequest) SetRedact(v bool)
SetRedact gets a reference to the given bool and assigns it to the Redact field.
func (*EnableLogExportRequest) SetRegion ¶
func (o *EnableLogExportRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*EnableLogExportRequest) SetType ¶
func (o *EnableLogExportRequest) SetType(v LogExportType)
SetType sets field value.
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error Provides access to the body, error and model on returned errors.
type FolderResource ¶
type FolderResource struct { // name is the resource's name. Name string `json:"name"` // organization_id is the id of the organization this resource belongs to. OrganizationId string `json:"organization_id"` // parent_id is the id of the resource's parent folder. \"root\" represents a root level resource. ParentId string `json:"parent_id"` // path contains the ids and names of ancestors that make up the resource's lineage. Path []PathSegment `json:"path"` // resource_id is the resource's id. ResourceId string `json:"resource_id"` ResourceType FolderResourceTypeType `json:"resource_type"` }
FolderResource FolderResource describes a resource, and includes info about its lineage (parent/ancestors)..
func NewFolderResource ¶
func NewFolderResource(name string, organizationId string, parentId string, path []PathSegment, resourceId string, resourceType FolderResourceTypeType) *FolderResource
NewFolderResource instantiates a new FolderResource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFolderResourceWithDefaults ¶
func NewFolderResourceWithDefaults() *FolderResource
NewFolderResourceWithDefaults instantiates a new FolderResource object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FolderResource) GetName ¶
func (o *FolderResource) GetName() string
GetName returns the Name field value.
func (*FolderResource) GetOrganizationId ¶
func (o *FolderResource) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field value.
func (*FolderResource) GetParentId ¶
func (o *FolderResource) GetParentId() string
GetParentId returns the ParentId field value.
func (*FolderResource) GetPath ¶
func (o *FolderResource) GetPath() []PathSegment
GetPath returns the Path field value.
func (*FolderResource) GetResourceId ¶
func (o *FolderResource) GetResourceId() string
GetResourceId returns the ResourceId field value.
func (*FolderResource) GetResourceType ¶
func (o *FolderResource) GetResourceType() FolderResourceTypeType
GetResourceType returns the ResourceType field value.
func (*FolderResource) SetName ¶
func (o *FolderResource) SetName(v string)
SetName sets field value.
func (*FolderResource) SetOrganizationId ¶
func (o *FolderResource) SetOrganizationId(v string)
SetOrganizationId sets field value.
func (*FolderResource) SetParentId ¶
func (o *FolderResource) SetParentId(v string)
SetParentId sets field value.
func (*FolderResource) SetPath ¶
func (o *FolderResource) SetPath(v []PathSegment)
SetPath sets field value.
func (*FolderResource) SetResourceId ¶
func (o *FolderResource) SetResourceId(v string)
SetResourceId sets field value.
func (*FolderResource) SetResourceType ¶
func (o *FolderResource) SetResourceType(v FolderResourceTypeType)
SetResourceType sets field value.
type FolderResourceList ¶
type FolderResourceList struct { Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` Resources *[]FolderResource `json:"resources,omitempty"` }
FolderResourceList FolderResourceList contains a list of resources..
func NewFolderResourceList ¶
func NewFolderResourceList() *FolderResourceList
NewFolderResourceList instantiates a new FolderResourceList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*FolderResourceList) GetPagination ¶
func (o *FolderResourceList) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*FolderResourceList) GetResources ¶
func (o *FolderResourceList) GetResources() []FolderResource
GetResources returns the Resources field value if set, zero value otherwise.
func (*FolderResourceList) SetPagination ¶
func (o *FolderResourceList) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*FolderResourceList) SetResources ¶
func (o *FolderResourceList) SetResources(v []FolderResource)
SetResources gets a reference to the given []FolderResource and assigns it to the Resources field.
type FolderResourceTypeType ¶
type FolderResourceTypeType string
FolderResourceTypeType the model 'FolderResourceTypeType'.
const ( FOLDERRESOURCETYPETYPE_FOLDER FolderResourceTypeType = "FOLDER" FOLDERRESOURCETYPETYPE_CLUSTER FolderResourceTypeType = "CLUSTER" )
List of FolderResourceType.Type.
func NewFolderResourceTypeTypeFromValue ¶
func NewFolderResourceTypeTypeFromValue(v string) (*FolderResourceTypeType, error)
NewFolderResourceTypeTypeFromValue returns a pointer to a valid FolderResourceTypeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (FolderResourceTypeType) IsValid ¶
func (v FolderResourceTypeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (FolderResourceTypeType) Ptr ¶
func (v FolderResourceTypeType) Ptr() *FolderResourceTypeType
Ptr returns reference to FolderResourceType.Type value.
type GetAllRolesForUserResponse ¶
type GetAllRolesForUserResponse struct { GroupRoles *[]BuiltInFromGroups `json:"group_roles,omitempty"` Roles *[]BuiltInRole `json:"roles,omitempty"` }
GetAllRolesForUserResponse struct for GetAllRolesForUserResponse.
func NewGetAllRolesForUserResponse ¶
func NewGetAllRolesForUserResponse() *GetAllRolesForUserResponse
NewGetAllRolesForUserResponse instantiates a new GetAllRolesForUserResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetAllRolesForUserResponse) GetGroupRoles ¶
func (o *GetAllRolesForUserResponse) GetGroupRoles() []BuiltInFromGroups
GetGroupRoles returns the GroupRoles field value if set, zero value otherwise.
func (*GetAllRolesForUserResponse) GetRoles ¶
func (o *GetAllRolesForUserResponse) GetRoles() []BuiltInRole
GetRoles returns the Roles field value if set, zero value otherwise.
func (*GetAllRolesForUserResponse) SetGroupRoles ¶
func (o *GetAllRolesForUserResponse) SetGroupRoles(v []BuiltInFromGroups)
SetGroupRoles gets a reference to the given []BuiltInFromGroups and assigns it to the GroupRoles field.
func (*GetAllRolesForUserResponse) SetRoles ¶
func (o *GetAllRolesForUserResponse) SetRoles(v []BuiltInRole)
SetRoles gets a reference to the given []BuiltInRole and assigns it to the Roles field.
type GetConnectionStringOptions ¶
type GetConnectionStringOptions struct { Database *string SqlUser *string // os indicates the target operating system, used with formatting the default SSL certificate path. Required only for dedicated clusters. Os *string }
GetConnectionStringOptions contains optional parameters for GetConnectionString.
type GetConnectionStringResponse ¶
type GetConnectionStringResponse struct { // connection_string contains the full connection string with parameters formatted inline. ConnectionString string `json:"connection_string"` Params ConnectionStringParameters `json:"params"` }
GetConnectionStringResponse struct for GetConnectionStringResponse.
func NewGetConnectionStringResponse ¶
func NewGetConnectionStringResponse(connectionString string, params ConnectionStringParameters) *GetConnectionStringResponse
NewGetConnectionStringResponse instantiates a new GetConnectionStringResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetConnectionStringResponseWithDefaults ¶
func NewGetConnectionStringResponseWithDefaults() *GetConnectionStringResponse
NewGetConnectionStringResponseWithDefaults instantiates a new GetConnectionStringResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetConnectionStringResponse) GetConnectionString ¶
func (o *GetConnectionStringResponse) GetConnectionString() string
GetConnectionString returns the ConnectionString field value.
func (*GetConnectionStringResponse) GetParams ¶
func (o *GetConnectionStringResponse) GetParams() ConnectionStringParameters
GetParams returns the Params field value.
func (*GetConnectionStringResponse) SetConnectionString ¶
func (o *GetConnectionStringResponse) SetConnectionString(v string)
SetConnectionString sets field value.
func (*GetConnectionStringResponse) SetParams ¶
func (o *GetConnectionStringResponse) SetParams(v ConnectionStringParameters)
SetParams sets field value.
type GetEgressRuleResponse ¶
type GetEgressRuleResponse struct {
Rule EgressRule `json:"rule"`
}
GetEgressRuleResponse struct for GetEgressRuleResponse.
func NewGetEgressRuleResponse ¶
func NewGetEgressRuleResponse(rule EgressRule) *GetEgressRuleResponse
NewGetEgressRuleResponse instantiates a new GetEgressRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetEgressRuleResponseWithDefaults ¶
func NewGetEgressRuleResponseWithDefaults() *GetEgressRuleResponse
NewGetEgressRuleResponseWithDefaults instantiates a new GetEgressRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetEgressRuleResponse) GetRule ¶
func (o *GetEgressRuleResponse) GetRule() EgressRule
GetRule returns the Rule field value.
func (*GetEgressRuleResponse) SetRule ¶
func (o *GetEgressRuleResponse) SetRule(v EgressRule)
SetRule sets field value.
type GetGroupOptions ¶
GetGroupOptions contains optional parameters for GetGroup.
type GetGroupRequest ¶
type GetGroupRequest struct { Attributes *string `json:"attributes,omitempty"` ExcludedAttributes *string `json:"excludedAttributes,omitempty"` }
GetGroupRequest struct for GetGroupRequest.
func NewGetGroupRequest ¶
func NewGetGroupRequest() *GetGroupRequest
NewGetGroupRequest instantiates a new GetGroupRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetGroupRequest) GetAttributes ¶
func (o *GetGroupRequest) GetAttributes() string
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*GetGroupRequest) GetExcludedAttributes ¶
func (o *GetGroupRequest) GetExcludedAttributes() string
GetExcludedAttributes returns the ExcludedAttributes field value if set, zero value otherwise.
func (*GetGroupRequest) SetAttributes ¶
func (o *GetGroupRequest) SetAttributes(v string)
SetAttributes gets a reference to the given string and assigns it to the Attributes field.
func (*GetGroupRequest) SetExcludedAttributes ¶
func (o *GetGroupRequest) SetExcludedAttributes(v string)
SetExcludedAttributes gets a reference to the given string and assigns it to the ExcludedAttributes field.
type GetGroupsOptions ¶
GetGroupsOptions contains optional parameters for GetGroups.
type GetGroupsRequest ¶
type GetGroupsRequest struct { Attributes *string `json:"attributes,omitempty"` ExcludedAttributes *string `json:"excludedAttributes,omitempty"` Filter *string `json:"filter,omitempty"` }
GetGroupsRequest struct for GetGroupsRequest.
func NewGetGroupsRequest ¶
func NewGetGroupsRequest() *GetGroupsRequest
NewGetGroupsRequest instantiates a new GetGroupsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetGroupsRequest) GetAttributes ¶
func (o *GetGroupsRequest) GetAttributes() string
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*GetGroupsRequest) GetExcludedAttributes ¶
func (o *GetGroupsRequest) GetExcludedAttributes() string
GetExcludedAttributes returns the ExcludedAttributes field value if set, zero value otherwise.
func (*GetGroupsRequest) GetFilter ¶
func (o *GetGroupsRequest) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*GetGroupsRequest) SetAttributes ¶
func (o *GetGroupsRequest) SetAttributes(v string)
SetAttributes gets a reference to the given string and assigns it to the Attributes field.
func (*GetGroupsRequest) SetExcludedAttributes ¶
func (o *GetGroupsRequest) SetExcludedAttributes(v string)
SetExcludedAttributes gets a reference to the given string and assigns it to the ExcludedAttributes field.
func (*GetGroupsRequest) SetFilter ¶
func (o *GetGroupsRequest) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
type GetGroupsResponse ¶
type GetGroupsResponse struct { Resources *[]ScimGroup `json:"Resources,omitempty"` ItemsPerPage *int32 `json:"itemsPerPage,omitempty"` Schemas *[]string `json:"schemas,omitempty"` TotalResults *int32 `json:"totalResults,omitempty"` }
GetGroupsResponse struct for GetGroupsResponse.
func NewGetGroupsResponse ¶
func NewGetGroupsResponse() *GetGroupsResponse
NewGetGroupsResponse instantiates a new GetGroupsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetGroupsResponse) GetItemsPerPage ¶
func (o *GetGroupsResponse) GetItemsPerPage() int32
GetItemsPerPage returns the ItemsPerPage field value if set, zero value otherwise.
func (*GetGroupsResponse) GetResources ¶
func (o *GetGroupsResponse) GetResources() []ScimGroup
GetResources returns the Resources field value if set, zero value otherwise.
func (*GetGroupsResponse) GetSchemas ¶
func (o *GetGroupsResponse) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*GetGroupsResponse) GetTotalResults ¶
func (o *GetGroupsResponse) GetTotalResults() int32
GetTotalResults returns the TotalResults field value if set, zero value otherwise.
func (*GetGroupsResponse) SetItemsPerPage ¶
func (o *GetGroupsResponse) SetItemsPerPage(v int32)
SetItemsPerPage gets a reference to the given int32 and assigns it to the ItemsPerPage field.
func (*GetGroupsResponse) SetResources ¶
func (o *GetGroupsResponse) SetResources(v []ScimGroup)
SetResources gets a reference to the given []ScimGroup and assigns it to the Resources field.
func (*GetGroupsResponse) SetSchemas ¶
func (o *GetGroupsResponse) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*GetGroupsResponse) SetTotalResults ¶
func (o *GetGroupsResponse) SetTotalResults(v int32)
SetTotalResults gets a reference to the given int32 and assigns it to the TotalResults field.
type GetPersonUsersByEmailResponse ¶
type GetPersonUsersByEmailResponse struct {
User *PersonUserInfo `json:"user,omitempty"`
}
GetPersonUsersByEmailResponse struct for GetPersonUsersByEmailResponse.
func NewGetPersonUsersByEmailResponse ¶
func NewGetPersonUsersByEmailResponse() *GetPersonUsersByEmailResponse
NewGetPersonUsersByEmailResponse instantiates a new GetPersonUsersByEmailResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetPersonUsersByEmailResponse) GetUser ¶
func (o *GetPersonUsersByEmailResponse) GetUser() PersonUserInfo
GetUser returns the User field value if set, zero value otherwise.
func (*GetPersonUsersByEmailResponse) SetUser ¶
func (o *GetPersonUsersByEmailResponse) SetUser(v PersonUserInfo)
SetUser gets a reference to the given PersonUserInfo and assigns it to the User field.
type GetPrivateEndpointTrustedOwnerResponse ¶
type GetPrivateEndpointTrustedOwnerResponse struct {
TrustedOwner PrivateEndpointTrustedOwner `json:"trusted_owner"`
}
GetPrivateEndpointTrustedOwnerResponse struct for GetPrivateEndpointTrustedOwnerResponse.
func NewGetPrivateEndpointTrustedOwnerResponse ¶
func NewGetPrivateEndpointTrustedOwnerResponse(trustedOwner PrivateEndpointTrustedOwner) *GetPrivateEndpointTrustedOwnerResponse
NewGetPrivateEndpointTrustedOwnerResponse instantiates a new GetPrivateEndpointTrustedOwnerResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetPrivateEndpointTrustedOwnerResponseWithDefaults ¶
func NewGetPrivateEndpointTrustedOwnerResponseWithDefaults() *GetPrivateEndpointTrustedOwnerResponse
NewGetPrivateEndpointTrustedOwnerResponseWithDefaults instantiates a new GetPrivateEndpointTrustedOwnerResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetPrivateEndpointTrustedOwnerResponse) GetTrustedOwner ¶
func (o *GetPrivateEndpointTrustedOwnerResponse) GetTrustedOwner() PrivateEndpointTrustedOwner
GetTrustedOwner returns the TrustedOwner field value.
func (*GetPrivateEndpointTrustedOwnerResponse) SetTrustedOwner ¶
func (o *GetPrivateEndpointTrustedOwnerResponse) SetTrustedOwner(v PrivateEndpointTrustedOwner)
SetTrustedOwner sets field value.
type GetResourceTypeOptions ¶
GetResourceTypeOptions contains optional parameters for GetResourceType.
type GetResourceTypesOptions ¶
GetResourceTypesOptions contains optional parameters for GetResourceTypes.
type GetResourceTypesResponse ¶
type GetResourceTypesResponse struct { Resources *[]ScimResourceType `json:"Resources,omitempty"` ItemsPerPage *int32 `json:"itemsPerPage,omitempty"` Schemas *[]string `json:"schemas,omitempty"` StartIndex *int32 `json:"startIndex,omitempty"` TotalResults *int32 `json:"totalResults,omitempty"` }
GetResourceTypesResponse struct for GetResourceTypesResponse.
func NewGetResourceTypesResponse ¶
func NewGetResourceTypesResponse() *GetResourceTypesResponse
NewGetResourceTypesResponse instantiates a new GetResourceTypesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetResourceTypesResponse) GetItemsPerPage ¶
func (o *GetResourceTypesResponse) GetItemsPerPage() int32
GetItemsPerPage returns the ItemsPerPage field value if set, zero value otherwise.
func (*GetResourceTypesResponse) GetResources ¶
func (o *GetResourceTypesResponse) GetResources() []ScimResourceType
GetResources returns the Resources field value if set, zero value otherwise.
func (*GetResourceTypesResponse) GetSchemas ¶
func (o *GetResourceTypesResponse) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*GetResourceTypesResponse) GetStartIndex ¶
func (o *GetResourceTypesResponse) GetStartIndex() int32
GetStartIndex returns the StartIndex field value if set, zero value otherwise.
func (*GetResourceTypesResponse) GetTotalResults ¶
func (o *GetResourceTypesResponse) GetTotalResults() int32
GetTotalResults returns the TotalResults field value if set, zero value otherwise.
func (*GetResourceTypesResponse) SetItemsPerPage ¶
func (o *GetResourceTypesResponse) SetItemsPerPage(v int32)
SetItemsPerPage gets a reference to the given int32 and assigns it to the ItemsPerPage field.
func (*GetResourceTypesResponse) SetResources ¶
func (o *GetResourceTypesResponse) SetResources(v []ScimResourceType)
SetResources gets a reference to the given []ScimResourceType and assigns it to the Resources field.
func (*GetResourceTypesResponse) SetSchemas ¶
func (o *GetResourceTypesResponse) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*GetResourceTypesResponse) SetStartIndex ¶
func (o *GetResourceTypesResponse) SetStartIndex(v int32)
SetStartIndex gets a reference to the given int32 and assigns it to the StartIndex field.
func (*GetResourceTypesResponse) SetTotalResults ¶
func (o *GetResourceTypesResponse) SetTotalResults(v int32)
SetTotalResults gets a reference to the given int32 and assigns it to the TotalResults field.
type GetSchemaOptions ¶
GetSchemaOptions contains optional parameters for GetSchema.
type GetSchemasOptions ¶
GetSchemasOptions contains optional parameters for GetSchemas.
type GetSchemasResponse ¶
type GetSchemasResponse struct { Resources *[]ScimSchema `json:"Resources,omitempty"` ItemsPerPage *int32 `json:"itemsPerPage,omitempty"` Schemas *[]string `json:"schemas,omitempty"` StartIndex *int32 `json:"startIndex,omitempty"` TotalResults *int32 `json:"totalResults,omitempty"` }
GetSchemasResponse struct for GetSchemasResponse.
func NewGetSchemasResponse ¶
func NewGetSchemasResponse() *GetSchemasResponse
NewGetSchemasResponse instantiates a new GetSchemasResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetSchemasResponse) GetItemsPerPage ¶
func (o *GetSchemasResponse) GetItemsPerPage() int32
GetItemsPerPage returns the ItemsPerPage field value if set, zero value otherwise.
func (*GetSchemasResponse) GetResources ¶
func (o *GetSchemasResponse) GetResources() []ScimSchema
GetResources returns the Resources field value if set, zero value otherwise.
func (*GetSchemasResponse) GetSchemas ¶
func (o *GetSchemasResponse) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*GetSchemasResponse) GetStartIndex ¶
func (o *GetSchemasResponse) GetStartIndex() int32
GetStartIndex returns the StartIndex field value if set, zero value otherwise.
func (*GetSchemasResponse) GetTotalResults ¶
func (o *GetSchemasResponse) GetTotalResults() int32
GetTotalResults returns the TotalResults field value if set, zero value otherwise.
func (*GetSchemasResponse) SetItemsPerPage ¶
func (o *GetSchemasResponse) SetItemsPerPage(v int32)
SetItemsPerPage gets a reference to the given int32 and assigns it to the ItemsPerPage field.
func (*GetSchemasResponse) SetResources ¶
func (o *GetSchemasResponse) SetResources(v []ScimSchema)
SetResources gets a reference to the given []ScimSchema and assigns it to the Resources field.
func (*GetSchemasResponse) SetSchemas ¶
func (o *GetSchemasResponse) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*GetSchemasResponse) SetStartIndex ¶
func (o *GetSchemasResponse) SetStartIndex(v int32)
SetStartIndex gets a reference to the given int32 and assigns it to the StartIndex field.
func (*GetSchemasResponse) SetTotalResults ¶
func (o *GetSchemasResponse) SetTotalResults(v int32)
SetTotalResults gets a reference to the given int32 and assigns it to the TotalResults field.
type GetServiceProviderConfigResponse ¶
type GetServiceProviderConfigResponse struct { AuthenticationSchemes *[]ScimAuthenticationScheme `json:"authenticationSchemes,omitempty"` Bulk *ScimBulkSupport `json:"bulk,omitempty"` ChangePassword *ScimChangePasswordSupport `json:"changePassword,omitempty"` Etag *ScimEtagSupport `json:"etag,omitempty"` Filter *ScimFilterSupport `json:"filter,omitempty"` Meta *ScimMetadata `json:"meta,omitempty"` Schemas *[]string `json:"schemas,omitempty"` Sort *ScimSortSupport `json:"sort,omitempty"` }
GetServiceProviderConfigResponse struct for GetServiceProviderConfigResponse.
func NewGetServiceProviderConfigResponse ¶
func NewGetServiceProviderConfigResponse() *GetServiceProviderConfigResponse
NewGetServiceProviderConfigResponse instantiates a new GetServiceProviderConfigResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetServiceProviderConfigResponse) GetAuthenticationSchemes ¶
func (o *GetServiceProviderConfigResponse) GetAuthenticationSchemes() []ScimAuthenticationScheme
GetAuthenticationSchemes returns the AuthenticationSchemes field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetBulk ¶
func (o *GetServiceProviderConfigResponse) GetBulk() ScimBulkSupport
GetBulk returns the Bulk field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetChangePassword ¶
func (o *GetServiceProviderConfigResponse) GetChangePassword() ScimChangePasswordSupport
GetChangePassword returns the ChangePassword field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetEtag ¶
func (o *GetServiceProviderConfigResponse) GetEtag() ScimEtagSupport
GetEtag returns the Etag field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetFilter ¶
func (o *GetServiceProviderConfigResponse) GetFilter() ScimFilterSupport
GetFilter returns the Filter field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetMeta ¶
func (o *GetServiceProviderConfigResponse) GetMeta() ScimMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetSchemas ¶
func (o *GetServiceProviderConfigResponse) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) GetSort ¶
func (o *GetServiceProviderConfigResponse) GetSort() ScimSortSupport
GetSort returns the Sort field value if set, zero value otherwise.
func (*GetServiceProviderConfigResponse) SetAuthenticationSchemes ¶
func (o *GetServiceProviderConfigResponse) SetAuthenticationSchemes(v []ScimAuthenticationScheme)
SetAuthenticationSchemes gets a reference to the given []ScimAuthenticationScheme and assigns it to the AuthenticationSchemes field.
func (*GetServiceProviderConfigResponse) SetBulk ¶
func (o *GetServiceProviderConfigResponse) SetBulk(v ScimBulkSupport)
SetBulk gets a reference to the given ScimBulkSupport and assigns it to the Bulk field.
func (*GetServiceProviderConfigResponse) SetChangePassword ¶
func (o *GetServiceProviderConfigResponse) SetChangePassword(v ScimChangePasswordSupport)
SetChangePassword gets a reference to the given ScimChangePasswordSupport and assigns it to the ChangePassword field.
func (*GetServiceProviderConfigResponse) SetEtag ¶
func (o *GetServiceProviderConfigResponse) SetEtag(v ScimEtagSupport)
SetEtag gets a reference to the given ScimEtagSupport and assigns it to the Etag field.
func (*GetServiceProviderConfigResponse) SetFilter ¶
func (o *GetServiceProviderConfigResponse) SetFilter(v ScimFilterSupport)
SetFilter gets a reference to the given ScimFilterSupport and assigns it to the Filter field.
func (*GetServiceProviderConfigResponse) SetMeta ¶
func (o *GetServiceProviderConfigResponse) SetMeta(v ScimMetadata)
SetMeta gets a reference to the given ScimMetadata and assigns it to the Meta field.
func (*GetServiceProviderConfigResponse) SetSchemas ¶
func (o *GetServiceProviderConfigResponse) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*GetServiceProviderConfigResponse) SetSort ¶
func (o *GetServiceProviderConfigResponse) SetSort(v ScimSortSupport)
SetSort gets a reference to the given ScimSortSupport and assigns it to the Sort field.
type GetUserOptions ¶
GetUserOptions contains optional parameters for GetUser.
type GetUserRequest ¶
type GetUserRequest struct { Attributes *string `json:"attributes,omitempty"` ExcludedAttributes *string `json:"excludedAttributes,omitempty"` }
GetUserRequest struct for GetUserRequest.
func NewGetUserRequest ¶
func NewGetUserRequest() *GetUserRequest
NewGetUserRequest instantiates a new GetUserRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetUserRequest) GetAttributes ¶
func (o *GetUserRequest) GetAttributes() string
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*GetUserRequest) GetExcludedAttributes ¶
func (o *GetUserRequest) GetExcludedAttributes() string
GetExcludedAttributes returns the ExcludedAttributes field value if set, zero value otherwise.
func (*GetUserRequest) SetAttributes ¶
func (o *GetUserRequest) SetAttributes(v string)
SetAttributes gets a reference to the given string and assigns it to the Attributes field.
func (*GetUserRequest) SetExcludedAttributes ¶
func (o *GetUserRequest) SetExcludedAttributes(v string)
SetExcludedAttributes gets a reference to the given string and assigns it to the ExcludedAttributes field.
type GetUsersOptions ¶
GetUsersOptions contains optional parameters for GetUsers.
type GetUsersRequest ¶
type GetUsersRequest struct { Attributes *string `json:"attributes,omitempty"` ExcludedAttributes *string `json:"excludedAttributes,omitempty"` Filter *string `json:"filter,omitempty"` }
GetUsersRequest struct for GetUsersRequest.
func NewGetUsersRequest ¶
func NewGetUsersRequest() *GetUsersRequest
NewGetUsersRequest instantiates a new GetUsersRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetUsersRequest) GetAttributes ¶
func (o *GetUsersRequest) GetAttributes() string
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*GetUsersRequest) GetExcludedAttributes ¶
func (o *GetUsersRequest) GetExcludedAttributes() string
GetExcludedAttributes returns the ExcludedAttributes field value if set, zero value otherwise.
func (*GetUsersRequest) GetFilter ¶
func (o *GetUsersRequest) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*GetUsersRequest) SetAttributes ¶
func (o *GetUsersRequest) SetAttributes(v string)
SetAttributes gets a reference to the given string and assigns it to the Attributes field.
func (*GetUsersRequest) SetExcludedAttributes ¶
func (o *GetUsersRequest) SetExcludedAttributes(v string)
SetExcludedAttributes gets a reference to the given string and assigns it to the ExcludedAttributes field.
func (*GetUsersRequest) SetFilter ¶
func (o *GetUsersRequest) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
type GetUsersResponse ¶
type GetUsersResponse struct { Resources *[]ScimUser `json:"Resources,omitempty"` Schemas *[]string `json:"schemas,omitempty"` TotalResults *int32 `json:"totalResults,omitempty"` }
GetUsersResponse struct for GetUsersResponse.
func NewGetUsersResponse ¶
func NewGetUsersResponse() *GetUsersResponse
NewGetUsersResponse instantiates a new GetUsersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*GetUsersResponse) GetResources ¶
func (o *GetUsersResponse) GetResources() []ScimUser
GetResources returns the Resources field value if set, zero value otherwise.
func (*GetUsersResponse) GetSchemas ¶
func (o *GetUsersResponse) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*GetUsersResponse) GetTotalResults ¶
func (o *GetUsersResponse) GetTotalResults() int32
GetTotalResults returns the TotalResults field value if set, zero value otherwise.
func (*GetUsersResponse) SetResources ¶
func (o *GetUsersResponse) SetResources(v []ScimUser)
SetResources gets a reference to the given []ScimUser and assigns it to the Resources field.
func (*GetUsersResponse) SetSchemas ¶
func (o *GetUsersResponse) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*GetUsersResponse) SetTotalResults ¶
func (o *GetUsersResponse) SetTotalResults(v int32)
SetTotalResults gets a reference to the given int32 and assigns it to the TotalResults field.
type Invoice ¶
type Invoice struct { // adjustments is a list of credits or costs that adjust the value of the invoice (e.g. a Serverless Free Credit or Premium Support adjustment). Unlike line items, adjustments are not tied to a particular cluster. Adjustments *[]InvoiceAdjustment `json:"adjustments,omitempty"` // balances are the amounts of currency left at the time of the invoice. Balances []CurrencyAmount `json:"balances"` // Preview: FolderResources is a list of resources in the organization and their folder paths. FolderResources *[]FolderResource `json:"folder_resources,omitempty"` // invoice_id is the unique ID representing the invoice. InvoiceId string `json:"invoice_id"` // invoice_items are sorted by the cluster name. InvoiceItems []InvoiceItem `json:"invoice_items"` // period_end is the end of the billing period (exclusive). PeriodEnd time.Time `json:"period_end"` // period_start is the start of the billing period (inclusive). PeriodStart time.Time `json:"period_start"` // totals is a list of the total amounts per currency. Totals []CurrencyAmount `json:"totals"` }
Invoice Invoice message represents the details and the total charges associated with one billing period, which starts at the beginning of the month and ends at the beginning of the next month. The message also includes details about each invoice item..
func NewInvoice ¶
func NewInvoice(balances []CurrencyAmount, invoiceId string, invoiceItems []InvoiceItem, periodEnd time.Time, periodStart time.Time, totals []CurrencyAmount) *Invoice
NewInvoice instantiates a new Invoice object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceWithDefaults ¶
func NewInvoiceWithDefaults() *Invoice
NewInvoiceWithDefaults instantiates a new Invoice object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Invoice) GetAdjustments ¶
func (o *Invoice) GetAdjustments() []InvoiceAdjustment
GetAdjustments returns the Adjustments field value if set, zero value otherwise.
func (*Invoice) GetBalances ¶
func (o *Invoice) GetBalances() []CurrencyAmount
GetBalances returns the Balances field value.
func (*Invoice) GetFolderResources ¶
func (o *Invoice) GetFolderResources() []FolderResource
GetFolderResources returns the FolderResources field value if set, zero value otherwise.
func (*Invoice) GetInvoiceId ¶
GetInvoiceId returns the InvoiceId field value.
func (*Invoice) GetInvoiceItems ¶
func (o *Invoice) GetInvoiceItems() []InvoiceItem
GetInvoiceItems returns the InvoiceItems field value.
func (*Invoice) GetPeriodEnd ¶
GetPeriodEnd returns the PeriodEnd field value.
func (*Invoice) GetPeriodStart ¶
GetPeriodStart returns the PeriodStart field value.
func (*Invoice) GetTotals ¶
func (o *Invoice) GetTotals() []CurrencyAmount
GetTotals returns the Totals field value.
func (*Invoice) SetAdjustments ¶
func (o *Invoice) SetAdjustments(v []InvoiceAdjustment)
SetAdjustments gets a reference to the given []InvoiceAdjustment and assigns it to the Adjustments field.
func (*Invoice) SetBalances ¶
func (o *Invoice) SetBalances(v []CurrencyAmount)
SetBalances sets field value.
func (*Invoice) SetFolderResources ¶
func (o *Invoice) SetFolderResources(v []FolderResource)
SetFolderResources gets a reference to the given []FolderResource and assigns it to the FolderResources field.
func (*Invoice) SetInvoiceId ¶
SetInvoiceId sets field value.
func (*Invoice) SetInvoiceItems ¶
func (o *Invoice) SetInvoiceItems(v []InvoiceItem)
SetInvoiceItems sets field value.
func (*Invoice) SetPeriodEnd ¶
SetPeriodEnd sets field value.
func (*Invoice) SetPeriodStart ¶
SetPeriodStart sets field value.
func (*Invoice) SetTotals ¶
func (o *Invoice) SetTotals(v []CurrencyAmount)
SetTotals sets field value.
type InvoiceAdjustment ¶
type InvoiceAdjustment struct { Amount CurrencyAmount `json:"amount"` // name identifies the adjustment. Name string `json:"name"` }
InvoiceAdjustment struct for InvoiceAdjustment.
func NewInvoiceAdjustment ¶
func NewInvoiceAdjustment(amount CurrencyAmount, name string) *InvoiceAdjustment
NewInvoiceAdjustment instantiates a new InvoiceAdjustment object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceAdjustmentWithDefaults ¶
func NewInvoiceAdjustmentWithDefaults() *InvoiceAdjustment
NewInvoiceAdjustmentWithDefaults instantiates a new InvoiceAdjustment object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceAdjustment) GetAmount ¶
func (o *InvoiceAdjustment) GetAmount() CurrencyAmount
GetAmount returns the Amount field value.
func (*InvoiceAdjustment) GetName ¶
func (o *InvoiceAdjustment) GetName() string
GetName returns the Name field value.
func (*InvoiceAdjustment) SetAmount ¶
func (o *InvoiceAdjustment) SetAmount(v CurrencyAmount)
SetAmount sets field value.
func (*InvoiceAdjustment) SetName ¶
func (o *InvoiceAdjustment) SetName(v string)
SetName sets field value.
type InvoiceItem ¶
type InvoiceItem struct { Cluster Cluster `json:"cluster"` // line_items contain all the relevant line items from the Metronome invoice. LineItems []LineItem `json:"line_items"` // totals is a list of the total amounts of line items per currency. Totals []CurrencyAmount `json:"totals"` }
InvoiceItem struct for InvoiceItem.
func NewInvoiceItem ¶
func NewInvoiceItem(cluster Cluster, lineItems []LineItem, totals []CurrencyAmount) *InvoiceItem
NewInvoiceItem instantiates a new InvoiceItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInvoiceItemWithDefaults ¶
func NewInvoiceItemWithDefaults() *InvoiceItem
NewInvoiceItemWithDefaults instantiates a new InvoiceItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InvoiceItem) GetCluster ¶
func (o *InvoiceItem) GetCluster() Cluster
GetCluster returns the Cluster field value.
func (*InvoiceItem) GetLineItems ¶
func (o *InvoiceItem) GetLineItems() []LineItem
GetLineItems returns the LineItems field value.
func (*InvoiceItem) GetTotals ¶
func (o *InvoiceItem) GetTotals() []CurrencyAmount
GetTotals returns the Totals field value.
func (*InvoiceItem) SetCluster ¶
func (o *InvoiceItem) SetCluster(v Cluster)
SetCluster sets field value.
func (*InvoiceItem) SetLineItems ¶
func (o *InvoiceItem) SetLineItems(v []LineItem)
SetLineItems sets field value.
func (*InvoiceItem) SetTotals ¶
func (o *InvoiceItem) SetTotals(v []CurrencyAmount)
SetTotals sets field value.
type JWTIssuer ¶
type JWTIssuer struct { Audience string `json:"audience"` Claim *string `json:"claim,omitempty"` Id string `json:"id"` IdentityMap *[]JWTIssuerIdentityMapEntry `json:"identity_map,omitempty"` IssuerUrl string `json:"issuer_url"` Jwks *string `json:"jwks,omitempty"` }
JWTIssuer struct for JWTIssuer.
func NewJWTIssuer ¶
NewJWTIssuer instantiates a new JWTIssuer object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJWTIssuerWithDefaults ¶
func NewJWTIssuerWithDefaults() *JWTIssuer
NewJWTIssuerWithDefaults instantiates a new JWTIssuer object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JWTIssuer) GetAudience ¶
GetAudience returns the Audience field value.
func (*JWTIssuer) GetIdentityMap ¶
func (o *JWTIssuer) GetIdentityMap() []JWTIssuerIdentityMapEntry
GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.
func (*JWTIssuer) GetIssuerUrl ¶
GetIssuerUrl returns the IssuerUrl field value.
func (*JWTIssuer) SetAudience ¶
SetAudience sets field value.
func (*JWTIssuer) SetClaim ¶
SetClaim gets a reference to the given string and assigns it to the Claim field.
func (*JWTIssuer) SetIdentityMap ¶
func (o *JWTIssuer) SetIdentityMap(v []JWTIssuerIdentityMapEntry)
SetIdentityMap gets a reference to the given []JWTIssuerIdentityMapEntry and assigns it to the IdentityMap field.
func (*JWTIssuer) SetIssuerUrl ¶
SetIssuerUrl sets field value.
type JWTIssuerIdentityMapEntry ¶
type JWTIssuerIdentityMapEntry struct { CcIdentity *string `json:"cc_identity,omitempty"` IsRegex *bool `json:"is_regex,omitempty"` TokenIdentity *string `json:"token_identity,omitempty"` }
JWTIssuerIdentityMapEntry struct for JWTIssuerIdentityMapEntry.
func NewJWTIssuerIdentityMapEntry ¶
func NewJWTIssuerIdentityMapEntry() *JWTIssuerIdentityMapEntry
NewJWTIssuerIdentityMapEntry instantiates a new JWTIssuerIdentityMapEntry object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*JWTIssuerIdentityMapEntry) GetCcIdentity ¶
func (o *JWTIssuerIdentityMapEntry) GetCcIdentity() string
GetCcIdentity returns the CcIdentity field value if set, zero value otherwise.
func (*JWTIssuerIdentityMapEntry) GetIsRegex ¶
func (o *JWTIssuerIdentityMapEntry) GetIsRegex() bool
GetIsRegex returns the IsRegex field value if set, zero value otherwise.
func (*JWTIssuerIdentityMapEntry) GetTokenIdentity ¶
func (o *JWTIssuerIdentityMapEntry) GetTokenIdentity() string
GetTokenIdentity returns the TokenIdentity field value if set, zero value otherwise.
func (*JWTIssuerIdentityMapEntry) SetCcIdentity ¶
func (o *JWTIssuerIdentityMapEntry) SetCcIdentity(v string)
SetCcIdentity gets a reference to the given string and assigns it to the CcIdentity field.
func (*JWTIssuerIdentityMapEntry) SetIsRegex ¶
func (o *JWTIssuerIdentityMapEntry) SetIsRegex(v bool)
SetIsRegex gets a reference to the given bool and assigns it to the IsRegex field.
func (*JWTIssuerIdentityMapEntry) SetTokenIdentity ¶
func (o *JWTIssuerIdentityMapEntry) SetTokenIdentity(v string)
SetTokenIdentity gets a reference to the given string and assigns it to the TokenIdentity field.
type KeysetPaginationResponse ¶
type KeysetPaginationResponse struct { NextPage *string `json:"next_page,omitempty"` PreviousPage *string `json:"previous_page,omitempty"` }
KeysetPaginationResponse struct for KeysetPaginationResponse.
func NewKeysetPaginationResponse ¶
func NewKeysetPaginationResponse() *KeysetPaginationResponse
NewKeysetPaginationResponse instantiates a new KeysetPaginationResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*KeysetPaginationResponse) GetNextPage ¶
func (o *KeysetPaginationResponse) GetNextPage() string
GetNextPage returns the NextPage field value if set, zero value otherwise.
func (*KeysetPaginationResponse) GetPreviousPage ¶
func (o *KeysetPaginationResponse) GetPreviousPage() string
GetPreviousPage returns the PreviousPage field value if set, zero value otherwise.
func (*KeysetPaginationResponse) SetNextPage ¶
func (o *KeysetPaginationResponse) SetNextPage(v string)
SetNextPage gets a reference to the given string and assigns it to the NextPage field.
func (*KeysetPaginationResponse) SetPreviousPage ¶
func (o *KeysetPaginationResponse) SetPreviousPage(v string)
SetPreviousPage gets a reference to the given string and assigns it to the PreviousPage field.
type LineItem ¶
type LineItem struct { // description contains the details of the line item (i.e t3 micro). Description string `json:"description"` // quantity is the number of the specific line items used. Quantity float64 `json:"quantity"` QuantityUnit QuantityUnitType `json:"quantity_unit"` Total CurrencyAmount `json:"total"` // unit_cost is the cost per unit of line item. UnitCost float64 `json:"unit_cost"` }
LineItem struct for LineItem.
func NewLineItem ¶
func NewLineItem(description string, quantity float64, quantityUnit QuantityUnitType, total CurrencyAmount, unitCost float64) *LineItem
NewLineItem instantiates a new LineItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLineItemWithDefaults ¶
func NewLineItemWithDefaults() *LineItem
NewLineItemWithDefaults instantiates a new LineItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LineItem) GetDescription ¶
GetDescription returns the Description field value.
func (*LineItem) GetQuantity ¶
GetQuantity returns the Quantity field value.
func (*LineItem) GetQuantityUnit ¶
func (o *LineItem) GetQuantityUnit() QuantityUnitType
GetQuantityUnit returns the QuantityUnit field value.
func (*LineItem) GetTotal ¶
func (o *LineItem) GetTotal() CurrencyAmount
GetTotal returns the Total field value.
func (*LineItem) GetUnitCost ¶
GetUnitCost returns the UnitCost field value.
func (*LineItem) SetDescription ¶
SetDescription sets field value.
func (*LineItem) SetQuantity ¶
SetQuantity sets field value.
func (*LineItem) SetQuantityUnit ¶
func (o *LineItem) SetQuantityUnit(v QuantityUnitType)
SetQuantityUnit sets field value.
func (*LineItem) SetTotal ¶
func (o *LineItem) SetTotal(v CurrencyAmount)
SetTotal sets field value.
func (*LineItem) SetUnitCost ¶
SetUnitCost sets field value.
type ListAllowlistEntriesOptions ¶
type ListAllowlistEntriesOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListAllowlistEntriesOptions contains optional parameters for ListAllowlistEntries.
type ListAllowlistEntriesResponse ¶
type ListAllowlistEntriesResponse struct { Allowlist []AllowlistEntry `json:"allowlist"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` Propagating bool `json:"propagating"` }
ListAllowlistEntriesResponse struct for ListAllowlistEntriesResponse.
func NewListAllowlistEntriesResponse ¶
func NewListAllowlistEntriesResponse(allowlist []AllowlistEntry, propagating bool) *ListAllowlistEntriesResponse
NewListAllowlistEntriesResponse instantiates a new ListAllowlistEntriesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAllowlistEntriesResponseWithDefaults ¶
func NewListAllowlistEntriesResponseWithDefaults() *ListAllowlistEntriesResponse
NewListAllowlistEntriesResponseWithDefaults instantiates a new ListAllowlistEntriesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAllowlistEntriesResponse) GetAllowlist ¶
func (o *ListAllowlistEntriesResponse) GetAllowlist() []AllowlistEntry
GetAllowlist returns the Allowlist field value.
func (*ListAllowlistEntriesResponse) GetPagination ¶
func (o *ListAllowlistEntriesResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListAllowlistEntriesResponse) GetPropagating ¶
func (o *ListAllowlistEntriesResponse) GetPropagating() bool
GetPropagating returns the Propagating field value.
func (*ListAllowlistEntriesResponse) SetAllowlist ¶
func (o *ListAllowlistEntriesResponse) SetAllowlist(v []AllowlistEntry)
SetAllowlist sets field value.
func (*ListAllowlistEntriesResponse) SetPagination ¶
func (o *ListAllowlistEntriesResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListAllowlistEntriesResponse) SetPropagating ¶
func (o *ListAllowlistEntriesResponse) SetPropagating(v bool)
SetPropagating sets field value.
type ListApiKeysOptions ¶
type ListApiKeysOptions struct { // Optional filter to limit the response to include only api keys for a specific service account. ServiceAccountId *string PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListApiKeysOptions contains optional parameters for ListApiKeys.
type ListApiKeysResponse ¶
type ListApiKeysResponse struct { ApiKeys []ApiKey `json:"api_keys"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListApiKeysResponse struct for ListApiKeysResponse.
func NewListApiKeysResponse ¶
func NewListApiKeysResponse(apiKeys []ApiKey) *ListApiKeysResponse
NewListApiKeysResponse instantiates a new ListApiKeysResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListApiKeysResponseWithDefaults ¶
func NewListApiKeysResponseWithDefaults() *ListApiKeysResponse
NewListApiKeysResponseWithDefaults instantiates a new ListApiKeysResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListApiKeysResponse) GetApiKeys ¶
func (o *ListApiKeysResponse) GetApiKeys() []ApiKey
GetApiKeys returns the ApiKeys field value.
func (*ListApiKeysResponse) GetPagination ¶
func (o *ListApiKeysResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListApiKeysResponse) SetApiKeys ¶
func (o *ListApiKeysResponse) SetApiKeys(v []ApiKey)
SetApiKeys sets field value.
func (*ListApiKeysResponse) SetPagination ¶
func (o *ListApiKeysResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListApiOidcConfigOptions ¶
type ListApiOidcConfigOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListApiOidcConfigOptions contains optional parameters for ListApiOidcConfig.
type ListApiOidcConfigResponse ¶
type ListApiOidcConfigResponse struct { ApiOidcConfigs *[]ApiOidcConfig `json:"api_oidc_configs,omitempty"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListApiOidcConfigResponse struct for ListApiOidcConfigResponse.
func NewListApiOidcConfigResponse ¶
func NewListApiOidcConfigResponse() *ListApiOidcConfigResponse
NewListApiOidcConfigResponse instantiates a new ListApiOidcConfigResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ListApiOidcConfigResponse) GetApiOidcConfigs ¶
func (o *ListApiOidcConfigResponse) GetApiOidcConfigs() []ApiOidcConfig
GetApiOidcConfigs returns the ApiOidcConfigs field value if set, zero value otherwise.
func (*ListApiOidcConfigResponse) GetPagination ¶
func (o *ListApiOidcConfigResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListApiOidcConfigResponse) SetApiOidcConfigs ¶
func (o *ListApiOidcConfigResponse) SetApiOidcConfigs(v []ApiOidcConfig)
SetApiOidcConfigs gets a reference to the given []ApiOidcConfig and assigns it to the ApiOidcConfigs field.
func (*ListApiOidcConfigResponse) SetPagination ¶
func (o *ListApiOidcConfigResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListAuditLogsOptions ¶
type ListAuditLogsOptions struct { // starting_from is the (exclusive) timestamp from which log entries will be returned in the response based on their created_at time, respecting the sort order specified in pagination. If unset, the default will be the current time if results are returned in descending order and the beginning of time if results are in ascending order. StartingFrom *time.Time // sort_order is the direction of pagination, with starting_from as the start point. If unset, the default is ascending order. - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. SortOrder *string // limit is the number of entries requested in the response. Note that the response may still contain slightly more results, since the response will always contain every entry at a particular timestamp. Limit *int32 }
ListAuditLogsOptions contains optional parameters for ListAuditLogs.
type ListAuditLogsResponse ¶
type ListAuditLogsResponse struct { // entries is the contiguous list of audit log entries matching the pagination request, sorted in the order requested. Entries *[]AuditLogEntry `json:"entries,omitempty"` // next_starting_from is the timestamp the caller should use to continue paginating in the same direction. If the timestamp is unset, it means that there are no more entries in the direction of the request, and there never will be. NextStartingFrom *time.Time `json:"next_starting_from,omitempty"` }
ListAuditLogsResponse struct for ListAuditLogsResponse.
func NewListAuditLogsResponse ¶
func NewListAuditLogsResponse() *ListAuditLogsResponse
NewListAuditLogsResponse instantiates a new ListAuditLogsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ListAuditLogsResponse) GetEntries ¶
func (o *ListAuditLogsResponse) GetEntries() []AuditLogEntry
GetEntries returns the Entries field value if set, zero value otherwise.
func (*ListAuditLogsResponse) GetNextStartingFrom ¶
func (o *ListAuditLogsResponse) GetNextStartingFrom() time.Time
GetNextStartingFrom returns the NextStartingFrom field value if set, zero value otherwise.
func (*ListAuditLogsResponse) SetEntries ¶
func (o *ListAuditLogsResponse) SetEntries(v []AuditLogEntry)
SetEntries gets a reference to the given []AuditLogEntry and assigns it to the Entries field.
func (*ListAuditLogsResponse) SetNextStartingFrom ¶
func (o *ListAuditLogsResponse) SetNextStartingFrom(v time.Time)
SetNextStartingFrom gets a reference to the given time.Time and assigns it to the NextStartingFrom field.
type ListAvailableRegionsOptions ¶
type ListAvailableRegionsOptions struct { // Optional CloudProvider for filtering. - GCP: The Google Cloud Platform cloud provider. - AWS: The Amazon Web Services cloud provider. - AZURE: The Azure cloud provider. Provider *string // Optional filter to only show regions available for serverless clusters. Serverless *bool PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListAvailableRegionsOptions contains optional parameters for ListAvailableRegions.
type ListAvailableRegionsResponse ¶
type ListAvailableRegionsResponse struct { Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` Regions []CloudProviderRegion `json:"regions"` }
ListAvailableRegionsResponse struct for ListAvailableRegionsResponse.
func NewListAvailableRegionsResponse ¶
func NewListAvailableRegionsResponse(regions []CloudProviderRegion) *ListAvailableRegionsResponse
NewListAvailableRegionsResponse instantiates a new ListAvailableRegionsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAvailableRegionsResponseWithDefaults ¶
func NewListAvailableRegionsResponseWithDefaults() *ListAvailableRegionsResponse
NewListAvailableRegionsResponseWithDefaults instantiates a new ListAvailableRegionsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAvailableRegionsResponse) GetPagination ¶
func (o *ListAvailableRegionsResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListAvailableRegionsResponse) GetRegions ¶
func (o *ListAvailableRegionsResponse) GetRegions() []CloudProviderRegion
GetRegions returns the Regions field value.
func (*ListAvailableRegionsResponse) SetPagination ¶
func (o *ListAvailableRegionsResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListAvailableRegionsResponse) SetRegions ¶
func (o *ListAvailableRegionsResponse) SetRegions(v []CloudProviderRegion)
SetRegions sets field value.
type ListClusterNodesOptions ¶
type ListClusterNodesOptions struct { // Optional filter to limit response to a single region. RegionName *string PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListClusterNodesOptions contains optional parameters for ListClusterNodes.
type ListClusterNodesResponse ¶
type ListClusterNodesResponse struct { Nodes []Node `json:"nodes"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListClusterNodesResponse struct for ListClusterNodesResponse.
func NewListClusterNodesResponse ¶
func NewListClusterNodesResponse(nodes []Node) *ListClusterNodesResponse
NewListClusterNodesResponse instantiates a new ListClusterNodesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListClusterNodesResponseWithDefaults ¶
func NewListClusterNodesResponseWithDefaults() *ListClusterNodesResponse
NewListClusterNodesResponseWithDefaults instantiates a new ListClusterNodesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListClusterNodesResponse) GetNodes ¶
func (o *ListClusterNodesResponse) GetNodes() []Node
GetNodes returns the Nodes field value.
func (*ListClusterNodesResponse) GetPagination ¶
func (o *ListClusterNodesResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListClusterNodesResponse) SetNodes ¶
func (o *ListClusterNodesResponse) SetNodes(v []Node)
SetNodes sets field value.
func (*ListClusterNodesResponse) SetPagination ¶
func (o *ListClusterNodesResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListClustersOptions ¶
type ListClustersOptions struct { // If `true`, show clusters that have been deleted or failed to initialize. Note that inactive clusters will only be included if the requesting user has organization-scoped cluster read permissions. ShowInactive *bool PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListClustersOptions contains optional parameters for ListClusters.
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters []Cluster `json:"clusters"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListClustersResponse struct for ListClustersResponse.
func NewListClustersResponse ¶
func NewListClustersResponse(clusters []Cluster) *ListClustersResponse
NewListClustersResponse instantiates a new ListClustersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListClustersResponseWithDefaults ¶
func NewListClustersResponseWithDefaults() *ListClustersResponse
NewListClustersResponseWithDefaults instantiates a new ListClustersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListClustersResponse) GetClusters ¶
func (o *ListClustersResponse) GetClusters() []Cluster
GetClusters returns the Clusters field value.
func (*ListClustersResponse) GetPagination ¶
func (o *ListClustersResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListClustersResponse) SetClusters ¶
func (o *ListClustersResponse) SetClusters(v []Cluster)
SetClusters sets field value.
func (*ListClustersResponse) SetPagination ¶
func (o *ListClustersResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListDatabasesOptions ¶
type ListDatabasesOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListDatabasesOptions contains optional parameters for ListDatabases.
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { Databases []Database `json:"databases"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListDatabasesResponse struct for ListDatabasesResponse.
func NewListDatabasesResponse ¶
func NewListDatabasesResponse(databases []Database) *ListDatabasesResponse
NewListDatabasesResponse instantiates a new ListDatabasesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListDatabasesResponseWithDefaults ¶
func NewListDatabasesResponseWithDefaults() *ListDatabasesResponse
NewListDatabasesResponseWithDefaults instantiates a new ListDatabasesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListDatabasesResponse) GetDatabases ¶
func (o *ListDatabasesResponse) GetDatabases() []Database
GetDatabases returns the Databases field value.
func (*ListDatabasesResponse) GetPagination ¶
func (o *ListDatabasesResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListDatabasesResponse) SetDatabases ¶
func (o *ListDatabasesResponse) SetDatabases(v []Database)
SetDatabases sets field value.
func (*ListDatabasesResponse) SetPagination ¶
func (o *ListDatabasesResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListEgressRulesOptions ¶
type ListEgressRulesOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListEgressRulesOptions contains optional parameters for ListEgressRules.
type ListEgressRulesResponse ¶
type ListEgressRulesResponse struct { Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` // rules are the egress rules associated with the given CockroachDB cluster. Rules *[]EgressRule `json:"rules,omitempty"` }
ListEgressRulesResponse struct for ListEgressRulesResponse.
func NewListEgressRulesResponse ¶
func NewListEgressRulesResponse() *ListEgressRulesResponse
NewListEgressRulesResponse instantiates a new ListEgressRulesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ListEgressRulesResponse) GetPagination ¶
func (o *ListEgressRulesResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListEgressRulesResponse) GetRules ¶
func (o *ListEgressRulesResponse) GetRules() []EgressRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*ListEgressRulesResponse) SetPagination ¶
func (o *ListEgressRulesResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListEgressRulesResponse) SetRules ¶
func (o *ListEgressRulesResponse) SetRules(v []EgressRule)
SetRules gets a reference to the given []EgressRule and assigns it to the Rules field.
type ListFolderContentsOptions ¶
type ListFolderContentsOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListFolderContentsOptions contains optional parameters for ListFolderContents.
type ListFoldersOptions ¶
type ListFoldersOptions struct { // Optional filter to limit the response to include only results that match the given absolute path to that folder. Preceding and ending \"/\" are optional. For example /folder1/folder2, /folder1/folder2/, folder1/folder2, and folder1/folder2/ are all equivalent. If no matching folder is found, an empty list is returned. Because folder paths are passed via the query parameters, they must be URL-encoded. Path *string PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListFoldersOptions contains optional parameters for ListFolders.
type ListFoldersResponse ¶
type ListFoldersResponse struct { Folders []FolderResource `json:"folders"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListFoldersResponse struct for ListFoldersResponse.
func NewListFoldersResponse ¶
func NewListFoldersResponse(folders []FolderResource) *ListFoldersResponse
NewListFoldersResponse instantiates a new ListFoldersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListFoldersResponseWithDefaults ¶
func NewListFoldersResponseWithDefaults() *ListFoldersResponse
NewListFoldersResponseWithDefaults instantiates a new ListFoldersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListFoldersResponse) GetFolders ¶
func (o *ListFoldersResponse) GetFolders() []FolderResource
GetFolders returns the Folders field value.
func (*ListFoldersResponse) GetPagination ¶
func (o *ListFoldersResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListFoldersResponse) SetFolders ¶
func (o *ListFoldersResponse) SetFolders(v []FolderResource)
SetFolders sets field value.
func (*ListFoldersResponse) SetPagination ¶
func (o *ListFoldersResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListInvoicesResponse ¶
type ListInvoicesResponse struct { // invoices are sorted by period_start time. Invoices []Invoice `json:"invoices"` }
ListInvoicesResponse struct for ListInvoicesResponse.
func NewListInvoicesResponse ¶
func NewListInvoicesResponse(invoices []Invoice) *ListInvoicesResponse
NewListInvoicesResponse instantiates a new ListInvoicesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInvoicesResponseWithDefaults ¶
func NewListInvoicesResponseWithDefaults() *ListInvoicesResponse
NewListInvoicesResponseWithDefaults instantiates a new ListInvoicesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInvoicesResponse) GetInvoices ¶
func (o *ListInvoicesResponse) GetInvoices() []Invoice
GetInvoices returns the Invoices field value.
func (*ListInvoicesResponse) SetInvoices ¶
func (o *ListInvoicesResponse) SetInvoices(v []Invoice)
SetInvoices sets field value.
type ListJWTIssuersOptions ¶
type ListJWTIssuersOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListJWTIssuersOptions contains optional parameters for ListJWTIssuers.
type ListJWTIssuersResponse ¶
type ListJWTIssuersResponse struct { JwtIssuers *[]JWTIssuer `json:"jwt_issuers,omitempty"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListJWTIssuersResponse struct for ListJWTIssuersResponse.
func NewListJWTIssuersResponse ¶
func NewListJWTIssuersResponse() *ListJWTIssuersResponse
NewListJWTIssuersResponse instantiates a new ListJWTIssuersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ListJWTIssuersResponse) GetJwtIssuers ¶
func (o *ListJWTIssuersResponse) GetJwtIssuers() []JWTIssuer
GetJwtIssuers returns the JwtIssuers field value if set, zero value otherwise.
func (*ListJWTIssuersResponse) GetPagination ¶
func (o *ListJWTIssuersResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListJWTIssuersResponse) SetJwtIssuers ¶
func (o *ListJWTIssuersResponse) SetJwtIssuers(v []JWTIssuer)
SetJwtIssuers gets a reference to the given []JWTIssuer and assigns it to the JwtIssuers field.
func (*ListJWTIssuersResponse) SetPagination ¶
func (o *ListJWTIssuersResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListMajorClusterVersionsOptions ¶
type ListMajorClusterVersionsOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListMajorClusterVersionsOptions contains optional parameters for ListMajorClusterVersions.
type ListMajorClusterVersionsResponse ¶
type ListMajorClusterVersionsResponse struct { Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` Versions []ClusterMajorVersion `json:"versions"` }
ListMajorClusterVersionsResponse struct for ListMajorClusterVersionsResponse.
func NewListMajorClusterVersionsResponse ¶
func NewListMajorClusterVersionsResponse(versions []ClusterMajorVersion) *ListMajorClusterVersionsResponse
NewListMajorClusterVersionsResponse instantiates a new ListMajorClusterVersionsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListMajorClusterVersionsResponseWithDefaults ¶
func NewListMajorClusterVersionsResponseWithDefaults() *ListMajorClusterVersionsResponse
NewListMajorClusterVersionsResponseWithDefaults instantiates a new ListMajorClusterVersionsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListMajorClusterVersionsResponse) GetPagination ¶
func (o *ListMajorClusterVersionsResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListMajorClusterVersionsResponse) GetVersions ¶
func (o *ListMajorClusterVersionsResponse) GetVersions() []ClusterMajorVersion
GetVersions returns the Versions field value.
func (*ListMajorClusterVersionsResponse) SetPagination ¶
func (o *ListMajorClusterVersionsResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListMajorClusterVersionsResponse) SetVersions ¶
func (o *ListMajorClusterVersionsResponse) SetVersions(v []ClusterMajorVersion)
SetVersions sets field value.
type ListPrivateEndpointTrustedOwnersResponse ¶
type ListPrivateEndpointTrustedOwnersResponse struct { // trusted_owners describes the private endpoint trusted owner entries for the requested cluster. TrustedOwners *[]PrivateEndpointTrustedOwner `json:"trusted_owners,omitempty"` }
ListPrivateEndpointTrustedOwnersResponse struct for ListPrivateEndpointTrustedOwnersResponse.
func NewListPrivateEndpointTrustedOwnersResponse ¶
func NewListPrivateEndpointTrustedOwnersResponse() *ListPrivateEndpointTrustedOwnersResponse
NewListPrivateEndpointTrustedOwnersResponse instantiates a new ListPrivateEndpointTrustedOwnersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ListPrivateEndpointTrustedOwnersResponse) GetTrustedOwners ¶
func (o *ListPrivateEndpointTrustedOwnersResponse) GetTrustedOwners() []PrivateEndpointTrustedOwner
GetTrustedOwners returns the TrustedOwners field value if set, zero value otherwise.
func (*ListPrivateEndpointTrustedOwnersResponse) SetTrustedOwners ¶
func (o *ListPrivateEndpointTrustedOwnersResponse) SetTrustedOwners(v []PrivateEndpointTrustedOwner)
SetTrustedOwners gets a reference to the given []PrivateEndpointTrustedOwner and assigns it to the TrustedOwners field.
type ListRoleGrantsOptions ¶
type ListRoleGrantsOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListRoleGrantsOptions contains optional parameters for ListRoleGrants.
type ListRoleGrantsResponse ¶
type ListRoleGrantsResponse struct { Grants *[]UserRoleGrants `json:"grants,omitempty"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` UserGroupGrants *[]UserGroupRoleGrant `json:"user_group_grants,omitempty"` }
ListRoleGrantsResponse struct for ListRoleGrantsResponse.
func NewListRoleGrantsResponse ¶
func NewListRoleGrantsResponse() *ListRoleGrantsResponse
NewListRoleGrantsResponse instantiates a new ListRoleGrantsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ListRoleGrantsResponse) GetGrants ¶
func (o *ListRoleGrantsResponse) GetGrants() []UserRoleGrants
GetGrants returns the Grants field value if set, zero value otherwise.
func (*ListRoleGrantsResponse) GetPagination ¶
func (o *ListRoleGrantsResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListRoleGrantsResponse) GetUserGroupGrants ¶
func (o *ListRoleGrantsResponse) GetUserGroupGrants() []UserGroupRoleGrant
GetUserGroupGrants returns the UserGroupGrants field value if set, zero value otherwise.
func (*ListRoleGrantsResponse) SetGrants ¶
func (o *ListRoleGrantsResponse) SetGrants(v []UserRoleGrants)
SetGrants gets a reference to the given []UserRoleGrants and assigns it to the Grants field.
func (*ListRoleGrantsResponse) SetPagination ¶
func (o *ListRoleGrantsResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListRoleGrantsResponse) SetUserGroupGrants ¶
func (o *ListRoleGrantsResponse) SetUserGroupGrants(v []UserGroupRoleGrant)
SetUserGroupGrants gets a reference to the given []UserGroupRoleGrant and assigns it to the UserGroupGrants field.
type ListSQLUsersOptions ¶
type ListSQLUsersOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListSQLUsersOptions contains optional parameters for ListSQLUsers.
type ListSQLUsersResponse ¶
type ListSQLUsersResponse struct { Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` Users []SQLUser `json:"users"` }
ListSQLUsersResponse struct for ListSQLUsersResponse.
func NewListSQLUsersResponse ¶
func NewListSQLUsersResponse(users []SQLUser) *ListSQLUsersResponse
NewListSQLUsersResponse instantiates a new ListSQLUsersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListSQLUsersResponseWithDefaults ¶
func NewListSQLUsersResponseWithDefaults() *ListSQLUsersResponse
NewListSQLUsersResponseWithDefaults instantiates a new ListSQLUsersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListSQLUsersResponse) GetPagination ¶
func (o *ListSQLUsersResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListSQLUsersResponse) GetUsers ¶
func (o *ListSQLUsersResponse) GetUsers() []SQLUser
GetUsers returns the Users field value.
func (*ListSQLUsersResponse) SetPagination ¶
func (o *ListSQLUsersResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListSQLUsersResponse) SetUsers ¶
func (o *ListSQLUsersResponse) SetUsers(v []SQLUser)
SetUsers sets field value.
type ListServiceAccountsOptions ¶
type ListServiceAccountsOptions struct { PaginationPage *string PaginationLimit *int32 PaginationAsOfTime *time.Time // - ASC: Sort in ascending order. This is the default unless otherwise specified. - DESC: Sort in descending order. PaginationSortOrder *string }
ListServiceAccountsOptions contains optional parameters for ListServiceAccounts.
type ListServiceAccountsResponse ¶
type ListServiceAccountsResponse struct { Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` ServiceAccounts []ServiceAccount `json:"service_accounts"` }
ListServiceAccountsResponse struct for ListServiceAccountsResponse.
func NewListServiceAccountsResponse ¶
func NewListServiceAccountsResponse(serviceAccounts []ServiceAccount) *ListServiceAccountsResponse
NewListServiceAccountsResponse instantiates a new ListServiceAccountsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListServiceAccountsResponseWithDefaults ¶
func NewListServiceAccountsResponseWithDefaults() *ListServiceAccountsResponse
NewListServiceAccountsResponseWithDefaults instantiates a new ListServiceAccountsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListServiceAccountsResponse) GetPagination ¶
func (o *ListServiceAccountsResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListServiceAccountsResponse) GetServiceAccounts ¶
func (o *ListServiceAccountsResponse) GetServiceAccounts() []ServiceAccount
GetServiceAccounts returns the ServiceAccounts field value.
func (*ListServiceAccountsResponse) SetPagination ¶
func (o *ListServiceAccountsResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListServiceAccountsResponse) SetServiceAccounts ¶
func (o *ListServiceAccountsResponse) SetServiceAccounts(v []ServiceAccount)
SetServiceAccounts sets field value.
type LogExportClusterInfo ¶
type LogExportClusterInfo struct { ClusterId *string `json:"cluster_id,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Spec *LogExportClusterSpecification `json:"spec,omitempty"` Status *LogExportStatus `json:"status,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` UserMessage *string `json:"user_message,omitempty"` }
LogExportClusterInfo LogExportClusterInfo contains a package of information that fully describes both the intended state of the log export configuration for a specific cluster but also some metadata around its deployment status, any error messages, and some timestamps..
func NewLogExportClusterInfo ¶
func NewLogExportClusterInfo() *LogExportClusterInfo
NewLogExportClusterInfo instantiates a new LogExportClusterInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*LogExportClusterInfo) GetClusterId ¶
func (o *LogExportClusterInfo) GetClusterId() string
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*LogExportClusterInfo) GetCreatedAt ¶
func (o *LogExportClusterInfo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*LogExportClusterInfo) GetSpec ¶
func (o *LogExportClusterInfo) GetSpec() LogExportClusterSpecification
GetSpec returns the Spec field value if set, zero value otherwise.
func (*LogExportClusterInfo) GetStatus ¶
func (o *LogExportClusterInfo) GetStatus() LogExportStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*LogExportClusterInfo) GetUpdatedAt ¶
func (o *LogExportClusterInfo) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*LogExportClusterInfo) GetUserMessage ¶
func (o *LogExportClusterInfo) GetUserMessage() string
GetUserMessage returns the UserMessage field value if set, zero value otherwise.
func (*LogExportClusterInfo) SetClusterId ¶
func (o *LogExportClusterInfo) SetClusterId(v string)
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*LogExportClusterInfo) SetCreatedAt ¶
func (o *LogExportClusterInfo) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*LogExportClusterInfo) SetSpec ¶
func (o *LogExportClusterInfo) SetSpec(v LogExportClusterSpecification)
SetSpec gets a reference to the given LogExportClusterSpecification and assigns it to the Spec field.
func (*LogExportClusterInfo) SetStatus ¶
func (o *LogExportClusterInfo) SetStatus(v LogExportStatus)
SetStatus gets a reference to the given LogExportStatus and assigns it to the Status field.
func (*LogExportClusterInfo) SetUpdatedAt ¶
func (o *LogExportClusterInfo) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*LogExportClusterInfo) SetUserMessage ¶
func (o *LogExportClusterInfo) SetUserMessage(v string)
SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.
type LogExportClusterSpecification ¶
type LogExportClusterSpecification struct { // auth_principal is either the AWS Role ARN that identifies a role that the cluster account can assume to write to CloudWatch or the GCP Project ID that the cluster service account has permissions to write to for cloud logging. AuthPrincipal *string `json:"auth_principal,omitempty"` AzureSharedKey *string `json:"azure_shared_key,omitempty"` // groups is a collection of log group configurations to customize which CRDB channels get aggregated into different groups at the target sink. Unconfigured channels will be sent to the default locations via the settings above. Groups *[]LogExportGroup `json:"groups,omitempty"` // log_name is an identifier for the logs in the customer's log sink. LogName *string `json:"log_name,omitempty"` // omitted_channels is a list of channels that the user does not want to export logs for. OmittedChannels *[]string `json:"omitted_channels,omitempty"` // redact controls whether logs are redacted before forwarding to customer sinks. By default they are not redacted. Redact *bool `json:"redact,omitempty"` // region controls whether all logs are sent to a specific region in the customer sink. By default, logs will remain their region of origin depending on the cluster node's region. Region *string `json:"region,omitempty"` Type *LogExportType `json:"type,omitempty"` }
LogExportClusterSpecification LogExportClusterSpecification contains all the data necessary to configure log export for an individual cluster. Users would supply this data via the API and also receive it back when inspecting the state of their log export configuration..
func NewLogExportClusterSpecification ¶
func NewLogExportClusterSpecification() *LogExportClusterSpecification
NewLogExportClusterSpecification instantiates a new LogExportClusterSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*LogExportClusterSpecification) GetAuthPrincipal ¶
func (o *LogExportClusterSpecification) GetAuthPrincipal() string
GetAuthPrincipal returns the AuthPrincipal field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetAzureSharedKey ¶
func (o *LogExportClusterSpecification) GetAzureSharedKey() string
GetAzureSharedKey returns the AzureSharedKey field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetGroups ¶
func (o *LogExportClusterSpecification) GetGroups() []LogExportGroup
GetGroups returns the Groups field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetLogName ¶
func (o *LogExportClusterSpecification) GetLogName() string
GetLogName returns the LogName field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetOmittedChannels ¶
func (o *LogExportClusterSpecification) GetOmittedChannels() []string
GetOmittedChannels returns the OmittedChannels field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetRedact ¶
func (o *LogExportClusterSpecification) GetRedact() bool
GetRedact returns the Redact field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetRegion ¶
func (o *LogExportClusterSpecification) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*LogExportClusterSpecification) GetType ¶
func (o *LogExportClusterSpecification) GetType() LogExportType
GetType returns the Type field value if set, zero value otherwise.
func (*LogExportClusterSpecification) SetAuthPrincipal ¶
func (o *LogExportClusterSpecification) SetAuthPrincipal(v string)
SetAuthPrincipal gets a reference to the given string and assigns it to the AuthPrincipal field.
func (*LogExportClusterSpecification) SetAzureSharedKey ¶
func (o *LogExportClusterSpecification) SetAzureSharedKey(v string)
SetAzureSharedKey gets a reference to the given string and assigns it to the AzureSharedKey field.
func (*LogExportClusterSpecification) SetGroups ¶
func (o *LogExportClusterSpecification) SetGroups(v []LogExportGroup)
SetGroups gets a reference to the given []LogExportGroup and assigns it to the Groups field.
func (*LogExportClusterSpecification) SetLogName ¶
func (o *LogExportClusterSpecification) SetLogName(v string)
SetLogName gets a reference to the given string and assigns it to the LogName field.
func (*LogExportClusterSpecification) SetOmittedChannels ¶
func (o *LogExportClusterSpecification) SetOmittedChannels(v []string)
SetOmittedChannels gets a reference to the given []string and assigns it to the OmittedChannels field.
func (*LogExportClusterSpecification) SetRedact ¶
func (o *LogExportClusterSpecification) SetRedact(v bool)
SetRedact gets a reference to the given bool and assigns it to the Redact field.
func (*LogExportClusterSpecification) SetRegion ¶
func (o *LogExportClusterSpecification) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*LogExportClusterSpecification) SetType ¶
func (o *LogExportClusterSpecification) SetType(v LogExportType)
SetType gets a reference to the given LogExportType and assigns it to the Type field.
type LogExportGroup ¶
type LogExportGroup struct { // channels is a list of CRDB log channels to include in this group. Channels []string `json:"channels"` // log_name is the name of the group, reflected in the log sink. LogName string `json:"log_name"` MinLevel *LogLevelType `json:"min_level,omitempty"` // redact is a boolean that governs whether this log group should aggregate redacted logs. Redaction settings will inherit from the cluster log export defaults if unset. Redact *bool `json:"redact,omitempty"` }
LogExportGroup LogExportGroup contains an export configuration for a single log group which can route logs for a subset of CRDB channels..
func NewLogExportGroup ¶
func NewLogExportGroup(channels []string, logName string) *LogExportGroup
NewLogExportGroup instantiates a new LogExportGroup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLogExportGroupWithDefaults ¶
func NewLogExportGroupWithDefaults() *LogExportGroup
NewLogExportGroupWithDefaults instantiates a new LogExportGroup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LogExportGroup) GetChannels ¶
func (o *LogExportGroup) GetChannels() []string
GetChannels returns the Channels field value.
func (*LogExportGroup) GetLogName ¶
func (o *LogExportGroup) GetLogName() string
GetLogName returns the LogName field value.
func (*LogExportGroup) GetMinLevel ¶
func (o *LogExportGroup) GetMinLevel() LogLevelType
GetMinLevel returns the MinLevel field value if set, zero value otherwise.
func (*LogExportGroup) GetRedact ¶
func (o *LogExportGroup) GetRedact() bool
GetRedact returns the Redact field value if set, zero value otherwise.
func (*LogExportGroup) SetChannels ¶
func (o *LogExportGroup) SetChannels(v []string)
SetChannels sets field value.
func (*LogExportGroup) SetLogName ¶
func (o *LogExportGroup) SetLogName(v string)
SetLogName sets field value.
func (*LogExportGroup) SetMinLevel ¶
func (o *LogExportGroup) SetMinLevel(v LogLevelType)
SetMinLevel gets a reference to the given LogLevelType and assigns it to the MinLevel field.
func (*LogExportGroup) SetRedact ¶
func (o *LogExportGroup) SetRedact(v bool)
SetRedact gets a reference to the given bool and assigns it to the Redact field.
type LogExportStatus ¶
type LogExportStatus string
LogExportStatus LogExportStatus encodes the possible states that a configuration can be in as it is created, deployed, and disabled.
const ( LOGEXPORTSTATUS_DISABLED LogExportStatus = "DISABLED" LOGEXPORTSTATUS_DISABLING LogExportStatus = "DISABLING" LOGEXPORTSTATUS_DISABLE_FAILED LogExportStatus = "DISABLE_FAILED" LOGEXPORTSTATUS_ENABLED LogExportStatus = "ENABLED" LOGEXPORTSTATUS_ENABLING LogExportStatus = "ENABLING" LOGEXPORTSTATUS_ENABLE_FAILED LogExportStatus = "ENABLE_FAILED" LOGEXPORTSTATUS_CREDENTIALS_ERROR LogExportStatus = "CREDENTIALS_ERROR" )
List of LogExportStatus.
func NewLogExportStatusFromValue ¶
func NewLogExportStatusFromValue(v string) (*LogExportStatus, error)
NewLogExportStatusFromValue returns a pointer to a valid LogExportStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (LogExportStatus) IsValid ¶
func (v LogExportStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogExportStatus) Ptr ¶
func (v LogExportStatus) Ptr() *LogExportStatus
Ptr returns reference to LogExportStatus value.
type LogExportType ¶
type LogExportType string
LogExportType LogExportType encodes the cloud selection that we're exporting to along with the cloud logging platform. Currently, each cloud has a single logging platform.
const ( LOGEXPORTTYPE_AWS_CLOUDWATCH LogExportType = "AWS_CLOUDWATCH" LOGEXPORTTYPE_GCP_CLOUD_LOGGING LogExportType = "GCP_CLOUD_LOGGING" LOGEXPORTTYPE_AZURE_LOG_ANALYTICS LogExportType = "AZURE_LOG_ANALYTICS" )
List of LogExportType.
func NewLogExportTypeFromValue ¶
func NewLogExportTypeFromValue(v string) (*LogExportType, error)
NewLogExportTypeFromValue returns a pointer to a valid LogExportType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (LogExportType) IsValid ¶
func (v LogExportType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogExportType) Ptr ¶
func (v LogExportType) Ptr() *LogExportType
Ptr returns reference to LogExportType value.
type LogLevelType ¶
type LogLevelType string
LogLevelType - UNSPECIFIED: The unspecified log level includes all logs. - WARNING: The WARNING severity is used for situations which may require special handling, where normal operation is expected to resume automatically. - ERROR: The ERROR severity is used for situations that require special handling, where normal operation could not proceed as expected. Other operations can continue mostly unaffected. - FATAL: The FATAL severity is used for situations that require an immediate, hard server shutdown. A report is also sent to telemetry if telemetry is enabled.
const ( LOGLEVELTYPE_UNSPECIFIED LogLevelType = "UNSPECIFIED" LOGLEVELTYPE_WARNING LogLevelType = "WARNING" LOGLEVELTYPE_ERROR LogLevelType = "ERROR" LOGLEVELTYPE_FATAL LogLevelType = "FATAL" )
List of LogLevel.Type.
func NewLogLevelTypeFromValue ¶
func NewLogLevelTypeFromValue(v string) (*LogLevelType, error)
NewLogLevelTypeFromValue returns a pointer to a valid LogLevelType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (LogLevelType) IsValid ¶
func (v LogLevelType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogLevelType) Ptr ¶
func (v LogLevelType) Ptr() *LogLevelType
Ptr returns reference to LogLevel.Type value.
type MaintenanceWindow ¶
type MaintenanceWindow struct { // OffsetDuration is the duration from the start of a week (Monday 00:00 UTC) that this maintenance window will start after. Must be less than 1 week. OffsetDuration string `json:"offset_duration"` // WindowDuration is the duration of the maintenance window. Must be at least 6 hours and less than 1 week. WindowDuration string `json:"window_duration"` }
MaintenanceWindow MaintenanceWindowSpec specifies a weekly recurring maintenance window for a cluster..
func NewMaintenanceWindow ¶
func NewMaintenanceWindow(offsetDuration string, windowDuration string) *MaintenanceWindow
NewMaintenanceWindow instantiates a new MaintenanceWindow object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMaintenanceWindowWithDefaults ¶
func NewMaintenanceWindowWithDefaults() *MaintenanceWindow
NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MaintenanceWindow) GetOffsetDuration ¶
func (o *MaintenanceWindow) GetOffsetDuration() string
GetOffsetDuration returns the OffsetDuration field value.
func (*MaintenanceWindow) GetWindowDuration ¶
func (o *MaintenanceWindow) GetWindowDuration() string
GetWindowDuration returns the WindowDuration field value.
func (*MaintenanceWindow) SetOffsetDuration ¶
func (o *MaintenanceWindow) SetOffsetDuration(v string)
SetOffsetDuration sets field value.
func (*MaintenanceWindow) SetWindowDuration ¶
func (o *MaintenanceWindow) SetWindowDuration(v string)
SetWindowDuration sets field value.
type MetricExportStatusType ¶
type MetricExportStatusType string
MetricExportStatusType the model 'MetricExportStatusType'.
const ( METRICEXPORTSTATUSTYPE_NOT_DEPLOYED MetricExportStatusType = "NOT_DEPLOYED" METRICEXPORTSTATUSTYPE_DISABLING MetricExportStatusType = "DISABLING" METRICEXPORTSTATUSTYPE_ENABLING MetricExportStatusType = "ENABLING" METRICEXPORTSTATUSTYPE_ENABLED MetricExportStatusType = "ENABLED" METRICEXPORTSTATUSTYPE_ERROR MetricExportStatusType = "ERROR" )
List of MetricExportStatus.Type.
func NewMetricExportStatusTypeFromValue ¶
func NewMetricExportStatusTypeFromValue(v string) (*MetricExportStatusType, error)
NewMetricExportStatusTypeFromValue returns a pointer to a valid MetricExportStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (MetricExportStatusType) IsValid ¶
func (v MetricExportStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricExportStatusType) Ptr ¶
func (v MetricExportStatusType) Ptr() *MetricExportStatusType
Ptr returns reference to MetricExportStatus.Type value.
type NetworkVisibilityType ¶
type NetworkVisibilityType string
NetworkVisibilityType the model 'NetworkVisibilityType'.
const ( NETWORKVISIBILITYTYPE_PUBLIC NetworkVisibilityType = "PUBLIC" NETWORKVISIBILITYTYPE_PRIVATE NetworkVisibilityType = "PRIVATE" )
List of NetworkVisibility.Type.
func NewNetworkVisibilityTypeFromValue ¶
func NewNetworkVisibilityTypeFromValue(v string) (*NetworkVisibilityType, error)
NewNetworkVisibilityTypeFromValue returns a pointer to a valid NetworkVisibilityType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (NetworkVisibilityType) IsValid ¶
func (v NetworkVisibilityType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (NetworkVisibilityType) Ptr ¶
func (v NetworkVisibilityType) Ptr() *NetworkVisibilityType
Ptr returns reference to NetworkVisibility.Type value.
type Node ¶
type Node struct { Name string `json:"name"` RegionName string `json:"region_name"` Status NodeStatusType `json:"status"` }
Node struct for Node.
func NewNode ¶
func NewNode(name string, regionName string, status NodeStatusType) *Node
NewNode instantiates a new Node object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeWithDefaults ¶
func NewNodeWithDefaults() *Node
NewNodeWithDefaults instantiates a new Node object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Node) GetRegionName ¶
GetRegionName returns the RegionName field value.
func (*Node) GetStatus ¶
func (o *Node) GetStatus() NodeStatusType
GetStatus returns the Status field value.
type NodeStatusType ¶
type NodeStatusType string
NodeStatusType the model 'NodeStatusType'.
const ( NODESTATUSTYPE_LIVE NodeStatusType = "LIVE" NODESTATUSTYPE_NOT_READY NodeStatusType = "NOT_READY" )
List of NodeStatus.Type.
func NewNodeStatusTypeFromValue ¶
func NewNodeStatusTypeFromValue(v string) (*NodeStatusType, error)
NewNodeStatusTypeFromValue returns a pointer to a valid NodeStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (NodeStatusType) IsValid ¶
func (v NodeStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (NodeStatusType) Ptr ¶
func (v NodeStatusType) Ptr() *NodeStatusType
Ptr returns reference to NodeStatus.Type value.
type OperatingSystemType ¶
type OperatingSystemType string
OperatingSystemType the model 'OperatingSystemType'.
const ( OPERATINGSYSTEMTYPE_MAC OperatingSystemType = "MAC" OPERATINGSYSTEMTYPE_LINUX OperatingSystemType = "LINUX" OPERATINGSYSTEMTYPE_WINDOWS OperatingSystemType = "WINDOWS" )
List of OperatingSystemType.
func NewOperatingSystemTypeFromValue ¶
func NewOperatingSystemTypeFromValue(v string) (*OperatingSystemType, error)
NewOperatingSystemTypeFromValue returns a pointer to a valid OperatingSystemType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (OperatingSystemType) IsValid ¶
func (v OperatingSystemType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OperatingSystemType) Ptr ¶
func (v OperatingSystemType) Ptr() *OperatingSystemType
Ptr returns reference to OperatingSystemType value.
type Organization ¶
type Organization struct { CreatedAt time.Time `json:"created_at"` Id string `json:"id"` Label string `json:"label"` Name string `json:"name"` }
Organization struct for Organization.
func NewOrganization ¶
NewOrganization instantiates a new Organization object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOrganizationWithDefaults ¶
func NewOrganizationWithDefaults() *Organization
NewOrganizationWithDefaults instantiates a new Organization object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Organization) GetCreatedAt ¶
func (o *Organization) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*Organization) GetId ¶
func (o *Organization) GetId() string
GetId returns the Id field value.
func (*Organization) GetLabel ¶
func (o *Organization) GetLabel() string
GetLabel returns the Label field value.
func (*Organization) GetName ¶
func (o *Organization) GetName() string
GetName returns the Name field value.
func (*Organization) SetCreatedAt ¶
func (o *Organization) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*Organization) SetLabel ¶
func (o *Organization) SetLabel(v string)
SetLabel sets field value.
type OrganizationUserRoleType ¶
type OrganizationUserRoleType string
OrganizationUserRoleType - FOLDER_ADMIN: Preview: A folder admin role. - FOLDER_MOVER: Preview: A folder mover role.
const ( ORGANIZATIONUSERROLETYPE_BILLING_COORDINATOR OrganizationUserRoleType = "BILLING_COORDINATOR" ORGANIZATIONUSERROLETYPE_ORG_ADMIN OrganizationUserRoleType = "ORG_ADMIN" ORGANIZATIONUSERROLETYPE_ORG_MEMBER OrganizationUserRoleType = "ORG_MEMBER" ORGANIZATIONUSERROLETYPE_CLUSTER_ADMIN OrganizationUserRoleType = "CLUSTER_ADMIN" ORGANIZATIONUSERROLETYPE_CLUSTER_OPERATOR_WRITER OrganizationUserRoleType = "CLUSTER_OPERATOR_WRITER" ORGANIZATIONUSERROLETYPE_CLUSTER_DEVELOPER OrganizationUserRoleType = "CLUSTER_DEVELOPER" ORGANIZATIONUSERROLETYPE_CLUSTER_CREATOR OrganizationUserRoleType = "CLUSTER_CREATOR" ORGANIZATIONUSERROLETYPE_FOLDER_ADMIN OrganizationUserRoleType = "FOLDER_ADMIN" ORGANIZATIONUSERROLETYPE_FOLDER_MOVER OrganizationUserRoleType = "FOLDER_MOVER" )
List of OrganizationUserRole.Type.
func NewOrganizationUserRoleTypeFromValue ¶
func NewOrganizationUserRoleTypeFromValue(v string) (*OrganizationUserRoleType, error)
NewOrganizationUserRoleTypeFromValue returns a pointer to a valid OrganizationUserRoleType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (OrganizationUserRoleType) IsValid ¶
func (v OrganizationUserRoleType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OrganizationUserRoleType) Ptr ¶
func (v OrganizationUserRoleType) Ptr() *OrganizationUserRoleType
Ptr returns reference to OrganizationUserRole.Type value.
type PathSegment ¶
type PathSegment struct { // id is a folder id. Id *string `json:"id,omitempty"` // name is a folder name. Name *string `json:"name,omitempty"` }
PathSegment struct for PathSegment.
func NewPathSegment ¶
func NewPathSegment() *PathSegment
NewPathSegment instantiates a new PathSegment object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*PathSegment) GetId ¶
func (o *PathSegment) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*PathSegment) GetName ¶
func (o *PathSegment) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PathSegment) SetId ¶
func (o *PathSegment) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*PathSegment) SetName ¶
func (o *PathSegment) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type PersonUserInfo ¶
type PersonUserInfo struct { // email is an email address. Email *string `json:"email,omitempty"` // id is the user id. Id string `json:"id"` }
PersonUserInfo struct for PersonUserInfo.
func NewPersonUserInfo ¶
func NewPersonUserInfo(id string) *PersonUserInfo
NewPersonUserInfo instantiates a new PersonUserInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPersonUserInfoWithDefaults ¶
func NewPersonUserInfoWithDefaults() *PersonUserInfo
NewPersonUserInfoWithDefaults instantiates a new PersonUserInfo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PersonUserInfo) GetEmail ¶
func (o *PersonUserInfo) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*PersonUserInfo) GetId ¶
func (o *PersonUserInfo) GetId() string
GetId returns the Id field value.
func (*PersonUserInfo) SetEmail ¶
func (o *PersonUserInfo) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
type PlanType ¶
type PlanType string
PlanType - BASIC: The Basic plan includes essential operational features, is available in select regions, and offers on-demand capacity, making it ideal for small teams with unpredictable workloads. - STANDARD: The Standard plan includes standard enterprise security and monitoring features, is available in all supported regions, and offers provisioned pricing, making it the default choice for most CockroachDB production workloads. - ADVANCED: The Advanced plan is ideal for workloads with stringent isolation, compliance, and security requirements such as CMEK, PCI and HIPAA-readiness, and support for dedicated hardware. Customers are advised to have their account team and/or Cockroach Labs Support <support@cockroachlabs.com> involved when provisioning Advanced clusters.
const ( PLANTYPE_BASIC PlanType = "BASIC" PLANTYPE_STANDARD PlanType = "STANDARD" PLANTYPE_ADVANCED PlanType = "ADVANCED" )
List of Plan.Type.
func NewPlanTypeFromValue ¶
NewPlanTypeFromValue returns a pointer to a valid PlanType for the value passed as argument, or an error if the value passed is not allowed by the enum.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { CloudProvider CloudProviderType `json:"cloud_provider"` // endpoint_id is the id of the private endpoint associated with this connection. The private endpoint is customer-created and its id is generated by the cloud provider at endpoint creation time. EndpointId string `json:"endpoint_id"` // endpoint_service_id is the id of the private endpoint service associated with this connection. EndpointServiceId string `json:"endpoint_service_id"` // external_owner_id uniquely identifies the owner of the private endpoint connection cloud resource. This idenfier is the AWS account id owning the PrivateLink connection. This field is only valid on AWS clusters. ExternalOwnerId *string `json:"external_owner_id,omitempty"` // region_name is the cloud provider region name (e.g. us-east-1). RegionName *string `json:"region_name,omitempty"` // service_name is the name of the private endpoints service that this connection corresponds to. ServiceName string `json:"service_name"` Status PrivateEndpointConnectionStatus `json:"status"` }
PrivateEndpointConnection struct for PrivateEndpointConnection.
func NewPrivateEndpointConnection ¶
func NewPrivateEndpointConnection(cloudProvider CloudProviderType, endpointId string, endpointServiceId string, serviceName string, status PrivateEndpointConnectionStatus) *PrivateEndpointConnection
NewPrivateEndpointConnection instantiates a new PrivateEndpointConnection object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateEndpointConnectionWithDefaults ¶
func NewPrivateEndpointConnectionWithDefaults() *PrivateEndpointConnection
NewPrivateEndpointConnectionWithDefaults instantiates a new PrivateEndpointConnection object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateEndpointConnection) GetCloudProvider ¶
func (o *PrivateEndpointConnection) GetCloudProvider() CloudProviderType
GetCloudProvider returns the CloudProvider field value.
func (*PrivateEndpointConnection) GetEndpointId ¶
func (o *PrivateEndpointConnection) GetEndpointId() string
GetEndpointId returns the EndpointId field value.
func (*PrivateEndpointConnection) GetEndpointServiceId ¶
func (o *PrivateEndpointConnection) GetEndpointServiceId() string
GetEndpointServiceId returns the EndpointServiceId field value.
func (*PrivateEndpointConnection) GetExternalOwnerId ¶
func (o *PrivateEndpointConnection) GetExternalOwnerId() string
GetExternalOwnerId returns the ExternalOwnerId field value if set, zero value otherwise.
func (*PrivateEndpointConnection) GetRegionName ¶
func (o *PrivateEndpointConnection) GetRegionName() string
GetRegionName returns the RegionName field value if set, zero value otherwise.
func (*PrivateEndpointConnection) GetServiceName ¶
func (o *PrivateEndpointConnection) GetServiceName() string
GetServiceName returns the ServiceName field value.
func (*PrivateEndpointConnection) GetStatus ¶
func (o *PrivateEndpointConnection) GetStatus() PrivateEndpointConnectionStatus
GetStatus returns the Status field value.
func (*PrivateEndpointConnection) SetCloudProvider ¶
func (o *PrivateEndpointConnection) SetCloudProvider(v CloudProviderType)
SetCloudProvider sets field value.
func (*PrivateEndpointConnection) SetEndpointId ¶
func (o *PrivateEndpointConnection) SetEndpointId(v string)
SetEndpointId sets field value.
func (*PrivateEndpointConnection) SetEndpointServiceId ¶
func (o *PrivateEndpointConnection) SetEndpointServiceId(v string)
SetEndpointServiceId sets field value.
func (*PrivateEndpointConnection) SetExternalOwnerId ¶
func (o *PrivateEndpointConnection) SetExternalOwnerId(v string)
SetExternalOwnerId gets a reference to the given string and assigns it to the ExternalOwnerId field.
func (*PrivateEndpointConnection) SetRegionName ¶
func (o *PrivateEndpointConnection) SetRegionName(v string)
SetRegionName gets a reference to the given string and assigns it to the RegionName field.
func (*PrivateEndpointConnection) SetServiceName ¶
func (o *PrivateEndpointConnection) SetServiceName(v string)
SetServiceName sets field value.
func (*PrivateEndpointConnection) SetStatus ¶
func (o *PrivateEndpointConnection) SetStatus(v PrivateEndpointConnectionStatus)
SetStatus sets field value.
type PrivateEndpointConnectionStatus ¶
type PrivateEndpointConnectionStatus string
PrivateEndpointConnectionStatus PrivateEndpointConnectionStatus enumerates the possible statuses for the private endpoints connection.
const ( PRIVATEENDPOINTCONNECTIONSTATUS_PENDING PrivateEndpointConnectionStatus = "STATUS_PENDING" PRIVATEENDPOINTCONNECTIONSTATUS_PENDING_ACCEPTANCE PrivateEndpointConnectionStatus = "STATUS_PENDING_ACCEPTANCE" PRIVATEENDPOINTCONNECTIONSTATUS_AVAILABLE PrivateEndpointConnectionStatus = "STATUS_AVAILABLE" PRIVATEENDPOINTCONNECTIONSTATUS_DELETING PrivateEndpointConnectionStatus = "STATUS_DELETING" PRIVATEENDPOINTCONNECTIONSTATUS_DELETED PrivateEndpointConnectionStatus = "STATUS_DELETED" PRIVATEENDPOINTCONNECTIONSTATUS_REJECTED PrivateEndpointConnectionStatus = "STATUS_REJECTED" PRIVATEENDPOINTCONNECTIONSTATUS_FAILED PrivateEndpointConnectionStatus = "STATUS_FAILED" PRIVATEENDPOINTCONNECTIONSTATUS_EXPIRED PrivateEndpointConnectionStatus = "STATUS_EXPIRED" )
List of PrivateEndpointConnectionStatus.
func NewPrivateEndpointConnectionStatusFromValue ¶
func NewPrivateEndpointConnectionStatusFromValue(v string) (*PrivateEndpointConnectionStatus, error)
NewPrivateEndpointConnectionStatusFromValue returns a pointer to a valid PrivateEndpointConnectionStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (PrivateEndpointConnectionStatus) IsValid ¶
func (v PrivateEndpointConnectionStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (PrivateEndpointConnectionStatus) Ptr ¶
func (v PrivateEndpointConnectionStatus) Ptr() *PrivateEndpointConnectionStatus
Ptr returns reference to PrivateEndpointConnectionStatus value.
type PrivateEndpointConnections ¶
type PrivateEndpointConnections struct { // Connections is a list of private endpoints. Connections []PrivateEndpointConnection `json:"connections"` }
PrivateEndpointConnections struct for PrivateEndpointConnections.
func NewPrivateEndpointConnections ¶
func NewPrivateEndpointConnections(connections []PrivateEndpointConnection) *PrivateEndpointConnections
NewPrivateEndpointConnections instantiates a new PrivateEndpointConnections object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateEndpointConnectionsWithDefaults ¶
func NewPrivateEndpointConnectionsWithDefaults() *PrivateEndpointConnections
NewPrivateEndpointConnectionsWithDefaults instantiates a new PrivateEndpointConnections object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateEndpointConnections) GetConnections ¶
func (o *PrivateEndpointConnections) GetConnections() []PrivateEndpointConnection
GetConnections returns the Connections field value.
func (*PrivateEndpointConnections) SetConnections ¶
func (o *PrivateEndpointConnections) SetConnections(v []PrivateEndpointConnection)
SetConnections sets field value.
type PrivateEndpointService ¶
type PrivateEndpointService struct { // availability_zone_ids are the unique identifiers for the availability zones in which this service is available. Note these identifiers are unique even across typical cloud provider boundaries, for example AWS accounts or organizations. In AWS, availability zone ids for us-east-1 are use1-az1, use1-az2, use1-az3. AvailabilityZoneIds []string `json:"availability_zone_ids"` Aws *AWSPrivateLinkServiceDetail `json:"aws,omitempty"` CloudProvider CloudProviderType `json:"cloud_provider"` // endpoint_service_id uniquely identifies this private endpoint service. This is the cloud provider generated id for the service. EndpointServiceId string `json:"endpoint_service_id"` // name is the name of the private endpoints service. Name string `json:"name"` // region_name is the cloud provider region name (e.g. us-east-1). RegionName string `json:"region_name"` Status PrivateEndpointServiceStatusType `json:"status"` }
PrivateEndpointService struct for PrivateEndpointService.
func NewPrivateEndpointService ¶
func NewPrivateEndpointService(availabilityZoneIds []string, cloudProvider CloudProviderType, endpointServiceId string, name string, regionName string, status PrivateEndpointServiceStatusType) *PrivateEndpointService
NewPrivateEndpointService instantiates a new PrivateEndpointService object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateEndpointServiceWithDefaults ¶
func NewPrivateEndpointServiceWithDefaults() *PrivateEndpointService
NewPrivateEndpointServiceWithDefaults instantiates a new PrivateEndpointService object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateEndpointService) GetAvailabilityZoneIds ¶
func (o *PrivateEndpointService) GetAvailabilityZoneIds() []string
GetAvailabilityZoneIds returns the AvailabilityZoneIds field value.
func (*PrivateEndpointService) GetAws ¶
func (o *PrivateEndpointService) GetAws() AWSPrivateLinkServiceDetail
GetAws returns the Aws field value if set, zero value otherwise.
func (*PrivateEndpointService) GetCloudProvider ¶
func (o *PrivateEndpointService) GetCloudProvider() CloudProviderType
GetCloudProvider returns the CloudProvider field value.
func (*PrivateEndpointService) GetEndpointServiceId ¶
func (o *PrivateEndpointService) GetEndpointServiceId() string
GetEndpointServiceId returns the EndpointServiceId field value.
func (*PrivateEndpointService) GetName ¶
func (o *PrivateEndpointService) GetName() string
GetName returns the Name field value.
func (*PrivateEndpointService) GetRegionName ¶
func (o *PrivateEndpointService) GetRegionName() string
GetRegionName returns the RegionName field value.
func (*PrivateEndpointService) GetStatus ¶
func (o *PrivateEndpointService) GetStatus() PrivateEndpointServiceStatusType
GetStatus returns the Status field value.
func (*PrivateEndpointService) SetAvailabilityZoneIds ¶
func (o *PrivateEndpointService) SetAvailabilityZoneIds(v []string)
SetAvailabilityZoneIds sets field value.
func (*PrivateEndpointService) SetAws ¶
func (o *PrivateEndpointService) SetAws(v AWSPrivateLinkServiceDetail)
SetAws gets a reference to the given AWSPrivateLinkServiceDetail and assigns it to the Aws field.
func (*PrivateEndpointService) SetCloudProvider ¶
func (o *PrivateEndpointService) SetCloudProvider(v CloudProviderType)
SetCloudProvider sets field value.
func (*PrivateEndpointService) SetEndpointServiceId ¶
func (o *PrivateEndpointService) SetEndpointServiceId(v string)
SetEndpointServiceId sets field value.
func (*PrivateEndpointService) SetName ¶
func (o *PrivateEndpointService) SetName(v string)
SetName sets field value.
func (*PrivateEndpointService) SetRegionName ¶
func (o *PrivateEndpointService) SetRegionName(v string)
SetRegionName sets field value.
func (*PrivateEndpointService) SetStatus ¶
func (o *PrivateEndpointService) SetStatus(v PrivateEndpointServiceStatusType)
SetStatus sets field value.
type PrivateEndpointServiceStatusType ¶
type PrivateEndpointServiceStatusType string
PrivateEndpointServiceStatusType the model 'PrivateEndpointServiceStatusType'.
const ( PRIVATEENDPOINTSERVICESTATUSTYPE_CREATING PrivateEndpointServiceStatusType = "CREATING" PRIVATEENDPOINTSERVICESTATUSTYPE_AVAILABLE PrivateEndpointServiceStatusType = "AVAILABLE" PRIVATEENDPOINTSERVICESTATUSTYPE_CREATE_FAILED PrivateEndpointServiceStatusType = "CREATE_FAILED" PRIVATEENDPOINTSERVICESTATUSTYPE_DELETING PrivateEndpointServiceStatusType = "DELETING" PRIVATEENDPOINTSERVICESTATUSTYPE_DELETE_FAILED PrivateEndpointServiceStatusType = "DELETE_FAILED" )
List of PrivateEndpointServiceStatus.Type.
func NewPrivateEndpointServiceStatusTypeFromValue ¶
func NewPrivateEndpointServiceStatusTypeFromValue(v string) (*PrivateEndpointServiceStatusType, error)
NewPrivateEndpointServiceStatusTypeFromValue returns a pointer to a valid PrivateEndpointServiceStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (PrivateEndpointServiceStatusType) IsValid ¶
func (v PrivateEndpointServiceStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (PrivateEndpointServiceStatusType) Ptr ¶
func (v PrivateEndpointServiceStatusType) Ptr() *PrivateEndpointServiceStatusType
Ptr returns reference to PrivateEndpointServiceStatus.Type value.
type PrivateEndpointServices ¶
type PrivateEndpointServices struct { // services contains a list of all cluster related services. Services []PrivateEndpointService `json:"services"` }
PrivateEndpointServices struct for PrivateEndpointServices.
func NewPrivateEndpointServices ¶
func NewPrivateEndpointServices(services []PrivateEndpointService) *PrivateEndpointServices
NewPrivateEndpointServices instantiates a new PrivateEndpointServices object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateEndpointServicesWithDefaults ¶
func NewPrivateEndpointServicesWithDefaults() *PrivateEndpointServices
NewPrivateEndpointServicesWithDefaults instantiates a new PrivateEndpointServices object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateEndpointServices) GetServices ¶
func (o *PrivateEndpointServices) GetServices() []PrivateEndpointService
GetServices returns the Services field value.
func (*PrivateEndpointServices) SetServices ¶
func (o *PrivateEndpointServices) SetServices(v []PrivateEndpointService)
SetServices sets field value.
type PrivateEndpointTrustedOwner ¶
type PrivateEndpointTrustedOwner struct { // cluster_id identifies the cluster to which this trusted owner entry applies. ClusterId string `json:"cluster_id"` // created_at is the time at which the entry was created. CreatedAt time.Time `json:"created_at"` // external_owner_id is the identifier of the owner within the cloud provider for private endpoint connections. A wildcard character (\"*\") can be used to denote all owners. ExternalOwnerId string `json:"external_owner_id"` // id is a UUID that uniquely identifies this trusted owner entry. Id string `json:"id"` Type PrivateEndpointTrustedOwnerTypeType `json:"type"` }
PrivateEndpointTrustedOwner PrivateEndpointTrustedOwner represents a trusted owner entry for private endpoint connections..
func NewPrivateEndpointTrustedOwner ¶
func NewPrivateEndpointTrustedOwner(clusterId string, createdAt time.Time, externalOwnerId string, id string, type_ PrivateEndpointTrustedOwnerTypeType) *PrivateEndpointTrustedOwner
NewPrivateEndpointTrustedOwner instantiates a new PrivateEndpointTrustedOwner object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateEndpointTrustedOwnerWithDefaults ¶
func NewPrivateEndpointTrustedOwnerWithDefaults() *PrivateEndpointTrustedOwner
NewPrivateEndpointTrustedOwnerWithDefaults instantiates a new PrivateEndpointTrustedOwner object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateEndpointTrustedOwner) GetClusterId ¶
func (o *PrivateEndpointTrustedOwner) GetClusterId() string
GetClusterId returns the ClusterId field value.
func (*PrivateEndpointTrustedOwner) GetCreatedAt ¶
func (o *PrivateEndpointTrustedOwner) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*PrivateEndpointTrustedOwner) GetExternalOwnerId ¶
func (o *PrivateEndpointTrustedOwner) GetExternalOwnerId() string
GetExternalOwnerId returns the ExternalOwnerId field value.
func (*PrivateEndpointTrustedOwner) GetId ¶
func (o *PrivateEndpointTrustedOwner) GetId() string
GetId returns the Id field value.
func (*PrivateEndpointTrustedOwner) GetType ¶
func (o *PrivateEndpointTrustedOwner) GetType() PrivateEndpointTrustedOwnerTypeType
GetType returns the Type field value.
func (*PrivateEndpointTrustedOwner) SetClusterId ¶
func (o *PrivateEndpointTrustedOwner) SetClusterId(v string)
SetClusterId sets field value.
func (*PrivateEndpointTrustedOwner) SetCreatedAt ¶
func (o *PrivateEndpointTrustedOwner) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*PrivateEndpointTrustedOwner) SetExternalOwnerId ¶
func (o *PrivateEndpointTrustedOwner) SetExternalOwnerId(v string)
SetExternalOwnerId sets field value.
func (*PrivateEndpointTrustedOwner) SetId ¶
func (o *PrivateEndpointTrustedOwner) SetId(v string)
SetId sets field value.
func (*PrivateEndpointTrustedOwner) SetType ¶
func (o *PrivateEndpointTrustedOwner) SetType(v PrivateEndpointTrustedOwnerTypeType)
SetType sets field value.
type PrivateEndpointTrustedOwnerTypeType ¶
type PrivateEndpointTrustedOwnerTypeType string
PrivateEndpointTrustedOwnerTypeType - AWS_ACCOUNT_ID: AWS_ACCOUNT_ID represents the 12-digit AWS account number.
const (
PRIVATEENDPOINTTRUSTEDOWNERTYPETYPE_AWS_ACCOUNT_ID PrivateEndpointTrustedOwnerTypeType = "AWS_ACCOUNT_ID"
)
List of PrivateEndpointTrustedOwnerType.Type.
func NewPrivateEndpointTrustedOwnerTypeTypeFromValue ¶
func NewPrivateEndpointTrustedOwnerTypeTypeFromValue(v string) (*PrivateEndpointTrustedOwnerTypeType, error)
NewPrivateEndpointTrustedOwnerTypeTypeFromValue returns a pointer to a valid PrivateEndpointTrustedOwnerTypeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (PrivateEndpointTrustedOwnerTypeType) IsValid ¶
func (v PrivateEndpointTrustedOwnerTypeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
type PrometheusMetricExportInfo ¶
type PrometheusMetricExportInfo struct { ClusterId string `json:"cluster_id"` Status *MetricExportStatusType `json:"status,omitempty"` // targets is a map of ports exposing metrics to regions. Targets *map[string]string `json:"targets,omitempty"` UserMessage *string `json:"user_message,omitempty"` }
PrometheusMetricExportInfo struct for PrometheusMetricExportInfo.
func NewPrometheusMetricExportInfo ¶
func NewPrometheusMetricExportInfo(clusterId string) *PrometheusMetricExportInfo
NewPrometheusMetricExportInfo instantiates a new PrometheusMetricExportInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrometheusMetricExportInfoWithDefaults ¶
func NewPrometheusMetricExportInfoWithDefaults() *PrometheusMetricExportInfo
NewPrometheusMetricExportInfoWithDefaults instantiates a new PrometheusMetricExportInfo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrometheusMetricExportInfo) GetClusterId ¶
func (o *PrometheusMetricExportInfo) GetClusterId() string
GetClusterId returns the ClusterId field value.
func (*PrometheusMetricExportInfo) GetStatus ¶
func (o *PrometheusMetricExportInfo) GetStatus() MetricExportStatusType
GetStatus returns the Status field value if set, zero value otherwise.
func (*PrometheusMetricExportInfo) GetTargets ¶
func (o *PrometheusMetricExportInfo) GetTargets() map[string]string
GetTargets returns the Targets field value if set, zero value otherwise.
func (*PrometheusMetricExportInfo) GetUserMessage ¶
func (o *PrometheusMetricExportInfo) GetUserMessage() string
GetUserMessage returns the UserMessage field value if set, zero value otherwise.
func (*PrometheusMetricExportInfo) SetClusterId ¶
func (o *PrometheusMetricExportInfo) SetClusterId(v string)
SetClusterId sets field value.
func (*PrometheusMetricExportInfo) SetStatus ¶
func (o *PrometheusMetricExportInfo) SetStatus(v MetricExportStatusType)
SetStatus gets a reference to the given MetricExportStatusType and assigns it to the Status field.
func (*PrometheusMetricExportInfo) SetTargets ¶
func (o *PrometheusMetricExportInfo) SetTargets(v map[string]string)
SetTargets gets a reference to the given map[string]string and assigns it to the Targets field.
func (*PrometheusMetricExportInfo) SetUserMessage ¶
func (o *PrometheusMetricExportInfo) SetUserMessage(v string)
SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.
type QuantityUnitType ¶
type QuantityUnitType string
QuantityUnitType the model 'QuantityUnitType'.
const ( QUANTITYUNITTYPE_HOURS QuantityUnitType = "HOURS" QUANTITYUNITTYPE_REQUEST_UNITS QuantityUnitType = "REQUEST_UNITS" QUANTITYUNITTYPE_GIB QuantityUnitType = "GIB" QUANTITYUNITTYPE_GIB_HOURS QuantityUnitType = "GIB_HOURS" )
List of QuantityUnit.Type.
func NewQuantityUnitTypeFromValue ¶
func NewQuantityUnitTypeFromValue(v string) (*QuantityUnitType, error)
NewQuantityUnitTypeFromValue returns a pointer to a valid QuantityUnitType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (QuantityUnitType) IsValid ¶
func (v QuantityUnitType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (QuantityUnitType) Ptr ¶
func (v QuantityUnitType) Ptr() *QuantityUnitType
Ptr returns reference to QuantityUnit.Type value.
type Region ¶
type Region struct { // internal_dns is the internal DNS name of the cluster within the cloud provider's network. It is used to connect to the cluster with AWS PrivateLink, Azure Private Link, and GCP VPC Peering, but not GCP Private Service Connect. InternalDns string `json:"internal_dns"` Name string `json:"name"` // node_count will be 0 for Serverless clusters. NodeCount int32 `json:"node_count"` // primary is true only for the primary region in a Multi Region Serverless cluster. Primary *bool `json:"primary,omitempty"` // private_endpoint_dns is the DNS name of the cluster which is used to connect to the cluster with GCP Private Service Connect. PrivateEndpointDns string `json:"private_endpoint_dns"` // sql_dns is the DNS name of SQL interface of the cluster. It is used to connect to the cluster with IP allowlisting. SqlDns string `json:"sql_dns"` // ui_dns is the DNS name used when connecting to the DB Console for the cluster. UiDns string `json:"ui_dns"` }
Region struct for Region.
func NewRegion ¶
func NewRegion(internalDns string, name string, nodeCount int32, privateEndpointDns string, sqlDns string, uiDns string) *Region
NewRegion instantiates a new Region object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Region) GetInternalDns ¶
GetInternalDns returns the InternalDns field value.
func (*Region) GetNodeCount ¶
GetNodeCount returns the NodeCount field value.
func (*Region) GetPrimary ¶
GetPrimary returns the Primary field value if set, zero value otherwise.
func (*Region) GetPrivateEndpointDns ¶
GetPrivateEndpointDns returns the PrivateEndpointDns field value.
func (*Region) SetInternalDns ¶
SetInternalDns sets field value.
func (*Region) SetPrimary ¶
SetPrimary gets a reference to the given bool and assigns it to the Primary field.
func (*Region) SetPrivateEndpointDns ¶
SetPrivateEndpointDns sets field value.
type ReleaseTypeType ¶
type ReleaseTypeType string
ReleaseTypeType the model 'ReleaseTypeType'.
const ( RELEASETYPETYPE_REGULAR ReleaseTypeType = "REGULAR" RELEASETYPETYPE_INNOVATION ReleaseTypeType = "INNOVATION" )
List of ReleaseType.Type.
func NewReleaseTypeTypeFromValue ¶
func NewReleaseTypeTypeFromValue(v string) (*ReleaseTypeType, error)
NewReleaseTypeTypeFromValue returns a pointer to a valid ReleaseTypeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ReleaseTypeType) IsValid ¶
func (v ReleaseTypeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ReleaseTypeType) Ptr ¶
func (v ReleaseTypeType) Ptr() *ReleaseTypeType
Ptr returns reference to ReleaseType.Type value.
type RemovePrivateEndpointTrustedOwnerResponse ¶
type RemovePrivateEndpointTrustedOwnerResponse struct {
TrustedOwner PrivateEndpointTrustedOwner `json:"trusted_owner"`
}
RemovePrivateEndpointTrustedOwnerResponse struct for RemovePrivateEndpointTrustedOwnerResponse.
func NewRemovePrivateEndpointTrustedOwnerResponse ¶
func NewRemovePrivateEndpointTrustedOwnerResponse(trustedOwner PrivateEndpointTrustedOwner) *RemovePrivateEndpointTrustedOwnerResponse
NewRemovePrivateEndpointTrustedOwnerResponse instantiates a new RemovePrivateEndpointTrustedOwnerResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRemovePrivateEndpointTrustedOwnerResponseWithDefaults ¶
func NewRemovePrivateEndpointTrustedOwnerResponseWithDefaults() *RemovePrivateEndpointTrustedOwnerResponse
NewRemovePrivateEndpointTrustedOwnerResponseWithDefaults instantiates a new RemovePrivateEndpointTrustedOwnerResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RemovePrivateEndpointTrustedOwnerResponse) GetTrustedOwner ¶
func (o *RemovePrivateEndpointTrustedOwnerResponse) GetTrustedOwner() PrivateEndpointTrustedOwner
GetTrustedOwner returns the TrustedOwner field value.
func (*RemovePrivateEndpointTrustedOwnerResponse) SetTrustedOwner ¶
func (o *RemovePrivateEndpointTrustedOwnerResponse) SetTrustedOwner(v PrivateEndpointTrustedOwner)
SetTrustedOwner sets field value.
type Resource ¶
type Resource struct { Id *string `json:"id,omitempty"` Type ResourceTypeType `json:"type"` }
Resource struct for Resource.
func NewResource ¶
func NewResource(type_ ResourceTypeType) *Resource
NewResource instantiates a new Resource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResourceWithDefaults ¶
func NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Resource) GetType ¶
func (o *Resource) GetType() ResourceTypeType
GetType returns the Type field value.
type ResourceTypeType ¶
type ResourceTypeType string
ResourceTypeType - ORGANIZATION: An organization. - CLUSTER: A cluster resource. - FOLDER: Preview: A folder resource.
const ( RESOURCETYPETYPE_ORGANIZATION ResourceTypeType = "ORGANIZATION" RESOURCETYPETYPE_CLUSTER ResourceTypeType = "CLUSTER" RESOURCETYPETYPE_FOLDER ResourceTypeType = "FOLDER" )
List of ResourceType.Type.
func NewResourceTypeTypeFromValue ¶
func NewResourceTypeTypeFromValue(v string) (*ResourceTypeType, error)
NewResourceTypeTypeFromValue returns a pointer to a valid ResourceTypeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (ResourceTypeType) IsValid ¶
func (v ResourceTypeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ResourceTypeType) Ptr ¶
func (v ResourceTypeType) Ptr() *ResourceTypeType
Ptr returns reference to ResourceType.Type value.
type SQLUser ¶
type SQLUser struct {
Name string `json:"name"`
}
SQLUser struct for SQLUser.
func NewSQLUser ¶
NewSQLUser instantiates a new SQLUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSQLUserWithDefaults ¶
func NewSQLUserWithDefaults() *SQLUser
NewSQLUserWithDefaults instantiates a new SQLUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
type ScimAuthenticationScheme ¶
type ScimAuthenticationScheme struct { Description *string `json:"description,omitempty"` DocumentationUri *string `json:"documentationUri,omitempty"` Name *string `json:"name,omitempty"` Primary *bool `json:"primary,omitempty"` SpecUri *string `json:"specUri,omitempty"` Type *string `json:"type,omitempty"` }
ScimAuthenticationScheme struct for ScimAuthenticationScheme.
func NewScimAuthenticationScheme ¶
func NewScimAuthenticationScheme() *ScimAuthenticationScheme
NewScimAuthenticationScheme instantiates a new ScimAuthenticationScheme object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimAuthenticationScheme) GetDescription ¶
func (o *ScimAuthenticationScheme) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ScimAuthenticationScheme) GetDocumentationUri ¶
func (o *ScimAuthenticationScheme) GetDocumentationUri() string
GetDocumentationUri returns the DocumentationUri field value if set, zero value otherwise.
func (*ScimAuthenticationScheme) GetName ¶
func (o *ScimAuthenticationScheme) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ScimAuthenticationScheme) GetPrimary ¶
func (o *ScimAuthenticationScheme) GetPrimary() bool
GetPrimary returns the Primary field value if set, zero value otherwise.
func (*ScimAuthenticationScheme) GetSpecUri ¶
func (o *ScimAuthenticationScheme) GetSpecUri() string
GetSpecUri returns the SpecUri field value if set, zero value otherwise.
func (*ScimAuthenticationScheme) GetType ¶
func (o *ScimAuthenticationScheme) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ScimAuthenticationScheme) SetDescription ¶
func (o *ScimAuthenticationScheme) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ScimAuthenticationScheme) SetDocumentationUri ¶
func (o *ScimAuthenticationScheme) SetDocumentationUri(v string)
SetDocumentationUri gets a reference to the given string and assigns it to the DocumentationUri field.
func (*ScimAuthenticationScheme) SetName ¶
func (o *ScimAuthenticationScheme) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ScimAuthenticationScheme) SetPrimary ¶
func (o *ScimAuthenticationScheme) SetPrimary(v bool)
SetPrimary gets a reference to the given bool and assigns it to the Primary field.
func (*ScimAuthenticationScheme) SetSpecUri ¶
func (o *ScimAuthenticationScheme) SetSpecUri(v string)
SetSpecUri gets a reference to the given string and assigns it to the SpecUri field.
func (*ScimAuthenticationScheme) SetType ¶
func (o *ScimAuthenticationScheme) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type ScimBulkSupport ¶
type ScimBulkSupport struct { MaxOperations *int32 `json:"maxOperations,omitempty"` MaxPayloadSize *int32 `json:"maxPayloadSize,omitempty"` Supported *bool `json:"supported,omitempty"` }
ScimBulkSupport struct for ScimBulkSupport.
func NewScimBulkSupport ¶
func NewScimBulkSupport() *ScimBulkSupport
NewScimBulkSupport instantiates a new ScimBulkSupport object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimBulkSupport) GetMaxOperations ¶
func (o *ScimBulkSupport) GetMaxOperations() int32
GetMaxOperations returns the MaxOperations field value if set, zero value otherwise.
func (*ScimBulkSupport) GetMaxPayloadSize ¶
func (o *ScimBulkSupport) GetMaxPayloadSize() int32
GetMaxPayloadSize returns the MaxPayloadSize field value if set, zero value otherwise.
func (*ScimBulkSupport) GetSupported ¶
func (o *ScimBulkSupport) GetSupported() bool
GetSupported returns the Supported field value if set, zero value otherwise.
func (*ScimBulkSupport) SetMaxOperations ¶
func (o *ScimBulkSupport) SetMaxOperations(v int32)
SetMaxOperations gets a reference to the given int32 and assigns it to the MaxOperations field.
func (*ScimBulkSupport) SetMaxPayloadSize ¶
func (o *ScimBulkSupport) SetMaxPayloadSize(v int32)
SetMaxPayloadSize gets a reference to the given int32 and assigns it to the MaxPayloadSize field.
func (*ScimBulkSupport) SetSupported ¶
func (o *ScimBulkSupport) SetSupported(v bool)
SetSupported gets a reference to the given bool and assigns it to the Supported field.
type ScimChangePasswordSupport ¶
type ScimChangePasswordSupport struct {
Supported *bool `json:"supported,omitempty"`
}
ScimChangePasswordSupport struct for ScimChangePasswordSupport.
func NewScimChangePasswordSupport ¶
func NewScimChangePasswordSupport() *ScimChangePasswordSupport
NewScimChangePasswordSupport instantiates a new ScimChangePasswordSupport object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimChangePasswordSupport) GetSupported ¶
func (o *ScimChangePasswordSupport) GetSupported() bool
GetSupported returns the Supported field value if set, zero value otherwise.
func (*ScimChangePasswordSupport) SetSupported ¶
func (o *ScimChangePasswordSupport) SetSupported(v bool)
SetSupported gets a reference to the given bool and assigns it to the Supported field.
type ScimEmail ¶
type ScimEmail struct { Display *string `json:"display,omitempty"` Primary bool `json:"primary"` Type *string `json:"type,omitempty"` Value string `json:"value"` }
ScimEmail struct for ScimEmail.
func NewScimEmail ¶
NewScimEmail instantiates a new ScimEmail object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScimEmailWithDefaults ¶
func NewScimEmailWithDefaults() *ScimEmail
NewScimEmailWithDefaults instantiates a new ScimEmail object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ScimEmail) GetDisplay ¶
GetDisplay returns the Display field value if set, zero value otherwise.
func (*ScimEmail) GetPrimary ¶
GetPrimary returns the Primary field value.
func (*ScimEmail) SetDisplay ¶
SetDisplay gets a reference to the given string and assigns it to the Display field.
type ScimEtagSupport ¶
type ScimEtagSupport struct { MaxResults *int32 `json:"maxResults,omitempty"` Supported *bool `json:"supported,omitempty"` }
ScimEtagSupport struct for ScimEtagSupport.
func NewScimEtagSupport ¶
func NewScimEtagSupport() *ScimEtagSupport
NewScimEtagSupport instantiates a new ScimEtagSupport object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimEtagSupport) GetMaxResults ¶
func (o *ScimEtagSupport) GetMaxResults() int32
GetMaxResults returns the MaxResults field value if set, zero value otherwise.
func (*ScimEtagSupport) GetSupported ¶
func (o *ScimEtagSupport) GetSupported() bool
GetSupported returns the Supported field value if set, zero value otherwise.
func (*ScimEtagSupport) SetMaxResults ¶
func (o *ScimEtagSupport) SetMaxResults(v int32)
SetMaxResults gets a reference to the given int32 and assigns it to the MaxResults field.
func (*ScimEtagSupport) SetSupported ¶
func (o *ScimEtagSupport) SetSupported(v bool)
SetSupported gets a reference to the given bool and assigns it to the Supported field.
type ScimFilterSupport ¶
type ScimFilterSupport struct { MaxResults *int32 `json:"maxResults,omitempty"` Supported *bool `json:"supported,omitempty"` }
ScimFilterSupport struct for ScimFilterSupport.
func NewScimFilterSupport ¶
func NewScimFilterSupport() *ScimFilterSupport
NewScimFilterSupport instantiates a new ScimFilterSupport object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimFilterSupport) GetMaxResults ¶
func (o *ScimFilterSupport) GetMaxResults() int32
GetMaxResults returns the MaxResults field value if set, zero value otherwise.
func (*ScimFilterSupport) GetSupported ¶
func (o *ScimFilterSupport) GetSupported() bool
GetSupported returns the Supported field value if set, zero value otherwise.
func (*ScimFilterSupport) SetMaxResults ¶
func (o *ScimFilterSupport) SetMaxResults(v int32)
SetMaxResults gets a reference to the given int32 and assigns it to the MaxResults field.
func (*ScimFilterSupport) SetSupported ¶
func (o *ScimFilterSupport) SetSupported(v bool)
SetSupported gets a reference to the given bool and assigns it to the Supported field.
type ScimGroup ¶
type ScimGroup struct { DisplayName *string `json:"displayName,omitempty"` ExternalId *string `json:"externalId,omitempty"` Id *string `json:"id,omitempty"` Members *[]ScimResource `json:"members,omitempty"` Meta *ScimMetadata `json:"meta,omitempty"` Schemas *[]string `json:"schemas,omitempty"` }
ScimGroup struct for ScimGroup.
func NewScimGroup ¶
func NewScimGroup() *ScimGroup
NewScimGroup instantiates a new ScimGroup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimGroup) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*ScimGroup) GetExternalId ¶
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*ScimGroup) GetMembers ¶
func (o *ScimGroup) GetMembers() []ScimResource
GetMembers returns the Members field value if set, zero value otherwise.
func (*ScimGroup) GetMeta ¶
func (o *ScimGroup) GetMeta() ScimMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*ScimGroup) GetSchemas ¶
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*ScimGroup) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*ScimGroup) SetExternalId ¶
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*ScimGroup) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*ScimGroup) SetMembers ¶
func (o *ScimGroup) SetMembers(v []ScimResource)
SetMembers gets a reference to the given []ScimResource and assigns it to the Members field.
func (*ScimGroup) SetMeta ¶
func (o *ScimGroup) SetMeta(v ScimMetadata)
SetMeta gets a reference to the given ScimMetadata and assigns it to the Meta field.
func (*ScimGroup) SetSchemas ¶
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
type ScimMetadata ¶
type ScimMetadata struct { Created *string `json:"created,omitempty"` LastModified *string `json:"lastModified,omitempty"` Location *string `json:"location,omitempty"` ResourceType *string `json:"resourceType,omitempty"` }
ScimMetadata struct for ScimMetadata.
func NewScimMetadata ¶
func NewScimMetadata() *ScimMetadata
NewScimMetadata instantiates a new ScimMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimMetadata) GetCreated ¶
func (o *ScimMetadata) GetCreated() string
GetCreated returns the Created field value if set, zero value otherwise.
func (*ScimMetadata) GetLastModified ¶
func (o *ScimMetadata) GetLastModified() string
GetLastModified returns the LastModified field value if set, zero value otherwise.
func (*ScimMetadata) GetLocation ¶
func (o *ScimMetadata) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*ScimMetadata) GetResourceType ¶
func (o *ScimMetadata) GetResourceType() string
GetResourceType returns the ResourceType field value if set, zero value otherwise.
func (*ScimMetadata) SetCreated ¶
func (o *ScimMetadata) SetCreated(v string)
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*ScimMetadata) SetLastModified ¶
func (o *ScimMetadata) SetLastModified(v string)
SetLastModified gets a reference to the given string and assigns it to the LastModified field.
func (*ScimMetadata) SetLocation ¶
func (o *ScimMetadata) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*ScimMetadata) SetResourceType ¶
func (o *ScimMetadata) SetResourceType(v string)
SetResourceType gets a reference to the given string and assigns it to the ResourceType field.
type ScimName ¶
type ScimName struct { FamilyName *string `json:"familyName,omitempty"` GivenName *string `json:"givenName,omitempty"` }
ScimName struct for ScimName.
func NewScimName ¶
func NewScimName() *ScimName
NewScimName instantiates a new ScimName object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimName) GetFamilyName ¶
GetFamilyName returns the FamilyName field value if set, zero value otherwise.
func (*ScimName) GetGivenName ¶
GetGivenName returns the GivenName field value if set, zero value otherwise.
func (*ScimName) SetFamilyName ¶
SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.
func (*ScimName) SetGivenName ¶
SetGivenName gets a reference to the given string and assigns it to the GivenName field.
type ScimResource ¶
type ScimResource struct { Display *string `json:"display,omitempty"` Ref *string `json:"ref,omitempty"` Type *string `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
ScimResource struct for ScimResource.
func NewScimResource ¶
func NewScimResource() *ScimResource
NewScimResource instantiates a new ScimResource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimResource) GetDisplay ¶
func (o *ScimResource) GetDisplay() string
GetDisplay returns the Display field value if set, zero value otherwise.
func (*ScimResource) GetRef ¶
func (o *ScimResource) GetRef() string
GetRef returns the Ref field value if set, zero value otherwise.
func (*ScimResource) GetType ¶
func (o *ScimResource) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ScimResource) GetValue ¶
func (o *ScimResource) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ScimResource) SetDisplay ¶
func (o *ScimResource) SetDisplay(v string)
SetDisplay gets a reference to the given string and assigns it to the Display field.
func (*ScimResource) SetRef ¶
func (o *ScimResource) SetRef(v string)
SetRef gets a reference to the given string and assigns it to the Ref field.
func (*ScimResource) SetType ¶
func (o *ScimResource) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ScimResource) SetValue ¶
func (o *ScimResource) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
type ScimResourceType ¶
type ScimResourceType struct { Description *string `json:"description,omitempty"` Endpoint *string `json:"endpoint,omitempty"` Id *string `json:"id,omitempty"` Meta *ScimMetadata `json:"meta,omitempty"` Name *string `json:"name,omitempty"` Schema *string `json:"schema,omitempty"` Schemas *[]string `json:"schemas,omitempty"` }
ScimResourceType struct for ScimResourceType.
func NewScimResourceType ¶
func NewScimResourceType() *ScimResourceType
NewScimResourceType instantiates a new ScimResourceType object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimResourceType) GetDescription ¶
func (o *ScimResourceType) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ScimResourceType) GetEndpoint ¶
func (o *ScimResourceType) GetEndpoint() string
GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (*ScimResourceType) GetId ¶
func (o *ScimResourceType) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ScimResourceType) GetMeta ¶
func (o *ScimResourceType) GetMeta() ScimMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*ScimResourceType) GetName ¶
func (o *ScimResourceType) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ScimResourceType) GetSchema ¶
func (o *ScimResourceType) GetSchema() string
GetSchema returns the Schema field value if set, zero value otherwise.
func (*ScimResourceType) GetSchemas ¶
func (o *ScimResourceType) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*ScimResourceType) SetDescription ¶
func (o *ScimResourceType) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ScimResourceType) SetEndpoint ¶
func (o *ScimResourceType) SetEndpoint(v string)
SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (*ScimResourceType) SetId ¶
func (o *ScimResourceType) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ScimResourceType) SetMeta ¶
func (o *ScimResourceType) SetMeta(v ScimMetadata)
SetMeta gets a reference to the given ScimMetadata and assigns it to the Meta field.
func (*ScimResourceType) SetName ¶
func (o *ScimResourceType) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ScimResourceType) SetSchema ¶
func (o *ScimResourceType) SetSchema(v string)
SetSchema gets a reference to the given string and assigns it to the Schema field.
func (*ScimResourceType) SetSchemas ¶
func (o *ScimResourceType) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
type ScimSchema ¶
type ScimSchema struct { Attributes *[]ScimSchemaAttribute `json:"attributes,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Meta *ScimMetadata `json:"meta,omitempty"` Name *string `json:"name,omitempty"` }
ScimSchema struct for ScimSchema.
func NewScimSchema ¶
func NewScimSchema() *ScimSchema
NewScimSchema instantiates a new ScimSchema object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimSchema) GetAttributes ¶
func (o *ScimSchema) GetAttributes() []ScimSchemaAttribute
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*ScimSchema) GetDescription ¶
func (o *ScimSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ScimSchema) GetId ¶
func (o *ScimSchema) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ScimSchema) GetMeta ¶
func (o *ScimSchema) GetMeta() ScimMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*ScimSchema) GetName ¶
func (o *ScimSchema) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ScimSchema) SetAttributes ¶
func (o *ScimSchema) SetAttributes(v []ScimSchemaAttribute)
SetAttributes gets a reference to the given []ScimSchemaAttribute and assigns it to the Attributes field.
func (*ScimSchema) SetDescription ¶
func (o *ScimSchema) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ScimSchema) SetId ¶
func (o *ScimSchema) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ScimSchema) SetMeta ¶
func (o *ScimSchema) SetMeta(v ScimMetadata)
SetMeta gets a reference to the given ScimMetadata and assigns it to the Meta field.
func (*ScimSchema) SetName ¶
func (o *ScimSchema) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type ScimSchemaAttribute ¶
type ScimSchemaAttribute struct { CanonicalValues *[]string `json:"canonicalValues,omitempty"` CaseExact *bool `json:"caseExact,omitempty"` Description *string `json:"description,omitempty"` MultiValued *bool `json:"multiValued,omitempty"` Mutability *string `json:"mutability,omitempty"` Name *string `json:"name,omitempty"` ReferenceTypes *[]string `json:"referenceTypes,omitempty"` Required *bool `json:"required,omitempty"` Returned *string `json:"returned,omitempty"` SubAttributes *[]ScimSchemaAttribute `json:"subAttributes,omitempty"` Type *string `json:"type,omitempty"` Uniqueness *string `json:"uniqueness,omitempty"` }
ScimSchemaAttribute struct for ScimSchemaAttribute.
func NewScimSchemaAttribute ¶
func NewScimSchemaAttribute() *ScimSchemaAttribute
NewScimSchemaAttribute instantiates a new ScimSchemaAttribute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimSchemaAttribute) GetCanonicalValues ¶
func (o *ScimSchemaAttribute) GetCanonicalValues() []string
GetCanonicalValues returns the CanonicalValues field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetCaseExact ¶
func (o *ScimSchemaAttribute) GetCaseExact() bool
GetCaseExact returns the CaseExact field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetDescription ¶
func (o *ScimSchemaAttribute) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetMultiValued ¶
func (o *ScimSchemaAttribute) GetMultiValued() bool
GetMultiValued returns the MultiValued field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetMutability ¶
func (o *ScimSchemaAttribute) GetMutability() string
GetMutability returns the Mutability field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetName ¶
func (o *ScimSchemaAttribute) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetReferenceTypes ¶
func (o *ScimSchemaAttribute) GetReferenceTypes() []string
GetReferenceTypes returns the ReferenceTypes field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetRequired ¶
func (o *ScimSchemaAttribute) GetRequired() bool
GetRequired returns the Required field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetReturned ¶
func (o *ScimSchemaAttribute) GetReturned() string
GetReturned returns the Returned field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetSubAttributes ¶
func (o *ScimSchemaAttribute) GetSubAttributes() []ScimSchemaAttribute
GetSubAttributes returns the SubAttributes field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetType ¶
func (o *ScimSchemaAttribute) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ScimSchemaAttribute) GetUniqueness ¶
func (o *ScimSchemaAttribute) GetUniqueness() string
GetUniqueness returns the Uniqueness field value if set, zero value otherwise.
func (*ScimSchemaAttribute) SetCanonicalValues ¶
func (o *ScimSchemaAttribute) SetCanonicalValues(v []string)
SetCanonicalValues gets a reference to the given []string and assigns it to the CanonicalValues field.
func (*ScimSchemaAttribute) SetCaseExact ¶
func (o *ScimSchemaAttribute) SetCaseExact(v bool)
SetCaseExact gets a reference to the given bool and assigns it to the CaseExact field.
func (*ScimSchemaAttribute) SetDescription ¶
func (o *ScimSchemaAttribute) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ScimSchemaAttribute) SetMultiValued ¶
func (o *ScimSchemaAttribute) SetMultiValued(v bool)
SetMultiValued gets a reference to the given bool and assigns it to the MultiValued field.
func (*ScimSchemaAttribute) SetMutability ¶
func (o *ScimSchemaAttribute) SetMutability(v string)
SetMutability gets a reference to the given string and assigns it to the Mutability field.
func (*ScimSchemaAttribute) SetName ¶
func (o *ScimSchemaAttribute) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ScimSchemaAttribute) SetReferenceTypes ¶
func (o *ScimSchemaAttribute) SetReferenceTypes(v []string)
SetReferenceTypes gets a reference to the given []string and assigns it to the ReferenceTypes field.
func (*ScimSchemaAttribute) SetRequired ¶
func (o *ScimSchemaAttribute) SetRequired(v bool)
SetRequired gets a reference to the given bool and assigns it to the Required field.
func (*ScimSchemaAttribute) SetReturned ¶
func (o *ScimSchemaAttribute) SetReturned(v string)
SetReturned gets a reference to the given string and assigns it to the Returned field.
func (*ScimSchemaAttribute) SetSubAttributes ¶
func (o *ScimSchemaAttribute) SetSubAttributes(v []ScimSchemaAttribute)
SetSubAttributes gets a reference to the given []ScimSchemaAttribute and assigns it to the SubAttributes field.
func (*ScimSchemaAttribute) SetType ¶
func (o *ScimSchemaAttribute) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ScimSchemaAttribute) SetUniqueness ¶
func (o *ScimSchemaAttribute) SetUniqueness(v string)
SetUniqueness gets a reference to the given string and assigns it to the Uniqueness field.
type ScimSortSupport ¶
type ScimSortSupport struct {
Supported *bool `json:"supported,omitempty"`
}
ScimSortSupport struct for ScimSortSupport.
func NewScimSortSupport ¶
func NewScimSortSupport() *ScimSortSupport
NewScimSortSupport instantiates a new ScimSortSupport object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimSortSupport) GetSupported ¶
func (o *ScimSortSupport) GetSupported() bool
GetSupported returns the Supported field value if set, zero value otherwise.
func (*ScimSortSupport) SetSupported ¶
func (o *ScimSortSupport) SetSupported(v bool)
SetSupported gets a reference to the given bool and assigns it to the Supported field.
type ScimUser ¶
type ScimUser struct { Active *bool `json:"active,omitempty"` DisplayName *string `json:"displayName,omitempty"` Emails *[]ScimEmail `json:"emails,omitempty"` ExternalId *string `json:"externalId,omitempty"` Groups *[]ScimResource `json:"groups,omitempty"` Id *string `json:"id,omitempty"` Meta *ScimMetadata `json:"meta,omitempty"` Name *ScimName `json:"name,omitempty"` Schemas *[]string `json:"schemas,omitempty"` UserName *string `json:"userName,omitempty"` }
ScimUser struct for ScimUser.
func NewScimUser ¶
func NewScimUser() *ScimUser
NewScimUser instantiates a new ScimUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ScimUser) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*ScimUser) GetExternalId ¶
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*ScimUser) GetGroups ¶
func (o *ScimUser) GetGroups() []ScimResource
GetGroups returns the Groups field value if set, zero value otherwise.
func (*ScimUser) GetMeta ¶
func (o *ScimUser) GetMeta() ScimMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*ScimUser) GetSchemas ¶
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*ScimUser) GetUserName ¶
GetUserName returns the UserName field value if set, zero value otherwise.
func (*ScimUser) SetActive ¶
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*ScimUser) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*ScimUser) SetEmails ¶
SetEmails gets a reference to the given []ScimEmail and assigns it to the Emails field.
func (*ScimUser) SetExternalId ¶
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*ScimUser) SetGroups ¶
func (o *ScimUser) SetGroups(v []ScimResource)
SetGroups gets a reference to the given []ScimResource and assigns it to the Groups field.
func (*ScimUser) SetMeta ¶
func (o *ScimUser) SetMeta(v ScimMetadata)
SetMeta gets a reference to the given ScimMetadata and assigns it to the Meta field.
func (*ScimUser) SetName ¶
SetName gets a reference to the given ScimName and assigns it to the Name field.
func (*ScimUser) SetSchemas ¶
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*ScimUser) SetUserName ¶
SetUserName gets a reference to the given string and assigns it to the UserName field.
type ServerlessClusterConfig ¶
type ServerlessClusterConfig struct { // routing_id is used to identify the cluster in a connection string. RoutingId string `json:"routing_id"` UpgradeType UpgradeTypeType `json:"upgrade_type"` UsageLimits *UsageLimits `json:"usage_limits,omitempty"` }
ServerlessClusterConfig struct for ServerlessClusterConfig.
func NewServerlessClusterConfig ¶
func NewServerlessClusterConfig(routingId string, upgradeType UpgradeTypeType) *ServerlessClusterConfig
NewServerlessClusterConfig instantiates a new ServerlessClusterConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerlessClusterConfigWithDefaults ¶
func NewServerlessClusterConfigWithDefaults() *ServerlessClusterConfig
NewServerlessClusterConfigWithDefaults instantiates a new ServerlessClusterConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerlessClusterConfig) GetRoutingId ¶
func (o *ServerlessClusterConfig) GetRoutingId() string
GetRoutingId returns the RoutingId field value.
func (*ServerlessClusterConfig) GetUpgradeType ¶
func (o *ServerlessClusterConfig) GetUpgradeType() UpgradeTypeType
GetUpgradeType returns the UpgradeType field value.
func (*ServerlessClusterConfig) GetUsageLimits ¶
func (o *ServerlessClusterConfig) GetUsageLimits() UsageLimits
GetUsageLimits returns the UsageLimits field value if set, zero value otherwise.
func (*ServerlessClusterConfig) SetRoutingId ¶
func (o *ServerlessClusterConfig) SetRoutingId(v string)
SetRoutingId sets field value.
func (*ServerlessClusterConfig) SetUpgradeType ¶
func (o *ServerlessClusterConfig) SetUpgradeType(v UpgradeTypeType)
SetUpgradeType sets field value.
func (*ServerlessClusterConfig) SetUsageLimits ¶
func (o *ServerlessClusterConfig) SetUsageLimits(v UsageLimits)
SetUsageLimits gets a reference to the given UsageLimits and assigns it to the UsageLimits field.
type ServerlessClusterCreateSpecification ¶
type ServerlessClusterCreateSpecification struct { // Preview: Specify which region should be made the primary region. This is only applicable to multi-region Serverless clusters. This field is required if you create the cluster in more than one region. PrimaryRegion *string `json:"primary_region,omitempty"` // Region values should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Regions []string `json:"regions"` UpgradeType *UpgradeTypeType `json:"upgrade_type,omitempty"` UsageLimits *UsageLimits `json:"usage_limits,omitempty"` // WithEmptyIPAllowlist creates a cluster with no entries in the IP Allowlist. By default, Serverless clusters have one IP allowlist entry that opens the cluster to any IP. Set this property to true to ensure the cluster is closed to public traffic by default. WithEmptyIpAllowlist *bool `json:"with_empty_ip_allowlist,omitempty"` }
ServerlessClusterCreateSpecification struct for ServerlessClusterCreateSpecification.
func NewServerlessClusterCreateSpecification ¶
func NewServerlessClusterCreateSpecification(regions []string) *ServerlessClusterCreateSpecification
NewServerlessClusterCreateSpecification instantiates a new ServerlessClusterCreateSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerlessClusterCreateSpecificationWithDefaults ¶
func NewServerlessClusterCreateSpecificationWithDefaults() *ServerlessClusterCreateSpecification
NewServerlessClusterCreateSpecificationWithDefaults instantiates a new ServerlessClusterCreateSpecification object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerlessClusterCreateSpecification) GetPrimaryRegion ¶
func (o *ServerlessClusterCreateSpecification) GetPrimaryRegion() string
GetPrimaryRegion returns the PrimaryRegion field value if set, zero value otherwise.
func (*ServerlessClusterCreateSpecification) GetRegions ¶
func (o *ServerlessClusterCreateSpecification) GetRegions() []string
GetRegions returns the Regions field value.
func (*ServerlessClusterCreateSpecification) GetUpgradeType ¶
func (o *ServerlessClusterCreateSpecification) GetUpgradeType() UpgradeTypeType
GetUpgradeType returns the UpgradeType field value if set, zero value otherwise.
func (*ServerlessClusterCreateSpecification) GetUsageLimits ¶
func (o *ServerlessClusterCreateSpecification) GetUsageLimits() UsageLimits
GetUsageLimits returns the UsageLimits field value if set, zero value otherwise.
func (*ServerlessClusterCreateSpecification) GetWithEmptyIpAllowlist ¶
func (o *ServerlessClusterCreateSpecification) GetWithEmptyIpAllowlist() bool
GetWithEmptyIpAllowlist returns the WithEmptyIpAllowlist field value if set, zero value otherwise.
func (*ServerlessClusterCreateSpecification) SetPrimaryRegion ¶
func (o *ServerlessClusterCreateSpecification) SetPrimaryRegion(v string)
SetPrimaryRegion gets a reference to the given string and assigns it to the PrimaryRegion field.
func (*ServerlessClusterCreateSpecification) SetRegions ¶
func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)
SetRegions sets field value.
func (*ServerlessClusterCreateSpecification) SetUpgradeType ¶
func (o *ServerlessClusterCreateSpecification) SetUpgradeType(v UpgradeTypeType)
SetUpgradeType gets a reference to the given UpgradeTypeType and assigns it to the UpgradeType field.
func (*ServerlessClusterCreateSpecification) SetUsageLimits ¶
func (o *ServerlessClusterCreateSpecification) SetUsageLimits(v UsageLimits)
SetUsageLimits gets a reference to the given UsageLimits and assigns it to the UsageLimits field.
func (*ServerlessClusterCreateSpecification) SetWithEmptyIpAllowlist ¶
func (o *ServerlessClusterCreateSpecification) SetWithEmptyIpAllowlist(v bool)
SetWithEmptyIpAllowlist gets a reference to the given bool and assigns it to the WithEmptyIpAllowlist field.
type ServerlessClusterUpdateSpecification ¶
type ServerlessClusterUpdateSpecification struct { // Specify which region should be made the primary region. This is only applicable to multi-region Serverless clusters. This field is required if the regions field contains more than one region. PrimaryRegion *string `json:"primary_region,omitempty"` // Region values should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. If this field is provided, the cluster's regions will be changed to match this list. Regions cannot currently be removed. Regions *[]string `json:"regions,omitempty"` UpgradeType *UpgradeTypeType `json:"upgrade_type,omitempty"` UsageLimits *UsageLimits `json:"usage_limits,omitempty"` }
ServerlessClusterUpdateSpecification struct for ServerlessClusterUpdateSpecification.
func NewServerlessClusterUpdateSpecification ¶
func NewServerlessClusterUpdateSpecification() *ServerlessClusterUpdateSpecification
NewServerlessClusterUpdateSpecification instantiates a new ServerlessClusterUpdateSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*ServerlessClusterUpdateSpecification) GetPrimaryRegion ¶
func (o *ServerlessClusterUpdateSpecification) GetPrimaryRegion() string
GetPrimaryRegion returns the PrimaryRegion field value if set, zero value otherwise.
func (*ServerlessClusterUpdateSpecification) GetRegions ¶
func (o *ServerlessClusterUpdateSpecification) GetRegions() []string
GetRegions returns the Regions field value if set, zero value otherwise.
func (*ServerlessClusterUpdateSpecification) GetUpgradeType ¶
func (o *ServerlessClusterUpdateSpecification) GetUpgradeType() UpgradeTypeType
GetUpgradeType returns the UpgradeType field value if set, zero value otherwise.
func (*ServerlessClusterUpdateSpecification) GetUsageLimits ¶
func (o *ServerlessClusterUpdateSpecification) GetUsageLimits() UsageLimits
GetUsageLimits returns the UsageLimits field value if set, zero value otherwise.
func (*ServerlessClusterUpdateSpecification) SetPrimaryRegion ¶
func (o *ServerlessClusterUpdateSpecification) SetPrimaryRegion(v string)
SetPrimaryRegion gets a reference to the given string and assigns it to the PrimaryRegion field.
func (*ServerlessClusterUpdateSpecification) SetRegions ¶
func (o *ServerlessClusterUpdateSpecification) SetRegions(v []string)
SetRegions gets a reference to the given []string and assigns it to the Regions field.
func (*ServerlessClusterUpdateSpecification) SetUpgradeType ¶
func (o *ServerlessClusterUpdateSpecification) SetUpgradeType(v UpgradeTypeType)
SetUpgradeType gets a reference to the given UpgradeTypeType and assigns it to the UpgradeType field.
func (*ServerlessClusterUpdateSpecification) SetUsageLimits ¶
func (o *ServerlessClusterUpdateSpecification) SetUsageLimits(v UsageLimits)
SetUsageLimits gets a reference to the given UsageLimits and assigns it to the UsageLimits field.
type Service ¶
type Service interface { // Create a new API Key CreateApiKey(ctx _context.Context, createApiKeyRequest *CreateApiKeyRequest) (*CreateApiKeyResponse, *_nethttp.Response, error) // Delete an API Key DeleteApiKey(ctx _context.Context, id string) (*ApiKey, *_nethttp.Response, error) // Get an API Key by ID GetApiKey(ctx _context.Context, id string) (*ApiKey, *_nethttp.Response, error) // List API Keys ListApiKeys(ctx _context.Context, options *ListApiKeysOptions) (*ListApiKeysResponse, *_nethttp.Response, error) // Update an API Key UpdateApiKey(ctx _context.Context, id string, updateApiKeySpecification *UpdateApiKeySpecification) (*ApiKey, *_nethttp.Response, error) // List audit logs ListAuditLogs(ctx _context.Context, options *ListAuditLogsOptions) (*ListAuditLogsResponse, *_nethttp.Response, error) // Get a specific invoice for an organization GetInvoice(ctx _context.Context, invoiceId string) (*Invoice, *_nethttp.Response, error) // List invoices for a given organization ListInvoices(ctx _context.Context) (*ListInvoicesResponse, *_nethttp.Response, error) // Delete Client CA Cert for a cluster DeleteClientCACert(ctx _context.Context, clusterId string) (*ClientCACertInfo, *_nethttp.Response, error) // Get Client CA Cert information for a cluster GetClientCACert(ctx _context.Context, clusterId string) (*ClientCACertInfo, *_nethttp.Response, error) // Set Client CA Cert for a cluster SetClientCACert(ctx _context.Context, clusterId string, setClientCACertRequest *SetClientCACertRequest) (*ClientCACertInfo, *_nethttp.Response, error) // Update Client CA Cert for a cluster UpdateClientCACert(ctx _context.Context, clusterId string, updateClientCACertRequest *UpdateClientCACertRequest) (*ClientCACertInfo, *_nethttp.Response, error) // Create and initialize a new cluster CreateCluster(ctx _context.Context, createClusterRequest *CreateClusterRequest) (*Cluster, *_nethttp.Response, error) // Delete a cluster and all of its data DeleteCluster(ctx _context.Context, clusterId string) (*Cluster, *_nethttp.Response, error) // Get extended information about a cluster GetCluster(ctx _context.Context, clusterId string) (*Cluster, *_nethttp.Response, error) // Get a formatted generic connection string for a cluster GetConnectionString(ctx _context.Context, clusterId string, options *GetConnectionStringOptions) (*GetConnectionStringResponse, *_nethttp.Response, error) // List the regions available for new clusters and nodes ListAvailableRegions(ctx _context.Context, options *ListAvailableRegionsOptions) (*ListAvailableRegionsResponse, *_nethttp.Response, error) // List nodes for a cluster ListClusterNodes(ctx _context.Context, clusterId string, options *ListClusterNodesOptions) (*ListClusterNodesResponse, *_nethttp.Response, error) // List clusters owned by an organization ListClusters(ctx _context.Context, options *ListClustersOptions) (*ListClustersResponse, *_nethttp.Response, error) // List available major cluster versions ListMajorClusterVersions(ctx _context.Context, options *ListMajorClusterVersionsOptions) (*ListMajorClusterVersionsResponse, *_nethttp.Response, error) // Scale, edit or upgrade a cluster UpdateCluster(ctx _context.Context, clusterId string, updateClusterSpecification *UpdateClusterSpecification) (*Cluster, *_nethttp.Response, error) // Enable CMEK for a cluster EnableCMEKSpec(ctx _context.Context, clusterId string, cMEKClusterSpecification *CMEKClusterSpecification) (*CMEKClusterInfo, *_nethttp.Response, error) // Get CMEK-related information for a cluster GetCMEKClusterInfo(ctx _context.Context, clusterId string) (*CMEKClusterInfo, *_nethttp.Response, error) // Enable or update the CMEK spec for a cluster UpdateCMEKSpec(ctx _context.Context, clusterId string, cMEKClusterSpecification *CMEKClusterSpecification) (*CMEKClusterInfo, *_nethttp.Response, error) // Update the CMEK-related status for a cluster UpdateCMEKStatus(ctx _context.Context, clusterId string, updateCMEKStatusRequest *UpdateCMEKStatusRequest) (*CMEKClusterInfo, *_nethttp.Response, error) // Create a new database CreateDatabase(ctx _context.Context, clusterId string, createDatabaseRequest *CreateDatabaseRequest) (*Database, *_nethttp.Response, error) // Delete a database DeleteDatabase(ctx _context.Context, clusterId string, name string) (*Database, *_nethttp.Response, error) // Update a database EditDatabase(ctx _context.Context, clusterId string, name string, updateDatabaseRequest1 *UpdateDatabaseRequest1) (*Database, *_nethttp.Response, error) // Update a database EditDatabase2(ctx _context.Context, clusterId string, updateDatabaseRequest *UpdateDatabaseRequest) (*Database, *_nethttp.Response, error) // List databases for a cluster ListDatabases(ctx _context.Context, clusterId string, options *ListDatabasesOptions) (*ListDatabasesResponse, *_nethttp.Response, error) // Add an egress rule AddEgressRule(ctx _context.Context, clusterId string, addEgressRuleRequest *AddEgressRuleRequest) (*AddEgressRuleResponse, *_nethttp.Response, error) // Delete an existing egress rule DeleteEgressRule(ctx _context.Context, clusterId string, ruleId string, options *DeleteEgressRuleOptions) (*DeleteEgressRuleResponse, *_nethttp.Response, error) // Edit an existing egress rule EditEgressRule(ctx _context.Context, clusterId string, ruleId string, editEgressRuleRequest *EditEgressRuleRequest) (*EditEgressRuleResponse, *_nethttp.Response, error) // Get an existing egress rule GetEgressRule(ctx _context.Context, clusterId string, ruleId string) (*GetEgressRuleResponse, *_nethttp.Response, error) // List all egress rules associated with a cluster ListEgressRules(ctx _context.Context, clusterId string, options *ListEgressRulesOptions) (*ListEgressRulesResponse, *_nethttp.Response, error) // Outbound traffic management SetEgressTrafficPolicy(ctx _context.Context, clusterId string, setEgressTrafficPolicyRequest *SetEgressTrafficPolicyRequest) (*_nethttp.Response, error) // Create a folder CreateFolder(ctx _context.Context, createFolderRequest *CreateFolderRequest) (*FolderResource, *_nethttp.Response, error) // Delete a folder DeleteFolder(ctx _context.Context, folderId string) (*_nethttp.Response, error) // Get folder info for a folder GetFolder(ctx _context.Context, folderId string) (*FolderResource, *_nethttp.Response, error) // List contents of a folder ListFolderContents(ctx _context.Context, folderId string, options *ListFolderContentsOptions) (*FolderResourceList, *_nethttp.Response, error) // List folders owned by an organization ListFolders(ctx _context.Context, options *ListFoldersOptions) (*ListFoldersResponse, *_nethttp.Response, error) // Update a folder UpdateFolder(ctx _context.Context, folderId string, updateFolderSpecification *UpdateFolderSpecification) (*FolderResource, *_nethttp.Response, error) // Add a new CIDR address to the IP allowlist AddAllowlistEntry(ctx _context.Context, clusterId string, allowlistEntry *AllowlistEntry) (*AllowlistEntry, *_nethttp.Response, error) // Add a new CIDR address to the IP allowlist AddAllowlistEntry2(ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, allowlistEntry1 *AllowlistEntry1) (*AllowlistEntry, *_nethttp.Response, error) // Delete an IP allowlist entry DeleteAllowlistEntry(ctx _context.Context, clusterId string, cidrIp string, cidrMask int32) (*AllowlistEntry, *_nethttp.Response, error) // Get the IP allowlist and propagation status for a cluster ListAllowlistEntries(ctx _context.Context, clusterId string, options *ListAllowlistEntriesOptions) (*ListAllowlistEntriesResponse, *_nethttp.Response, error) // Update an IP allowlist entry UpdateAllowlistEntry(ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, allowlistEntry1 *AllowlistEntry1) (*AllowlistEntry, *_nethttp.Response, error) // Add a JWT Issuer AddJWTIssuer(ctx _context.Context, addJWTIssuerRequest *AddJWTIssuerRequest) (*JWTIssuer, *_nethttp.Response, error) // Delete a JWT Issuer DeleteJWTIssuer(ctx _context.Context, id string) (*JWTIssuer, *_nethttp.Response, error) // Get a JWT Issuer GetJWTIssuer(ctx _context.Context, id string) (*JWTIssuer, *_nethttp.Response, error) // List all JWT Issuers ListJWTIssuers(ctx _context.Context, options *ListJWTIssuersOptions) (*ListJWTIssuersResponse, *_nethttp.Response, error) // Update a JWT Issuer UpdateJWTIssuer(ctx _context.Context, id string, updateJWTIssuerRequest *UpdateJWTIssuerRequest) (*JWTIssuer, *_nethttp.Response, error) // Delete the Log Export configuration for a cluster DeleteLogExport(ctx _context.Context, clusterId string) (*LogExportClusterInfo, *_nethttp.Response, error) // Create or update the Log Export configuration for a cluster EnableLogExport(ctx _context.Context, clusterId string, enableLogExportRequest *EnableLogExportRequest) (*LogExportClusterInfo, *_nethttp.Response, error) // Get the Log Export configuration for a cluster GetLogExportInfo(ctx _context.Context, clusterId string) (*LogExportClusterInfo, *_nethttp.Response, error) // Delete the maintenance window for a cluster DeleteMaintenanceWindow(ctx _context.Context, clusterId string) (*MaintenanceWindow, *_nethttp.Response, error) // Get the maintenance window for a cluster GetMaintenanceWindow(ctx _context.Context, clusterId string) (*MaintenanceWindow, *_nethttp.Response, error) // Set the maintenance window for a cluster SetMaintenanceWindow(ctx _context.Context, clusterId string, maintenanceWindow *MaintenanceWindow) (*MaintenanceWindow, *_nethttp.Response, error) // Delete the CloudWatch Metric Export configuration for a cluster DeleteCloudWatchMetricExport(ctx _context.Context, clusterId string) (*DeleteMetricExportResponse, *_nethttp.Response, error) // Delete the Datadog Metric Export configuration for a cluster DeleteDatadogMetricExport(ctx _context.Context, clusterId string) (*DeleteMetricExportResponse, *_nethttp.Response, error) // Disable Prometheus Metric Export for a cluster DeletePrometheusMetricExport(ctx _context.Context, clusterId string) (*DeleteMetricExportResponse, *_nethttp.Response, error) // Create or update the CloudWatch Metric Export configuration for a cluster EnableCloudWatchMetricExport(ctx _context.Context, clusterId string, enableCloudWatchMetricExportRequest *EnableCloudWatchMetricExportRequest) (*CloudWatchMetricExportInfo, *_nethttp.Response, error) // Create or update the Datadog Metric Export configuration for a cluster EnableDatadogMetricExport(ctx _context.Context, clusterId string, enableDatadogMetricExportRequest *EnableDatadogMetricExportRequest) (*DatadogMetricExportInfo, *_nethttp.Response, error) // Enable Prometheus Metric Export for a cluster EnablePrometheusMetricExport(ctx _context.Context, clusterId string) (*PrometheusMetricExportInfo, *_nethttp.Response, error) // Get the CloudWatch Metric Export configuration for a cluster GetCloudWatchMetricExportInfo(ctx _context.Context, clusterId string) (*CloudWatchMetricExportInfo, *_nethttp.Response, error) // Get the Datadog Metric Export configuration for a cluster GetDatadogMetricExportInfo(ctx _context.Context, clusterId string) (*DatadogMetricExportInfo, *_nethttp.Response, error) // Get the Prometheus Metric Export configuration for a cluster GetPrometheusMetricExportInfo(ctx _context.Context, clusterId string) (*PrometheusMetricExportInfo, *_nethttp.Response, error) // Deprecated: Create an API OIDC configuration (Deprecated) CreateApiOidcConfig(ctx _context.Context, createApiOidcConfigRequest *CreateApiOidcConfigRequest) (*ApiOidcConfig, *_nethttp.Response, error) // Deprecated: Delete an API OIDC configuration (Deprecated) DeleteApiOidcConfig(ctx _context.Context, id string) (*ApiOidcConfig, *_nethttp.Response, error) // Deprecated: Get an API OIDC configuration (Deprecated) GetApiOidcConfig(ctx _context.Context, id string) (*ApiOidcConfig, *_nethttp.Response, error) // Deprecated: List all API OIDC configurations (Deprecated) ListApiOidcConfig(ctx _context.Context, options *ListApiOidcConfigOptions) (*ListApiOidcConfigResponse, *_nethttp.Response, error) // Deprecated: Update an API OIDC configuration (Deprecated) UpdateApiOidcConfig(ctx _context.Context, id string, apiOidcConfig1 *ApiOidcConfig1) (*ApiOidcConfig, *_nethttp.Response, error) // Get information about the caller's organization GetOrganizationInfo(ctx _context.Context) (*Organization, *_nethttp.Response, error) // Add a connection to a cluster's private endpoint service. AddPrivateEndpointConnection(ctx _context.Context, clusterId string, addPrivateEndpointConnectionRequest *AddPrivateEndpointConnectionRequest) (*PrivateEndpointConnection, *_nethttp.Response, error) // Add a private endpoint trusted owner to a cluster AddPrivateEndpointTrustedOwner(ctx _context.Context, clusterId string, addPrivateEndpointTrustedOwnerRequest *AddPrivateEndpointTrustedOwnerRequest) (*AddPrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error) // Create all PrivateEndpointServices for a cluster CreatePrivateEndpointServices(ctx _context.Context, clusterId string) (*PrivateEndpointServices, *_nethttp.Response, error) // Delete a connection from a cluster's private endpoint service. DeletePrivateEndpointConnection(ctx _context.Context, clusterId string, endpointId string) (*_nethttp.Response, error) // Get a private endpoint trusted owner entry for a cluster GetPrivateEndpointTrustedOwner(ctx _context.Context, clusterId string, ownerId string) (*GetPrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error) // List all AwsEndpointConnections for a cluster ListAwsEndpointConnections(ctx _context.Context, clusterId string) (*AwsEndpointConnections, *_nethttp.Response, error) // List all connections to a cluster's private endpoint service. ListPrivateEndpointConnections(ctx _context.Context, clusterId string) (*PrivateEndpointConnections, *_nethttp.Response, error) // List all PrivateEndpointServices for a cluster ListPrivateEndpointServices(ctx _context.Context, clusterId string) (*PrivateEndpointServices, *_nethttp.Response, error) // List all private endpoint trusted owners for a cluster ListPrivateEndpointTrustedOwners(ctx _context.Context, clusterId string) (*ListPrivateEndpointTrustedOwnersResponse, *_nethttp.Response, error) // Remove a private endpoint trusted owner from a cluster RemovePrivateEndpointTrustedOwner(ctx _context.Context, clusterId string, ownerId string) (*RemovePrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error) // Set the AWS Endpoint Connection state SetAwsEndpointConnectionState(ctx _context.Context, clusterId string, endpointId string, setAwsEndpointConnectionStateRequest *SetAwsEndpointConnectionStateRequest) (*AwsEndpointConnection, *_nethttp.Response, error) // Add a role to a user or service account AddUserToRole(ctx _context.Context, userId string, resourceType string, resourceId string, roleName string) (*GetAllRolesForUserResponse, *_nethttp.Response, error) // Get all Role Grants for a user GetAllRolesForUser(ctx _context.Context, userId string) (*GetAllRolesForUserResponse, *_nethttp.Response, error) // Search person users by email address GetPersonUsersByEmail(ctx _context.Context, email *string) (*GetPersonUsersByEmailResponse, *_nethttp.Response, error) // List all RoleGrants ListRoleGrants(ctx _context.Context, options *ListRoleGrantsOptions) (*ListRoleGrantsResponse, *_nethttp.Response, error) // Remove a role from a user or service account RemoveUserFromRole(ctx _context.Context, userId string, resourceType string, resourceId string, roleName string) (*GetAllRolesForUserResponse, *_nethttp.Response, error) // Replace the roles for a user or service account with exactly those provided SetRolesForUser(ctx _context.Context, userId string, cockroachCloudSetRolesForUserRequest *CockroachCloudSetRolesForUserRequest) (*GetAllRolesForUserResponse, *_nethttp.Response, error) // Create a group CreateGroup(ctx _context.Context, createGroupRequest *CreateGroupRequest) (*ScimGroup, *_nethttp.Response, error) // Create a user CreateUser(ctx _context.Context, createUserRequest *CreateUserRequest) (*ScimUser, *_nethttp.Response, error) // Delete a group based on ID DeleteGroup(ctx _context.Context, id string) (*_nethttp.Response, error) // Delete a user based on ID DeleteUser(ctx _context.Context, id string) (*_nethttp.Response, error) // Get a group by ID GetGroup(ctx _context.Context, id string, options *GetGroupOptions) (*ScimGroup, *_nethttp.Response, error) // Deprecated: Search a group by ID (Deprecated) GetGroup2(ctx _context.Context, id string, getGroupRequest *GetGroupRequest) (*ScimGroup, *_nethttp.Response, error) // List groups GetGroups(ctx _context.Context, options *GetGroupsOptions) (*GetGroupsResponse, *_nethttp.Response, error) // Deprecated: Search groups (Deprecated) GetGroups2(ctx _context.Context, getGroupsRequest *GetGroupsRequest) (*GetGroupsResponse, *_nethttp.Response, error) // Get a SCIM resource type by ID GetResourceType(ctx _context.Context, resourceId string, options *GetResourceTypeOptions) (*ScimResourceType, *_nethttp.Response, error) // List the SCIM resource types GetResourceTypes(ctx _context.Context, options *GetResourceTypesOptions) (*GetResourceTypesResponse, *_nethttp.Response, error) // Get a SCIM schema by ID GetSchema(ctx _context.Context, schemaId string, options *GetSchemaOptions) (*ScimSchema, *_nethttp.Response, error) // List the SCIM schemas GetSchemas(ctx _context.Context, options *GetSchemasOptions) (*GetSchemasResponse, *_nethttp.Response, error) // Return the SCIM Service Provider configuration GetServiceProviderConfig(ctx _context.Context) (*GetServiceProviderConfigResponse, *_nethttp.Response, error) // Get a user by ID GetUser(ctx _context.Context, id string, options *GetUserOptions) (*ScimUser, *_nethttp.Response, error) // Deprecated: Search for a user by ID (Deprecated) GetUser2(ctx _context.Context, id string, getUserRequest *GetUserRequest) (*ScimUser, *_nethttp.Response, error) // List Users GetUsers(ctx _context.Context, options *GetUsersOptions) (*GetUsersResponse, *_nethttp.Response, error) // Deprecated: Search User (Deprecated) GetUsers2(ctx _context.Context, getUsersRequest *GetUsersRequest) (*GetUsersResponse, *_nethttp.Response, error) // Search a group by ID SearchGroup(ctx _context.Context, id string, getGroupRequest *GetGroupRequest) (*ScimGroup, *_nethttp.Response, error) // Search groups SearchGroups(ctx _context.Context, getGroupsRequest *GetGroupsRequest) (*GetGroupsResponse, *_nethttp.Response, error) // Search for a user by ID SearchUser(ctx _context.Context, id string, getUserRequest *GetUserRequest) (*ScimUser, *_nethttp.Response, error) // Search Users SearchUsers(ctx _context.Context, getUsersRequest *GetUsersRequest) (*GetUsersResponse, *_nethttp.Response, error) // Update a group by supplying all values of the user object UpdateGroup(ctx _context.Context, id string, updateGroupRequest *UpdateGroupRequest) (*ScimGroup, *_nethttp.Response, error) // Update a user by supplying all values of the user object UpdateUser(ctx _context.Context, id string, updateUserRequest *UpdateUserRequest) (*ScimUser, *_nethttp.Response, error) // Create a new SQL user CreateSQLUser(ctx _context.Context, clusterId string, createSQLUserRequest *CreateSQLUserRequest) (*SQLUser, *_nethttp.Response, error) // Delete a SQL user DeleteSQLUser(ctx _context.Context, clusterId string, name string) (*SQLUser, *_nethttp.Response, error) // List SQL users for a cluster ListSQLUsers(ctx _context.Context, clusterId string, options *ListSQLUsersOptions) (*ListSQLUsersResponse, *_nethttp.Response, error) // Update a SQL user's password UpdateSQLUserPassword(ctx _context.Context, clusterId string, name string, updateSQLUserPasswordRequest *UpdateSQLUserPasswordRequest) (*SQLUser, *_nethttp.Response, error) // Create a service account CreateServiceAccount(ctx _context.Context, createServiceAccountRequest *CreateServiceAccountRequest) (*ServiceAccount, *_nethttp.Response, error) // Delete a service account DeleteServiceAccount(ctx _context.Context, id string) (*ServiceAccount, *_nethttp.Response, error) // Get a service account by ID GetServiceAccount(ctx _context.Context, id string) (*ServiceAccount, *_nethttp.Response, error) // List service accounts for an organization ListServiceAccounts(ctx _context.Context, options *ListServiceAccountsOptions) (*ListServiceAccountsResponse, *_nethttp.Response, error) // Update a service account UpdateServiceAccount(ctx _context.Context, id string, updateServiceAccountSpecification *UpdateServiceAccountSpecification) (*ServiceAccount, *_nethttp.Response, error) // Get the version upgrade deferral policy for a cluster. GetClusterVersionDeferral(ctx _context.Context, clusterId string) (*ClusterVersionDeferral, *_nethttp.Response, error) // Set the version upgrade deferral policy for a cluster SetClusterVersionDeferral(ctx _context.Context, clusterId string, clusterVersionDeferral *ClusterVersionDeferral) (*ClusterVersionDeferral, *_nethttp.Response, error) }
type ServiceAccount ¶
type ServiceAccount struct { // created_at represents the creation time of the service account. CreatedAt time.Time `json:"created_at"` // creator_name is the name of user that created the service account. CreatorName string `json:"creator_name"` // description of the service account. Description string `json:"description"` // roles that the service account has inherited via a group. GroupRoles []BuiltInFromGroups `json:"group_roles"` // The ID of the service account. Id string `json:"id"` // name of the service account. Name string `json:"name"` // roles that are assigned to the service account. Roles []BuiltInRole `json:"roles"` }
ServiceAccount A service account is an identity scoped to an organization that represents a non-human user..
func NewServiceAccount ¶
func NewServiceAccount(createdAt time.Time, creatorName string, description string, groupRoles []BuiltInFromGroups, id string, name string, roles []BuiltInRole) *ServiceAccount
NewServiceAccount instantiates a new ServiceAccount object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceAccountWithDefaults ¶
func NewServiceAccountWithDefaults() *ServiceAccount
NewServiceAccountWithDefaults instantiates a new ServiceAccount object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceAccount) GetCreatedAt ¶
func (o *ServiceAccount) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*ServiceAccount) GetCreatorName ¶
func (o *ServiceAccount) GetCreatorName() string
GetCreatorName returns the CreatorName field value.
func (*ServiceAccount) GetDescription ¶
func (o *ServiceAccount) GetDescription() string
GetDescription returns the Description field value.
func (*ServiceAccount) GetGroupRoles ¶
func (o *ServiceAccount) GetGroupRoles() []BuiltInFromGroups
GetGroupRoles returns the GroupRoles field value.
func (*ServiceAccount) GetId ¶
func (o *ServiceAccount) GetId() string
GetId returns the Id field value.
func (*ServiceAccount) GetName ¶
func (o *ServiceAccount) GetName() string
GetName returns the Name field value.
func (*ServiceAccount) GetRoles ¶
func (o *ServiceAccount) GetRoles() []BuiltInRole
GetRoles returns the Roles field value.
func (*ServiceAccount) SetCreatedAt ¶
func (o *ServiceAccount) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*ServiceAccount) SetCreatorName ¶
func (o *ServiceAccount) SetCreatorName(v string)
SetCreatorName sets field value.
func (*ServiceAccount) SetDescription ¶
func (o *ServiceAccount) SetDescription(v string)
SetDescription sets field value.
func (*ServiceAccount) SetGroupRoles ¶
func (o *ServiceAccount) SetGroupRoles(v []BuiltInFromGroups)
SetGroupRoles sets field value.
func (*ServiceAccount) SetName ¶
func (o *ServiceAccount) SetName(v string)
SetName sets field value.
func (*ServiceAccount) SetRoles ¶
func (o *ServiceAccount) SetRoles(v []BuiltInRole)
SetRoles sets field value.
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
Service for the Cockroach DB Cloud API
func (*ServiceImpl) AddAllowlistEntry ¶
func (a *ServiceImpl) AddAllowlistEntry( ctx _context.Context, clusterId string, allowlistEntry *AllowlistEntry, ) (*AllowlistEntry, *_nethttp.Response, error)
AddAllowlistEntry executes the request.
func (*ServiceImpl) AddAllowlistEntry2 ¶
func (a *ServiceImpl) AddAllowlistEntry2( ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, allowlistEntry1 *AllowlistEntry1, ) (*AllowlistEntry, *_nethttp.Response, error)
AddAllowlistEntry2 executes the request.
func (*ServiceImpl) AddEgressRule ¶
func (a *ServiceImpl) AddEgressRule( ctx _context.Context, clusterId string, addEgressRuleRequest *AddEgressRuleRequest, ) (*AddEgressRuleResponse, *_nethttp.Response, error)
AddEgressRule executes the request.
func (*ServiceImpl) AddJWTIssuer ¶
func (a *ServiceImpl) AddJWTIssuer( ctx _context.Context, addJWTIssuerRequest *AddJWTIssuerRequest, ) (*JWTIssuer, *_nethttp.Response, error)
AddJWTIssuer executes the request.
func (*ServiceImpl) AddPrivateEndpointConnection ¶
func (a *ServiceImpl) AddPrivateEndpointConnection( ctx _context.Context, clusterId string, addPrivateEndpointConnectionRequest *AddPrivateEndpointConnectionRequest, ) (*PrivateEndpointConnection, *_nethttp.Response, error)
AddPrivateEndpointConnection executes the request.
func (*ServiceImpl) AddPrivateEndpointTrustedOwner ¶
func (a *ServiceImpl) AddPrivateEndpointTrustedOwner( ctx _context.Context, clusterId string, addPrivateEndpointTrustedOwnerRequest *AddPrivateEndpointTrustedOwnerRequest, ) (*AddPrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error)
AddPrivateEndpointTrustedOwner executes the request.
func (*ServiceImpl) AddUserToRole ¶
func (a *ServiceImpl) AddUserToRole( ctx _context.Context, userId string, resourceType string, resourceId string, roleName string, ) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
AddUserToRole executes the request.
func (*ServiceImpl) CreateApiKey ¶
func (a *ServiceImpl) CreateApiKey( ctx _context.Context, createApiKeyRequest *CreateApiKeyRequest, ) (*CreateApiKeyResponse, *_nethttp.Response, error)
CreateApiKey executes the request.
func (*ServiceImpl) CreateApiOidcConfig ¶
func (a *ServiceImpl) CreateApiOidcConfig( ctx _context.Context, createApiOidcConfigRequest *CreateApiOidcConfigRequest, ) (*ApiOidcConfig, *_nethttp.Response, error)
CreateApiOidcConfig executes the request. Deprecated.
func (*ServiceImpl) CreateCluster ¶
func (a *ServiceImpl) CreateCluster( ctx _context.Context, createClusterRequest *CreateClusterRequest, ) (*Cluster, *_nethttp.Response, error)
CreateCluster executes the request.
func (*ServiceImpl) CreateDatabase ¶
func (a *ServiceImpl) CreateDatabase( ctx _context.Context, clusterId string, createDatabaseRequest *CreateDatabaseRequest, ) (*Database, *_nethttp.Response, error)
CreateDatabase executes the request.
func (*ServiceImpl) CreateFolder ¶
func (a *ServiceImpl) CreateFolder( ctx _context.Context, createFolderRequest *CreateFolderRequest, ) (*FolderResource, *_nethttp.Response, error)
CreateFolder executes the request.
func (*ServiceImpl) CreateGroup ¶
func (a *ServiceImpl) CreateGroup( ctx _context.Context, createGroupRequest *CreateGroupRequest, ) (*ScimGroup, *_nethttp.Response, error)
CreateGroup executes the request.
func (*ServiceImpl) CreatePrivateEndpointServices ¶
func (a *ServiceImpl) CreatePrivateEndpointServices( ctx _context.Context, clusterId string, ) (*PrivateEndpointServices, *_nethttp.Response, error)
CreatePrivateEndpointServices executes the request.
func (*ServiceImpl) CreateSQLUser ¶
func (a *ServiceImpl) CreateSQLUser( ctx _context.Context, clusterId string, createSQLUserRequest *CreateSQLUserRequest, ) (*SQLUser, *_nethttp.Response, error)
CreateSQLUser executes the request.
func (*ServiceImpl) CreateServiceAccount ¶
func (a *ServiceImpl) CreateServiceAccount( ctx _context.Context, createServiceAccountRequest *CreateServiceAccountRequest, ) (*ServiceAccount, *_nethttp.Response, error)
CreateServiceAccount executes the request.
func (*ServiceImpl) CreateUser ¶
func (a *ServiceImpl) CreateUser( ctx _context.Context, createUserRequest *CreateUserRequest, ) (*ScimUser, *_nethttp.Response, error)
CreateUser executes the request.
func (*ServiceImpl) DeleteAllowlistEntry ¶
func (a *ServiceImpl) DeleteAllowlistEntry( ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, ) (*AllowlistEntry, *_nethttp.Response, error)
DeleteAllowlistEntry executes the request.
func (*ServiceImpl) DeleteApiKey ¶
func (a *ServiceImpl) DeleteApiKey( ctx _context.Context, id string, ) (*ApiKey, *_nethttp.Response, error)
DeleteApiKey executes the request.
func (*ServiceImpl) DeleteApiOidcConfig ¶
func (a *ServiceImpl) DeleteApiOidcConfig( ctx _context.Context, id string, ) (*ApiOidcConfig, *_nethttp.Response, error)
DeleteApiOidcConfig executes the request. Deprecated.
func (*ServiceImpl) DeleteClientCACert ¶
func (a *ServiceImpl) DeleteClientCACert( ctx _context.Context, clusterId string, ) (*ClientCACertInfo, *_nethttp.Response, error)
DeleteClientCACert executes the request.
func (*ServiceImpl) DeleteCloudWatchMetricExport ¶
func (a *ServiceImpl) DeleteCloudWatchMetricExport( ctx _context.Context, clusterId string, ) (*DeleteMetricExportResponse, *_nethttp.Response, error)
DeleteCloudWatchMetricExport executes the request.
func (*ServiceImpl) DeleteCluster ¶
func (a *ServiceImpl) DeleteCluster( ctx _context.Context, clusterId string, ) (*Cluster, *_nethttp.Response, error)
DeleteCluster executes the request.
func (*ServiceImpl) DeleteDatabase ¶
func (a *ServiceImpl) DeleteDatabase( ctx _context.Context, clusterId string, name string, ) (*Database, *_nethttp.Response, error)
DeleteDatabase executes the request.
func (*ServiceImpl) DeleteDatadogMetricExport ¶
func (a *ServiceImpl) DeleteDatadogMetricExport( ctx _context.Context, clusterId string, ) (*DeleteMetricExportResponse, *_nethttp.Response, error)
DeleteDatadogMetricExport executes the request.
func (*ServiceImpl) DeleteEgressRule ¶
func (a *ServiceImpl) DeleteEgressRule( ctx _context.Context, clusterId string, ruleId string, options *DeleteEgressRuleOptions, ) (*DeleteEgressRuleResponse, *_nethttp.Response, error)
DeleteEgressRule executes the request.
func (*ServiceImpl) DeleteFolder ¶
func (a *ServiceImpl) DeleteFolder( ctx _context.Context, folderId string, ) (*_nethttp.Response, error)
DeleteFolder executes the request.
func (*ServiceImpl) DeleteGroup ¶
DeleteGroup executes the request.
func (*ServiceImpl) DeleteJWTIssuer ¶
func (a *ServiceImpl) DeleteJWTIssuer( ctx _context.Context, id string, ) (*JWTIssuer, *_nethttp.Response, error)
DeleteJWTIssuer executes the request.
func (*ServiceImpl) DeleteLogExport ¶
func (a *ServiceImpl) DeleteLogExport( ctx _context.Context, clusterId string, ) (*LogExportClusterInfo, *_nethttp.Response, error)
DeleteLogExport executes the request.
func (*ServiceImpl) DeleteMaintenanceWindow ¶
func (a *ServiceImpl) DeleteMaintenanceWindow( ctx _context.Context, clusterId string, ) (*MaintenanceWindow, *_nethttp.Response, error)
DeleteMaintenanceWindow executes the request.
func (*ServiceImpl) DeletePrivateEndpointConnection ¶
func (a *ServiceImpl) DeletePrivateEndpointConnection( ctx _context.Context, clusterId string, endpointId string, ) (*_nethttp.Response, error)
DeletePrivateEndpointConnection executes the request.
func (*ServiceImpl) DeletePrometheusMetricExport ¶
func (a *ServiceImpl) DeletePrometheusMetricExport( ctx _context.Context, clusterId string, ) (*DeleteMetricExportResponse, *_nethttp.Response, error)
DeletePrometheusMetricExport executes the request.
func (*ServiceImpl) DeleteSQLUser ¶
func (a *ServiceImpl) DeleteSQLUser( ctx _context.Context, clusterId string, name string, ) (*SQLUser, *_nethttp.Response, error)
DeleteSQLUser executes the request.
func (*ServiceImpl) DeleteServiceAccount ¶
func (a *ServiceImpl) DeleteServiceAccount( ctx _context.Context, id string, ) (*ServiceAccount, *_nethttp.Response, error)
DeleteServiceAccount executes the request.
func (*ServiceImpl) DeleteUser ¶
DeleteUser executes the request.
func (*ServiceImpl) EditDatabase ¶
func (a *ServiceImpl) EditDatabase( ctx _context.Context, clusterId string, name string, updateDatabaseRequest1 *UpdateDatabaseRequest1, ) (*Database, *_nethttp.Response, error)
EditDatabase executes the request.
func (*ServiceImpl) EditDatabase2 ¶
func (a *ServiceImpl) EditDatabase2( ctx _context.Context, clusterId string, updateDatabaseRequest *UpdateDatabaseRequest, ) (*Database, *_nethttp.Response, error)
EditDatabase2 executes the request.
func (*ServiceImpl) EditEgressRule ¶
func (a *ServiceImpl) EditEgressRule( ctx _context.Context, clusterId string, ruleId string, editEgressRuleRequest *EditEgressRuleRequest, ) (*EditEgressRuleResponse, *_nethttp.Response, error)
EditEgressRule executes the request.
func (*ServiceImpl) EnableCMEKSpec ¶
func (a *ServiceImpl) EnableCMEKSpec( ctx _context.Context, clusterId string, cMEKClusterSpecification *CMEKClusterSpecification, ) (*CMEKClusterInfo, *_nethttp.Response, error)
EnableCMEKSpec executes the request.
func (*ServiceImpl) EnableCloudWatchMetricExport ¶
func (a *ServiceImpl) EnableCloudWatchMetricExport( ctx _context.Context, clusterId string, enableCloudWatchMetricExportRequest *EnableCloudWatchMetricExportRequest, ) (*CloudWatchMetricExportInfo, *_nethttp.Response, error)
EnableCloudWatchMetricExport executes the request.
func (*ServiceImpl) EnableDatadogMetricExport ¶
func (a *ServiceImpl) EnableDatadogMetricExport( ctx _context.Context, clusterId string, enableDatadogMetricExportRequest *EnableDatadogMetricExportRequest, ) (*DatadogMetricExportInfo, *_nethttp.Response, error)
EnableDatadogMetricExport executes the request.
func (*ServiceImpl) EnableLogExport ¶
func (a *ServiceImpl) EnableLogExport( ctx _context.Context, clusterId string, enableLogExportRequest *EnableLogExportRequest, ) (*LogExportClusterInfo, *_nethttp.Response, error)
EnableLogExport executes the request.
func (*ServiceImpl) EnablePrometheusMetricExport ¶
func (a *ServiceImpl) EnablePrometheusMetricExport( ctx _context.Context, clusterId string, ) (*PrometheusMetricExportInfo, *_nethttp.Response, error)
EnablePrometheusMetricExport executes the request.
func (*ServiceImpl) GetAllRolesForUser ¶
func (a *ServiceImpl) GetAllRolesForUser( ctx _context.Context, userId string, ) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
GetAllRolesForUser executes the request.
func (*ServiceImpl) GetApiKey ¶
func (a *ServiceImpl) GetApiKey( ctx _context.Context, id string, ) (*ApiKey, *_nethttp.Response, error)
GetApiKey executes the request.
func (*ServiceImpl) GetApiOidcConfig ¶
func (a *ServiceImpl) GetApiOidcConfig( ctx _context.Context, id string, ) (*ApiOidcConfig, *_nethttp.Response, error)
GetApiOidcConfig executes the request. Deprecated.
func (*ServiceImpl) GetCMEKClusterInfo ¶
func (a *ServiceImpl) GetCMEKClusterInfo( ctx _context.Context, clusterId string, ) (*CMEKClusterInfo, *_nethttp.Response, error)
GetCMEKClusterInfo executes the request.
func (*ServiceImpl) GetClientCACert ¶
func (a *ServiceImpl) GetClientCACert( ctx _context.Context, clusterId string, ) (*ClientCACertInfo, *_nethttp.Response, error)
GetClientCACert executes the request.
func (*ServiceImpl) GetCloudWatchMetricExportInfo ¶
func (a *ServiceImpl) GetCloudWatchMetricExportInfo( ctx _context.Context, clusterId string, ) (*CloudWatchMetricExportInfo, *_nethttp.Response, error)
GetCloudWatchMetricExportInfo executes the request.
func (*ServiceImpl) GetCluster ¶
func (a *ServiceImpl) GetCluster( ctx _context.Context, clusterId string, ) (*Cluster, *_nethttp.Response, error)
GetCluster executes the request.
func (*ServiceImpl) GetClusterVersionDeferral ¶
func (a *ServiceImpl) GetClusterVersionDeferral( ctx _context.Context, clusterId string, ) (*ClusterVersionDeferral, *_nethttp.Response, error)
GetClusterVersionDeferral executes the request.
func (*ServiceImpl) GetConnectionString ¶
func (a *ServiceImpl) GetConnectionString( ctx _context.Context, clusterId string, options *GetConnectionStringOptions, ) (*GetConnectionStringResponse, *_nethttp.Response, error)
GetConnectionString executes the request.
func (*ServiceImpl) GetDatadogMetricExportInfo ¶
func (a *ServiceImpl) GetDatadogMetricExportInfo( ctx _context.Context, clusterId string, ) (*DatadogMetricExportInfo, *_nethttp.Response, error)
GetDatadogMetricExportInfo executes the request.
func (*ServiceImpl) GetEgressRule ¶
func (a *ServiceImpl) GetEgressRule( ctx _context.Context, clusterId string, ruleId string, ) (*GetEgressRuleResponse, *_nethttp.Response, error)
GetEgressRule executes the request.
func (*ServiceImpl) GetFolder ¶
func (a *ServiceImpl) GetFolder( ctx _context.Context, folderId string, ) (*FolderResource, *_nethttp.Response, error)
GetFolder executes the request.
func (*ServiceImpl) GetGroup ¶
func (a *ServiceImpl) GetGroup( ctx _context.Context, id string, options *GetGroupOptions, ) (*ScimGroup, *_nethttp.Response, error)
GetGroup executes the request.
func (*ServiceImpl) GetGroup2 ¶
func (a *ServiceImpl) GetGroup2( ctx _context.Context, id string, getGroupRequest *GetGroupRequest, ) (*ScimGroup, *_nethttp.Response, error)
GetGroup2 executes the request. Deprecated.
func (*ServiceImpl) GetGroups ¶
func (a *ServiceImpl) GetGroups( ctx _context.Context, options *GetGroupsOptions, ) (*GetGroupsResponse, *_nethttp.Response, error)
GetGroups executes the request.
func (*ServiceImpl) GetGroups2 ¶
func (a *ServiceImpl) GetGroups2( ctx _context.Context, getGroupsRequest *GetGroupsRequest, ) (*GetGroupsResponse, *_nethttp.Response, error)
GetGroups2 executes the request. Deprecated.
func (*ServiceImpl) GetInvoice ¶
func (a *ServiceImpl) GetInvoice( ctx _context.Context, invoiceId string, ) (*Invoice, *_nethttp.Response, error)
GetInvoice executes the request.
func (*ServiceImpl) GetJWTIssuer ¶
func (a *ServiceImpl) GetJWTIssuer( ctx _context.Context, id string, ) (*JWTIssuer, *_nethttp.Response, error)
GetJWTIssuer executes the request.
func (*ServiceImpl) GetLogExportInfo ¶
func (a *ServiceImpl) GetLogExportInfo( ctx _context.Context, clusterId string, ) (*LogExportClusterInfo, *_nethttp.Response, error)
GetLogExportInfo executes the request.
func (*ServiceImpl) GetMaintenanceWindow ¶
func (a *ServiceImpl) GetMaintenanceWindow( ctx _context.Context, clusterId string, ) (*MaintenanceWindow, *_nethttp.Response, error)
GetMaintenanceWindow executes the request.
func (*ServiceImpl) GetOrganizationInfo ¶
func (a *ServiceImpl) GetOrganizationInfo( ctx _context.Context, ) (*Organization, *_nethttp.Response, error)
GetOrganizationInfo executes the request.
func (*ServiceImpl) GetPersonUsersByEmail ¶
func (a *ServiceImpl) GetPersonUsersByEmail( ctx _context.Context, email *string, ) (*GetPersonUsersByEmailResponse, *_nethttp.Response, error)
GetPersonUsersByEmail executes the request.
func (*ServiceImpl) GetPrivateEndpointTrustedOwner ¶
func (a *ServiceImpl) GetPrivateEndpointTrustedOwner( ctx _context.Context, clusterId string, ownerId string, ) (*GetPrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error)
GetPrivateEndpointTrustedOwner executes the request.
func (*ServiceImpl) GetPrometheusMetricExportInfo ¶
func (a *ServiceImpl) GetPrometheusMetricExportInfo( ctx _context.Context, clusterId string, ) (*PrometheusMetricExportInfo, *_nethttp.Response, error)
GetPrometheusMetricExportInfo executes the request.
func (*ServiceImpl) GetResourceType ¶
func (a *ServiceImpl) GetResourceType( ctx _context.Context, resourceId string, options *GetResourceTypeOptions, ) (*ScimResourceType, *_nethttp.Response, error)
GetResourceType executes the request.
func (*ServiceImpl) GetResourceTypes ¶
func (a *ServiceImpl) GetResourceTypes( ctx _context.Context, options *GetResourceTypesOptions, ) (*GetResourceTypesResponse, *_nethttp.Response, error)
GetResourceTypes executes the request.
func (*ServiceImpl) GetSchema ¶
func (a *ServiceImpl) GetSchema( ctx _context.Context, schemaId string, options *GetSchemaOptions, ) (*ScimSchema, *_nethttp.Response, error)
GetSchema executes the request.
func (*ServiceImpl) GetSchemas ¶
func (a *ServiceImpl) GetSchemas( ctx _context.Context, options *GetSchemasOptions, ) (*GetSchemasResponse, *_nethttp.Response, error)
GetSchemas executes the request.
func (*ServiceImpl) GetServiceAccount ¶
func (a *ServiceImpl) GetServiceAccount( ctx _context.Context, id string, ) (*ServiceAccount, *_nethttp.Response, error)
GetServiceAccount executes the request.
func (*ServiceImpl) GetServiceProviderConfig ¶
func (a *ServiceImpl) GetServiceProviderConfig( ctx _context.Context, ) (*GetServiceProviderConfigResponse, *_nethttp.Response, error)
GetServiceProviderConfig executes the request.
func (*ServiceImpl) GetUser ¶
func (a *ServiceImpl) GetUser( ctx _context.Context, id string, options *GetUserOptions, ) (*ScimUser, *_nethttp.Response, error)
GetUser executes the request.
func (*ServiceImpl) GetUser2 ¶
func (a *ServiceImpl) GetUser2( ctx _context.Context, id string, getUserRequest *GetUserRequest, ) (*ScimUser, *_nethttp.Response, error)
GetUser2 executes the request. Deprecated.
func (*ServiceImpl) GetUsers ¶
func (a *ServiceImpl) GetUsers( ctx _context.Context, options *GetUsersOptions, ) (*GetUsersResponse, *_nethttp.Response, error)
GetUsers executes the request.
func (*ServiceImpl) GetUsers2 ¶
func (a *ServiceImpl) GetUsers2( ctx _context.Context, getUsersRequest *GetUsersRequest, ) (*GetUsersResponse, *_nethttp.Response, error)
GetUsers2 executes the request. Deprecated.
func (*ServiceImpl) ListAllowlistEntries ¶
func (a *ServiceImpl) ListAllowlistEntries( ctx _context.Context, clusterId string, options *ListAllowlistEntriesOptions, ) (*ListAllowlistEntriesResponse, *_nethttp.Response, error)
ListAllowlistEntries executes the request.
func (*ServiceImpl) ListApiKeys ¶
func (a *ServiceImpl) ListApiKeys( ctx _context.Context, options *ListApiKeysOptions, ) (*ListApiKeysResponse, *_nethttp.Response, error)
ListApiKeys executes the request.
func (*ServiceImpl) ListApiOidcConfig ¶
func (a *ServiceImpl) ListApiOidcConfig( ctx _context.Context, options *ListApiOidcConfigOptions, ) (*ListApiOidcConfigResponse, *_nethttp.Response, error)
ListApiOidcConfig executes the request. Deprecated.
func (*ServiceImpl) ListAuditLogs ¶
func (a *ServiceImpl) ListAuditLogs( ctx _context.Context, options *ListAuditLogsOptions, ) (*ListAuditLogsResponse, *_nethttp.Response, error)
ListAuditLogs executes the request.
func (*ServiceImpl) ListAvailableRegions ¶
func (a *ServiceImpl) ListAvailableRegions( ctx _context.Context, options *ListAvailableRegionsOptions, ) (*ListAvailableRegionsResponse, *_nethttp.Response, error)
ListAvailableRegions executes the request.
func (*ServiceImpl) ListAwsEndpointConnections ¶
func (a *ServiceImpl) ListAwsEndpointConnections( ctx _context.Context, clusterId string, ) (*AwsEndpointConnections, *_nethttp.Response, error)
ListAwsEndpointConnections executes the request.
func (*ServiceImpl) ListClusterNodes ¶
func (a *ServiceImpl) ListClusterNodes( ctx _context.Context, clusterId string, options *ListClusterNodesOptions, ) (*ListClusterNodesResponse, *_nethttp.Response, error)
ListClusterNodes executes the request.
func (*ServiceImpl) ListClusters ¶
func (a *ServiceImpl) ListClusters( ctx _context.Context, options *ListClustersOptions, ) (*ListClustersResponse, *_nethttp.Response, error)
ListClusters executes the request.
func (*ServiceImpl) ListDatabases ¶
func (a *ServiceImpl) ListDatabases( ctx _context.Context, clusterId string, options *ListDatabasesOptions, ) (*ListDatabasesResponse, *_nethttp.Response, error)
ListDatabases executes the request.
func (*ServiceImpl) ListEgressRules ¶
func (a *ServiceImpl) ListEgressRules( ctx _context.Context, clusterId string, options *ListEgressRulesOptions, ) (*ListEgressRulesResponse, *_nethttp.Response, error)
ListEgressRules executes the request.
func (*ServiceImpl) ListFolderContents ¶
func (a *ServiceImpl) ListFolderContents( ctx _context.Context, folderId string, options *ListFolderContentsOptions, ) (*FolderResourceList, *_nethttp.Response, error)
ListFolderContents executes the request.
func (*ServiceImpl) ListFolders ¶
func (a *ServiceImpl) ListFolders( ctx _context.Context, options *ListFoldersOptions, ) (*ListFoldersResponse, *_nethttp.Response, error)
ListFolders executes the request.
func (*ServiceImpl) ListInvoices ¶
func (a *ServiceImpl) ListInvoices( ctx _context.Context, ) (*ListInvoicesResponse, *_nethttp.Response, error)
ListInvoices executes the request.
func (*ServiceImpl) ListJWTIssuers ¶
func (a *ServiceImpl) ListJWTIssuers( ctx _context.Context, options *ListJWTIssuersOptions, ) (*ListJWTIssuersResponse, *_nethttp.Response, error)
ListJWTIssuers executes the request.
func (*ServiceImpl) ListMajorClusterVersions ¶
func (a *ServiceImpl) ListMajorClusterVersions( ctx _context.Context, options *ListMajorClusterVersionsOptions, ) (*ListMajorClusterVersionsResponse, *_nethttp.Response, error)
ListMajorClusterVersions executes the request.
func (*ServiceImpl) ListPrivateEndpointConnections ¶
func (a *ServiceImpl) ListPrivateEndpointConnections( ctx _context.Context, clusterId string, ) (*PrivateEndpointConnections, *_nethttp.Response, error)
ListPrivateEndpointConnections executes the request.
func (*ServiceImpl) ListPrivateEndpointServices ¶
func (a *ServiceImpl) ListPrivateEndpointServices( ctx _context.Context, clusterId string, ) (*PrivateEndpointServices, *_nethttp.Response, error)
ListPrivateEndpointServices executes the request.
func (*ServiceImpl) ListPrivateEndpointTrustedOwners ¶
func (a *ServiceImpl) ListPrivateEndpointTrustedOwners( ctx _context.Context, clusterId string, ) (*ListPrivateEndpointTrustedOwnersResponse, *_nethttp.Response, error)
ListPrivateEndpointTrustedOwners executes the request.
func (*ServiceImpl) ListRoleGrants ¶
func (a *ServiceImpl) ListRoleGrants( ctx _context.Context, options *ListRoleGrantsOptions, ) (*ListRoleGrantsResponse, *_nethttp.Response, error)
ListRoleGrants executes the request.
func (*ServiceImpl) ListSQLUsers ¶
func (a *ServiceImpl) ListSQLUsers( ctx _context.Context, clusterId string, options *ListSQLUsersOptions, ) (*ListSQLUsersResponse, *_nethttp.Response, error)
ListSQLUsers executes the request.
func (*ServiceImpl) ListServiceAccounts ¶
func (a *ServiceImpl) ListServiceAccounts( ctx _context.Context, options *ListServiceAccountsOptions, ) (*ListServiceAccountsResponse, *_nethttp.Response, error)
ListServiceAccounts executes the request.
func (*ServiceImpl) RemovePrivateEndpointTrustedOwner ¶
func (a *ServiceImpl) RemovePrivateEndpointTrustedOwner( ctx _context.Context, clusterId string, ownerId string, ) (*RemovePrivateEndpointTrustedOwnerResponse, *_nethttp.Response, error)
RemovePrivateEndpointTrustedOwner executes the request.
func (*ServiceImpl) RemoveUserFromRole ¶
func (a *ServiceImpl) RemoveUserFromRole( ctx _context.Context, userId string, resourceType string, resourceId string, roleName string, ) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
RemoveUserFromRole executes the request.
func (*ServiceImpl) SearchGroup ¶
func (a *ServiceImpl) SearchGroup( ctx _context.Context, id string, getGroupRequest *GetGroupRequest, ) (*ScimGroup, *_nethttp.Response, error)
SearchGroup executes the request.
func (*ServiceImpl) SearchGroups ¶
func (a *ServiceImpl) SearchGroups( ctx _context.Context, getGroupsRequest *GetGroupsRequest, ) (*GetGroupsResponse, *_nethttp.Response, error)
SearchGroups executes the request.
func (*ServiceImpl) SearchUser ¶
func (a *ServiceImpl) SearchUser( ctx _context.Context, id string, getUserRequest *GetUserRequest, ) (*ScimUser, *_nethttp.Response, error)
SearchUser executes the request.
func (*ServiceImpl) SearchUsers ¶
func (a *ServiceImpl) SearchUsers( ctx _context.Context, getUsersRequest *GetUsersRequest, ) (*GetUsersResponse, *_nethttp.Response, error)
SearchUsers executes the request.
func (*ServiceImpl) SetAwsEndpointConnectionState ¶
func (a *ServiceImpl) SetAwsEndpointConnectionState( ctx _context.Context, clusterId string, endpointId string, setAwsEndpointConnectionStateRequest *SetAwsEndpointConnectionStateRequest, ) (*AwsEndpointConnection, *_nethttp.Response, error)
SetAwsEndpointConnectionState executes the request.
func (*ServiceImpl) SetClientCACert ¶
func (a *ServiceImpl) SetClientCACert( ctx _context.Context, clusterId string, setClientCACertRequest *SetClientCACertRequest, ) (*ClientCACertInfo, *_nethttp.Response, error)
SetClientCACert executes the request.
func (*ServiceImpl) SetClusterVersionDeferral ¶
func (a *ServiceImpl) SetClusterVersionDeferral( ctx _context.Context, clusterId string, clusterVersionDeferral *ClusterVersionDeferral, ) (*ClusterVersionDeferral, *_nethttp.Response, error)
SetClusterVersionDeferral executes the request.
func (*ServiceImpl) SetEgressTrafficPolicy ¶
func (a *ServiceImpl) SetEgressTrafficPolicy( ctx _context.Context, clusterId string, setEgressTrafficPolicyRequest *SetEgressTrafficPolicyRequest, ) (*_nethttp.Response, error)
SetEgressTrafficPolicy executes the request.
func (*ServiceImpl) SetMaintenanceWindow ¶
func (a *ServiceImpl) SetMaintenanceWindow( ctx _context.Context, clusterId string, maintenanceWindow *MaintenanceWindow, ) (*MaintenanceWindow, *_nethttp.Response, error)
SetMaintenanceWindow executes the request.
func (*ServiceImpl) SetRolesForUser ¶
func (a *ServiceImpl) SetRolesForUser( ctx _context.Context, userId string, cockroachCloudSetRolesForUserRequest *CockroachCloudSetRolesForUserRequest, ) (*GetAllRolesForUserResponse, *_nethttp.Response, error)
SetRolesForUser executes the request.
func (*ServiceImpl) UpdateAllowlistEntry ¶
func (a *ServiceImpl) UpdateAllowlistEntry( ctx _context.Context, clusterId string, cidrIp string, cidrMask int32, allowlistEntry1 *AllowlistEntry1, ) (*AllowlistEntry, *_nethttp.Response, error)
UpdateAllowlistEntry executes the request.
func (*ServiceImpl) UpdateApiKey ¶
func (a *ServiceImpl) UpdateApiKey( ctx _context.Context, id string, updateApiKeySpecification *UpdateApiKeySpecification, ) (*ApiKey, *_nethttp.Response, error)
UpdateApiKey executes the request.
func (*ServiceImpl) UpdateApiOidcConfig ¶
func (a *ServiceImpl) UpdateApiOidcConfig( ctx _context.Context, id string, apiOidcConfig1 *ApiOidcConfig1, ) (*ApiOidcConfig, *_nethttp.Response, error)
UpdateApiOidcConfig executes the request. Deprecated.
func (*ServiceImpl) UpdateCMEKSpec ¶
func (a *ServiceImpl) UpdateCMEKSpec( ctx _context.Context, clusterId string, cMEKClusterSpecification *CMEKClusterSpecification, ) (*CMEKClusterInfo, *_nethttp.Response, error)
UpdateCMEKSpec executes the request.
func (*ServiceImpl) UpdateCMEKStatus ¶
func (a *ServiceImpl) UpdateCMEKStatus( ctx _context.Context, clusterId string, updateCMEKStatusRequest *UpdateCMEKStatusRequest, ) (*CMEKClusterInfo, *_nethttp.Response, error)
UpdateCMEKStatus executes the request.
func (*ServiceImpl) UpdateClientCACert ¶
func (a *ServiceImpl) UpdateClientCACert( ctx _context.Context, clusterId string, updateClientCACertRequest *UpdateClientCACertRequest, ) (*ClientCACertInfo, *_nethttp.Response, error)
UpdateClientCACert executes the request.
func (*ServiceImpl) UpdateCluster ¶
func (a *ServiceImpl) UpdateCluster( ctx _context.Context, clusterId string, updateClusterSpecification *UpdateClusterSpecification, ) (*Cluster, *_nethttp.Response, error)
UpdateCluster executes the request.
func (*ServiceImpl) UpdateFolder ¶
func (a *ServiceImpl) UpdateFolder( ctx _context.Context, folderId string, updateFolderSpecification *UpdateFolderSpecification, ) (*FolderResource, *_nethttp.Response, error)
UpdateFolder executes the request.
func (*ServiceImpl) UpdateGroup ¶
func (a *ServiceImpl) UpdateGroup( ctx _context.Context, id string, updateGroupRequest *UpdateGroupRequest, ) (*ScimGroup, *_nethttp.Response, error)
UpdateGroup executes the request.
func (*ServiceImpl) UpdateJWTIssuer ¶
func (a *ServiceImpl) UpdateJWTIssuer( ctx _context.Context, id string, updateJWTIssuerRequest *UpdateJWTIssuerRequest, ) (*JWTIssuer, *_nethttp.Response, error)
UpdateJWTIssuer executes the request.
func (*ServiceImpl) UpdateSQLUserPassword ¶
func (a *ServiceImpl) UpdateSQLUserPassword( ctx _context.Context, clusterId string, name string, updateSQLUserPasswordRequest *UpdateSQLUserPasswordRequest, ) (*SQLUser, *_nethttp.Response, error)
UpdateSQLUserPassword executes the request.
func (*ServiceImpl) UpdateServiceAccount ¶
func (a *ServiceImpl) UpdateServiceAccount( ctx _context.Context, id string, updateServiceAccountSpecification *UpdateServiceAccountSpecification, ) (*ServiceAccount, *_nethttp.Response, error)
UpdateServiceAccount executes the request.
func (*ServiceImpl) UpdateUser ¶
func (a *ServiceImpl) UpdateUser( ctx _context.Context, id string, updateUserRequest *UpdateUserRequest, ) (*ScimUser, *_nethttp.Response, error)
UpdateUser executes the request.
type SetAWSEndpointConnectionStatusType ¶
type SetAWSEndpointConnectionStatusType string
SetAWSEndpointConnectionStatusType - AVAILABLE: accept/verify the connection on the service side. - REJECTED: reject the connection on the service side.
const ( SETAWSENDPOINTCONNECTIONSTATUSTYPE_AVAILABLE SetAWSEndpointConnectionStatusType = "AVAILABLE" SETAWSENDPOINTCONNECTIONSTATUSTYPE_REJECTED SetAWSEndpointConnectionStatusType = "REJECTED" )
List of SetAWSEndpointConnectionStatus.Type.
func NewSetAWSEndpointConnectionStatusTypeFromValue ¶
func NewSetAWSEndpointConnectionStatusTypeFromValue(v string) (*SetAWSEndpointConnectionStatusType, error)
NewSetAWSEndpointConnectionStatusTypeFromValue returns a pointer to a valid SetAWSEndpointConnectionStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (SetAWSEndpointConnectionStatusType) IsValid ¶
func (v SetAWSEndpointConnectionStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SetAWSEndpointConnectionStatusType) Ptr ¶
func (v SetAWSEndpointConnectionStatusType) Ptr() *SetAWSEndpointConnectionStatusType
Ptr returns reference to SetAWSEndpointConnectionStatus.Type value.
type SetAwsEndpointConnectionStateRequest ¶
type SetAwsEndpointConnectionStateRequest struct {
Status SetAWSEndpointConnectionStatusType `json:"status"`
}
SetAwsEndpointConnectionStateRequest struct for SetAwsEndpointConnectionStateRequest.
func NewSetAwsEndpointConnectionStateRequest ¶
func NewSetAwsEndpointConnectionStateRequest(status SetAWSEndpointConnectionStatusType) *SetAwsEndpointConnectionStateRequest
NewSetAwsEndpointConnectionStateRequest instantiates a new SetAwsEndpointConnectionStateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetAwsEndpointConnectionStateRequestWithDefaults ¶
func NewSetAwsEndpointConnectionStateRequestWithDefaults() *SetAwsEndpointConnectionStateRequest
NewSetAwsEndpointConnectionStateRequestWithDefaults instantiates a new SetAwsEndpointConnectionStateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetAwsEndpointConnectionStateRequest) GetStatus ¶
func (o *SetAwsEndpointConnectionStateRequest) GetStatus() SetAWSEndpointConnectionStatusType
GetStatus returns the Status field value.
func (*SetAwsEndpointConnectionStateRequest) SetStatus ¶
func (o *SetAwsEndpointConnectionStateRequest) SetStatus(v SetAWSEndpointConnectionStatusType)
SetStatus sets field value.
type SetClientCACertRequest ¶
type SetClientCACertRequest struct {
X509PemCert string `json:"x509_pem_cert"`
}
SetClientCACertRequest struct for SetClientCACertRequest.
func NewSetClientCACertRequest ¶
func NewSetClientCACertRequest(x509PemCert string) *SetClientCACertRequest
NewSetClientCACertRequest instantiates a new SetClientCACertRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetClientCACertRequestWithDefaults ¶
func NewSetClientCACertRequestWithDefaults() *SetClientCACertRequest
NewSetClientCACertRequestWithDefaults instantiates a new SetClientCACertRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetClientCACertRequest) GetX509PemCert ¶
func (o *SetClientCACertRequest) GetX509PemCert() string
GetX509PemCert returns the X509PemCert field value.
func (*SetClientCACertRequest) SetX509PemCert ¶
func (o *SetClientCACertRequest) SetX509PemCert(v string)
SetX509PemCert sets field value.
type SetEgressTrafficPolicyRequest ¶
type SetEgressTrafficPolicyRequest struct { // allow_all, if true results in unrestricted egress traffic. If false, egress traffic is set to default-deny and is managed via the Egress Rule Management API. AllowAll bool `json:"allow_all"` // idempotency_key uniquely identifies this request. If not set, it will be set by the server. IdempotencyKey *string `json:"idempotency_key,omitempty"` }
SetEgressTrafficPolicyRequest struct for SetEgressTrafficPolicyRequest.
func NewSetEgressTrafficPolicyRequest ¶
func NewSetEgressTrafficPolicyRequest(allowAll bool) *SetEgressTrafficPolicyRequest
NewSetEgressTrafficPolicyRequest instantiates a new SetEgressTrafficPolicyRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetEgressTrafficPolicyRequestWithDefaults ¶
func NewSetEgressTrafficPolicyRequestWithDefaults() *SetEgressTrafficPolicyRequest
NewSetEgressTrafficPolicyRequestWithDefaults instantiates a new SetEgressTrafficPolicyRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetEgressTrafficPolicyRequest) GetAllowAll ¶
func (o *SetEgressTrafficPolicyRequest) GetAllowAll() bool
GetAllowAll returns the AllowAll field value.
func (*SetEgressTrafficPolicyRequest) GetIdempotencyKey ¶
func (o *SetEgressTrafficPolicyRequest) GetIdempotencyKey() string
GetIdempotencyKey returns the IdempotencyKey field value if set, zero value otherwise.
func (*SetEgressTrafficPolicyRequest) SetAllowAll ¶
func (o *SetEgressTrafficPolicyRequest) SetAllowAll(v bool)
SetAllowAll sets field value.
func (*SetEgressTrafficPolicyRequest) SetIdempotencyKey ¶
func (o *SetEgressTrafficPolicyRequest) SetIdempotencyKey(v string)
SetIdempotencyKey gets a reference to the given string and assigns it to the IdempotencyKey field.
type Status ¶
type Status struct { Code *int32 `json:"code,omitempty"` Details *[]Any `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
Status struct for Status.
func NewStatus ¶
func NewStatus() *Status
NewStatus instantiates a new Status object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*Status) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶
SetDetails gets a reference to the given []Any and assigns it to the Details field.
func (*Status) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type UpdateApiKeySpecification ¶
type UpdateApiKeySpecification struct { // name of the api key. Name *string `json:"name,omitempty"` }
UpdateApiKeySpecification struct for UpdateApiKeySpecification.
func NewUpdateApiKeySpecification ¶
func NewUpdateApiKeySpecification() *UpdateApiKeySpecification
NewUpdateApiKeySpecification instantiates a new UpdateApiKeySpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UpdateApiKeySpecification) GetName ¶
func (o *UpdateApiKeySpecification) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateApiKeySpecification) SetName ¶
func (o *UpdateApiKeySpecification) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type UpdateCMEKStatusRequest ¶
type UpdateCMEKStatusRequest struct {
Action CMEKCustomerAction `json:"action"`
}
UpdateCMEKStatusRequest struct for UpdateCMEKStatusRequest.
func NewUpdateCMEKStatusRequest ¶
func NewUpdateCMEKStatusRequest(action CMEKCustomerAction) *UpdateCMEKStatusRequest
NewUpdateCMEKStatusRequest instantiates a new UpdateCMEKStatusRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateCMEKStatusRequestWithDefaults ¶
func NewUpdateCMEKStatusRequestWithDefaults() *UpdateCMEKStatusRequest
NewUpdateCMEKStatusRequestWithDefaults instantiates a new UpdateCMEKStatusRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateCMEKStatusRequest) GetAction ¶
func (o *UpdateCMEKStatusRequest) GetAction() CMEKCustomerAction
GetAction returns the Action field value.
func (*UpdateCMEKStatusRequest) SetAction ¶
func (o *UpdateCMEKStatusRequest) SetAction(v CMEKCustomerAction)
SetAction sets field value.
type UpdateClientCACertRequest ¶
type UpdateClientCACertRequest struct {
X509PemCert *string `json:"x509_pem_cert,omitempty"`
}
UpdateClientCACertRequest struct for UpdateClientCACertRequest.
func NewUpdateClientCACertRequest ¶
func NewUpdateClientCACertRequest() *UpdateClientCACertRequest
NewUpdateClientCACertRequest instantiates a new UpdateClientCACertRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UpdateClientCACertRequest) GetX509PemCert ¶
func (o *UpdateClientCACertRequest) GetX509PemCert() string
GetX509PemCert returns the X509PemCert field value if set, zero value otherwise.
func (*UpdateClientCACertRequest) SetX509PemCert ¶
func (o *UpdateClientCACertRequest) SetX509PemCert(v string)
SetX509PemCert gets a reference to the given string and assigns it to the X509PemCert field.
type UpdateClusterSpecification ¶
type UpdateClusterSpecification struct { Dedicated *DedicatedClusterUpdateSpecification `json:"dedicated,omitempty"` DeleteProtection *DeleteProtectionStateType `json:"delete_protection,omitempty"` // Preview: The parent ID is a folder ID. An empty string or \"root\" represents the root level. ParentId *string `json:"parent_id,omitempty"` Plan *PlanType `json:"plan,omitempty"` Serverless *ServerlessClusterUpdateSpecification `json:"serverless,omitempty"` UpgradeStatus *ClusterUpgradeStatusType `json:"upgrade_status,omitempty"` }
UpdateClusterSpecification struct for UpdateClusterSpecification.
func NewUpdateClusterSpecification ¶
func NewUpdateClusterSpecification() *UpdateClusterSpecification
NewUpdateClusterSpecification instantiates a new UpdateClusterSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UpdateClusterSpecification) GetDedicated ¶
func (o *UpdateClusterSpecification) GetDedicated() DedicatedClusterUpdateSpecification
GetDedicated returns the Dedicated field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetDeleteProtection ¶
func (o *UpdateClusterSpecification) GetDeleteProtection() DeleteProtectionStateType
GetDeleteProtection returns the DeleteProtection field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetParentId ¶
func (o *UpdateClusterSpecification) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetPlan ¶
func (o *UpdateClusterSpecification) GetPlan() PlanType
GetPlan returns the Plan field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetServerless ¶
func (o *UpdateClusterSpecification) GetServerless() ServerlessClusterUpdateSpecification
GetServerless returns the Serverless field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetUpgradeStatus ¶
func (o *UpdateClusterSpecification) GetUpgradeStatus() ClusterUpgradeStatusType
GetUpgradeStatus returns the UpgradeStatus field value if set, zero value otherwise.
func (*UpdateClusterSpecification) SetDedicated ¶
func (o *UpdateClusterSpecification) SetDedicated(v DedicatedClusterUpdateSpecification)
SetDedicated gets a reference to the given DedicatedClusterUpdateSpecification and assigns it to the Dedicated field.
func (*UpdateClusterSpecification) SetDeleteProtection ¶
func (o *UpdateClusterSpecification) SetDeleteProtection(v DeleteProtectionStateType)
SetDeleteProtection gets a reference to the given DeleteProtectionStateType and assigns it to the DeleteProtection field.
func (*UpdateClusterSpecification) SetParentId ¶
func (o *UpdateClusterSpecification) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*UpdateClusterSpecification) SetPlan ¶
func (o *UpdateClusterSpecification) SetPlan(v PlanType)
SetPlan gets a reference to the given PlanType and assigns it to the Plan field.
func (*UpdateClusterSpecification) SetServerless ¶
func (o *UpdateClusterSpecification) SetServerless(v ServerlessClusterUpdateSpecification)
SetServerless gets a reference to the given ServerlessClusterUpdateSpecification and assigns it to the Serverless field.
func (*UpdateClusterSpecification) SetUpgradeStatus ¶
func (o *UpdateClusterSpecification) SetUpgradeStatus(v ClusterUpgradeStatusType)
SetUpgradeStatus gets a reference to the given ClusterUpgradeStatusType and assigns it to the UpgradeStatus field.
type UpdateDatabaseRequest ¶
UpdateDatabaseRequest struct for UpdateDatabaseRequest.
func NewUpdateDatabaseRequest ¶
func NewUpdateDatabaseRequest(name string, newName string) *UpdateDatabaseRequest
NewUpdateDatabaseRequest instantiates a new UpdateDatabaseRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabaseRequestWithDefaults ¶
func NewUpdateDatabaseRequestWithDefaults() *UpdateDatabaseRequest
NewUpdateDatabaseRequestWithDefaults instantiates a new UpdateDatabaseRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabaseRequest) GetName ¶
func (o *UpdateDatabaseRequest) GetName() string
GetName returns the Name field value.
func (*UpdateDatabaseRequest) GetNewName ¶
func (o *UpdateDatabaseRequest) GetNewName() string
GetNewName returns the NewName field value.
func (*UpdateDatabaseRequest) SetName ¶
func (o *UpdateDatabaseRequest) SetName(v string)
SetName sets field value.
func (*UpdateDatabaseRequest) SetNewName ¶
func (o *UpdateDatabaseRequest) SetNewName(v string)
SetNewName sets field value.
type UpdateDatabaseRequest1 ¶
type UpdateDatabaseRequest1 struct {
NewName string `json:"new_name"`
}
UpdateDatabaseRequest1 struct for UpdateDatabaseRequest1.
func NewUpdateDatabaseRequest1 ¶
func NewUpdateDatabaseRequest1(newName string) *UpdateDatabaseRequest1
NewUpdateDatabaseRequest1 instantiates a new UpdateDatabaseRequest1 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDatabaseRequest1WithDefaults ¶
func NewUpdateDatabaseRequest1WithDefaults() *UpdateDatabaseRequest1
NewUpdateDatabaseRequest1WithDefaults instantiates a new UpdateDatabaseRequest1 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDatabaseRequest1) GetNewName ¶
func (o *UpdateDatabaseRequest1) GetNewName() string
GetNewName returns the NewName field value.
func (*UpdateDatabaseRequest1) SetNewName ¶
func (o *UpdateDatabaseRequest1) SetNewName(v string)
SetNewName sets field value.
type UpdateFolderSpecification ¶
type UpdateFolderSpecification struct { Name *string `json:"name,omitempty"` ParentId *string `json:"parent_id,omitempty"` }
UpdateFolderSpecification Set `parent_id` to empty string ” or 'root' to move a folder to the root level..
func NewUpdateFolderSpecification ¶
func NewUpdateFolderSpecification() *UpdateFolderSpecification
NewUpdateFolderSpecification instantiates a new UpdateFolderSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UpdateFolderSpecification) GetName ¶
func (o *UpdateFolderSpecification) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateFolderSpecification) GetParentId ¶
func (o *UpdateFolderSpecification) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*UpdateFolderSpecification) SetName ¶
func (o *UpdateFolderSpecification) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateFolderSpecification) SetParentId ¶
func (o *UpdateFolderSpecification) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { DisplayName string `json:"displayName"` ExternalId *string `json:"externalId,omitempty"` Members *[]ScimResource `json:"members,omitempty"` Schemas *[]string `json:"schemas,omitempty"` }
UpdateGroupRequest struct for UpdateGroupRequest.
func NewUpdateGroupRequest ¶
func NewUpdateGroupRequest(displayName string) *UpdateGroupRequest
NewUpdateGroupRequest instantiates a new UpdateGroupRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateGroupRequestWithDefaults ¶
func NewUpdateGroupRequestWithDefaults() *UpdateGroupRequest
NewUpdateGroupRequestWithDefaults instantiates a new UpdateGroupRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateGroupRequest) GetDisplayName ¶
func (o *UpdateGroupRequest) GetDisplayName() string
GetDisplayName returns the DisplayName field value.
func (*UpdateGroupRequest) GetExternalId ¶
func (o *UpdateGroupRequest) GetExternalId() string
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*UpdateGroupRequest) GetMembers ¶
func (o *UpdateGroupRequest) GetMembers() []ScimResource
GetMembers returns the Members field value if set, zero value otherwise.
func (*UpdateGroupRequest) GetSchemas ¶
func (o *UpdateGroupRequest) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*UpdateGroupRequest) SetDisplayName ¶
func (o *UpdateGroupRequest) SetDisplayName(v string)
SetDisplayName sets field value.
func (*UpdateGroupRequest) SetExternalId ¶
func (o *UpdateGroupRequest) SetExternalId(v string)
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*UpdateGroupRequest) SetMembers ¶
func (o *UpdateGroupRequest) SetMembers(v []ScimResource)
SetMembers gets a reference to the given []ScimResource and assigns it to the Members field.
func (*UpdateGroupRequest) SetSchemas ¶
func (o *UpdateGroupRequest) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
type UpdateJWTIssuerRequest ¶
type UpdateJWTIssuerRequest struct { Audience *string `json:"audience,omitempty"` Claim *string `json:"claim,omitempty"` IdentityMap *[]JWTIssuerIdentityMapEntry `json:"identity_map,omitempty"` IssuerUrl *string `json:"issuer_url,omitempty"` Jwks *string `json:"jwks,omitempty"` }
UpdateJWTIssuerRequest struct for UpdateJWTIssuerRequest.
func NewUpdateJWTIssuerRequest ¶
func NewUpdateJWTIssuerRequest() *UpdateJWTIssuerRequest
NewUpdateJWTIssuerRequest instantiates a new UpdateJWTIssuerRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UpdateJWTIssuerRequest) GetAudience ¶
func (o *UpdateJWTIssuerRequest) GetAudience() string
GetAudience returns the Audience field value if set, zero value otherwise.
func (*UpdateJWTIssuerRequest) GetClaim ¶
func (o *UpdateJWTIssuerRequest) GetClaim() string
GetClaim returns the Claim field value if set, zero value otherwise.
func (*UpdateJWTIssuerRequest) GetIdentityMap ¶
func (o *UpdateJWTIssuerRequest) GetIdentityMap() []JWTIssuerIdentityMapEntry
GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.
func (*UpdateJWTIssuerRequest) GetIssuerUrl ¶
func (o *UpdateJWTIssuerRequest) GetIssuerUrl() string
GetIssuerUrl returns the IssuerUrl field value if set, zero value otherwise.
func (*UpdateJWTIssuerRequest) GetJwks ¶
func (o *UpdateJWTIssuerRequest) GetJwks() string
GetJwks returns the Jwks field value if set, zero value otherwise.
func (*UpdateJWTIssuerRequest) SetAudience ¶
func (o *UpdateJWTIssuerRequest) SetAudience(v string)
SetAudience gets a reference to the given string and assigns it to the Audience field.
func (*UpdateJWTIssuerRequest) SetClaim ¶
func (o *UpdateJWTIssuerRequest) SetClaim(v string)
SetClaim gets a reference to the given string and assigns it to the Claim field.
func (*UpdateJWTIssuerRequest) SetIdentityMap ¶
func (o *UpdateJWTIssuerRequest) SetIdentityMap(v []JWTIssuerIdentityMapEntry)
SetIdentityMap gets a reference to the given []JWTIssuerIdentityMapEntry and assigns it to the IdentityMap field.
func (*UpdateJWTIssuerRequest) SetIssuerUrl ¶
func (o *UpdateJWTIssuerRequest) SetIssuerUrl(v string)
SetIssuerUrl gets a reference to the given string and assigns it to the IssuerUrl field.
func (*UpdateJWTIssuerRequest) SetJwks ¶
func (o *UpdateJWTIssuerRequest) SetJwks(v string)
SetJwks gets a reference to the given string and assigns it to the Jwks field.
type UpdateSQLUserPasswordRequest ¶
type UpdateSQLUserPasswordRequest struct {
Password string `json:"password"`
}
UpdateSQLUserPasswordRequest struct for UpdateSQLUserPasswordRequest.
func NewUpdateSQLUserPasswordRequest ¶
func NewUpdateSQLUserPasswordRequest(password string) *UpdateSQLUserPasswordRequest
NewUpdateSQLUserPasswordRequest instantiates a new UpdateSQLUserPasswordRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateSQLUserPasswordRequestWithDefaults ¶
func NewUpdateSQLUserPasswordRequestWithDefaults() *UpdateSQLUserPasswordRequest
NewUpdateSQLUserPasswordRequestWithDefaults instantiates a new UpdateSQLUserPasswordRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateSQLUserPasswordRequest) GetPassword ¶
func (o *UpdateSQLUserPasswordRequest) GetPassword() string
GetPassword returns the Password field value.
func (*UpdateSQLUserPasswordRequest) SetPassword ¶
func (o *UpdateSQLUserPasswordRequest) SetPassword(v string)
SetPassword sets field value.
type UpdateServiceAccountSpecification ¶
type UpdateServiceAccountSpecification struct { // description of the service account. Description *string `json:"description,omitempty"` // name of the service account. Name *string `json:"name,omitempty"` }
UpdateServiceAccountSpecification struct for UpdateServiceAccountSpecification.
func NewUpdateServiceAccountSpecification ¶
func NewUpdateServiceAccountSpecification() *UpdateServiceAccountSpecification
NewUpdateServiceAccountSpecification instantiates a new UpdateServiceAccountSpecification object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UpdateServiceAccountSpecification) GetDescription ¶
func (o *UpdateServiceAccountSpecification) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateServiceAccountSpecification) GetName ¶
func (o *UpdateServiceAccountSpecification) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateServiceAccountSpecification) SetDescription ¶
func (o *UpdateServiceAccountSpecification) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateServiceAccountSpecification) SetName ¶
func (o *UpdateServiceAccountSpecification) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Active bool `json:"active"` DisplayName *string `json:"displayName,omitempty"` Emails *[]ScimEmail `json:"emails,omitempty"` ExternalId *string `json:"externalId,omitempty"` Name *ScimName `json:"name,omitempty"` Schemas *[]string `json:"schemas,omitempty"` UserName *string `json:"userName,omitempty"` }
UpdateUserRequest struct for UpdateUserRequest.
func NewUpdateUserRequest ¶
func NewUpdateUserRequest(active bool) *UpdateUserRequest
NewUpdateUserRequest instantiates a new UpdateUserRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateUserRequestWithDefaults ¶
func NewUpdateUserRequestWithDefaults() *UpdateUserRequest
NewUpdateUserRequestWithDefaults instantiates a new UpdateUserRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateUserRequest) GetActive ¶
func (o *UpdateUserRequest) GetActive() bool
GetActive returns the Active field value.
func (*UpdateUserRequest) GetDisplayName ¶
func (o *UpdateUserRequest) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*UpdateUserRequest) GetEmails ¶
func (o *UpdateUserRequest) GetEmails() []ScimEmail
GetEmails returns the Emails field value if set, zero value otherwise.
func (*UpdateUserRequest) GetExternalId ¶
func (o *UpdateUserRequest) GetExternalId() string
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*UpdateUserRequest) GetName ¶
func (o *UpdateUserRequest) GetName() ScimName
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateUserRequest) GetSchemas ¶
func (o *UpdateUserRequest) GetSchemas() []string
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*UpdateUserRequest) GetUserName ¶
func (o *UpdateUserRequest) GetUserName() string
GetUserName returns the UserName field value if set, zero value otherwise.
func (*UpdateUserRequest) SetActive ¶
func (o *UpdateUserRequest) SetActive(v bool)
SetActive sets field value.
func (*UpdateUserRequest) SetDisplayName ¶
func (o *UpdateUserRequest) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*UpdateUserRequest) SetEmails ¶
func (o *UpdateUserRequest) SetEmails(v []ScimEmail)
SetEmails gets a reference to the given []ScimEmail and assigns it to the Emails field.
func (*UpdateUserRequest) SetExternalId ¶
func (o *UpdateUserRequest) SetExternalId(v string)
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*UpdateUserRequest) SetName ¶
func (o *UpdateUserRequest) SetName(v ScimName)
SetName gets a reference to the given ScimName and assigns it to the Name field.
func (*UpdateUserRequest) SetSchemas ¶
func (o *UpdateUserRequest) SetSchemas(v []string)
SetSchemas gets a reference to the given []string and assigns it to the Schemas field.
func (*UpdateUserRequest) SetUserName ¶
func (o *UpdateUserRequest) SetUserName(v string)
SetUserName gets a reference to the given string and assigns it to the UserName field.
type UpgradeTypeType ¶
type UpgradeTypeType string
UpgradeTypeType the model 'UpgradeTypeType'.
const ( UPGRADETYPETYPE_MANUAL UpgradeTypeType = "MANUAL" UPGRADETYPETYPE_AUTOMATIC UpgradeTypeType = "AUTOMATIC" )
List of UpgradeType.Type.
func NewUpgradeTypeTypeFromValue ¶
func NewUpgradeTypeTypeFromValue(v string) (*UpgradeTypeType, error)
NewUpgradeTypeTypeFromValue returns a pointer to a valid UpgradeTypeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (UpgradeTypeType) IsValid ¶
func (v UpgradeTypeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (UpgradeTypeType) Ptr ¶
func (v UpgradeTypeType) Ptr() *UpgradeTypeType
Ptr returns reference to UpgradeType.Type value.
type UsageLimits ¶
type UsageLimits struct { // provisioned_virtual_cpus is the maximum number of vCPUs that the cluster can use. Once this limit is reached, operation latency may increase due to throttling. It is an error for this to be zero. ProvisionedVirtualCpus *int64 `json:"provisioned_virtual_cpus,omitempty,string"` // request_unit_limit is the maximum number of request units that the cluster can consume during the month. If this limit is exceeded, then the cluster is disabled until the limit is increased, or until the beginning of the next month when more free request units are granted. It is an error for this to be zero. RequestUnitLimit *int64 `json:"request_unit_limit,omitempty,string"` // storage_mib_limit is the maximum number of Mebibytes of storage that the cluster can have at any time during the month. If this limit is exceeded, then the cluster is throttled; only one SQL connection is allowed at a time, with the expectation that it is used to delete data to reduce storage usage. It is an error for this to be zero. StorageMibLimit *int64 `json:"storage_mib_limit,omitempty,string"` }
UsageLimits struct for UsageLimits.
func NewUsageLimits ¶
func NewUsageLimits() *UsageLimits
NewUsageLimits instantiates a new UsageLimits object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UsageLimits) GetProvisionedVirtualCpus ¶
func (o *UsageLimits) GetProvisionedVirtualCpus() int64
GetProvisionedVirtualCpus returns the ProvisionedVirtualCpus field value if set, zero value otherwise.
func (*UsageLimits) GetRequestUnitLimit ¶
func (o *UsageLimits) GetRequestUnitLimit() int64
GetRequestUnitLimit returns the RequestUnitLimit field value if set, zero value otherwise.
func (*UsageLimits) GetStorageMibLimit ¶
func (o *UsageLimits) GetStorageMibLimit() int64
GetStorageMibLimit returns the StorageMibLimit field value if set, zero value otherwise.
func (*UsageLimits) SetProvisionedVirtualCpus ¶
func (o *UsageLimits) SetProvisionedVirtualCpus(v int64)
SetProvisionedVirtualCpus gets a reference to the given int64 and assigns it to the ProvisionedVirtualCpus field.
func (*UsageLimits) SetRequestUnitLimit ¶
func (o *UsageLimits) SetRequestUnitLimit(v int64)
SetRequestUnitLimit gets a reference to the given int64 and assigns it to the RequestUnitLimit field.
func (*UsageLimits) SetStorageMibLimit ¶
func (o *UsageLimits) SetStorageMibLimit(v int64)
SetStorageMibLimit gets a reference to the given int64 and assigns it to the StorageMibLimit field.
type UserGroupRoleGrant ¶
type UserGroupRoleGrant struct { GroupRoles *[]BuiltInFromGroups `json:"group_roles,omitempty"` UserId *string `json:"user_id,omitempty"` }
UserGroupRoleGrant struct for UserGroupRoleGrant.
func NewUserGroupRoleGrant ¶
func NewUserGroupRoleGrant() *UserGroupRoleGrant
NewUserGroupRoleGrant instantiates a new UserGroupRoleGrant object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func (*UserGroupRoleGrant) GetGroupRoles ¶
func (o *UserGroupRoleGrant) GetGroupRoles() []BuiltInFromGroups
GetGroupRoles returns the GroupRoles field value if set, zero value otherwise.
func (*UserGroupRoleGrant) GetUserId ¶
func (o *UserGroupRoleGrant) GetUserId() string
GetUserId returns the UserId field value if set, zero value otherwise.
func (*UserGroupRoleGrant) SetGroupRoles ¶
func (o *UserGroupRoleGrant) SetGroupRoles(v []BuiltInFromGroups)
SetGroupRoles gets a reference to the given []BuiltInFromGroups and assigns it to the GroupRoles field.
func (*UserGroupRoleGrant) SetUserId ¶
func (o *UserGroupRoleGrant) SetUserId(v string)
SetUserId gets a reference to the given string and assigns it to the UserId field.
type UserRoleGrants ¶
type UserRoleGrants struct { Roles []BuiltInRole `json:"roles"` UserId string `json:"user_id"` }
UserRoleGrants struct for UserRoleGrants.
func NewUserRoleGrants ¶
func NewUserRoleGrants(roles []BuiltInRole, userId string) *UserRoleGrants
NewUserRoleGrants instantiates a new UserRoleGrants object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserRoleGrantsWithDefaults ¶
func NewUserRoleGrantsWithDefaults() *UserRoleGrants
NewUserRoleGrantsWithDefaults instantiates a new UserRoleGrants object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserRoleGrants) GetRoles ¶
func (o *UserRoleGrants) GetRoles() []BuiltInRole
GetRoles returns the Roles field value.
func (*UserRoleGrants) GetUserId ¶
func (o *UserRoleGrants) GetUserId() string
GetUserId returns the UserId field value.
func (*UserRoleGrants) SetRoles ¶
func (o *UserRoleGrants) SetRoles(v []BuiltInRole)
SetRoles sets field value.
func (*UserRoleGrants) SetUserId ¶
func (o *UserRoleGrants) SetUserId(v string)
SetUserId sets field value.
Source Files ¶
- client.go
- configuration.go
- model_add_egress_rule_request.go
- model_add_egress_rule_response.go
- model_add_jwt_issuer_request.go
- model_add_private_endpoint_connection_request.go
- model_add_private_endpoint_trusted_owner_request.go
- model_add_private_endpoint_trusted_owner_response.go
- model_allowlist_entry.go
- model_allowlist_entry_1.go
- model_any.go
- model_api_key.go
- model_api_oidc_config.go
- model_api_oidc_config_1.go
- model_api_oidc_identity_map_entry.go
- model_audit_log_action.go
- model_audit_log_entry.go
- model_audit_log_metadata.go
- model_audit_log_source.go
- model_aws_endpoint_connection.go
- model_aws_endpoint_connection_status_type.go
- model_aws_endpoint_connections.go
- model_aws_private_link_service_detail.go
- model_built_in_from_groups.go
- model_built_in_role.go
- model_client_ca_cert_info.go
- model_client_ca_cert_status.go
- model_cloud_provider_region.go
- model_cloud_provider_type.go
- model_cloud_watch_metric_export_info.go
- model_cluster.go
- model_cluster_config.go
- model_cluster_major_version.go
- model_cluster_major_version_support_status_type.go
- model_cluster_state_type.go
- model_cluster_status_type.go
- model_cluster_upgrade_status_type.go
- model_cluster_version_deferral.go
- model_cluster_version_deferral_policy_type.go
- model_cmek_cluster_info.go
- model_cmek_cluster_specification.go
- model_cmek_customer_action.go
- model_cmek_key_info.go
- model_cmek_key_specification.go
- model_cmek_key_type.go
- model_cmek_region_info.go
- model_cmek_region_specification.go
- model_cmek_status.go
- model_cockroach_cloud_set_roles_for_user_request.go
- model_connection_string_parameters.go
- model_create_api_key_request.go
- model_create_api_key_response.go
- model_create_api_oidc_config_request.go
- model_create_cluster_request.go
- model_create_cluster_specification.go
- model_create_database_request.go
- model_create_folder_request.go
- model_create_group_request.go
- model_create_service_account_request.go
- model_create_sql_user_request.go
- model_create_user_request.go
- model_currency_amount.go
- model_currency_type.go
- model_database.go
- model_datadog_metric_export_info.go
- model_datadog_site_type.go
- model_dedicated_cluster_create_specification.go
- model_dedicated_cluster_update_specification.go
- model_dedicated_hardware_config.go
- model_dedicated_hardware_create_specification.go
- model_dedicated_hardware_update_specification.go
- model_dedicated_machine_type_specification.go
- model_delete_egress_rule_response.go
- model_delete_metric_export_response.go
- model_delete_protection_state_type.go
- model_edit_egress_rule_request.go
- model_edit_egress_rule_response.go
- model_egress_rule.go
- model_egress_traffic_policy_type.go
- model_enable_cloud_watch_metric_export_request.go
- model_enable_datadog_metric_export_request.go
- model_enable_log_export_request.go
- model_folder_resource.go
- model_folder_resource_list.go
- model_folder_resource_type_type.go
- model_get_all_roles_for_user_response.go
- model_get_connection_string_response.go
- model_get_egress_rule_response.go
- model_get_group_request.go
- model_get_groups_request.go
- model_get_groups_response.go
- model_get_person_users_by_email_response.go
- model_get_private_endpoint_trusted_owner_response.go
- model_get_resource_types_response.go
- model_get_schemas_response.go
- model_get_service_provider_config_response.go
- model_get_user_request.go
- model_get_users_request.go
- model_get_users_response.go
- model_invoice.go
- model_invoice_adjustment.go
- model_invoice_item.go
- model_jwt_issuer.go
- model_jwt_issuer_identity_map_entry.go
- model_keyset_pagination_response.go
- model_line_item.go
- model_list_allowlist_entries_response.go
- model_list_api_keys_response.go
- model_list_api_oidc_config_response.go
- model_list_audit_logs_response.go
- model_list_available_regions_response.go
- model_list_cluster_nodes_response.go
- model_list_clusters_response.go
- model_list_databases_response.go
- model_list_egress_rules_response.go
- model_list_folders_response.go
- model_list_invoices_response.go
- model_list_jwt_issuers_response.go
- model_list_major_cluster_versions_response.go
- model_list_private_endpoint_trusted_owners_response.go
- model_list_role_grants_response.go
- model_list_service_accounts_response.go
- model_list_sql_users_response.go
- model_log_export_cluster_info.go
- model_log_export_cluster_specification.go
- model_log_export_group.go
- model_log_export_status.go
- model_log_export_type.go
- model_log_level_type.go
- model_maintenance_window.go
- model_metric_export_status_type.go
- model_network_visibility_type.go
- model_node.go
- model_node_status_type.go
- model_operating_system_type.go
- model_organization.go
- model_organization_user_role_type.go
- model_path_segment.go
- model_person_user_info.go
- model_plan_type.go
- model_private_endpoint_connection.go
- model_private_endpoint_connection_status.go
- model_private_endpoint_connections.go
- model_private_endpoint_service.go
- model_private_endpoint_service_status_type.go
- model_private_endpoint_services.go
- model_private_endpoint_trusted_owner.go
- model_private_endpoint_trusted_owner_type_type.go
- model_prometheus_metric_export_info.go
- model_quantity_unit_type.go
- model_region.go
- model_release_type_type.go
- model_remove_private_endpoint_trusted_owner_response.go
- model_resource.go
- model_resource_type_type.go
- model_scim_authentication_scheme.go
- model_scim_bulk_support.go
- model_scim_change_password_support.go
- model_scim_email.go
- model_scim_etag_support.go
- model_scim_filter_support.go
- model_scim_group.go
- model_scim_metadata.go
- model_scim_name.go
- model_scim_resource.go
- model_scim_resource_type.go
- model_scim_schema.go
- model_scim_schema_attribute.go
- model_scim_sort_support.go
- model_scim_user.go
- model_serverless_cluster_config.go
- model_serverless_cluster_create_specification.go
- model_serverless_cluster_update_specification.go
- model_service_account.go
- model_set_aws_endpoint_connection_state_request.go
- model_set_aws_endpoint_connection_status_type.go
- model_set_client_ca_cert_request.go
- model_set_egress_traffic_policy_request.go
- model_sql_user.go
- model_status.go
- model_update_api_key_specification.go
- model_update_client_ca_cert_request.go
- model_update_cluster_specification.go
- model_update_cmek_status_request.go
- model_update_database_request.go
- model_update_database_request_1.go
- model_update_folder_specification.go
- model_update_group_request.go
- model_update_jwt_issuer_request.go
- model_update_service_account_specification.go
- model_update_sql_user_password_request.go
- model_update_user_request.go
- model_upgrade_type_type.go
- model_usage_limits.go
- model_user_group_role_grant.go
- model_user_role_grants.go
- service.go