Documentation
¶
Index ¶
- Constants
- type Datacenter
- type Domain
- type Error
- type Geomap
- type GeomapAssignmentsItems0
- func (m *GeomapAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GeomapAssignmentsItems0) MarshalBinary() ([]byte, error)
- func (m *GeomapAssignmentsItems0) UnmarshalBinary(b []byte) error
- func (m *GeomapAssignmentsItems0) Validate(formats strfmt.Registry) error
- type Link
- type Member
- type Monitor
- type Pool
- type Quota
- type QuotaUsage
- type Service
Constants ¶
const ( // DatacenterProviderAkamai captures enum value "akamai" DatacenterProviderAkamai string = "akamai" // DatacenterProviderF5 captures enum value "f5" DatacenterProviderF5 string = "f5" )
const ( // DatacenterProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE" DatacenterProvisioningStatusPENDINGCREATE string = "PENDING_CREATE" // DatacenterProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE" DatacenterProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE" // DatacenterProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE" DatacenterProvisioningStatusPENDINGDELETE string = "PENDING_DELETE" // DatacenterProvisioningStatusACTIVE captures enum value "ACTIVE" DatacenterProvisioningStatusACTIVE string = "ACTIVE" // DatacenterProvisioningStatusERROR captures enum value "ERROR" DatacenterProvisioningStatusERROR string = "ERROR" )
const ( // DatacenterScopePrivate captures enum value "private" DatacenterScopePrivate string = "private" DatacenterScopeShared string = "shared" )
const ( // DomainModeWEIGHTED captures enum value "WEIGHTED" DomainModeWEIGHTED string = "WEIGHTED" // DomainModeROUNDROBIN captures enum value "ROUND_ROBIN" DomainModeROUNDROBIN string = "ROUND_ROBIN" // DomainModeGEOGRAPHIC captures enum value "GEOGRAPHIC" DomainModeGEOGRAPHIC string = "GEOGRAPHIC" // DomainModeAVAILABILITY captures enum value "AVAILABILITY" DomainModeAVAILABILITY string = "AVAILABILITY" )
const ( // DomainProviderAkamai captures enum value "akamai" DomainProviderAkamai string = "akamai" // DomainProviderF5 captures enum value "f5" DomainProviderF5 string = "f5" )
const ( // DomainProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE" DomainProvisioningStatusPENDINGCREATE string = "PENDING_CREATE" // DomainProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE" DomainProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE" // DomainProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE" DomainProvisioningStatusPENDINGDELETE string = "PENDING_DELETE" // DomainProvisioningStatusACTIVE captures enum value "ACTIVE" DomainProvisioningStatusACTIVE string = "ACTIVE" // DomainProvisioningStatusERROR captures enum value "ERROR" DomainProvisioningStatusERROR string = "ERROR" )
const ( // DomainRecordTypeA captures enum value "A" DomainRecordTypeA string = "A" // DomainRecordTypeAAAA captures enum value "AAAA" DomainRecordTypeAAAA string = "AAAA" // DomainRecordTypeCNAME captures enum value "CNAME" DomainRecordTypeCNAME string = "CNAME" // DomainRecordTypeMX captures enum value "MX" DomainRecordTypeMX string = "MX" )
const ( // DomainStatusONLINE captures enum value "ONLINE" DomainStatusONLINE string = "ONLINE" // DomainStatusDOWN captures enum value "DOWN" DomainStatusDOWN string = "DOWN" )
const ( // GeomapProviderAkamai captures enum value "akamai" GeomapProviderAkamai string = "akamai" // GeomapProviderF5 captures enum value "f5" GeomapProviderF5 string = "f5" )
const ( // GeomapProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE" GeomapProvisioningStatusPENDINGCREATE string = "PENDING_CREATE" // GeomapProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE" GeomapProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE" // GeomapProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE" GeomapProvisioningStatusPENDINGDELETE string = "PENDING_DELETE" // GeomapProvisioningStatusACTIVE captures enum value "ACTIVE" GeomapProvisioningStatusACTIVE string = "ACTIVE" // GeomapProvisioningStatusERROR captures enum value "ERROR" GeomapProvisioningStatusERROR string = "ERROR" )
const ( // GeomapScopePrivate captures enum value "private" GeomapScopePrivate string = "private" GeomapScopeShared string = "shared" )
const ( // LinkRelNext captures enum value "next" LinkRelNext string = "next" // LinkRelPrevious captures enum value "previous" LinkRelPrevious string = "previous" )
const ( // MemberProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE" MemberProvisioningStatusPENDINGCREATE string = "PENDING_CREATE" // MemberProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE" MemberProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE" // MemberProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE" MemberProvisioningStatusPENDINGDELETE string = "PENDING_DELETE" // MemberProvisioningStatusACTIVE captures enum value "ACTIVE" MemberProvisioningStatusACTIVE string = "ACTIVE" // MemberProvisioningStatusERROR captures enum value "ERROR" MemberProvisioningStatusERROR string = "ERROR" )
const ( // MemberStatusONLINE captures enum value "ONLINE" MemberStatusONLINE string = "ONLINE" // MemberStatusNOMONITOR captures enum value "NO_MONITOR" MemberStatusNOMONITOR string = "NO_MONITOR" // MemberStatusDOWN captures enum value "DOWN" MemberStatusDOWN string = "DOWN" )
const ( // MonitorHTTPMethodGET captures enum value "GET" MonitorHTTPMethodGET string = "GET" // MonitorHTTPMethodPOST captures enum value "POST" MonitorHTTPMethodPOST string = "POST" // MonitorHTTPMethodPUT captures enum value "PUT" MonitorHTTPMethodPUT string = "PUT" // MonitorHTTPMethodHEAD captures enum value "HEAD" MonitorHTTPMethodHEAD string = "HEAD" // MonitorHTTPMethodPATCH captures enum value "PATCH" MonitorHTTPMethodPATCH string = "PATCH" // MonitorHTTPMethodDELETE captures enum value "DELETE" MonitorHTTPMethodDELETE string = "DELETE" // MonitorHTTPMethodOPTIONS captures enum value "OPTIONS" MonitorHTTPMethodOPTIONS string = "OPTIONS" )
const ( // MonitorProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE" MonitorProvisioningStatusPENDINGCREATE string = "PENDING_CREATE" // MonitorProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE" MonitorProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE" // MonitorProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE" MonitorProvisioningStatusPENDINGDELETE string = "PENDING_DELETE" // MonitorProvisioningStatusACTIVE captures enum value "ACTIVE" MonitorProvisioningStatusACTIVE string = "ACTIVE" // MonitorProvisioningStatusERROR captures enum value "ERROR" MonitorProvisioningStatusERROR string = "ERROR" )
const ( // MonitorTypeHTTP captures enum value "HTTP" MonitorTypeHTTP string = "HTTP" // MonitorTypeHTTPS captures enum value "HTTPS" MonitorTypeHTTPS string = "HTTPS" // MonitorTypeICMP captures enum value "ICMP" MonitorTypeICMP string = "ICMP" // MonitorTypeTCP captures enum value "TCP" MonitorTypeTCP string = "TCP" // MonitorTypeUDP captures enum value "UDP" MonitorTypeUDP string = "UDP" )
const ( // PoolProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE" PoolProvisioningStatusPENDINGCREATE string = "PENDING_CREATE" // PoolProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE" PoolProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE" // PoolProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE" PoolProvisioningStatusPENDINGDELETE string = "PENDING_DELETE" // PoolProvisioningStatusACTIVE captures enum value "ACTIVE" PoolProvisioningStatusACTIVE string = "ACTIVE" // PoolProvisioningStatusERROR captures enum value "ERROR" PoolProvisioningStatusERROR string = "ERROR" )
const ( // PoolStatusONLINE captures enum value "ONLINE" PoolStatusONLINE string = "ONLINE" // PoolStatusDOWN captures enum value "DOWN" PoolStatusDOWN string = "DOWN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datacenter ¶
type Datacenter struct {
// The administrative state of the resource, which is up (true) or down (false). Default is true.
AdminStateUp *bool `json:"admin_state_up,omitempty"`
// city
// Example: Berlin
// Max Length: 255
City *string `json:"city"`
// continent
// Example: EU
// Max Length: 255
Continent *string `json:"continent"`
// country
// Example: DE
// Max Length: 2
Country *string `json:"country"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-05-11T17:21:34
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// The id of the resource.
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// latitude
// Example: 52.526055
Latitude *float64 `json:"latitude"`
// longitude
// Example: 13.403454
Longitude *float64 `json:"longitude"`
// meta
// Read Only: true
Meta int64 `json:"meta,omitempty"`
// Human-readable name of the resource.
// Max Length: 255
Name *string `json:"name,omitempty"`
// The ID of the project owning this resource.
// Example: fa84c217f361441986a220edf9b1e337
// Max Length: 32
// Min Length: 32
ProjectID *string `json:"project_id,omitempty"`
// Provider driver for the backend solution
// Example: akamai
// Enum: [akamai f5]
Provider string `json:"provider,omitempty"`
// provisioning status
// Read Only: true
// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
ProvisioningStatus string `json:"provisioning_status,omitempty"`
// Visibility of datacenter between different projects
// Enum: [private shared]
Scope *string `json:"scope,omitempty"`
// state or province
// Example: Berlin
// Max Length: 255
StateOrProvince *string `json:"state_or_province"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-09-09T14:52:15
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
Datacenter datacenter
swagger:model datacenter
func (*Datacenter) ContextValidate ¶
ContextValidate validate this datacenter based on the context it is used
func (*Datacenter) MarshalBinary ¶
func (m *Datacenter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Datacenter) UnmarshalBinary ¶
func (m *Datacenter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Domain ¶
type Domain struct {
// The administrative state of the resource, which is up (true) or down (false). Default is true.
AdminStateUp *bool `json:"admin_state_up,omitempty"`
// aliases
Aliases []string `json:"aliases"`
// If not empty, the backend created a CNAME target to be used for the FQDN.
// Example: example.org.production.gtm.com
// Read Only: true
// Format: hostname
CnameTarget *strfmt.Hostname `json:"cname_target,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-05-11T17:21:34
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// Desired Fully-Qualified Host Name.
// Example: example.org
// Max Length: 512
// Format: hostname
Fqdn *strfmt.Hostname `json:"fqdn,omitempty"`
// The id of the resource.
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// Load balancing method to use for the references pools.
// Enum: [WEIGHTED ROUND_ROBIN GEOGRAPHIC AVAILABILITY]
Mode *string `json:"mode,omitempty"`
// Human-readable name of the resource.
Name *string `json:"name,omitempty"`
// pools
Pools []strfmt.UUID `json:"pools"`
// The ID of the project owning this resource.
// Example: fa84c217f361441986a220edf9b1e337
// Max Length: 32
// Min Length: 32
ProjectID *string `json:"project_id,omitempty"`
// Supported provider drivers
// Example: akamai
// Enum: [akamai f5]
Provider *string `json:"provider,omitempty"`
// provisioning status
// Read Only: true
// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
ProvisioningStatus string `json:"provisioning_status,omitempty"`
// DNS Record type to use.
// Enum: [A AAAA CNAME MX]
RecordType *string `json:"record_type,omitempty"`
// status
// Read Only: true
// Enum: [ONLINE DOWN]
Status string `json:"status,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-09-09T14:52:15
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
Domain A representation of a domain
swagger:model domain
func (*Domain) ContextValidate ¶
ContextValidate validate this domain based on the context it is used
func (*Domain) MarshalBinary ¶
MarshalBinary interface implementation
func (*Domain) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// HTTP Error code
// Example: 404
Code int64 `json:"code,omitempty"`
// message
// Example: An example error message
Message string `json:"message,omitempty"`
}
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Geomap ¶
type Geomap struct {
// Country to datacenter assignments.
Assignments []*GeomapAssignmentsItems0 `json:"assignments"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-05-11T17:21:34
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// Datacenter ID
// Required: true
// Format: uuid
DefaultDatacenter *strfmt.UUID `json:"default_datacenter"`
// The id of the resource.
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// Human-readable name of the resource.
// Max Length: 255
Name *string `json:"name,omitempty"`
// The ID of the project owning this resource.
// Example: fa84c217f361441986a220edf9b1e337
// Max Length: 32
// Min Length: 32
ProjectID *string `json:"project_id,omitempty"`
// Provider driver for the backend solution
// Example: akamai
// Enum: [akamai f5]
Provider string `json:"provider,omitempty"`
// provisioning status
// Read Only: true
// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
ProvisioningStatus string `json:"provisioning_status,omitempty"`
// Visibility of datacenter between different projects
// Enum: [private shared]
Scope *string `json:"scope,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-09-09T14:52:15
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
Geomap geomap
swagger:model geomap
func (*Geomap) ContextValidate ¶
ContextValidate validate this geomap based on the context it is used
func (*Geomap) MarshalBinary ¶
MarshalBinary interface implementation
func (*Geomap) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GeomapAssignmentsItems0 ¶
type GeomapAssignmentsItems0 struct {
// ISO 3166 2-Letter Country code.
// Max Length: 2
// Min Length: 2
Country string `json:"country,omitempty"`
// Datacenter ID
// Format: uuid
Datacenter strfmt.UUID `json:"datacenter,omitempty"`
}
GeomapAssignmentsItems0 Assignment.
swagger:model GeomapAssignmentsItems0
func (*GeomapAssignmentsItems0) ContextValidate ¶
func (m *GeomapAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this geomap assignments items0 based on context it is used
func (*GeomapAssignmentsItems0) MarshalBinary ¶
func (m *GeomapAssignmentsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeomapAssignmentsItems0) UnmarshalBinary ¶
func (m *GeomapAssignmentsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Link ¶
type Link struct {
// href
// Format: uri
Href strfmt.URI `json:"href,omitempty"`
// rel
// Enum: [next previous]
Rel string `json:"rel,omitempty"`
}
Link link
swagger:model link
func (*Link) ContextValidate ¶
ContextValidate validate this link based on the context it is used
func (*Link) MarshalBinary ¶
MarshalBinary interface implementation
func (*Link) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Member ¶
type Member struct {
// Address to use.
// Example: 1.2.3.4
// Format: ipv4
Address *strfmt.IPv4 `json:"address,omitempty"`
// The administrative state of the resource, which is up (true) or down (false). Default is true.
AdminStateUp *bool `json:"admin_state_up,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-05-11T17:21:34
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// Datacenter assigned for this member.
// Format: uuid
DatacenterID *strfmt.UUID `json:"datacenter_id,omitempty"`
// The id of the resource.
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// Human-readable name of the resource.
// Max Length: 255
Name *string `json:"name,omitempty"`
// pool id.
// Format: uuid
PoolID *strfmt.UUID `json:"pool_id,omitempty"`
// Port to use for monitor checks.
// Example: 80
// Maximum: 65535
// Minimum: 0
Port *int64 `json:"port,omitempty"`
// The ID of the project owning this resource.
// Example: fa84c217f361441986a220edf9b1e337
// Max Length: 32
// Min Length: 32
ProjectID *string `json:"project_id,omitempty"`
// provisioning status
// Read Only: true
// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
ProvisioningStatus string `json:"provisioning_status,omitempty"`
// status
// Read Only: true
// Enum: [ONLINE NO_MONITOR DOWN]
Status string `json:"status,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-09-09T14:52:15
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
Member member
swagger:model member
func (*Member) ContextValidate ¶
ContextValidate validate this member based on the context it is used
func (*Member) MarshalBinary ¶
MarshalBinary interface implementation
func (*Member) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Monitor ¶
type Monitor struct {
// The administrative state of the resource, which is up (true) or down (false). Default is true.
AdminStateUp *bool `json:"admin_state_up,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-05-11T17:21:34
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// The domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check. Only used for HTTP/S monitors.
// Example: example.org
// Max Length: 255
// Format: hostname
DomainName *strfmt.Hostname `json:"domain_name,omitempty"`
// HTTP method to use for monitor checks. Only used for HTTP/S monitors.
// Enum: [GET POST PUT HEAD PATCH DELETE OPTIONS]
HTTPMethod *string `json:"http_method,omitempty"`
// The id of the resource.
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// The interval, in seconds, between health checks.
// Example: 10
// Maximum: 86399
// Minimum: 10
Interval *int64 `json:"interval,omitempty"`
// Human-readable name of the resource.
// Max Length: 255
Name *string `json:"name,omitempty"`
// ID of the pool to check members
// Format: uuid
PoolID *strfmt.UUID `json:"pool_id,omitempty"`
// The ID of the project owning this resource.
// Example: fa84c217f361441986a220edf9b1e337
// Max Length: 32
// Min Length: 32
ProjectID *string `json:"project_id,omitempty"`
// provisioning status
// Read Only: true
// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
ProvisioningStatus string `json:"provisioning_status,omitempty"`
// Specifies the text string that the monitor expects to receive from the target member.
// Example: HTTP/1.
// Max Length: 255
Receive *string `json:"receive,omitempty"`
// Specifies the text string that the monitor sends to the target member. For HTTP/S monitors, this is a GET request and must be a HTTP path, e.g. `/status`.
// Example: /stats
// Max Length: 255
Send *string `json:"send,omitempty"`
// The time in total, in seconds, after which a health check times out.
// Example: 30
// Maximum: 60
// Minimum: 0
Timeout *int64 `json:"timeout,omitempty"`
// Type of the health check monitor.
// Example: HTTP
// Enum: [HTTP HTTPS ICMP TCP UDP]
Type *string `json:"type,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-09-09T14:52:15
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
Monitor monitor
swagger:model monitor
func (*Monitor) ContextValidate ¶
ContextValidate validate this monitor based on the context it is used
func (*Monitor) MarshalBinary ¶
MarshalBinary interface implementation
func (*Monitor) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Pool ¶
type Pool struct {
// The administrative state of the resource, which is up (true) or down (false). Default is true.
AdminStateUp *bool `json:"admin_state_up,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-05-11 17:21:34
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty"`
// Array of domains assigned to this pool
Domains []strfmt.UUID `json:"domains"`
// The id of the resource.
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// Array of member ids that this pool uses for load balancing.
// Read Only: true
Members []strfmt.UUID `json:"members"`
// Array of monitor ids that this pool uses health checks.
// Read Only: true
Monitors []strfmt.UUID `json:"monitors"`
// Human-readable name of the resource.
// Max Length: 255
Name *string `json:"name,omitempty"`
// The ID of the project owning this resource.
// Example: fa84c217f361441986a220edf9b1e337
// Max Length: 32
// Min Length: 32
ProjectID *string `json:"project_id,omitempty"`
// provisioning status
// Read Only: true
// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
ProvisioningStatus string `json:"provisioning_status,omitempty"`
// status
// Read Only: true
// Enum: [ONLINE DOWN]
Status string `json:"status,omitempty"`
// The UTC date and timestamp when the resource was created.
// Example: 2020-09-09 14:52:15
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}
Pool pool
swagger:model pool
func (*Pool) ContextValidate ¶
ContextValidate validate this pool based on the context it is used
func (*Pool) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pool) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Quota ¶
type Quota struct {
// The configured datacenter quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
// Example: 5
Datacenter *int64 `json:"datacenter,omitempty"`
// The configured domain quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
// Example: 5
Domain *int64 `json:"domain,omitempty"`
// The configured member quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
// Example: 5
Member *int64 `json:"member,omitempty"`
// The configured monitor quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
// Example: 5
Monitor *int64 `json:"monitor,omitempty"`
// The configured pool quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
// Example: 5
Pool *int64 `json:"pool,omitempty"`
}
Quota quota
swagger:model quota
func (*Quota) ContextValidate ¶
ContextValidate validates this quota based on context it is used
func (*Quota) MarshalBinary ¶
MarshalBinary interface implementation
func (*Quota) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuotaUsage ¶
type QuotaUsage struct {
// The current quota usage of datacenter.
// Example: 5
InUseDatacenter int64 `json:"in_use_datacenter"`
// The current quota usage of domain.
// Example: 5
InUseDomain int64 `json:"in_use_domain"`
// The current quota usage of member.
// Example: 5
InUseMember int64 `json:"in_use_member"`
// The current quota usage of monitor.
// Example: 5
InUseMonitor int64 `json:"in_use_monitor"`
// The current quota usage of pool.
// Example: 5
InUsePool int64 `json:"in_use_pool"`
}
QuotaUsage quota usage
swagger:model quota_usage
func (*QuotaUsage) ContextValidate ¶
ContextValidate validates this quota usage based on context it is used
func (*QuotaUsage) MarshalBinary ¶
func (m *QuotaUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuotaUsage) UnmarshalBinary ¶
func (m *QuotaUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Service ¶
type Service struct {
// The UTC date and timestamp when had the last heartbeat.
// Example: 2020-05-11 17:21:34
// Format: date-time
Heartbeat strfmt.DateTime `json:"heartbeat,omitempty"`
// Hostname of the computer the service is running.
// Example: example.host
// Format: hostname
Host strfmt.Hostname `json:"host,omitempty"`
// ID of the RPC service.
// Example: andromeda-agent-fbb49979-03f5-4a97-a334-1fd2c9f61e7e
ID string `json:"id,omitempty"`
// metadata
Metadata interface{} `json:"metadata,omitempty"`
// Provider this service supports.
// Example: akamai
Provider string `json:"provider,omitempty"`
// RPC Endpoint Address.
// Example: _INBOX.VEfFxcAzZQ9iM9vwGH49It
RPCAddress string `json:"rpc_address,omitempty"`
// Type of service.
// Example: healthcheck
Type string `json:"type,omitempty"`
// Version of the service.
// Example: 1.2.3
Version string `json:"version,omitempty"`
}
Service service
swagger:model service
func (*Service) ContextValidate ¶
ContextValidate validates this service based on context it is used
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation