client

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const ApiVersion = "2024-09-16"
View Source
const DefaultServerURL string = "https://cockroachlabs.cloud"

Variables

View Source
var AllowedAWSEndpointConnectionStatusTypeEnumValues = []AWSEndpointConnectionStatusType{
	"PENDING",
	"PENDING_ACCEPTANCE",
	"AVAILABLE",
	"DELETING",
	"DELETED",
	"REJECTED",
	"FAILED",
	"EXPIRED",
}

All allowed values of AWSEndpointConnectionStatusType enum.

View Source
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.

View Source
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.

View Source
var AllowedCMEKCustomerActionEnumValues = []CMEKCustomerAction{
	"REVOKE",
}

All allowed values of CMEKCustomerAction enum.

View Source
var AllowedCMEKKeyTypeEnumValues = []CMEKKeyType{
	"AWS_KMS",
	"GCP_CLOUD_KMS",
	"NULL_KMS",
}

All allowed values of CMEKKeyType enum.

View Source
var AllowedCMEKStatusEnumValues = []CMEKStatus{
	"DISABLED",
	"DISABLING",
	"DISABLE_FAILED",
	"ENABLED",
	"ENABLING",
	"ENABLE_FAILED",
	"ROTATING",
	"ROTATE_FAILED",
	"REVOKED",
	"REVOKING",
	"REVOKE_FAILED",
}

All allowed values of CMEKStatus enum.

View Source
var AllowedClientCACertStatusEnumValues = []ClientCACertStatus{
	"NOT_SET",
	"IS_SET",
	"PENDING",
	"FAILED",
}

All allowed values of ClientCACertStatus enum.

View Source
var AllowedCloudProviderTypeEnumValues = []CloudProviderType{
	"GCP",
	"AWS",
	"AZURE",
}

All allowed values of CloudProviderType enum.

View Source
var AllowedClusterMajorVersionSupportStatusTypeEnumValues = []ClusterMajorVersionSupportStatusType{
	"UNSUPPORTED",
	"SUPPORTED",
	"PREVIEW",
}

All allowed values of ClusterMajorVersionSupportStatusType enum.

View Source
var AllowedClusterStateTypeEnumValues = []ClusterStateType{
	"CREATING",
	"CREATED",
	"CREATION_FAILED",
	"DELETED",
	"LOCKED",
}

All allowed values of ClusterStateType enum.

View Source
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.

View Source
var AllowedClusterUpgradeStatusTypeEnumValues = []ClusterUpgradeStatusType{
	"FINALIZED",
	"MAJOR_UPGRADE_RUNNING",
	"UPGRADE_AVAILABLE",
	"PENDING_FINALIZATION",
	"ROLLBACK_RUNNING",
}

All allowed values of ClusterUpgradeStatusType enum.

View Source
var AllowedClusterVersionDeferralPolicyTypeEnumValues = []ClusterVersionDeferralPolicyType{
	"NOT_DEFERRED",
	"FIXED_DEFERRAL",
}

All allowed values of ClusterVersionDeferralPolicyType enum.

View Source
var AllowedCurrencyTypeEnumValues = []CurrencyType{
	"USD",
	"CRDB_CLOUD_CREDITS",
}

All allowed values of CurrencyType enum.

View Source
var AllowedDatadogSiteTypeEnumValues = []DatadogSiteType{
	"US1",
	"US3",
	"US5",
	"US1_GOV",
	"EU1",
}

All allowed values of DatadogSiteType enum.

View Source
var AllowedDeleteProtectionStateTypeEnumValues = []DeleteProtectionStateType{
	"ENABLED",
	"DISABLED",
}

All allowed values of DeleteProtectionStateType enum.

View Source
var AllowedEgressTrafficPolicyTypeEnumValues = []EgressTrafficPolicyType{
	"UNSPECIFIED",
	"ERROR",
	"ALLOW_ALL",
	"DEFAULT_DENY",
	"UPDATING",
}

All allowed values of EgressTrafficPolicyType enum.

View Source
var AllowedFolderResourceTypeTypeEnumValues = []FolderResourceTypeType{
	"FOLDER",
	"CLUSTER",
}

All allowed values of FolderResourceTypeType enum.

View Source
var AllowedLogExportStatusEnumValues = []LogExportStatus{
	"DISABLED",
	"DISABLING",
	"DISABLE_FAILED",
	"ENABLED",
	"ENABLING",
	"ENABLE_FAILED",
	"CREDENTIALS_ERROR",
}

All allowed values of LogExportStatus enum.

View Source
var AllowedLogExportTypeEnumValues = []LogExportType{
	"AWS_CLOUDWATCH",
	"GCP_CLOUD_LOGGING",
	"AZURE_LOG_ANALYTICS",
}

All allowed values of LogExportType enum.

View Source
var AllowedLogLevelTypeEnumValues = []LogLevelType{
	"UNSPECIFIED",
	"WARNING",
	"ERROR",
	"FATAL",
}

All allowed values of LogLevelType enum.

View Source
var AllowedMetricExportStatusTypeEnumValues = []MetricExportStatusType{
	"NOT_DEPLOYED",
	"DISABLING",
	"ENABLING",
	"ENABLED",
	"ERROR",
}

All allowed values of MetricExportStatusType enum.

View Source
var AllowedNetworkVisibilityTypeEnumValues = []NetworkVisibilityType{
	"PUBLIC",
	"PRIVATE",
}

All allowed values of NetworkVisibilityType enum.

View Source
var AllowedNodeStatusTypeEnumValues = []NodeStatusType{
	"LIVE",
	"NOT_READY",
}

All allowed values of NodeStatusType enum.

View Source
var AllowedOperatingSystemTypeEnumValues = []OperatingSystemType{
	"MAC",
	"LINUX",
	"WINDOWS",
}

All allowed values of OperatingSystemType enum.

View Source
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.

View Source
var AllowedPlanTypeEnumValues = []PlanType{
	"BASIC",
	"STANDARD",
	"ADVANCED",
}

All allowed values of PlanType enum.

View Source
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.

View Source
var AllowedPrivateEndpointServiceStatusTypeEnumValues = []PrivateEndpointServiceStatusType{
	"CREATING",
	"AVAILABLE",
	"CREATE_FAILED",
	"DELETING",
	"DELETE_FAILED",
}

All allowed values of PrivateEndpointServiceStatusType enum.

View Source
var AllowedPrivateEndpointTrustedOwnerTypeTypeEnumValues = []PrivateEndpointTrustedOwnerTypeType{
	"AWS_ACCOUNT_ID",
}

All allowed values of PrivateEndpointTrustedOwnerTypeType enum.

View Source
var AllowedQuantityUnitTypeEnumValues = []QuantityUnitType{
	"HOURS",
	"REQUEST_UNITS",
	"GIB",
	"GIB_HOURS",
}

All allowed values of QuantityUnitType enum.

View Source
var AllowedReleaseTypeTypeEnumValues = []ReleaseTypeType{
	"REGULAR",
	"INNOVATION",
}

All allowed values of ReleaseTypeType enum.

View Source
var AllowedResourceTypeTypeEnumValues = []ResourceTypeType{
	"ORGANIZATION",
	"CLUSTER",
	"FOLDER",
}

All allowed values of ResourceTypeType enum.

View Source
var AllowedSetAWSEndpointConnectionStatusTypeEnumValues = []SetAWSEndpointConnectionStatusType{
	"AVAILABLE",
	"REJECTED",
}

All allowed values of SetAWSEndpointConnectionStatusType enum.

View Source
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

IsValid return true if the value is valid for the enum, false otherwise.

func (AWSEndpointConnectionStatusType) Ptr

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

GetType returns the Type field value.

func (*AddPrivateEndpointTrustedOwnerRequest) SetExternalOwnerId

func (o *AddPrivateEndpointTrustedOwnerRequest) SetExternalOwnerId(v string)

SetExternalOwnerId sets field value.

func (*AddPrivateEndpointTrustedOwnerRequest) SetType

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

GetTrustedOwner returns the TrustedOwner field value.

func (*AddPrivateEndpointTrustedOwnerResponse) SetTrustedOwner

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.

func (*AllowlistEntry) SetSql

func (o *AllowlistEntry) SetSql(v bool)

SetSql sets field value.

func (*AllowlistEntry) SetUi

func (o *AllowlistEntry) SetUi(v bool)

SetUi sets field value.

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.

func (*AllowlistEntry1) SetSql

func (o *AllowlistEntry1) SetSql(v bool)

SetSql sets field value.

func (*AllowlistEntry1) SetUi

func (o *AllowlistEntry1) SetUi(v bool)

SetUi sets field value.

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

func (*Any) GetType

func (o *Any) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Any) SetType

func (o *Any) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

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

func NewApiKey(createdAt time.Time, id string, name string, serviceAccountId string) *ApiKey

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

func (o *ApiKey) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value.

func (*ApiKey) GetId

func (o *ApiKey) GetId() string

GetId returns the Id field value.

func (*ApiKey) GetName

func (o *ApiKey) GetName() string

GetName returns the Name field value.

func (*ApiKey) GetServiceAccountId

func (o *ApiKey) GetServiceAccountId() string

GetServiceAccountId returns the ServiceAccountId field value.

func (*ApiKey) SetCreatedAt

func (o *ApiKey) SetCreatedAt(v time.Time)

SetCreatedAt sets field value.

func (*ApiKey) SetId

func (o *ApiKey) SetId(v string)

SetId sets field value.

func (*ApiKey) SetName

func (o *ApiKey) SetName(v string)

SetName sets field value.

func (*ApiKey) SetServiceAccountId

func (o *ApiKey) SetServiceAccountId(v string)

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) SetId

func (o *ApiOidcConfig) SetId(v string)

SetId sets field value.

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.

func (*ApiOidcConfig) SetJwks

func (o *ApiOidcConfig) SetJwks(v string)

SetJwks 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

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

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

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

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

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

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

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

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

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

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

func (o *Cluster) GetAccountId() string

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

func (o *Cluster) GetCockroachVersion() string

GetCockroachVersion returns the CockroachVersion field value.

func (*Cluster) GetConfig

func (o *Cluster) GetConfig() ClusterConfig

GetConfig returns the Config field value.

func (*Cluster) GetCreatedAt

func (o *Cluster) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Cluster) GetCreatorId

func (o *Cluster) GetCreatorId() string

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

func (o *Cluster) GetDeletedAt() time.Time

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) GetId

func (o *Cluster) GetId() string

GetId returns the Id field value.

func (*Cluster) GetName

func (o *Cluster) GetName() string

GetName returns the Name field value.

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

func (o *Cluster) GetParentId() string

GetParentId returns the ParentId field value if set, zero value otherwise.

func (*Cluster) GetPlan

func (o *Cluster) GetPlan() PlanType

GetPlan returns the Plan field value.

func (*Cluster) GetRegions

func (o *Cluster) GetRegions() []Region

GetRegions returns the Regions field value.

func (*Cluster) GetSqlDns

func (o *Cluster) GetSqlDns() string

GetSqlDns returns the SqlDns field value if set, zero value otherwise.

func (*Cluster) GetState

func (o *Cluster) GetState() ClusterStateType

GetState returns the State field value.

func (*Cluster) GetUpdatedAt

func (o *Cluster) GetUpdatedAt() time.Time

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

func (o *Cluster) SetAccountId(v string)

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

func (o *Cluster) SetCockroachVersion(v string)

SetCockroachVersion sets field value.

func (*Cluster) SetConfig

func (o *Cluster) SetConfig(v ClusterConfig)

SetConfig sets field value.

func (*Cluster) SetCreatedAt

func (o *Cluster) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Cluster) SetCreatorId

func (o *Cluster) SetCreatorId(v string)

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

func (o *Cluster) SetDeletedAt(v time.Time)

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) SetId

func (o *Cluster) SetId(v string)

SetId sets field value.

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value.

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

func (o *Cluster) SetParentId(v string)

SetParentId gets a reference to the given string and assigns it to the ParentId field.

func (*Cluster) SetPlan

func (o *Cluster) SetPlan(v PlanType)

SetPlan sets field value.

func (*Cluster) SetRegions

func (o *Cluster) SetRegions(v []Region)

SetRegions sets field value.

func (*Cluster) SetSqlDns

func (o *Cluster) SetSqlDns(v string)

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

func (o *Cluster) SetUpdatedAt(v time.Time)

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

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

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

IsValid return true if the value is valid for the enum, false otherwise.

func (ClusterMajorVersionSupportStatusType) Ptr

Ptr returns reference to ClusterMajorVersionSupportStatus.Type value.

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

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

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

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

GetDeferralPolicy returns the DeferralPolicy field value.

func (*ClusterVersionDeferral) SetDeferralPolicy

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

IsValid return true if the value is valid for the enum, false otherwise.

func (ClusterVersionDeferralPolicyType) Ptr

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

GetRoles returns the Roles field value.

func (*CockroachCloudSetRolesForUserRequest) SetRoles

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

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

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

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

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

GetServerless returns the Serverless field value if set, zero value otherwise.

func (*CreateClusterSpecification) SetDedicated

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

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

type CreateSQLUserRequest struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

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

func NewDatabase(name string) *Database

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) GetName

func (o *Database) GetName() string

GetName returns the Name field value.

func (*Database) GetTableCount

func (o *Database) GetTableCount() int64

GetTableCount returns the TableCount field value if set, zero value otherwise.

func (*Database) SetName

func (o *Database) SetName(v string)

SetName sets field value.

func (*Database) SetTableCount

func (o *Database) SetTableCount(v int64)

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

GetSite returns the Site field value.

func (*DatadogMetricExportInfo) GetStatus

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

SetSite sets field value.

func (*DatadogMetricExportInfo) SetStatus

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

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

GetHardware returns the Hardware field value.

func (*DedicatedClusterCreateSpecification) GetNetworkVisibility

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

SetHardware sets field value.

func (*DedicatedClusterCreateSpecification) SetNetworkVisibility

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

GetCmekRegionSpecs returns the CmekRegionSpecs field value if set, zero value otherwise.

func (*DedicatedClusterUpdateSpecification) GetHardware

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

SetCmekRegionSpecs gets a reference to the given []CMEKRegionSpecification and assigns it to the CmekRegionSpecs field.

func (*DedicatedClusterUpdateSpecification) SetHardware

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

GetDiskIops returns the DiskIops field value if set, zero value otherwise.

func (*DedicatedHardwareCreateSpecification) GetMachineSpec

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

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

GetDiskIops returns the DiskIops field value if set, zero value otherwise.

func (*DedicatedHardwareUpdateSpecification) GetMachineSpec

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

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

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

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

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) GetId

func (o *EgressRule) GetId() string

GetId returns the Id 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) SetId

func (o *EgressRule) SetId(v string)

SetId sets field value.

func (*EgressRule) SetName

func (o *EgressRule) SetName(v string)

SetName 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.

func (*EgressRule) SetState

func (o *EgressRule) SetState(v string)

SetState sets field value.

func (*EgressRule) SetType

func (o *EgressRule) SetType(v string)

SetType sets field value.

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

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

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

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

GetApiKey returns the ApiKey field value.

func (*EnableDatadogMetricExportRequest) GetSite

GetSite returns the Site field value.

func (*EnableDatadogMetricExportRequest) SetApiKey

func (o *EnableDatadogMetricExportRequest) SetApiKey(v string)

SetApiKey sets field value.

func (*EnableDatadogMetricExportRequest) SetSite

SetSite sets field value.

type EnableLogExportRequest

type EnableLogExportRequest struct {
	AuthPrincipal string `json:"auth_principal"`
	// The primary or the secondary connected sources client authentication key. This is used to export logs to Azure Log Analytics.
	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

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.

func (Error) Body

func (e Error) Body() []byte

Body returns the raw bytes of the response.

func (Error) Error

func (e Error) Error() string

Error returns non-empty string if there was an error.

func (Error) Model

func (e Error) Model() interface{}

Model returns the unpacked model of the error.

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

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

GetParams returns the Params field value.

func (*GetConnectionStringResponse) SetConnectionString

func (o *GetConnectionStringResponse) SetConnectionString(v string)

SetConnectionString sets field value.

func (*GetConnectionStringResponse) SetParams

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

type GetGroupOptions struct {
	Attributes *string

	ExcludedAttributes *string
}

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

type GetGroupsOptions struct {
	Attributes *string

	ExcludedAttributes *string

	Filter *string
}

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

GetUser returns the User field value if set, zero value otherwise.

func (*GetPersonUsersByEmailResponse) SetUser

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

GetTrustedOwner returns the TrustedOwner field value.

func (*GetPrivateEndpointTrustedOwnerResponse) SetTrustedOwner

SetTrustedOwner sets field value.

type GetResourceTypeOptions

type GetResourceTypeOptions struct {
	Attributes *string

	ExcludedAttributes *string
}

GetResourceTypeOptions contains optional parameters for GetResourceType.

type GetResourceTypesOptions

type GetResourceTypesOptions struct {
	Attributes *string

	ExcludedAttributes *string
}

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

type GetSchemaOptions struct {
	Attributes *string

	ExcludedAttributes *string
}

GetSchemaOptions contains optional parameters for GetSchema.

type GetSchemasOptions

type GetSchemasOptions struct {
	Attributes *string

	ExcludedAttributes *string
}

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

GetBulk returns the Bulk field value if set, zero value otherwise.

func (*GetServiceProviderConfigResponse) GetChangePassword

GetChangePassword returns the ChangePassword field value if set, zero value otherwise.

func (*GetServiceProviderConfigResponse) GetEtag

GetEtag returns the Etag field value if set, zero value otherwise.

func (*GetServiceProviderConfigResponse) GetFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*GetServiceProviderConfigResponse) GetMeta

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

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

SetBulk gets a reference to the given ScimBulkSupport and assigns it to the Bulk field.

func (*GetServiceProviderConfigResponse) SetChangePassword

SetChangePassword gets a reference to the given ScimChangePasswordSupport and assigns it to the ChangePassword field.

func (*GetServiceProviderConfigResponse) SetEtag

SetEtag gets a reference to the given ScimEtagSupport and assigns it to the Etag field.

func (*GetServiceProviderConfigResponse) SetFilter

SetFilter gets a reference to the given ScimFilterSupport and assigns it to the Filter field.

func (*GetServiceProviderConfigResponse) SetMeta

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

SetSort gets a reference to the given ScimSortSupport and assigns it to the Sort field.

type GetUserOptions

type GetUserOptions struct {
	Attributes *string

	ExcludedAttributes *string
}

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

type GetUsersOptions struct {
	Filter *string

	Attributes *string

	ExcludedAttributes *string
}

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

func (o *Invoice) GetInvoiceId() string

GetInvoiceId returns the InvoiceId field value.

func (*Invoice) GetInvoiceItems

func (o *Invoice) GetInvoiceItems() []InvoiceItem

GetInvoiceItems returns the InvoiceItems field value.

func (*Invoice) GetPeriodEnd

func (o *Invoice) GetPeriodEnd() time.Time

GetPeriodEnd returns the PeriodEnd field value.

func (*Invoice) GetPeriodStart

func (o *Invoice) GetPeriodStart() time.Time

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

func (o *Invoice) SetInvoiceId(v string)

SetInvoiceId sets field value.

func (*Invoice) SetInvoiceItems

func (o *Invoice) SetInvoiceItems(v []InvoiceItem)

SetInvoiceItems sets field value.

func (*Invoice) SetPeriodEnd

func (o *Invoice) SetPeriodEnd(v time.Time)

SetPeriodEnd sets field value.

func (*Invoice) SetPeriodStart

func (o *Invoice) SetPeriodStart(v time.Time)

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

func NewJWTIssuer(audience string, id string, issuerUrl string) *JWTIssuer

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

func (o *JWTIssuer) GetAudience() string

GetAudience returns the Audience field value.

func (*JWTIssuer) GetClaim

func (o *JWTIssuer) GetClaim() string

GetClaim returns the Claim field value if set, zero value otherwise.

func (*JWTIssuer) GetId

func (o *JWTIssuer) GetId() string

GetId returns the Id field value.

func (*JWTIssuer) GetIdentityMap

func (o *JWTIssuer) GetIdentityMap() []JWTIssuerIdentityMapEntry

GetIdentityMap returns the IdentityMap field value if set, zero value otherwise.

func (*JWTIssuer) GetIssuerUrl

func (o *JWTIssuer) GetIssuerUrl() string

GetIssuerUrl returns the IssuerUrl field value.

func (*JWTIssuer) GetJwks

func (o *JWTIssuer) GetJwks() string

GetJwks returns the Jwks field value if set, zero value otherwise.

func (*JWTIssuer) SetAudience

func (o *JWTIssuer) SetAudience(v string)

SetAudience sets field value.

func (*JWTIssuer) SetClaim

func (o *JWTIssuer) SetClaim(v string)

SetClaim gets a reference to the given string and assigns it to the Claim field.

func (*JWTIssuer) SetId

func (o *JWTIssuer) SetId(v string)

SetId sets field value.

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

func (o *JWTIssuer) SetIssuerUrl(v string)

SetIssuerUrl sets field value.

func (*JWTIssuer) SetJwks

func (o *JWTIssuer) SetJwks(v string)

SetJwks gets a reference to the given string and assigns it to the Jwks field.

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

func (o *LineItem) GetDescription() string

GetDescription returns the Description field value.

func (*LineItem) GetQuantity

func (o *LineItem) GetQuantity() float64

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

func (o *LineItem) GetUnitCost() float64

GetUnitCost returns the UnitCost field value.

func (*LineItem) SetDescription

func (o *LineItem) SetDescription(v string)

SetDescription sets field value.

func (*LineItem) SetQuantity

func (o *LineItem) SetQuantity(v float64)

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

func (o *LineItem) SetUnitCost(v float64)

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

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

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

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

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

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListAvailableRegionsResponse) GetRegions

GetRegions returns the Regions field value.

func (*ListAvailableRegionsResponse) SetPagination

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

func (*ListAvailableRegionsResponse) SetRegions

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

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

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

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

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

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

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

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

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

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*ListMajorClusterVersionsResponse) GetVersions

GetVersions returns the Versions field value.

func (*ListMajorClusterVersionsResponse) SetPagination

SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.

func (*ListMajorClusterVersionsResponse) SetVersions

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

GetTrustedOwners returns the TrustedOwners field value if set, zero value otherwise.

func (*ListPrivateEndpointTrustedOwnersResponse) SetTrustedOwners

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

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

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

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

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

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

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

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"`
	// The primary or the secondary connected sources client authentication key. This is used to export logs to Azure Log Analytics.
	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

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

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

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

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

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

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

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) GetName

func (o *Node) GetName() string

GetName returns the Name field value.

func (*Node) GetRegionName

func (o *Node) GetRegionName() string

GetRegionName returns the RegionName field value.

func (*Node) GetStatus

func (o *Node) GetStatus() NodeStatusType

GetStatus returns the Status field value.

func (*Node) SetName

func (o *Node) SetName(v string)

SetName sets field value.

func (*Node) SetRegionName

func (o *Node) SetRegionName(v string)

SetRegionName sets field value.

func (*Node) SetStatus

func (o *Node) SetStatus(v NodeStatusType)

SetStatus sets 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

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

func NewOrganization(createdAt time.Time, id string, label string, name string) *Organization

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) SetId

func (o *Organization) SetId(v string)

SetId sets field value.

func (*Organization) SetLabel

func (o *Organization) SetLabel(v string)

SetLabel sets field value.

func (*Organization) SetName

func (o *Organization) SetName(v string)

SetName 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

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.

func (*PersonUserInfo) SetId

func (o *PersonUserInfo) SetId(v string)

SetId sets field value.

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

func NewPlanTypeFromValue(v string) (*PlanType, error)

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.

func (PlanType) IsValid

func (v PlanType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (PlanType) Ptr

func (v PlanType) Ptr() *PlanType

Ptr returns reference to Plan.Type value.

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

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

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

IsValid return true if the value is valid for the enum, false otherwise.

func (PrivateEndpointConnectionStatus) Ptr

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

GetConnections returns the Connections field value.

func (*PrivateEndpointConnections) SetConnections

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

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

GetStatus returns the Status field value.

func (*PrivateEndpointService) SetAvailabilityZoneIds

func (o *PrivateEndpointService) SetAvailabilityZoneIds(v []string)

SetAvailabilityZoneIds sets field value.

func (*PrivateEndpointService) SetAws

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

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

IsValid return true if the value is valid for the enum, false otherwise.

func (PrivateEndpointServiceStatusType) Ptr

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

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

GetId returns the Id field value.

func (*PrivateEndpointTrustedOwner) GetType

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

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

IsValid return true if the value is valid for the enum, false otherwise.

func (PrivateEndpointTrustedOwnerTypeType) Ptr

Ptr returns reference to PrivateEndpointTrustedOwnerType.Type value.

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

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

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

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

func (o *Region) GetInternalDns() string

GetInternalDns returns the InternalDns field value.

func (*Region) GetName

func (o *Region) GetName() string

GetName returns the Name field value.

func (*Region) GetNodeCount

func (o *Region) GetNodeCount() int32

GetNodeCount returns the NodeCount field value.

func (*Region) GetPrimary

func (o *Region) GetPrimary() bool

GetPrimary returns the Primary field value if set, zero value otherwise.

func (*Region) GetPrivateEndpointDns

func (o *Region) GetPrivateEndpointDns() string

GetPrivateEndpointDns returns the PrivateEndpointDns field value.

func (*Region) GetSqlDns

func (o *Region) GetSqlDns() string

GetSqlDns returns the SqlDns field value.

func (*Region) GetUiDns

func (o *Region) GetUiDns() string

GetUiDns returns the UiDns field value.

func (*Region) SetInternalDns

func (o *Region) SetInternalDns(v string)

SetInternalDns sets field value.

func (*Region) SetName

func (o *Region) SetName(v string)

SetName sets field value.

func (*Region) SetNodeCount

func (o *Region) SetNodeCount(v int32)

SetNodeCount sets field value.

func (*Region) SetPrimary

func (o *Region) SetPrimary(v bool)

SetPrimary gets a reference to the given bool and assigns it to the Primary field.

func (*Region) SetPrivateEndpointDns

func (o *Region) SetPrivateEndpointDns(v string)

SetPrivateEndpointDns sets field value.

func (*Region) SetSqlDns

func (o *Region) SetSqlDns(v string)

SetSqlDns sets field value.

func (*Region) SetUiDns

func (o *Region) SetUiDns(v string)

SetUiDns 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

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

GetTrustedOwner returns the TrustedOwner field value.

func (*RemovePrivateEndpointTrustedOwnerResponse) SetTrustedOwner

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) GetId

func (o *Resource) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Resource) GetType

func (o *Resource) GetType() ResourceTypeType

GetType returns the Type field value.

func (*Resource) SetId

func (o *Resource) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Resource) SetType

func (o *Resource) SetType(v ResourceTypeType)

SetType sets 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

Ptr returns reference to ResourceType.Type value.

type SQLUser

type SQLUser struct {
	Name string `json:"name"`
}

SQLUser struct for SQLUser.

func NewSQLUser

func NewSQLUser(name string) *SQLUser

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

func (*SQLUser) GetName

func (o *SQLUser) GetName() string

GetName returns the Name field value.

func (*SQLUser) SetName

func (o *SQLUser) SetName(v string)

SetName sets field value.

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

func NewScimEmail(primary bool, value string) *ScimEmail

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

func (o *ScimEmail) GetDisplay() string

GetDisplay returns the Display field value if set, zero value otherwise.

func (*ScimEmail) GetPrimary

func (o *ScimEmail) GetPrimary() bool

GetPrimary returns the Primary field value.

func (*ScimEmail) GetType

func (o *ScimEmail) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ScimEmail) GetValue

func (o *ScimEmail) GetValue() string

GetValue returns the Value field value.

func (*ScimEmail) SetDisplay

func (o *ScimEmail) SetDisplay(v string)

SetDisplay gets a reference to the given string and assigns it to the Display field.

func (*ScimEmail) SetPrimary

func (o *ScimEmail) SetPrimary(v bool)

SetPrimary sets field value.

func (*ScimEmail) SetType

func (o *ScimEmail) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ScimEmail) SetValue

func (o *ScimEmail) SetValue(v string)

SetValue sets field value.

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

func (o *ScimGroup) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ScimGroup) GetExternalId

func (o *ScimGroup) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*ScimGroup) GetId

func (o *ScimGroup) GetId() string

GetId returns the Id 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

func (o *ScimGroup) GetSchemas() []string

GetSchemas returns the Schemas field value if set, zero value otherwise.

func (*ScimGroup) SetDisplayName

func (o *ScimGroup) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ScimGroup) SetExternalId

func (o *ScimGroup) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*ScimGroup) SetId

func (o *ScimGroup) SetId(v string)

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

func (o *ScimGroup) SetSchemas(v []string)

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

func (o *ScimName) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*ScimName) GetGivenName

func (o *ScimName) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*ScimName) SetFamilyName

func (o *ScimName) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*ScimName) SetGivenName

func (o *ScimName) SetGivenName(v string)

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) GetActive

func (o *ScimUser) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*ScimUser) GetDisplayName

func (o *ScimUser) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ScimUser) GetEmails

func (o *ScimUser) GetEmails() []ScimEmail

GetEmails returns the Emails field value if set, zero value otherwise.

func (*ScimUser) GetExternalId

func (o *ScimUser) GetExternalId() string

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) GetId

func (o *ScimUser) GetId() string

GetId returns the Id 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) GetName

func (o *ScimUser) GetName() ScimName

GetName returns the Name field value if set, zero value otherwise.

func (*ScimUser) GetSchemas

func (o *ScimUser) GetSchemas() []string

GetSchemas returns the Schemas field value if set, zero value otherwise.

func (*ScimUser) GetUserName

func (o *ScimUser) GetUserName() string

GetUserName returns the UserName field value if set, zero value otherwise.

func (*ScimUser) SetActive

func (o *ScimUser) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*ScimUser) SetDisplayName

func (o *ScimUser) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ScimUser) SetEmails

func (o *ScimUser) SetEmails(v []ScimEmail)

SetEmails gets a reference to the given []ScimEmail and assigns it to the Emails field.

func (*ScimUser) SetExternalId

func (o *ScimUser) SetExternalId(v string)

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) SetId

func (o *ScimUser) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id 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

func (o *ScimUser) SetName(v ScimName)

SetName gets a reference to the given ScimName and assigns it to the Name field.

func (*ScimUser) SetSchemas

func (o *ScimUser) SetSchemas(v []string)

SetSchemas gets a reference to the given []string and assigns it to the Schemas field.

func (*ScimUser) SetUserName

func (o *ScimUser) SetUserName(v string)

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

GetUpgradeType returns the UpgradeType field value if set, zero value otherwise.

func (*ServerlessClusterCreateSpecification) GetUsageLimits

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

SetUpgradeType gets a reference to the given UpgradeTypeType and assigns it to the UpgradeType field.

func (*ServerlessClusterCreateSpecification) SetUsageLimits

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

GetUpgradeType returns the UpgradeType field value if set, zero value otherwise.

func (*ServerlessClusterUpdateSpecification) GetUsageLimits

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

SetUpgradeType gets a reference to the given UpgradeTypeType and assigns it to the UpgradeType field.

func (*ServerlessClusterUpdateSpecification) SetUsageLimits

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&#39;s organization
	GetOrganizationInfo(ctx _context.Context) (*Organization, *_nethttp.Response, error)

	// Add a connection to a cluster&#39;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&#39;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&#39;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&#39;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)
}

func NewService

func NewService(c *Client) Service

NewService creates a new API service.

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) SetId

func (o *ServiceAccount) SetId(v string)

SetId 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

func (a *ServiceImpl) DeleteGroup(
	ctx _context.Context, id string,
) (*_nethttp.Response, error)

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

func (a *ServiceImpl) DeleteUser(
	ctx _context.Context, id string,
) (*_nethttp.Response, error)

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

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

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

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

ListApiKeys executes the request.

func (*ServiceImpl) ListApiOidcConfig

ListApiOidcConfig executes the request. Deprecated.

func (*ServiceImpl) ListAuditLogs

ListAuditLogs executes the request.

func (*ServiceImpl) ListAvailableRegions

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

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

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

ListJWTIssuers executes the request.

func (*ServiceImpl) ListMajorClusterVersions

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

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

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

IsValid return true if the value is valid for the enum, false otherwise.

func (SetAWSEndpointConnectionStatusType) Ptr

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

GetStatus returns the Status field value.

func (*SetAwsEndpointConnectionStateRequest) SetStatus

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) GetCode

func (o *Status) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Status) GetDetails

func (o *Status) GetDetails() []Any

GetDetails returns the Details field value if set, zero value otherwise.

func (*Status) GetMessage

func (o *Status) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Status) SetCode

func (o *Status) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*Status) SetDetails

func (o *Status) SetDetails(v []Any)

SetDetails gets a reference to the given []Any and assigns it to the Details field.

func (*Status) SetMessage

func (o *Status) SetMessage(v string)

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

GetAction returns the Action field value.

func (*UpdateCMEKStatusRequest) SetAction

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

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

GetServerless returns the Serverless field value if set, zero value otherwise.

func (*UpdateClusterSpecification) GetUpgradeStatus

GetUpgradeStatus returns the UpgradeStatus field value if set, zero value otherwise.

func (*UpdateClusterSpecification) SetDedicated

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

SetServerless gets a reference to the given ServerlessClusterUpdateSpecification and assigns it to the Serverless field.

func (*UpdateClusterSpecification) SetUpgradeStatus

SetUpgradeStatus gets a reference to the given ClusterUpgradeStatusType and assigns it to the UpgradeStatus field.

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {
	Name    string `json:"name"`
	NewName string `json:"new_name"`
}

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL