Documentation
¶
Overview ¶
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.
Index ¶
- func NewAddTargetRequest(server string, params *AddTargetParams, body AddTargetJSONRequestBody) (*http.Request, error)
- func NewAddTargetRequestWithBody(server string, params *AddTargetParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCountGroupsRequest(server string, body CountGroupsJSONRequestBody) (*http.Request, error)
- func NewCountGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
- func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteGroupRequest(server string, groupUuid string) (*http.Request, error)
- func NewDeleteTargetRequest(server string, targetUuid string) (*http.Request, error)
- func NewEditGroupRequest(server string, groupUuid string, body EditGroupJSONRequestBody) (*http.Request, error)
- func NewEditGroupRequestWithBody(server string, groupUuid string, contentType string, body io.Reader) (*http.Request, error)
- func NewEditTargetRequest(server string, targetUuid string, body EditTargetJSONRequestBody) (*http.Request, error)
- func NewEditTargetRequestWithBody(server string, targetUuid string, contentType string, body io.Reader) (*http.Request, error)
- func NewExecuteOnTargetRequest(server string, targetUuid string, params *ExecuteOnTargetParams) (*http.Request, error)
- func NewGetEntitiesByGroupUuidRequest(server string, groupUuid string, params *GetEntitiesByGroupUuidParams) (*http.Request, error)
- func NewGetEntitiesByTargetUuidRequest(server string, targetUuid string, params *GetEntitiesByTargetUuidParams) (*http.Request, error)
- func NewGetEntitiesRequest(server string) (*http.Request, error)
- func NewGetEntityByUuidRequest(server string, entityUuid string, params *GetEntityByUuidParams) (*http.Request, error)
- func NewGetGroupByUuidRequest(server string, groupUuid string, params *GetGroupByUuidParams) (*http.Request, error)
- func NewGetGroupsRequest(server string, params *GetGroupsParams) (*http.Request, error)
- func NewGetMembersByGroupUuidRequest(server string, groupUuid string, params *GetMembersByGroupUuidParams) (*http.Request, error)
- func NewGetTargetRequest(server string, targetUuid string, params *GetTargetParams) (*http.Request, error)
- func NewGetTargetsRequest(server string, params *GetTargetsParams) (*http.Request, error)
- func NewGroupFieldsRequest(server string, body GroupFieldsJSONRequestBody) (*http.Request, error)
- func NewGroupFieldsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchEntitiesRequest(server string, body SearchEntitiesJSONRequestBody) (*http.Request, error)
- func NewSearchEntitiesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchGroupsRequest(server string, body SearchGroupsJSONRequestBody) (*http.Request, error)
- func NewSearchGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type AccountType
- type ActionApiDTO
- type ActionApiDTOResizeAttribute
- type ActionApiDTOSource
- type ActionDisruptiveness
- type ActionExecutionAuditApiDTO
- type ActionExecutionCharacteristicApiDTO
- type ActionMode
- type ActionReversibility
- type ActionScheduleApiDTO
- type ActionState
- type ActionStateDescription
- type ActionType
- type AddObjectApiDTO
- type AddTargetJSONRequestBody
- type AddTargetParams
- type AddTargetResp
- type AsyncContext
- type AzureRIScopeType
- type BaseApiDTO
- type BaseCommodityApiDTO
- type BusinessUnitApiDTO
- type BusinessUnitApiDTOSeverity
- type BusinessUnitType
- type Client
- func (c *Client) AddTarget(ctx context.Context, params *AddTargetParams, body AddTargetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddTargetWithBody(ctx context.Context, params *AddTargetParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CountGroups(ctx context.Context, body CountGroupsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CountGroupsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteGroup(ctx context.Context, groupUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTarget(ctx context.Context, targetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EditGroup(ctx context.Context, groupUuid string, body EditGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditGroupWithBody(ctx context.Context, groupUuid string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditTarget(ctx context.Context, targetUuid string, body EditTargetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditTargetWithBody(ctx context.Context, targetUuid string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExecuteOnTarget(ctx context.Context, targetUuid string, params *ExecuteOnTargetParams, ...) (*http.Response, error)
- func (c *Client) GetEntities(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEntitiesByGroupUuid(ctx context.Context, groupUuid string, params *GetEntitiesByGroupUuidParams, ...) (*http.Response, error)
- func (c *Client) GetEntitiesByTargetUuid(ctx context.Context, targetUuid string, params *GetEntitiesByTargetUuidParams, ...) (*http.Response, error)
- func (c *Client) GetEntityByUuid(ctx context.Context, entityUuid string, params *GetEntityByUuidParams, ...) (*http.Response, error)
- func (c *Client) GetGroupByUuid(ctx context.Context, groupUuid string, params *GetGroupByUuidParams, ...) (*http.Response, error)
- func (c *Client) GetGroups(ctx context.Context, params *GetGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMembersByGroupUuid(ctx context.Context, groupUuid string, params *GetMembersByGroupUuidParams, ...) (*http.Response, error)
- func (c *Client) GetTarget(ctx context.Context, targetUuid string, params *GetTargetParams, ...) (*http.Response, error)
- func (c *Client) GetTargets(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GroupFields(ctx context.Context, body GroupFieldsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GroupFieldsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchEntities(ctx context.Context, body SearchEntitiesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchEntitiesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchGroups(ctx context.Context, body SearchGroupsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchGroupsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddTargetWithBodyWithResponse(ctx context.Context, params *AddTargetParams, contentType string, ...) (*AddTargetResp, error)
- func (c *ClientWithResponses) AddTargetWithResponse(ctx context.Context, params *AddTargetParams, body AddTargetJSONRequestBody, ...) (*AddTargetResp, error)
- func (c *ClientWithResponses) CountGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CountGroupsResp, error)
- func (c *ClientWithResponses) CountGroupsWithResponse(ctx context.Context, body CountGroupsJSONRequestBody, ...) (*CountGroupsResp, error)
- func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateGroupResp, error)
- func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*CreateGroupResp, error)
- func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, groupUuid string, reqEditors ...RequestEditorFn) (*DeleteGroupResp, error)
- func (c *ClientWithResponses) DeleteTargetWithResponse(ctx context.Context, targetUuid string, reqEditors ...RequestEditorFn) (*DeleteTargetResp, error)
- func (c *ClientWithResponses) EditGroupWithBodyWithResponse(ctx context.Context, groupUuid string, contentType string, body io.Reader, ...) (*EditGroupResp, error)
- func (c *ClientWithResponses) EditGroupWithResponse(ctx context.Context, groupUuid string, body EditGroupJSONRequestBody, ...) (*EditGroupResp, error)
- func (c *ClientWithResponses) EditTargetWithBodyWithResponse(ctx context.Context, targetUuid string, contentType string, body io.Reader, ...) (*EditTargetResp, error)
- func (c *ClientWithResponses) EditTargetWithResponse(ctx context.Context, targetUuid string, body EditTargetJSONRequestBody, ...) (*EditTargetResp, error)
- func (c *ClientWithResponses) ExecuteOnTargetWithResponse(ctx context.Context, targetUuid string, params *ExecuteOnTargetParams, ...) (*ExecuteOnTargetResp, error)
- func (c *ClientWithResponses) GetEntitiesByGroupUuidWithResponse(ctx context.Context, groupUuid string, params *GetEntitiesByGroupUuidParams, ...) (*GetEntitiesByGroupUuidResp, error)
- func (c *ClientWithResponses) GetEntitiesByTargetUuidWithResponse(ctx context.Context, targetUuid string, params *GetEntitiesByTargetUuidParams, ...) (*GetEntitiesByTargetUuidResp, error)
- func (c *ClientWithResponses) GetEntitiesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntitiesResp, error)
- func (c *ClientWithResponses) GetEntityByUuidWithResponse(ctx context.Context, entityUuid string, params *GetEntityByUuidParams, ...) (*GetEntityByUuidResp, error)
- func (c *ClientWithResponses) GetGroupByUuidWithResponse(ctx context.Context, groupUuid string, params *GetGroupByUuidParams, ...) (*GetGroupByUuidResp, error)
- func (c *ClientWithResponses) GetGroupsWithResponse(ctx context.Context, params *GetGroupsParams, reqEditors ...RequestEditorFn) (*GetGroupsResp, error)
- func (c *ClientWithResponses) GetMembersByGroupUuidWithResponse(ctx context.Context, groupUuid string, params *GetMembersByGroupUuidParams, ...) (*GetMembersByGroupUuidResp, error)
- func (c *ClientWithResponses) GetTargetWithResponse(ctx context.Context, targetUuid string, params *GetTargetParams, ...) (*GetTargetResp, error)
- func (c *ClientWithResponses) GetTargetsWithResponse(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*GetTargetsResp, error)
- func (c *ClientWithResponses) GroupFieldsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GroupFieldsResp, error)
- func (c *ClientWithResponses) GroupFieldsWithResponse(ctx context.Context, body GroupFieldsJSONRequestBody, ...) (*GroupFieldsResp, error)
- func (c *ClientWithResponses) SearchEntitiesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchEntitiesResp, error)
- func (c *ClientWithResponses) SearchEntitiesWithResponse(ctx context.Context, body SearchEntitiesJSONRequestBody, ...) (*SearchEntitiesResp, error)
- func (c *ClientWithResponses) SearchGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SearchGroupsResp, error)
- func (c *ClientWithResponses) SearchGroupsWithResponse(ctx context.Context, body SearchGroupsJSONRequestBody, ...) (*SearchGroupsResp, error)
- type ClientWithResponsesInterface
- type CloudType
- type CommodityType
- type ConditionApiDTO
- type ConfigChangesApiDTO
- type ConstraintType
- type CountGroupsJSONRequestBody
- type CountGroupsResp
- type CreateGroupJSONRequestBody
- type CreateGroupResp
- type DBEntityAspectApiDTO
- type DatabasePricingModel
- type DatabaseServiceTier
- type DayOfWeek
- type DeleteGroupResp
- type DeleteTargetResp
- type DeploymentProfileApiDTO
- type DeploymentProfileParamApiDTO
- type DeploymentProfileParamApiDTOParameterType
- type DeploymentProfileProviderApiDTO
- type DeploymentProfileTargetApiDTO
- type DeploymentProfileTargetApiDTOTargetType
- type DestinationEntityType
- type DiscoveredEntityApiDTO
- type EditGroupJSONRequestBody
- type EditGroupResp
- type EditTargetJSONRequestBody
- type EditTargetResp
- type EntityAspect
- type EntityCostApiDTO
- type EntityQueryApiDTO
- type EntityStatsApiDTO
- type EntityType
- type EnvironmentType
- type Epoch
- type ExecuteOnTargetParams
- type ExecuteOnTargetResp
- type ExecutorInfoApiDTO
- type ExecutorScheduleApiDTO
- type ExecutorType
- type ExecutorUserApiDTO
- type ExtraSpecApiDTO
- type FailedResourceApiDTO
- type FieldApiDTO
- type FieldType
- type FieldValueApiDTO
- type FieldValueTypeApiDTO
- type FilterApiDTO
- type FilterApiDTOExpType
- type FilterRegistration
- type GetEntitiesByGroupUuidParams
- type GetEntitiesByGroupUuidParamsOrderBy
- type GetEntitiesByGroupUuidResp
- type GetEntitiesByTargetUuidParams
- type GetEntitiesByTargetUuidParamsOrderBy
- type GetEntitiesByTargetUuidResp
- type GetEntitiesResp
- type GetEntityByUuidParams
- type GetEntityByUuidResp
- type GetGroupByUuidParams
- type GetGroupByUuidResp
- type GetGroupsParams
- type GetGroupsParamsOrderBy
- type GetGroupsResp
- type GetMembersByGroupUuidParams
- type GetMembersByGroupUuidResp
- type GetTargetParams
- type GetTargetResp
- type GetTargetsParams
- type GetTargetsParamsOrderBy
- type GetTargetsParamsQueryMethod
- type GetTargetsResp
- type GroupApiDTO
- type GroupApiDTOLogicalOperator
- type GroupApiDTOSeverity
- type GroupApiDTOState
- type GroupByCriterion
- type GroupCountRequestApiDTO
- type GroupFieldsJSONRequestBody
- type GroupFieldsResp
- type GroupMetadataRequestApiDTO
- type GroupQueryApiDTO
- type GroupType
- type HealthCategory
- type HealthState
- type HttpRequestDoer
- type IncludedCouponsApiDTO
- type InputFieldApiDTO
- type InputValueType
- type JspConfigDescriptor
- type JspPropertyGroupDescriptor
- type Link
- type LoadChangesApiDTO
- type LogEntryApiDTO
- type MarketApiDTO
- type MarketApiDTOState
- type MaxUtilizationApiDTO
- type MergePolicyType
- type MigrateObjectApiDTO
- type NameValueInputDTO
- type NameValueInputDTOName
- type OnPremCostsManagerApiDTO
- type Operator
- type OrderByApiDTO
- type Origin
- type PaginationApiDTO
- type PatchedTargetDataApiDTO
- type PatchedTargetFieldApiDTO
- type PaymentOption
- type PeakBaselineApiDTO
- type PermissionApiDTO
- type PlacementProblem
- type Platform
- type PolicyApiDTO
- type PolicyType
- type PriceAdjustmentDTO
- type PriceAdjustmentType
- type ProductVersionDTO
- type QueryType
- type RangeApiDTO
- type ReadListener
- type RecurrenceApiDTO
- type RecurrenceType
- type RelationType
- type RelievePressureObjectApiDTO
- type RemoveConstraintApiDTO
- type RemoveObjectApiDTO
- type ReplaceObjectApiDTO
- type ReplicationRole
- type RequestEditorFn
- type ReservedInstanceApiDTO
- type ReservedInstanceType
- type ResourceApiDTO
- type RoleApiDTO
- type RoleApiDTOName
- type ScenarioApiDTO
- type ScheduleApiDTO
- type SearchCountRecordApiDTO
- type SearchEntitiesJSONRequestBody
- type SearchEntitiesResp
- type SearchGroupsJSONRequestBody
- type SearchGroupsResp
- type SearchQueryRecordApiDTO
- type SelectEntityApiDTO
- type SelectGroupApiDTO
- type ServiceEntityApiDTO
- type ServiceEntityApiDTOSeverity
- type ServiceEntityApiDTOState
- type ServletConnection
- type ServletContext
- type ServletContextDefaultSessionTrackingModes
- type ServletContextEffectiveSessionTrackingModes
- type ServletContextSessionTrackingModes
- type ServletInputStream
- type ServletOutputStream
- type ServletRegistration
- type ServletRequest
- type ServletRequestDispatcherType
- type ServletResponse
- type SessionCookieConfig
- type SettingActivePolicyApiDTO
- type SettingApiDTO
- type SettingApiDTOSerializable
- type SettingApiDTOSerializableValueObjectType
- type SettingApiDTOString
- type SettingApiDTOStringValueObjectType
- type SettingApiDTOValueObjectType
- type SettingOptionApiDTO
- type SettingScope
- type SettingsManagerApiDTO
- type SettingsPolicyApiDTO
- type Staleness
- type StatApiDTO
- type StatCommoditySourceApiDTO
- type StatFilterApiDTO
- type StatHistUtilizationApiDTO
- type StatSnapshotApiDTO
- type StatValueApiDTO
- type StorageCompatibility
- type StorageUsageType
- type TaglibDescriptor
- type TargetApiDTO
- type TargetDetailLevel
- type TargetErrorDetailsApiDTO
- type TargetHealthApiDTO
- type TargetHealthSummaryApiDTO
- type TargetOperationStageApiDTO
- type TargetOperationStageStatusApiDTO
- type TargetOperationStageStatusApiDTOState
- type TargetRelationship
- type TargetStatusSubcategory
- type TargetSubtype
- type TargetType
- type TargetValidationStatus
- type TemplateApiDTO
- type TemplateApiDTODiscovered
- type Tenancy
- type TimeBasedTopologyChangesApiDTO
- type TopologyChangesApiDTO
- type Type
- type UnplacementDetailsApiDTO
- type UnplacementReasonApiDTO
- type UserApiDTO
- type UserApiDTOLoginProvider
- type UserApiDTOType
- type UtilizationApiDTO
- type VirtualDiskApiDTO
- type VirtualDiskApiDTOAttachmentState
- type VirtualDiskApiDTODiskRole
- type WhereApiDTO
- type WriteListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddTargetRequest ¶
func NewAddTargetRequest(server string, params *AddTargetParams, body AddTargetJSONRequestBody) (*http.Request, error)
NewAddTargetRequest calls the generic AddTarget builder with application/json body
func NewAddTargetRequestWithBody ¶
func NewAddTargetRequestWithBody(server string, params *AddTargetParams, contentType string, body io.Reader) (*http.Request, error)
NewAddTargetRequestWithBody generates requests for AddTarget with any type of body
func NewCountGroupsRequest ¶
func NewCountGroupsRequest(server string, body CountGroupsJSONRequestBody) (*http.Request, error)
NewCountGroupsRequest calls the generic CountGroups builder with application/json body
func NewCountGroupsRequestWithBody ¶
func NewCountGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCountGroupsRequestWithBody generates requests for CountGroups with any type of body
func NewCreateGroupRequest ¶
func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
NewCreateGroupRequest calls the generic CreateGroup builder with application/json body
func NewCreateGroupRequestWithBody ¶
func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGroupRequestWithBody generates requests for CreateGroup with any type of body
func NewDeleteGroupRequest ¶
NewDeleteGroupRequest generates requests for DeleteGroup
func NewDeleteTargetRequest ¶
NewDeleteTargetRequest generates requests for DeleteTarget
func NewEditGroupRequest ¶
func NewEditGroupRequest(server string, groupUuid string, body EditGroupJSONRequestBody) (*http.Request, error)
NewEditGroupRequest calls the generic EditGroup builder with application/json body
func NewEditGroupRequestWithBody ¶
func NewEditGroupRequestWithBody(server string, groupUuid string, contentType string, body io.Reader) (*http.Request, error)
NewEditGroupRequestWithBody generates requests for EditGroup with any type of body
func NewEditTargetRequest ¶
func NewEditTargetRequest(server string, targetUuid string, body EditTargetJSONRequestBody) (*http.Request, error)
NewEditTargetRequest calls the generic EditTarget builder with application/json body
func NewEditTargetRequestWithBody ¶
func NewEditTargetRequestWithBody(server string, targetUuid string, contentType string, body io.Reader) (*http.Request, error)
NewEditTargetRequestWithBody generates requests for EditTarget with any type of body
func NewExecuteOnTargetRequest ¶
func NewExecuteOnTargetRequest(server string, targetUuid string, params *ExecuteOnTargetParams) (*http.Request, error)
NewExecuteOnTargetRequest generates requests for ExecuteOnTarget
func NewGetEntitiesByGroupUuidRequest ¶
func NewGetEntitiesByGroupUuidRequest(server string, groupUuid string, params *GetEntitiesByGroupUuidParams) (*http.Request, error)
NewGetEntitiesByGroupUuidRequest generates requests for GetEntitiesByGroupUuid
func NewGetEntitiesByTargetUuidRequest ¶
func NewGetEntitiesByTargetUuidRequest(server string, targetUuid string, params *GetEntitiesByTargetUuidParams) (*http.Request, error)
NewGetEntitiesByTargetUuidRequest generates requests for GetEntitiesByTargetUuid
func NewGetEntitiesRequest ¶
NewGetEntitiesRequest generates requests for GetEntities
func NewGetEntityByUuidRequest ¶
func NewGetEntityByUuidRequest(server string, entityUuid string, params *GetEntityByUuidParams) (*http.Request, error)
NewGetEntityByUuidRequest generates requests for GetEntityByUuid
func NewGetGroupByUuidRequest ¶
func NewGetGroupByUuidRequest(server string, groupUuid string, params *GetGroupByUuidParams) (*http.Request, error)
NewGetGroupByUuidRequest generates requests for GetGroupByUuid
func NewGetGroupsRequest ¶
func NewGetGroupsRequest(server string, params *GetGroupsParams) (*http.Request, error)
NewGetGroupsRequest generates requests for GetGroups
func NewGetMembersByGroupUuidRequest ¶
func NewGetMembersByGroupUuidRequest(server string, groupUuid string, params *GetMembersByGroupUuidParams) (*http.Request, error)
NewGetMembersByGroupUuidRequest generates requests for GetMembersByGroupUuid
func NewGetTargetRequest ¶
func NewGetTargetRequest(server string, targetUuid string, params *GetTargetParams) (*http.Request, error)
NewGetTargetRequest generates requests for GetTarget
func NewGetTargetsRequest ¶
func NewGetTargetsRequest(server string, params *GetTargetsParams) (*http.Request, error)
NewGetTargetsRequest generates requests for GetTargets
func NewGroupFieldsRequest ¶
func NewGroupFieldsRequest(server string, body GroupFieldsJSONRequestBody) (*http.Request, error)
NewGroupFieldsRequest calls the generic GroupFields builder with application/json body
func NewGroupFieldsRequestWithBody ¶
func NewGroupFieldsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGroupFieldsRequestWithBody generates requests for GroupFields with any type of body
func NewSearchEntitiesRequest ¶
func NewSearchEntitiesRequest(server string, body SearchEntitiesJSONRequestBody) (*http.Request, error)
NewSearchEntitiesRequest calls the generic SearchEntities builder with application/json body
func NewSearchEntitiesRequestWithBody ¶
func NewSearchEntitiesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSearchEntitiesRequestWithBody generates requests for SearchEntities with any type of body
func NewSearchGroupsRequest ¶
func NewSearchGroupsRequest(server string, body SearchGroupsJSONRequestBody) (*http.Request, error)
NewSearchGroupsRequest calls the generic SearchGroups builder with application/json body
Types ¶
type AccountType ¶
type AccountType string
AccountType Account type
const ( AccountTypeGOVERNMENTUS AccountType = "GOVERNMENT_US" AccountTypeSTANDARD AccountType = "STANDARD" )
Defines values for AccountType.
func (AccountType) Valid ¶
func (e AccountType) Valid() bool
Valid indicates whether the value is a known member of the AccountType enum.
type ActionApiDTO ¶
type ActionApiDTO struct {
ActionID *int64 `json:"actionID,omitempty"`
// ActionImpactID The ID for the action, which will persist across restarts
ActionImpactID *int64 `json:"actionImpactID,omitempty"`
// ActionMode Action mode
ActionMode *ActionMode `json:"actionMode,omitempty"`
// ActionSchedule Model to describe a Action Schedule.
ActionSchedule *ActionScheduleApiDTO `json:"actionSchedule,omitempty"`
// ActionState Action state.
ActionState *ActionState `json:"actionState,omitempty"`
// ActionStateDescription Action state descriptions that provide a more granular description forActionState values
ActionStateDescription *ActionStateDescription `json:"actionStateDescription,omitempty"`
// ActionType Action type
ActionType *ActionType `json:"actionType,omitempty"`
ClassName *string `json:"className,omitempty"`
// ClearTime Execution time
ClearTime *string `json:"clearTime,omitempty"`
// CompoundActions Property for compound move actions
CompoundActions *[]ActionApiDTO `json:"compoundActions,omitempty"`
// CreateTime Creation time
CreateTime *string `json:"createTime,omitempty"`
// CurrentEntity Model to describe the parameters for creating a business unit.
CurrentEntity *ServiceEntityApiDTO `json:"currentEntity,omitempty"`
// CurrentLocation Model to describe a discovered entity in the system
CurrentLocation *DiscoveredEntityApiDTO `json:"currentLocation,omitempty"`
// CurrentValue Current value of a property, for example vMEM for a VM resize action
CurrentValue *string `json:"currentValue,omitempty"`
// Details A user-readable string describing the action
Details *string `json:"details,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntityCharacteristics Model to describe the db entity
EntityCharacteristics *DBEntityAspectApiDTO `json:"entityCharacteristics,omitempty"`
// ExecutionCharacteristics Model to describe an action execution characteristics
ExecutionCharacteristics *ActionExecutionCharacteristicApiDTO `json:"executionCharacteristics,omitempty"`
// ExecutionStatus Model to describe an Action Execution status.
ExecutionStatus *ActionExecutionAuditApiDTO `json:"executionStatus,omitempty"`
// ExternalActionName The name under which this action appears in third-party software or external approval backend
ExternalActionName *string `json:"externalActionName,omitempty"`
// ExternalActionUrl URL to third-party software showing this action. Suitable for external action approval
ExternalActionUrl *string `json:"externalActionUrl,omitempty"`
// Importance Numeric value that describes the priority of the action
Importance *float32 `json:"importance,omitempty"`
Links *[]Link `json:"links,omitempty"`
// MarketID The ID of the market for which the action was generated
MarketID *int64 `json:"marketID,omitempty"`
// NewEntity Model to describe the parameters for creating a business unit.
NewEntity *ServiceEntityApiDTO `json:"newEntity,omitempty"`
// NewLocation Model to describe a discovered entity in the system
NewLocation *DiscoveredEntityApiDTO `json:"newLocation,omitempty"`
// NewValue Calculated value to resize to, such as vMEM for a VM resize action
NewValue *string `json:"newValue,omitempty"`
// Policy Model to describe a Workload policy, used to manage the entities in the Environment.e.g. Restrict the number of VMs that can use a given datastore, Limit VM mobility by restricting a collection of VMs to a specified cluster or group of hosts, Expand VM mobility by merging a number of clusters, Keep workload running on hosts that have the required licenses
Policy *PolicyApiDTO `json:"policy,omitempty"`
// Prerequisites Description(s) of any prerequisite(s) that must occur before execution is possible. If this field is populated, the action would otherwise be executable but has been blocked by this prerequisite, and is displayed accordingly. If this field is not populated, no prerequisite has caused the action mode to be modified, and the action is displayed as normal.
Prerequisites *[]string `json:"prerequisites,omitempty"`
// PrioritizedAutomationOpportunities The Action is generated using the 'Prioritze Automation' setting,indicating that it is possible to have more savings if these opportunities are satisfied
PrioritizedAutomationOpportunities *[]string `json:"prioritizedAutomationOpportunities,omitempty"`
// Progress Moved the 'progress' percentage value inside 'executionStatus', available when action detail level is 'EXECUTION' - [DEPRECATED - Use: executionStatus.progress]
Progress *int32 `json:"progress,omitempty"`
// RelatedActionsCountByType [BETA]: Map of related actions count by relationship type that have some relation to this Action
RelatedActionsCountByType *map[string]int32 `json:"relatedActionsCountByType,omitempty"`
// RelatedSettingsPolicies The related settings policies associated with the action
RelatedSettingsPolicies *[]BaseApiDTO `json:"relatedSettingsPolicies,omitempty"`
// ReservedInstance Model to describe a Reserved Instance
ReservedInstance *ReservedInstanceApiDTO `json:"reservedInstance,omitempty"`
// ReservedInstancePlatform The platform of the recommended RI if the action has a supersaving
ReservedInstancePlatform *string `json:"reservedInstancePlatform,omitempty"`
// ResizeAttribute The commodity attribute to be resized
ResizeAttribute *ActionApiDTOResizeAttribute `json:"resizeAttribute,omitempty"`
// Risk Cause of the action
Risk *LogEntryApiDTO `json:"risk,omitempty"`
// Source Defines what generated this action.
Source *ActionApiDTOSource `json:"source,omitempty"`
// Stats Statistics, such as Mem, vCPU, costPrice
Stats *[]StatApiDTO `json:"stats,omitempty"`
// Target Model to describe the parameters for creating a business unit.
Target *ServiceEntityApiDTO `json:"target,omitempty"`
// Template Model to describe a Template: contains the resources used to Deploy a VM or to Add Workload/Supply in a Plan
Template *TemplateApiDTO `json:"template,omitempty"`
// UpdateTime Update time
UpdateTime *string `json:"updateTime,omitempty"`
// UserName Username of the user that accepted the action [DEPRECATED - Use: userInfo.userName in executionStatus.executorInfo]
UserName *string `json:"userName,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// ValueUnits Units of the currentValue and newValue, such as KB for a VM vMEM resize action
ValueUnits *string `json:"valueUnits,omitempty"`
// VirtualDisks Virtual Disk used for the action, for example in a storage move
VirtualDisks *[]VirtualDiskApiDTO `json:"virtualDisks,omitempty"`
}
ActionApiDTO Model to describe a Action
type ActionApiDTOResizeAttribute ¶
type ActionApiDTOResizeAttribute string
ActionApiDTOResizeAttribute The commodity attribute to be resized
const (
ActionApiDTOResizeAttributeCAPACITYLIMITRESERVATION ActionApiDTOResizeAttribute = "CAPACITY, LIMIT, RESERVATION"
)
Defines values for ActionApiDTOResizeAttribute.
func (ActionApiDTOResizeAttribute) Valid ¶
func (e ActionApiDTOResizeAttribute) Valid() bool
Valid indicates whether the value is a known member of the ActionApiDTOResizeAttribute enum.
type ActionApiDTOSource ¶
type ActionApiDTOSource string
ActionApiDTOSource Defines what generated this action.
const ( ActionApiDTOSourceBUYRI ActionApiDTOSource = "BUY_RI" ActionApiDTOSourceCLOUDOPTIMIZER ActionApiDTOSource = "CLOUD_OPTIMIZER" ActionApiDTOSourceMARKET ActionApiDTOSource = "MARKET" ActionApiDTOSourcePARKING ActionApiDTOSource = "PARKING" )
Defines values for ActionApiDTOSource.
func (ActionApiDTOSource) Valid ¶
func (e ActionApiDTOSource) Valid() bool
Valid indicates whether the value is a known member of the ActionApiDTOSource enum.
type ActionDisruptiveness ¶
type ActionDisruptiveness string
ActionDisruptiveness Action execution disruptiveness
const ( ActionDisruptivenessDISRUPTIVE ActionDisruptiveness = "DISRUPTIVE" ActionDisruptivenessNONDISRUPTIVE ActionDisruptiveness = "NON_DISRUPTIVE" )
Defines values for ActionDisruptiveness.
func (ActionDisruptiveness) Valid ¶
func (e ActionDisruptiveness) Valid() bool
Valid indicates whether the value is a known member of the ActionDisruptiveness enum.
type ActionExecutionAuditApiDTO ¶
type ActionExecutionAuditApiDTO struct {
// CompletionTime End of the execution time
CompletionTime *string `json:"completionTime,omitempty"`
// ExecutionTime Start of the execution time
ExecutionTime string `json:"executionTime"`
// ExecutorInfo Model to describe the entity that triggered action execution. such as a user or a schedule.
ExecutorInfo ExecutorInfoApiDTO `json:"executorInfo"`
// Message Status message, if the Action failed, it will contains the Error details
Message *string `json:"message,omitempty"`
// Progress Action execution progress value, from 0 to 100
Progress *int32 `json:"progress,omitempty"`
// State Action state.
State ActionState `json:"state"`
}
ActionExecutionAuditApiDTO Model to describe an Action Execution status.
type ActionExecutionCharacteristicApiDTO ¶
type ActionExecutionCharacteristicApiDTO struct {
// Disruptiveness Action execution disruptiveness
Disruptiveness ActionDisruptiveness `json:"disruptiveness"`
// Reversibility Action execution reversibility
Reversibility ActionReversibility `json:"reversibility"`
}
ActionExecutionCharacteristicApiDTO Model to describe an action execution characteristics
type ActionMode ¶
type ActionMode string
ActionMode Action mode
const ( ActionModeAUTOMATIC ActionMode = "AUTOMATIC" ActionModeCOLLECTION ActionMode = "COLLECTION" ActionModeDISABLED ActionMode = "DISABLED" ActionModeEXTERNALAPPROVAL ActionMode = "EXTERNAL_APPROVAL" ActionModeMANUAL ActionMode = "MANUAL" ActionModeRECOMMEND ActionMode = "RECOMMEND" )
Defines values for ActionMode.
func (ActionMode) Valid ¶
func (e ActionMode) Valid() bool
Valid indicates whether the value is a known member of the ActionMode enum.
type ActionReversibility ¶
type ActionReversibility string
ActionReversibility Action execution reversibility
const ( ActionReversibilityIRREVERSIBLE ActionReversibility = "IRREVERSIBLE" ActionReversibilityREVERSIBLE ActionReversibility = "REVERSIBLE" )
Defines values for ActionReversibility.
func (ActionReversibility) Valid ¶
func (e ActionReversibility) Valid() bool
Valid indicates whether the value is a known member of the ActionReversibility enum.
type ActionScheduleApiDTO ¶
type ActionScheduleApiDTO struct {
// AcceptedByUserForMaintenanceWindow Boolean signifying acceptance or rejection of the action.
AcceptedByUserForMaintenanceWindow *bool `json:"acceptedByUserForMaintenanceWindow,omitempty"`
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Mode Action mode
Mode *ActionMode `json:"mode,omitempty"`
// NextOccurrence The time of the next occurrence represented in ISO8601 local time (YYYY-MM-DDTHH:MM:SS). For example, 2019-04-04T19:15.
NextOccurrence *string `json:"nextOccurrence,omitempty"`
// NextOccurrenceTimestamp The time of the next occurence of this schedule represented in Timestamp in milliseconds. For example, 1562100619000
NextOccurrenceTimestamp *int64 `json:"nextOccurrenceTimestamp,omitempty"`
// RemaingTimeActiveInMs The amount of time that the schedule is going to be active at the time of call in milliseconds. This field will not be populated if the schedule is not currently active.
RemaingTimeActiveInMs *int64 `json:"remaingTimeActiveInMs,omitempty"`
TimeZone *string `json:"timeZone,omitempty"`
// TimeZoneId The timezone of the schedule
TimeZoneId *string `json:"timeZoneId,omitempty"`
// UserName The user who accepted the action for the maintenance window.
UserName *string `json:"userName,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ActionScheduleApiDTO Model to describe a Action Schedule.
type ActionState ¶
type ActionState string
ActionState Action state.
const ( ActionStateACCEPTED ActionState = "ACCEPTED" ActionStateACCOUNTING ActionState = "ACCOUNTING" ActionStateBEFOREEXEC ActionState = "BEFORE_EXEC" ActionStateBLOCKED ActionState = "BLOCKED" ActionStateCLEARED ActionState = "CLEARED" ActionStateDISABLED ActionState = "DISABLED" ActionStateFAILED ActionState = "FAILED" ActionStateFAILING ActionState = "FAILING" ActionStateINPROGRESS ActionState = "IN_PROGRESS" ActionStateINPROGRESSNONCRITICAL ActionState = "IN_PROGRESS_NON_CRITICAL" ActionStatePOSTINPROGRESS ActionState = "POST_IN_PROGRESS" ActionStatePREINPROGRESS ActionState = "PRE_IN_PROGRESS" ActionStateQUEUED ActionState = "QUEUED" ActionStateREADY ActionState = "READY" ActionStateREJECTED ActionState = "REJECTED" ActionStateSCHEDULED ActionState = "SCHEDULED" ActionStateSUCCEEDED ActionState = "SUCCEEDED" )
Defines values for ActionState.
func (ActionState) Valid ¶
func (e ActionState) Valid() bool
Valid indicates whether the value is a known member of the ActionState enum.
type ActionStateDescription ¶
type ActionStateDescription string
ActionStateDescription Action state descriptions that provide a more granular description forActionState values
const ( ActionStateDescriptionACCEPTEDSHOULDWAITFORSCHEDULE ActionStateDescription = "ACCEPTED_SHOULD_WAIT_FOR_SCHEDULE" ActionStateDescriptionAPPROVEDBUTBLOCKEDBYPREREQUISITES ActionStateDescription = "APPROVED_BUT_BLOCKED_BY_PREREQUISITES" ActionStateDescriptionAUTOACCEPTEDANDEXECUTEDONSCHEDULE ActionStateDescription = "AUTO_ACCEPTED_AND_EXECUTED_ON_SCHEDULE" ActionStateDescriptionBLOCKEDBYPOLICIES ActionStateDescription = "BLOCKED_BY_POLICIES" ActionStateDescriptionBLOCKEDBYPOLICYORSYSTEMSCHEDULEEXPIRED ActionStateDescription = "BLOCKED_BY_POLICY_OR_SYSTEM_SCHEDULE_EXPIRED" ActionStateDescriptionBLOCKEDBYPREREQUISITES ActionStateDescription = "BLOCKED_BY_PREREQUISITES" ActionStateDescriptionBLOCKEDBYRELATEDACTIONS ActionStateDescription = "BLOCKED_BY_RELATED_ACTIONS" ActionStateDescriptionBLOCKEDBYUNKNOWNRELATEDACTIONS ActionStateDescription = "BLOCKED_BY_UNKNOWN_RELATED_ACTIONS" ActionStateDescriptionDISABLEDBUYRI ActionStateDescription = "DISABLED_BUY_RI" ActionStateDescriptionDISABLEDUNKNOWNREASON ActionStateDescription = "DISABLED_UNKNOWN_REASON" ActionStateDescriptionREADYACCEPTANDEXECUTE ActionStateDescription = "READY_ACCEPT_AND_EXECUTE" ActionStateDescriptionREADYACCEPTANDWAITFORSCHEDULE ActionStateDescription = "READY_ACCEPT_AND_WAIT_FOR_SCHEDULE" ActionStateDescriptionREADYBYGRANTINGSTATEFILEACCESS ActionStateDescription = "READY_BY_GRANTING_STATEFILE_ACCESS" ActionStateDescriptionSCHEDULEDWAITINGFOREXTERNALAPPROVAL ActionStateDescription = "SCHEDULED_WAITING_FOR_EXTERNAL_APPROVAL" ActionStateDescriptionSCHEDULEDWAITINGFOREXTERNALAPPROVALIMMEDIATEEXECUTION ActionStateDescription = "SCHEDULED_WAITING_FOR_EXTERNAL_APPROVAL_IMMEDIATE_EXECUTION" )
Defines values for ActionStateDescription.
func (ActionStateDescription) Valid ¶
func (e ActionStateDescription) Valid() bool
Valid indicates whether the value is a known member of the ActionStateDescription enum.
type ActionType ¶
type ActionType string
ActionType Action type
const ( ActionTypeACTIVATE ActionType = "ACTIVATE" ActionTypeADDPROVIDER ActionType = "ADD_PROVIDER" ActionTypeALLOCATE ActionType = "ALLOCATE" ActionTypeBUYRI ActionType = "BUY_RI" ActionTypeCHANGE ActionType = "CHANGE" ActionTypeCROSSTARGETMOVE ActionType = "CROSS_TARGET_MOVE" ActionTypeDEACTIVATE ActionType = "DEACTIVATE" ActionTypeDELETE ActionType = "DELETE" ActionTypeGRANT ActionType = "GRANT" ActionTypeMOVE ActionType = "MOVE" ActionTypeMOVETOGETHER ActionType = "MOVE_TOGETHER" ActionTypeNONE ActionType = "NONE" ActionTypePROVISION ActionType = "PROVISION" ActionTypeRECONFIGURE ActionType = "RECONFIGURE" ActionTypeRECONFIGURETHRESHOLD ActionType = "RECONFIGURE_THRESHOLD" ActionTypeREMOVEPROVIDER ActionType = "REMOVE_PROVIDER" ActionTypeRESERVEONDS ActionType = "RESERVE_ON_DS" ActionTypeRESERVEONPM ActionType = "RESERVE_ON_PM" ActionTypeRESIZE ActionType = "RESIZE" ActionTypeRESIZECAPACITY ActionType = "RESIZE_CAPACITY" ActionTypeRESIZEFOREFFICIENCY ActionType = "RESIZE_FOR_EFFICIENCY" ActionTypeRESIZEFORPERFORMANCE ActionType = "RESIZE_FOR_PERFORMANCE" ActionTypeRIGHTSIZE ActionType = "RIGHT_SIZE" ActionTypeSCALE ActionType = "SCALE" ActionTypeSPAWN ActionType = "SPAWN" ActionTypeSTART ActionType = "START" ActionTypeSUSPEND ActionType = "SUSPEND" ActionTypeTERMINATE ActionType = "TERMINATE" ActionTypeWARN ActionType = "WARN" )
Defines values for ActionType.
func (ActionType) Valid ¶
func (e ActionType) Valid() bool
Valid indicates whether the value is a known member of the ActionType enum.
type AddObjectApiDTO ¶
type AddObjectApiDTO struct {
// Count How many times to apply the add change
Count *int32 `json:"count,omitempty"`
// ProjectionDays List of projection days, indicate when to apply the changes
ProjectionDays *[]int32 `json:"projectionDays,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
// TargetEntityType Type of entity to add from group target
TargetEntityType *string `json:"targetEntityType,omitempty"`
}
AddObjectApiDTO Model to describe an add change in the scenario
type AddTargetJSONRequestBody ¶
type AddTargetJSONRequestBody = TargetApiDTO
AddTargetJSONRequestBody defines body for AddTarget for application/json ContentType.
type AddTargetParams ¶
type AddTargetParams struct {
// Validate Validate all targets
Validate *bool `form:"validate,omitempty" json:"validate,omitempty"`
// Rediscover Rediscover all targets
Rediscover *bool `form:"rediscover,omitempty" json:"rediscover,omitempty"`
}
AddTargetParams defines parameters for AddTarget.
type AddTargetResp ¶
type AddTargetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TargetApiDTO
}
func ParseAddTargetResp ¶
func ParseAddTargetResp(rsp *http.Response) (*AddTargetResp, error)
ParseAddTargetResp parses an HTTP response from a AddTargetWithResponse call
func (AddTargetResp) ContentType ¶
func (r AddTargetResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddTargetResp) Status ¶
func (r AddTargetResp) Status() string
Status returns HTTPResponse.Status
func (AddTargetResp) StatusCode ¶
func (r AddTargetResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AsyncContext ¶
type AsyncContext struct {
Request *ServletRequest `json:"request,omitempty"`
Response *ServletResponse `json:"response,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
}
AsyncContext defines model for AsyncContext.
type AzureRIScopeType ¶
type AzureRIScopeType string
AzureRIScopeType RI Scope type
const ( AzureRIScopeTypeRESOURCEGROUP AzureRIScopeType = "RESOURCE_GROUP" AzureRIScopeTypeSHARED AzureRIScopeType = "SHARED" AzureRIScopeTypeSINGLE AzureRIScopeType = "SINGLE" AzureRIScopeTypeUNKNOWN AzureRIScopeType = "UNKNOWN" )
Defines values for AzureRIScopeType.
func (AzureRIScopeType) Valid ¶
func (e AzureRIScopeType) Valid() bool
Valid indicates whether the value is a known member of the AzureRIScopeType enum.
type BaseApiDTO ¶
type BaseApiDTO struct {
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
BaseApiDTO Basic information of an entity
type BaseCommodityApiDTO ¶
type BaseCommodityApiDTO struct {
// Key The specific commodity
Key *string `json:"key,omitempty"`
// Type Commodity types
Type CommodityType `json:"type"`
// Units The units in which the commodity is measured, if any
Units *string `json:"units,omitempty"`
}
BaseCommodityApiDTO Describes a commodity
type BusinessUnitApiDTO ¶
type BusinessUnitApiDTO struct {
// AccountId Account ID
AccountId *string `json:"accountId,omitempty"`
// AccountType Account type
AccountType *AccountType `json:"accountType,omitempty"`
// AssociatedTargetId Target associated with this account,if workloads related to this account are being discovered. If no workloads are discovered for this account, the associatedTargetId will be empty.
AssociatedTargetId *int64 `json:"associatedTargetId,omitempty"`
// Budget Model to describe a Statistic
Budget *StatApiDTO `json:"budget,omitempty"`
// BusinessUnitType Types of business units
BusinessUnitType *BusinessUnitType `json:"businessUnitType,omitempty"`
// ChildrenBusinessUnits UUIDs of the discovered children business units that will share the budget or discounts configuration of this business unit.
ChildrenBusinessUnits *[]string `json:"childrenBusinessUnits,omitempty"`
ClassName *string `json:"className,omitempty"`
// CloudType Cloud type
CloudType *CloudType `json:"cloudType,omitempty"`
// CostPrice Cost price per Hour
CostPrice *float32 `json:"costPrice,omitempty"`
// Discount Entity discount percentage
Discount *float32 `json:"discount,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Displayable Whether business unit is displayable or not
Displayable *bool `json:"displayable,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Master Flag which shows whether this account is master or not
Master *bool `json:"master,omitempty"`
// MemberType The type of service entities comprising the business unit
MemberType *string `json:"memberType,omitempty"`
// MembersCount Number of members of the business unit
MembersCount *int32 `json:"membersCount,omitempty"`
// PriceAdjustment Entity price adjustment percentage
PriceAdjustment *PriceAdjustmentDTO `json:"priceAdjustment,omitempty"`
// PricingIdentifiers Pricing idenifiers for the business unit
PricingIdentifiers *map[string]string `json:"pricingIdentifiers,omitempty"`
// ResourceGroupsCount The number of Resource Groups belonging to the business unit
ResourceGroupsCount *int32 `json:"resourceGroupsCount,omitempty"`
// RiSupported Flag which shows whether this account is RI supported
RiSupported *bool `json:"riSupported,omitempty"`
// Severity Calculated using the highest severity of the member entities
Severity *BusinessUnitApiDTOSeverity `json:"severity,omitempty"`
// Targets Targets associated with the business unit
Targets *[]TargetApiDTO `json:"targets,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
BusinessUnitApiDTO Model to describe the property of a business unit.
type BusinessUnitApiDTOSeverity ¶
type BusinessUnitApiDTOSeverity string
BusinessUnitApiDTOSeverity Calculated using the highest severity of the member entities
const ( BusinessUnitApiDTOSeverityCRITICAL BusinessUnitApiDTOSeverity = "CRITICAL" BusinessUnitApiDTOSeverityMAJOR BusinessUnitApiDTOSeverity = "MAJOR" BusinessUnitApiDTOSeverityMINOR BusinessUnitApiDTOSeverity = "MINOR" BusinessUnitApiDTOSeverityNORMAL BusinessUnitApiDTOSeverity = "NORMAL" BusinessUnitApiDTOSeverityUNKNOWN BusinessUnitApiDTOSeverity = "UNKNOWN" )
Defines values for BusinessUnitApiDTOSeverity.
func (BusinessUnitApiDTOSeverity) Valid ¶
func (e BusinessUnitApiDTOSeverity) Valid() bool
Valid indicates whether the value is a known member of the BusinessUnitApiDTOSeverity enum.
type BusinessUnitType ¶
type BusinessUnitType string
BusinessUnitType Types of business units
const ( BusinessUnitTypeBUDGET BusinessUnitType = "BUDGET" BusinessUnitTypeDISCOUNT BusinessUnitType = "DISCOUNT" BusinessUnitTypeDISCOVERED BusinessUnitType = "DISCOVERED" BusinessUnitTypePRICEADJUSTMENT BusinessUnitType = "PRICE_ADJUSTMENT" )
Defines values for BusinessUnitType.
func (BusinessUnitType) Valid ¶
func (e BusinessUnitType) Valid() bool
Valid indicates whether the value is a known member of the BusinessUnitType enum.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddTarget ¶
func (c *Client) AddTarget(ctx context.Context, params *AddTargetParams, body AddTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddTargetWithBody ¶
func (*Client) CountGroups ¶
func (c *Client) CountGroups(ctx context.Context, body CountGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CountGroupsWithBody ¶
func (*Client) CreateGroup ¶
func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGroupWithBody ¶
func (*Client) DeleteGroup ¶
func (*Client) DeleteTarget ¶
func (*Client) EditGroup ¶
func (c *Client) EditGroup(ctx context.Context, groupUuid string, body EditGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditGroupWithBody ¶
func (*Client) EditTarget ¶
func (c *Client) EditTarget(ctx context.Context, targetUuid string, body EditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditTargetWithBody ¶
func (*Client) ExecuteOnTarget ¶
func (c *Client) ExecuteOnTarget(ctx context.Context, targetUuid string, params *ExecuteOnTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEntities ¶
func (*Client) GetEntitiesByGroupUuid ¶
func (c *Client) GetEntitiesByGroupUuid(ctx context.Context, groupUuid string, params *GetEntitiesByGroupUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEntitiesByTargetUuid ¶
func (c *Client) GetEntitiesByTargetUuid(ctx context.Context, targetUuid string, params *GetEntitiesByTargetUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEntityByUuid ¶
func (c *Client) GetEntityByUuid(ctx context.Context, entityUuid string, params *GetEntityByUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGroupByUuid ¶
func (c *Client) GetGroupByUuid(ctx context.Context, groupUuid string, params *GetGroupByUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGroups ¶
func (c *Client) GetGroups(ctx context.Context, params *GetGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMembersByGroupUuid ¶
func (c *Client) GetMembersByGroupUuid(ctx context.Context, groupUuid string, params *GetMembersByGroupUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTarget ¶
func (c *Client) GetTarget(ctx context.Context, targetUuid string, params *GetTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTargets ¶
func (c *Client) GetTargets(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GroupFields ¶
func (c *Client) GroupFields(ctx context.Context, body GroupFieldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GroupFieldsWithBody ¶
func (*Client) SearchEntities ¶
func (c *Client) SearchEntities(ctx context.Context, body SearchEntitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchEntitiesWithBody ¶
func (*Client) SearchGroups ¶
func (c *Client) SearchGroups(ctx context.Context, body SearchGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetEntities request
GetEntities(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchEntitiesWithBody request with any body
SearchEntitiesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchEntities(ctx context.Context, body SearchEntitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntityByUuid request
GetEntityByUuid(ctx context.Context, entityUuid string, params *GetEntityByUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGroups request
GetGroups(ctx context.Context, params *GetGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGroupWithBody request with any body
CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchGroupsWithBody request with any body
SearchGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchGroups(ctx context.Context, body SearchGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CountGroupsWithBody request with any body
CountGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CountGroups(ctx context.Context, body CountGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GroupFieldsWithBody request with any body
GroupFieldsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GroupFields(ctx context.Context, body GroupFieldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGroup request
DeleteGroup(ctx context.Context, groupUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGroupByUuid request
GetGroupByUuid(ctx context.Context, groupUuid string, params *GetGroupByUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditGroupWithBody request with any body
EditGroupWithBody(ctx context.Context, groupUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditGroup(ctx context.Context, groupUuid string, body EditGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntitiesByGroupUuid request
GetEntitiesByGroupUuid(ctx context.Context, groupUuid string, params *GetEntitiesByGroupUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMembersByGroupUuid request
GetMembersByGroupUuid(ctx context.Context, groupUuid string, params *GetMembersByGroupUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargets request
GetTargets(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTargetWithBody request with any body
AddTargetWithBody(ctx context.Context, params *AddTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTarget(ctx context.Context, params *AddTargetParams, body AddTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTarget request
DeleteTarget(ctx context.Context, targetUuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTarget request
GetTarget(ctx context.Context, targetUuid string, params *GetTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteOnTarget request
ExecuteOnTarget(ctx context.Context, targetUuid string, params *ExecuteOnTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditTargetWithBody request with any body
EditTargetWithBody(ctx context.Context, targetUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditTarget(ctx context.Context, targetUuid string, body EditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntitiesByTargetUuid request
GetEntitiesByTargetUuid(ctx context.Context, targetUuid string, params *GetEntitiesByTargetUuidParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddTargetWithBodyWithResponse ¶
func (c *ClientWithResponses) AddTargetWithBodyWithResponse(ctx context.Context, params *AddTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTargetResp, error)
AddTargetWithBodyWithResponse request with arbitrary body returning *AddTargetResp
func (*ClientWithResponses) AddTargetWithResponse ¶
func (c *ClientWithResponses) AddTargetWithResponse(ctx context.Context, params *AddTargetParams, body AddTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTargetResp, error)
func (*ClientWithResponses) CountGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) CountGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CountGroupsResp, error)
CountGroupsWithBodyWithResponse request with arbitrary body returning *CountGroupsResp
func (*ClientWithResponses) CountGroupsWithResponse ¶
func (c *ClientWithResponses) CountGroupsWithResponse(ctx context.Context, body CountGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*CountGroupsResp, error)
func (*ClientWithResponses) CreateGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
CreateGroupWithBodyWithResponse request with arbitrary body returning *CreateGroupResp
func (*ClientWithResponses) CreateGroupWithResponse ¶
func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
func (*ClientWithResponses) DeleteGroupWithResponse ¶
func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, groupUuid string, reqEditors ...RequestEditorFn) (*DeleteGroupResp, error)
DeleteGroupWithResponse request returning *DeleteGroupResp
func (*ClientWithResponses) DeleteTargetWithResponse ¶
func (c *ClientWithResponses) DeleteTargetWithResponse(ctx context.Context, targetUuid string, reqEditors ...RequestEditorFn) (*DeleteTargetResp, error)
DeleteTargetWithResponse request returning *DeleteTargetResp
func (*ClientWithResponses) EditGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) EditGroupWithBodyWithResponse(ctx context.Context, groupUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditGroupResp, error)
EditGroupWithBodyWithResponse request with arbitrary body returning *EditGroupResp
func (*ClientWithResponses) EditGroupWithResponse ¶
func (c *ClientWithResponses) EditGroupWithResponse(ctx context.Context, groupUuid string, body EditGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*EditGroupResp, error)
func (*ClientWithResponses) EditTargetWithBodyWithResponse ¶
func (c *ClientWithResponses) EditTargetWithBodyWithResponse(ctx context.Context, targetUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTargetResp, error)
EditTargetWithBodyWithResponse request with arbitrary body returning *EditTargetResp
func (*ClientWithResponses) EditTargetWithResponse ¶
func (c *ClientWithResponses) EditTargetWithResponse(ctx context.Context, targetUuid string, body EditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTargetResp, error)
func (*ClientWithResponses) ExecuteOnTargetWithResponse ¶
func (c *ClientWithResponses) ExecuteOnTargetWithResponse(ctx context.Context, targetUuid string, params *ExecuteOnTargetParams, reqEditors ...RequestEditorFn) (*ExecuteOnTargetResp, error)
ExecuteOnTargetWithResponse request returning *ExecuteOnTargetResp
func (*ClientWithResponses) GetEntitiesByGroupUuidWithResponse ¶
func (c *ClientWithResponses) GetEntitiesByGroupUuidWithResponse(ctx context.Context, groupUuid string, params *GetEntitiesByGroupUuidParams, reqEditors ...RequestEditorFn) (*GetEntitiesByGroupUuidResp, error)
GetEntitiesByGroupUuidWithResponse request returning *GetEntitiesByGroupUuidResp
func (*ClientWithResponses) GetEntitiesByTargetUuidWithResponse ¶
func (c *ClientWithResponses) GetEntitiesByTargetUuidWithResponse(ctx context.Context, targetUuid string, params *GetEntitiesByTargetUuidParams, reqEditors ...RequestEditorFn) (*GetEntitiesByTargetUuidResp, error)
GetEntitiesByTargetUuidWithResponse request returning *GetEntitiesByTargetUuidResp
func (*ClientWithResponses) GetEntitiesWithResponse ¶
func (c *ClientWithResponses) GetEntitiesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntitiesResp, error)
GetEntitiesWithResponse request returning *GetEntitiesResp
func (*ClientWithResponses) GetEntityByUuidWithResponse ¶
func (c *ClientWithResponses) GetEntityByUuidWithResponse(ctx context.Context, entityUuid string, params *GetEntityByUuidParams, reqEditors ...RequestEditorFn) (*GetEntityByUuidResp, error)
GetEntityByUuidWithResponse request returning *GetEntityByUuidResp
func (*ClientWithResponses) GetGroupByUuidWithResponse ¶
func (c *ClientWithResponses) GetGroupByUuidWithResponse(ctx context.Context, groupUuid string, params *GetGroupByUuidParams, reqEditors ...RequestEditorFn) (*GetGroupByUuidResp, error)
GetGroupByUuidWithResponse request returning *GetGroupByUuidResp
func (*ClientWithResponses) GetGroupsWithResponse ¶
func (c *ClientWithResponses) GetGroupsWithResponse(ctx context.Context, params *GetGroupsParams, reqEditors ...RequestEditorFn) (*GetGroupsResp, error)
GetGroupsWithResponse request returning *GetGroupsResp
func (*ClientWithResponses) GetMembersByGroupUuidWithResponse ¶
func (c *ClientWithResponses) GetMembersByGroupUuidWithResponse(ctx context.Context, groupUuid string, params *GetMembersByGroupUuidParams, reqEditors ...RequestEditorFn) (*GetMembersByGroupUuidResp, error)
GetMembersByGroupUuidWithResponse request returning *GetMembersByGroupUuidResp
func (*ClientWithResponses) GetTargetWithResponse ¶
func (c *ClientWithResponses) GetTargetWithResponse(ctx context.Context, targetUuid string, params *GetTargetParams, reqEditors ...RequestEditorFn) (*GetTargetResp, error)
GetTargetWithResponse request returning *GetTargetResp
func (*ClientWithResponses) GetTargetsWithResponse ¶
func (c *ClientWithResponses) GetTargetsWithResponse(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*GetTargetsResp, error)
GetTargetsWithResponse request returning *GetTargetsResp
func (*ClientWithResponses) GroupFieldsWithBodyWithResponse ¶
func (c *ClientWithResponses) GroupFieldsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupFieldsResp, error)
GroupFieldsWithBodyWithResponse request with arbitrary body returning *GroupFieldsResp
func (*ClientWithResponses) GroupFieldsWithResponse ¶
func (c *ClientWithResponses) GroupFieldsWithResponse(ctx context.Context, body GroupFieldsJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupFieldsResp, error)
func (*ClientWithResponses) SearchEntitiesWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchEntitiesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchEntitiesResp, error)
SearchEntitiesWithBodyWithResponse request with arbitrary body returning *SearchEntitiesResp
func (*ClientWithResponses) SearchEntitiesWithResponse ¶
func (c *ClientWithResponses) SearchEntitiesWithResponse(ctx context.Context, body SearchEntitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchEntitiesResp, error)
func (*ClientWithResponses) SearchGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchGroupsResp, error)
SearchGroupsWithBodyWithResponse request with arbitrary body returning *SearchGroupsResp
func (*ClientWithResponses) SearchGroupsWithResponse ¶
func (c *ClientWithResponses) SearchGroupsWithResponse(ctx context.Context, body SearchGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchGroupsResp, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetEntitiesWithResponse request
GetEntitiesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntitiesResp, error)
// SearchEntitiesWithBodyWithResponse request with any body
SearchEntitiesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchEntitiesResp, error)
SearchEntitiesWithResponse(ctx context.Context, body SearchEntitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchEntitiesResp, error)
// GetEntityByUuidWithResponse request
GetEntityByUuidWithResponse(ctx context.Context, entityUuid string, params *GetEntityByUuidParams, reqEditors ...RequestEditorFn) (*GetEntityByUuidResp, error)
// GetGroupsWithResponse request
GetGroupsWithResponse(ctx context.Context, params *GetGroupsParams, reqEditors ...RequestEditorFn) (*GetGroupsResp, error)
// CreateGroupWithBodyWithResponse request with any body
CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResp, error)
// SearchGroupsWithBodyWithResponse request with any body
SearchGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchGroupsResp, error)
SearchGroupsWithResponse(ctx context.Context, body SearchGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchGroupsResp, error)
// CountGroupsWithBodyWithResponse request with any body
CountGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CountGroupsResp, error)
CountGroupsWithResponse(ctx context.Context, body CountGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*CountGroupsResp, error)
// GroupFieldsWithBodyWithResponse request with any body
GroupFieldsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GroupFieldsResp, error)
GroupFieldsWithResponse(ctx context.Context, body GroupFieldsJSONRequestBody, reqEditors ...RequestEditorFn) (*GroupFieldsResp, error)
// DeleteGroupWithResponse request
DeleteGroupWithResponse(ctx context.Context, groupUuid string, reqEditors ...RequestEditorFn) (*DeleteGroupResp, error)
// GetGroupByUuidWithResponse request
GetGroupByUuidWithResponse(ctx context.Context, groupUuid string, params *GetGroupByUuidParams, reqEditors ...RequestEditorFn) (*GetGroupByUuidResp, error)
// EditGroupWithBodyWithResponse request with any body
EditGroupWithBodyWithResponse(ctx context.Context, groupUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditGroupResp, error)
EditGroupWithResponse(ctx context.Context, groupUuid string, body EditGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*EditGroupResp, error)
// GetEntitiesByGroupUuidWithResponse request
GetEntitiesByGroupUuidWithResponse(ctx context.Context, groupUuid string, params *GetEntitiesByGroupUuidParams, reqEditors ...RequestEditorFn) (*GetEntitiesByGroupUuidResp, error)
// GetMembersByGroupUuidWithResponse request
GetMembersByGroupUuidWithResponse(ctx context.Context, groupUuid string, params *GetMembersByGroupUuidParams, reqEditors ...RequestEditorFn) (*GetMembersByGroupUuidResp, error)
// GetTargetsWithResponse request
GetTargetsWithResponse(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*GetTargetsResp, error)
// AddTargetWithBodyWithResponse request with any body
AddTargetWithBodyWithResponse(ctx context.Context, params *AddTargetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTargetResp, error)
AddTargetWithResponse(ctx context.Context, params *AddTargetParams, body AddTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTargetResp, error)
// DeleteTargetWithResponse request
DeleteTargetWithResponse(ctx context.Context, targetUuid string, reqEditors ...RequestEditorFn) (*DeleteTargetResp, error)
// GetTargetWithResponse request
GetTargetWithResponse(ctx context.Context, targetUuid string, params *GetTargetParams, reqEditors ...RequestEditorFn) (*GetTargetResp, error)
// ExecuteOnTargetWithResponse request
ExecuteOnTargetWithResponse(ctx context.Context, targetUuid string, params *ExecuteOnTargetParams, reqEditors ...RequestEditorFn) (*ExecuteOnTargetResp, error)
// EditTargetWithBodyWithResponse request with any body
EditTargetWithBodyWithResponse(ctx context.Context, targetUuid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditTargetResp, error)
EditTargetWithResponse(ctx context.Context, targetUuid string, body EditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*EditTargetResp, error)
// GetEntitiesByTargetUuidWithResponse request
GetEntitiesByTargetUuidWithResponse(ctx context.Context, targetUuid string, params *GetEntitiesByTargetUuidParams, reqEditors ...RequestEditorFn) (*GetEntitiesByTargetUuidResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloudType ¶
type CloudType string
CloudType Cloud type
type CommodityType ¶
type CommodityType string
CommodityType Commodity types
const ( CommodityTypeAccess CommodityType = "Access" CommodityTypeActionPermit CommodityType = "ActionPermit" CommodityTypeActiveSessions CommodityType = "ActiveSessions" CommodityTypeApplication CommodityType = "Application" CommodityTypeBallooning CommodityType = "Ballooning" CommodityTypeBiclique CommodityType = "Biclique" CommodityTypeBufferCommodity CommodityType = "BufferCommodity" CommodityTypeBurstBalance CommodityType = "BurstBalance" CommodityTypeCPU CommodityType = "CPU" CommodityTypeCPUAllocation CommodityType = "CPUAllocation" CommodityTypeCPUProvisioned CommodityType = "CPUProvisioned" CommodityTypeCPUReady CommodityType = "CPUReady" CommodityTypeCPURequestAllocation CommodityType = "CPURequestAllocation" CommodityTypeCarbon CommodityType = "Carbon" CommodityTypeCluster CommodityType = "Cluster" CommodityTypeCollectionTime CommodityType = "CollectionTime" CommodityTypeConcurrentQueries CommodityType = "ConcurrentQueries" CommodityTypeConnection CommodityType = "Connection" CommodityTypeCooling CommodityType = "Cooling" CommodityTypeCoreSpeed CommodityType = "CoreSpeed" CommodityTypeCoupon CommodityType = "Coupon" CommodityTypeCrossCloudMoveSVC CommodityType = "CrossCloudMoveSVC" CommodityTypeCrossClusterMoveSVC CommodityType = "CrossClusterMoveSVC" CommodityTypeDBCacheHitRate CommodityType = "DBCacheHitRate" CommodityTypeDBMem CommodityType = "DBMem" CommodityTypeDRSSegmentation CommodityType = "DRSSegmentation" CommodityTypeDSPMAccess CommodityType = "DSPMAccess" CommodityTypeDatacenter CommodityType = "Datacenter" CommodityTypeDatastore CommodityType = "Datastore" CommodityTypeDesiredCoupon CommodityType = "DesiredCoupon" CommodityTypeDiskArrayAccess CommodityType = "DiskArrayAccess" CommodityTypeEnergy CommodityType = "Energy" CommodityTypeExtent CommodityType = "Extent" CommodityTypeFlow CommodityType = "Flow" CommodityTypeFlowAllocation CommodityType = "FlowAllocation" CommodityTypeGPU CommodityType = "GPU" CommodityTypeGPURequest CommodityType = "GPURequest" CommodityTypeGPURequestQuota CommodityType = "GPURequestQuota" CommodityTypeGpuCount CommodityType = "GpuCount" CommodityTypeGpuFP16Engine CommodityType = "GpuFP16Engine" CommodityTypeGpuFP32Engine CommodityType = "GpuFP32Engine" CommodityTypeGpuFP64Engine CommodityType = "GpuFP64Engine" CommodityTypeGpuMem CommodityType = "GpuMem" CommodityTypeGpuMemAllocation CommodityType = "GpuMemAllocation" CommodityTypeGpuMemoryBandwidth CommodityType = "GpuMemoryBandwidth" CommodityTypeGpuTensorEngine CommodityType = "GpuTensorEngine" CommodityTypeHACommodity CommodityType = "HACommodity" CommodityTypeHardwareVersion CommodityType = "HardwareVersion" CommodityTypeHeap CommodityType = "Heap" CommodityTypeHostLunAccess CommodityType = "HostLunAccess" CommodityTypeHotStorage CommodityType = "HotStorage" CommodityTypeIOThroughput CommodityType = "IOThroughput" CommodityTypeImageCPU CommodityType = "ImageCPU" CommodityTypeImageMem CommodityType = "ImageMem" CommodityTypeImageStorage CommodityType = "ImageStorage" CommodityTypeInstanceDiskSize CommodityType = "InstanceDiskSize" CommodityTypeInstanceDiskType CommodityType = "InstanceDiskType" CommodityTypeIoThroughputHDBalancedReadWrite CommodityType = "IoThroughputHDBalancedReadWrite" CommodityTypeIoThroughputOverallVMMaxRead CommodityType = "IoThroughputOverallVMMaxRead" CommodityTypeIoThroughputOverallVMMaxReadWrite CommodityType = "IoThroughputOverallVMMaxReadWrite" CommodityTypeIoThroughputOverallVMMaxWrite CommodityType = "IoThroughputOverallVMMaxWrite" CommodityTypeLLMCache CommodityType = "LLMCache" CommodityTypeLabel CommodityType = "Label" CommodityTypeLicenseAccess CommodityType = "LicenseAccess" CommodityTypeLicenseCommodity CommodityType = "LicenseCommodity" CommodityTypeLogicalBlockSizeAccessCommodity CommodityType = "LogicalBlockSizeAccessCommodity" CommodityTypeMem CommodityType = "Mem" CommodityTypeMemAllocation CommodityType = "MemAllocation" CommodityTypeMemProvisioned CommodityType = "MemProvisioned" CommodityTypeMemRequestAllocation CommodityType = "MemRequestAllocation" CommodityTypeMove CommodityType = "Move" CommodityTypeNetThroughput CommodityType = "NetThroughput" CommodityTypeNetwork CommodityType = "Network" CommodityTypeNetworkInterfaceCount CommodityType = "NetworkInterfaceCount" CommodityTypeNetworkPolicy CommodityType = "NetworkPolicy" CommodityTypeNumDisk CommodityType = "NumDisk" CommodityTypeNumVCore CommodityType = "NumVCore" CommodityTypeNumberConsumers CommodityType = "NumberConsumers" CommodityTypeNumberConsumersPM CommodityType = "NumberConsumersPM" CommodityTypeNumberConsumersStorage CommodityType = "NumberConsumersStorage" CommodityTypeNumberReplicas CommodityType = "NumberReplicas" CommodityTypePeerToPeerAffinity CommodityType = "PeerToPeerAffinity" CommodityTypePeerToPeerAntiAffinity CommodityType = "PeerToPeerAntiAffinity" CommodityTypePoolCPU CommodityType = "PoolCPU" CommodityTypePoolMem CommodityType = "PoolMem" CommodityTypePoolStorage CommodityType = "PoolStorage" CommodityTypePortChannel CommodityType = "PortChannel" CommodityTypePower CommodityType = "Power" CommodityTypePowerCapabilityAccessCommodity CommodityType = "PowerCapabilityAccessCommodity" CommodityTypeProcessingUnits CommodityType = "ProcessingUnits" CommodityTypeProcessingUnitsProvisioned CommodityType = "ProcessingUnitsProvisioned" CommodityTypeQ16VCPU CommodityType = "Q16VCPU" CommodityTypeQ1VCPU CommodityType = "Q1VCPU" CommodityTypeQ2VCPU CommodityType = "Q2VCPU" CommodityTypeQ32VCPU CommodityType = "Q32VCPU" CommodityTypeQ3VCPU CommodityType = "Q3VCPU" CommodityTypeQ4VCPU CommodityType = "Q4VCPU" CommodityTypeQ5VCPU CommodityType = "Q5VCPU" CommodityTypeQ64VCPU CommodityType = "Q64VCPU" CommodityTypeQ6VCPU CommodityType = "Q6VCPU" CommodityTypeQ7VCPU CommodityType = "Q7VCPU" CommodityTypeQ8VCPU CommodityType = "Q8VCPU" CommodityTypeQNVCPU CommodityType = "QNVCPU" CommodityTypeQueuingTime CommodityType = "QueuingTime" CommodityTypeRaidHosts CommodityType = "RaidHosts" CommodityTypeResponseTime CommodityType = "ResponseTime" CommodityTypeRightsizeDown CommodityType = "RightsizeDown" CommodityTypeRightsizeSVC CommodityType = "RightsizeSVC" CommodityTypeRightsizeUp CommodityType = "RightsizeUp" CommodityTypeSLACommodity CommodityType = "SLACommodity" CommodityTypeSameClusterMoveSVC CommodityType = "SameClusterMoveSVC" CommodityTypeSegmentation CommodityType = "Segmentation" CommodityTypeServiceLevelCluster CommodityType = "ServiceLevelCluster" CommodityTypeServiceTime CommodityType = "ServiceTime" CommodityTypeSoftwareLicenseCommodity CommodityType = "SoftwareLicenseCommodity" CommodityTypeSpace CommodityType = "Space" CommodityTypeStorage CommodityType = "Storage" CommodityTypeStorageAccess CommodityType = "StorageAccess" CommodityTypeStorageAccessHDBalancedReadWrite CommodityType = "StorageAccessHDBalancedReadWrite" CommodityTypeStorageAccessOverallVMMaxRead CommodityType = "StorageAccessOverallVMMaxRead" CommodityTypeStorageAccessOverallVMMaxReadWrite CommodityType = "StorageAccessOverallVMMaxReadWrite" CommodityTypeStorageAccessOverallVMMaxWrite CommodityType = "StorageAccessOverallVMMaxWrite" CommodityTypeStorageAllocation CommodityType = "StorageAllocation" CommodityTypeStorageAmount CommodityType = "StorageAmount" CommodityTypeStorageCluster CommodityType = "StorageCluster" CommodityTypeStorageLatency CommodityType = "StorageLatency" CommodityTypeStorageProvisioned CommodityType = "StorageProvisioned" CommodityTypeSwapping CommodityType = "Swapping" CommodityTypeTaint CommodityType = "Taint" CommodityTypeTemplateAccess CommodityType = "TemplateAccess" CommodityTypeTenancyAccess CommodityType = "TenancyAccess" CommodityTypeThreads CommodityType = "Threads" CommodityTypeTransaction CommodityType = "Transaction" CommodityTypeTransactionLog CommodityType = "TransactionLog" CommodityTypeUnknown CommodityType = "Unknown" CommodityTypeVAppAccess CommodityType = "VAppAccess" CommodityTypeVCPU CommodityType = "VCPU" CommodityTypeVCPULimitQuota CommodityType = "VCPULimitQuota" CommodityTypeVCPURequest CommodityType = "VCPURequest" CommodityTypeVCPURequestQuota CommodityType = "VCPURequestQuota" CommodityTypeVDC CommodityType = "VDC" CommodityTypeVGPUCompute CommodityType = "VGPUCompute" CommodityTypeVGPUMem CommodityType = "VGPUMem" CommodityTypeVMPMAccess CommodityType = "VMPMAccess" CommodityTypeVMem CommodityType = "VMem" CommodityTypeVMemLimitQuota CommodityType = "VMemLimitQuota" CommodityTypeVMemRequest CommodityType = "VMemRequest" CommodityTypeVMemRequestQuota CommodityType = "VMemRequestQuota" CommodityTypeVStorage CommodityType = "VStorage" CommodityTypeVirtualProcessors CommodityType = "VirtualProcessors" CommodityTypeZone CommodityType = "Zone" )
Defines values for CommodityType.
func (CommodityType) Valid ¶
func (e CommodityType) Valid() bool
Valid indicates whether the value is a known member of the CommodityType enum.
type ConditionApiDTO ¶
type ConditionApiDTO struct {
// ConditionType Condition types.
ConditionType Type `json:"conditionType"`
Field FieldApiDTO `json:"field"`
// Operator Operators.
Operator Operator `json:"operator"`
}
ConditionApiDTO defines model for ConditionApiDTO.
type ConfigChangesApiDTO ¶
type ConfigChangesApiDTO struct {
// AddPolicyList List of Placement Policies to add
AddPolicyList *[]PolicyApiDTO `json:"addPolicyList,omitempty"`
// AutomationSettingList List of automation settings
AutomationSettingList *[]SettingApiDTOString `json:"automationSettingList,omitempty"`
// IncludedCoupons Included RI/Coupon and related information in the scenario
IncludedCoupons *IncludedCouponsApiDTO `json:"includedCoupons,omitempty"`
// OsMigrationSettingList List of OS migration settings
OsMigrationSettingList *[]SettingApiDTOString `json:"osMigrationSettingList,omitempty"`
// RemoveAutomationPolicyList List of Automation Policies to remove
RemoveAutomationPolicyList *[]SettingsPolicyApiDTO `json:"removeAutomationPolicyList,omitempty"`
// RemoveConstraintList List of constraints to remove
RemoveConstraintList *[]RemoveConstraintApiDTO `json:"removeConstraintList,omitempty"`
// RemovePolicyList List of Placement Policies to remove
RemovePolicyList *[]PolicyApiDTO `json:"removePolicyList,omitempty"`
// RespectActionModeSetting Respect action mode settings in the automation policy
RespectActionModeSetting *bool `json:"respectActionModeSetting,omitempty"`
// RiSettingList List of Reserved Instance settings
RiSettingList *[]SettingApiDTO `json:"riSettingList,omitempty"`
// Subscription Model to describe the property of a business unit.
Subscription *BusinessUnitApiDTO `json:"subscription,omitempty"`
}
ConfigChangesApiDTO Policies and Settings changes in the scenario
type ConstraintType ¶
type ConstraintType string
ConstraintType Constraint type
const ( ConstraintTypeAllCommodities ConstraintType = "AllCommodities" ConstraintTypeClusterCommodity ConstraintType = "ClusterCommodity" ConstraintTypeDataCenterCommodity ConstraintType = "DataCenterCommodity" ConstraintTypeDatastoreCommodity ConstraintType = "DatastoreCommodity" ConstraintTypeGlobalIgnoreConstraint ConstraintType = "GlobalIgnoreConstraint" ConstraintTypeNetworkCommodity ConstraintType = "NetworkCommodity" ConstraintTypeStorageClusterCommodity ConstraintType = "StorageClusterCommodity" )
Defines values for ConstraintType.
func (ConstraintType) Valid ¶
func (e ConstraintType) Valid() bool
Valid indicates whether the value is a known member of the ConstraintType enum.
type CountGroupsJSONRequestBody ¶
type CountGroupsJSONRequestBody = GroupCountRequestApiDTO
CountGroupsJSONRequestBody defines body for CountGroups for application/json ContentType.
type CountGroupsResp ¶
type CountGroupsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SearchCountRecordApiDTO
}
func ParseCountGroupsResp ¶
func ParseCountGroupsResp(rsp *http.Response) (*CountGroupsResp, error)
ParseCountGroupsResp parses an HTTP response from a CountGroupsWithResponse call
func (CountGroupsResp) ContentType ¶
func (r CountGroupsResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CountGroupsResp) Status ¶
func (r CountGroupsResp) Status() string
Status returns HTTPResponse.Status
func (CountGroupsResp) StatusCode ¶
func (r CountGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGroupJSONRequestBody ¶
type CreateGroupJSONRequestBody = GroupApiDTO
CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
type CreateGroupResp ¶
type CreateGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupApiDTO
}
func ParseCreateGroupResp ¶
func ParseCreateGroupResp(rsp *http.Response) (*CreateGroupResp, error)
ParseCreateGroupResp parses an HTTP response from a CreateGroupWithResponse call
func (CreateGroupResp) ContentType ¶
func (r CreateGroupResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateGroupResp) Status ¶
func (r CreateGroupResp) Status() string
Status returns HTTPResponse.Status
func (CreateGroupResp) StatusCode ¶
func (r CreateGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DBEntityAspectApiDTO ¶
type DBEntityAspectApiDTO struct {
BackupPolicy *string `json:"backupPolicy,omitempty"`
ComputeTier *string `json:"computeTier,omitempty"`
// CreationTimeStamp Timestamp in milliseconds for the creation of the database.
CreationTimeStamp *int64 `json:"creationTimeStamp,omitempty"`
// DbEdition The Database edition
DbEdition *string `json:"dbEdition,omitempty"`
// DbEngine The Database engine
DbEngine *string `json:"dbEngine,omitempty"`
// DbServerName The server name of a database
DbServerName *string `json:"dbServerName,omitempty"`
// DbVersion The Database engine version
DbVersion *string `json:"dbVersion,omitempty"`
// DeploymentType The deployment type of the database engine
DeploymentType *string `json:"deploymentType,omitempty"`
HardwareGeneration *string `json:"hardwareGeneration,omitempty"`
IdleTime *int64 `json:"idleTime,omitempty"`
// LicenseModel The license model of the database engine
LicenseModel *string `json:"licenseModel,omitempty"`
// MaxConcurrentSessions Maximum concurrent sessions allowed for the DB
MaxConcurrentSessions *int32 `json:"maxConcurrentSessions,omitempty"`
// MaxConcurrentWorkers Maximum concurrent workers allowed for the DB
MaxConcurrentWorkers *int32 `json:"maxConcurrentWorkers,omitempty"`
PoolType *string `json:"poolType,omitempty"`
// PricingModel Database Pricing Model.
PricingModel *DatabasePricingModel `json:"pricingModel,omitempty"`
// ReplicationRole Replication Role
ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"`
// ResourceId Resource identifier of the database. For example, the resource id in Azure, the ARN in AWS, or the full resource name in GCP.
ResourceId *string `json:"resourceId,omitempty"`
// ServerConfiguration The Database server configuration
ServerConfiguration *string `json:"serverConfiguration,omitempty"`
// ServiceTier Database Service Tier.
ServiceTier *DatabaseServiceTier `json:"serviceTier,omitempty"`
Sli *[]string `json:"sli,omitempty"`
// StorageTier Storage Tier
StorageTier *string `json:"storageTier,omitempty"`
// Type type
Type string `json:"type"`
Workspace *string `json:"workspace,omitempty"`
}
DBEntityAspectApiDTO defines model for DBEntityAspectApiDTO.
type DatabasePricingModel ¶
type DatabasePricingModel string
DatabasePricingModel Database Pricing Model.
const ( DatabasePricingModelDTU DatabasePricingModel = "DTU" DatabasePricingModelDWU DatabasePricingModel = "DWU" DatabasePricingModelRU DatabasePricingModel = "RU" DatabasePricingModelVCore DatabasePricingModel = "vCore" )
Defines values for DatabasePricingModel.
func (DatabasePricingModel) Valid ¶
func (e DatabasePricingModel) Valid() bool
Valid indicates whether the value is a known member of the DatabasePricingModel enum.
type DatabaseServiceTier ¶
type DatabaseServiceTier string
DatabaseServiceTier Database Service Tier.
const ( DatabaseServiceTierBasic DatabaseServiceTier = "Basic" DatabaseServiceTierBusinessCritical DatabaseServiceTier = "BusinessCritical" DatabaseServiceTierFree DatabaseServiceTier = "Free" DatabaseServiceTierGeneralPurpose DatabaseServiceTier = "GeneralPurpose" DatabaseServiceTierHyperscale DatabaseServiceTier = "Hyperscale" DatabaseServiceTierPremium DatabaseServiceTier = "Premium" DatabaseServiceTierStandard DatabaseServiceTier = "Standard" )
Defines values for DatabaseServiceTier.
func (DatabaseServiceTier) Valid ¶
func (e DatabaseServiceTier) Valid() bool
Valid indicates whether the value is a known member of the DatabaseServiceTier enum.
type DayOfWeek ¶
type DayOfWeek string
DayOfWeek Day of week
type DeleteGroupResp ¶
func ParseDeleteGroupResp ¶
func ParseDeleteGroupResp(rsp *http.Response) (*DeleteGroupResp, error)
ParseDeleteGroupResp parses an HTTP response from a DeleteGroupWithResponse call
func (DeleteGroupResp) ContentType ¶
func (r DeleteGroupResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteGroupResp) Status ¶
func (r DeleteGroupResp) Status() string
Status returns HTTPResponse.Status
func (DeleteGroupResp) StatusCode ¶
func (r DeleteGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTargetResp ¶
func ParseDeleteTargetResp ¶
func ParseDeleteTargetResp(rsp *http.Response) (*DeleteTargetResp, error)
ParseDeleteTargetResp parses an HTTP response from a DeleteTargetWithResponse call
func (DeleteTargetResp) ContentType ¶
func (r DeleteTargetResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTargetResp) Status ¶
func (r DeleteTargetResp) Status() string
Status returns HTTPResponse.Status
func (DeleteTargetResp) StatusCode ¶
func (r DeleteTargetResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeploymentProfileApiDTO ¶
type DeploymentProfileApiDTO struct {
// Account Basic information of an entity
Account *BaseApiDTO `json:"account,omitempty"`
ClassName *string `json:"className,omitempty"`
// DeployParameters Target and Provider parameters of the Deployment Profile
DeployParameters *[]DeploymentProfileTargetApiDTO `json:"deployParameters,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
DeploymentProfileApiDTO Model to describe a Deployment Profile, including target and provider entity parameters
type DeploymentProfileParamApiDTO ¶
type DeploymentProfileParamApiDTO struct {
// ParameterType Parameter type. For vCenter, this can be a folder, osConfiguration, or image. For all other technologies, this must be an image.
ParameterType *DeploymentProfileParamApiDTOParameterType `json:"parameterType,omitempty"`
// Properties A NameValueInputDTO describing the name and value of the parameter.
Properties *[]NameValueInputDTO `json:"properties,omitempty"`
}
DeploymentProfileParamApiDTO Provider-specific Deployment Profile parameters
type DeploymentProfileParamApiDTOParameterType ¶
type DeploymentProfileParamApiDTOParameterType string
DeploymentProfileParamApiDTOParameterType Parameter type. For vCenter, this can be a folder, osConfiguration, or image. For all other technologies, this must be an image.
const ( DeploymentProfileParamApiDTOParameterTypeFolder DeploymentProfileParamApiDTOParameterType = "folder" DeploymentProfileParamApiDTOParameterTypeImage DeploymentProfileParamApiDTOParameterType = "image" DeploymentProfileParamApiDTOParameterTypeOsConfiguration DeploymentProfileParamApiDTOParameterType = "osConfiguration" )
Defines values for DeploymentProfileParamApiDTOParameterType.
func (DeploymentProfileParamApiDTOParameterType) Valid ¶
func (e DeploymentProfileParamApiDTOParameterType) Valid() bool
Valid indicates whether the value is a known member of the DeploymentProfileParamApiDTOParameterType enum.
type DeploymentProfileProviderApiDTO ¶
type DeploymentProfileProviderApiDTO struct {
// Parameters A DeploymentProfileParamApiDTO describing the parameters for the provider entities
Parameters *[]DeploymentProfileParamApiDTO `json:"parameters,omitempty"`
// Provider Basic information of an entity
Provider *BaseApiDTO `json:"provider,omitempty"`
}
DeploymentProfileProviderApiDTO Deployment profile Provider properties
type DeploymentProfileTargetApiDTO ¶
type DeploymentProfileTargetApiDTO struct {
// Providers DeploymentProfileProviderApiInputDTO describing the provider entity parameters
Providers *[]DeploymentProfileProviderApiDTO `json:"providers,omitempty"`
// TargetType Target type for the deployment profile
TargetType *DeploymentProfileTargetApiDTOTargetType `json:"targetType,omitempty"`
}
DeploymentProfileTargetApiDTO Deployment Profile Target properties
type DeploymentProfileTargetApiDTOTargetType ¶
type DeploymentProfileTargetApiDTOTargetType string
DeploymentProfileTargetApiDTOTargetType Target type for the deployment profile
const ( DeploymentProfileTargetApiDTOTargetTypeAWS DeploymentProfileTargetApiDTOTargetType = "AWS" DeploymentProfileTargetApiDTOTargetTypeAzure DeploymentProfileTargetApiDTOTargetType = "Azure" DeploymentProfileTargetApiDTOTargetTypeSoftlayer DeploymentProfileTargetApiDTOTargetType = "Softlayer" DeploymentProfileTargetApiDTOTargetTypeVCenter DeploymentProfileTargetApiDTOTargetType = "vCenter" )
Defines values for DeploymentProfileTargetApiDTOTargetType.
func (DeploymentProfileTargetApiDTOTargetType) Valid ¶
func (e DeploymentProfileTargetApiDTOTargetType) Valid() bool
Valid indicates whether the value is a known member of the DeploymentProfileTargetApiDTOTargetType enum.
type DestinationEntityType ¶
type DestinationEntityType string
DestinationEntityType Destination entity type
const ( DestinationEntityTypeDatabaseServer DestinationEntityType = "DatabaseServer" DestinationEntityTypeVirtualMachine DestinationEntityType = "VirtualMachine" DestinationEntityTypeWorkloadController DestinationEntityType = "WorkloadController" )
Defines values for DestinationEntityType.
func (DestinationEntityType) Valid ¶
func (e DestinationEntityType) Valid() bool
Valid indicates whether the value is a known member of the DestinationEntityType enum.
type DiscoveredEntityApiDTO ¶
type DiscoveredEntityApiDTO struct {
ClassName *string `json:"className,omitempty"`
// DiscoveredBy Model to describe a Target. Targets are used to discover the components to create a connected virtual environment
DiscoveredBy *TargetApiDTO `json:"discoveredBy,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
Links *[]Link `json:"links,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// VendorIds The mapping of target identifier to vendor-provided identity of this entity on the remote target
VendorIds *map[string]string `json:"vendorIds,omitempty"`
}
DiscoveredEntityApiDTO Model to describe a discovered entity in the system
type EditGroupJSONRequestBody ¶
type EditGroupJSONRequestBody = GroupApiDTO
EditGroupJSONRequestBody defines body for EditGroup for application/json ContentType.
type EditGroupResp ¶
type EditGroupResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupApiDTO
}
func ParseEditGroupResp ¶
func ParseEditGroupResp(rsp *http.Response) (*EditGroupResp, error)
ParseEditGroupResp parses an HTTP response from a EditGroupWithResponse call
func (EditGroupResp) ContentType ¶
func (r EditGroupResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditGroupResp) Status ¶
func (r EditGroupResp) Status() string
Status returns HTTPResponse.Status
func (EditGroupResp) StatusCode ¶
func (r EditGroupResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditTargetJSONRequestBody ¶
type EditTargetJSONRequestBody = TargetApiDTO
EditTargetJSONRequestBody defines body for EditTarget for application/json ContentType.
type EditTargetResp ¶
type EditTargetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TargetApiDTO
}
func ParseEditTargetResp ¶
func ParseEditTargetResp(rsp *http.Response) (*EditTargetResp, error)
ParseEditTargetResp parses an HTTP response from a EditTargetWithResponse call
func (EditTargetResp) ContentType ¶
func (r EditTargetResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditTargetResp) Status ¶
func (r EditTargetResp) Status() string
Status returns HTTPResponse.Status
func (EditTargetResp) StatusCode ¶
func (r EditTargetResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EntityAspect ¶
type EntityAspect struct {
Sli *[]string `json:"sli,omitempty"`
// Type type
Type string `json:"type"`
}
EntityAspect Parent class for entity aspects
type EntityCostApiDTO ¶
type EntityCostApiDTO struct {
// CostType Type of the Cost
CostType *string `json:"costType,omitempty"`
// CostUnit Unit of the Cost
CostUnit *string `json:"costUnit,omitempty"`
Currency *int32 `json:"currency,omitempty"`
// HairCutRatio The hair cut ratio, it represents the portion of cost will be taken into consideration
HairCutRatio *float32 `json:"hairCutRatio,omitempty"`
// SubCosts List of sub costs of the current cost
SubCosts *[]EntityCostApiDTO `json:"subCosts,omitempty"`
// Value The cost value
Value *float32 `json:"value,omitempty"`
}
EntityCostApiDTO Model to describe the Costs of an entity
type EntityQueryApiDTO ¶
type EntityQueryApiDTO struct {
Pagination *PaginationApiDTO `json:"pagination,omitempty"`
Select SelectEntityApiDTO `json:"select"`
Where *WhereApiDTO `json:"where,omitempty"`
}
EntityQueryApiDTO defines model for EntityQueryApiDTO.
type EntityStatsApiDTO ¶
type EntityStatsApiDTO struct {
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// RealtimeMarketReference Basic information of an entity
RealtimeMarketReference *BaseApiDTO `json:"realtimeMarketReference,omitempty"`
// Stats Collected monitoring statistics
Stats *[]StatSnapshotApiDTO `json:"stats,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
EntityStatsApiDTO Basic informations of an entity + statistics
type EntityType ¶
type EntityType string
EntityType Entity types allowed in API
const ( EntityTypeApplication EntityType = "Application" EntityTypeApplicationComponent EntityType = "ApplicationComponent" EntityTypeApplicationComponentSpec EntityType = "ApplicationComponentSpec" EntityTypeApplicationServer EntityType = "ApplicationServer" EntityTypeAvailabilityZone EntityType = "AvailabilityZone" EntityTypeBusinessAccount EntityType = "BusinessAccount" EntityTypeBusinessApplication EntityType = "BusinessApplication" EntityTypeBusinessTransaction EntityType = "BusinessTransaction" EntityTypeBusinessUser EntityType = "BusinessUser" EntityTypeChassis EntityType = "Chassis" EntityTypeCloudCommitment EntityType = "CloudCommitment" EntityTypeCloudService EntityType = "CloudService" EntityTypeComputeTier EntityType = "ComputeTier" EntityTypeContainer EntityType = "Container" EntityTypeContainerPlatformCluster EntityType = "ContainerPlatformCluster" EntityTypeContainerPod EntityType = "ContainerPod" EntityTypeContainerSpec EntityType = "ContainerSpec" EntityTypeDPod EntityType = "DPod" EntityTypeDataCenter EntityType = "DataCenter" EntityTypeDataWarehouse EntityType = "DataWarehouse" EntityTypeDataWarehouseTier EntityType = "DataWarehouseTier" EntityTypeDatabase EntityType = "Database" EntityTypeDatabaseServer EntityType = "DatabaseServer" EntityTypeDatabaseServerTier EntityType = "DatabaseServerTier" EntityTypeDatabaseTier EntityType = "DatabaseTier" EntityTypeDesktopPool EntityType = "DesktopPool" EntityTypeDiskArray EntityType = "DiskArray" EntityTypeDocumentCollection EntityType = "DocumentCollection" EntityTypeHCIPhysicalMachine EntityType = "HCIPhysicalMachine" EntityTypeHypervisorServer EntityType = "HypervisorServer" EntityTypeIOModule EntityType = "IOModule" EntityTypeInternet EntityType = "Internet" EntityTypeLoadBalancer EntityType = "LoadBalancer" EntityTypeLogicalPool EntityType = "LogicalPool" EntityTypeNamespace EntityType = "Namespace" EntityTypeNetwork EntityType = "Network" EntityTypeNodeGroup EntityType = "NodeGroup" EntityTypePhysicalMachine EntityType = "PhysicalMachine" EntityTypePowerVMPhysicalMachine EntityType = "PowerVMPhysicalMachine" EntityTypeProcessorPool EntityType = "ProcessorPool" EntityTypeProject EntityType = "Project" EntityTypeRegion EntityType = "Region" EntityTypeRepository EntityType = "Repository" EntityTypeReservedInstance EntityType = "ReservedInstance" EntityTypeService EntityType = "Service" EntityTypeServiceProvider EntityType = "ServiceProvider" EntityTypeStorage EntityType = "Storage" EntityTypeStorageController EntityType = "StorageController" EntityTypeStorageTier EntityType = "StorageTier" EntityTypeStorageVolumeController EntityType = "StorageVolumeController" EntityTypeSwitch EntityType = "Switch" EntityTypeUnknown EntityType = "Unknown" EntityTypeVPod EntityType = "VPod" EntityTypeViewPod EntityType = "ViewPod" EntityTypeVirtualApplication EntityType = "VirtualApplication" EntityTypeVirtualDataCenter EntityType = "VirtualDataCenter" EntityTypeVirtualMachine EntityType = "VirtualMachine" EntityTypeVirtualMachineSpec EntityType = "VirtualMachineSpec" EntityTypeVirtualVolume EntityType = "VirtualVolume" EntityTypeWorkloadController EntityType = "WorkloadController" )
Defines values for EntityType.
func (EntityType) Valid ¶
func (e EntityType) Valid() bool
Valid indicates whether the value is a known member of the EntityType enum.
type EnvironmentType ¶
type EnvironmentType string
EnvironmentType Environment types
const ( EnvironmentTypeCLOUD EnvironmentType = "CLOUD" EnvironmentTypeHYBRID EnvironmentType = "HYBRID" EnvironmentTypeONPREM EnvironmentType = "ONPREM" EnvironmentTypeUNKNOWN EnvironmentType = "UNKNOWN" )
Defines values for EnvironmentType.
func (EnvironmentType) Valid ¶
func (e EnvironmentType) Valid() bool
Valid indicates whether the value is a known member of the EnvironmentType enum.
type Epoch ¶
type Epoch string
Epoch Epoch
type ExecuteOnTargetParams ¶
type ExecuteOnTargetParams struct {
// Validate validate
Validate *bool `form:"validate,omitempty" json:"validate,omitempty"`
// Rediscover rediscover
Rediscover *bool `form:"rediscover,omitempty" json:"rediscover,omitempty"`
}
ExecuteOnTargetParams defines parameters for ExecuteOnTarget.
type ExecuteOnTargetResp ¶
type ExecuteOnTargetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TargetApiDTO
}
func ParseExecuteOnTargetResp ¶
func ParseExecuteOnTargetResp(rsp *http.Response) (*ExecuteOnTargetResp, error)
ParseExecuteOnTargetResp parses an HTTP response from a ExecuteOnTargetWithResponse call
func (ExecuteOnTargetResp) ContentType ¶
func (r ExecuteOnTargetResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExecuteOnTargetResp) Status ¶
func (r ExecuteOnTargetResp) Status() string
Status returns HTTPResponse.Status
func (ExecuteOnTargetResp) StatusCode ¶
func (r ExecuteOnTargetResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExecutorInfoApiDTO ¶
type ExecutorInfoApiDTO struct {
// ScheduleInfo Model to describe the Schedule that executed the action.
ScheduleInfo *ExecutorScheduleApiDTO `json:"scheduleInfo,omitempty"`
// Type The type of the executor. such as a user or a schedule.
Type *ExecutorType `json:"type,omitempty"`
// UserInfo Model to describe the user who triggered this action.
UserInfo *ExecutorUserApiDTO `json:"userInfo,omitempty"`
}
ExecutorInfoApiDTO Model to describe the entity that triggered action execution. such as a user or a schedule.
type ExecutorScheduleApiDTO ¶
type ExecutorScheduleApiDTO struct {
// ScheduleName Name of the schedule
ScheduleName string `json:"scheduleName"`
}
ExecutorScheduleApiDTO Model to describe the Schedule that executed the action.
type ExecutorType ¶
type ExecutorType string
ExecutorType The type of the executor. such as a user or a schedule.
const ( ExecutorTypeEXECUTEDEXTERNALLY ExecutorType = "EXECUTED_EXTERNALLY" ExecutorTypeSCHEDULE ExecutorType = "SCHEDULE" ExecutorTypeUSER ExecutorType = "USER" )
Defines values for ExecutorType.
func (ExecutorType) Valid ¶
func (e ExecutorType) Valid() bool
Valid indicates whether the value is a known member of the ExecutorType enum.
type ExecutorUserApiDTO ¶
type ExecutorUserApiDTO struct {
// UserName Name of the user
UserName string `json:"userName"`
}
ExecutorUserApiDTO Model to describe the user who triggered this action.
type ExtraSpecApiDTO ¶
type ExtraSpecApiDTO struct {
// Key Key of the extra spec
Key string `json:"key"`
// Value Value of the extra spec
Value string `json:"value"`
}
ExtraSpecApiDTO Model to describe the ExtraSpec of a Template
type FailedResourceApiDTO ¶
type FailedResourceApiDTO struct {
// Commodity Describes a commodity
Commodity BaseCommodityApiDTO `json:"commodity"`
// MaxAvailable The maximum available amount of the requested commodity. Populated only if there are one or more entities selling the requested commodity.
MaxAvailable *float64 `json:"maxAvailable,omitempty"`
// RequestedAmount The requested amount of the commodity that caused the entity to be unplaced
RequestedAmount float64 `json:"requestedAmount"`
}
FailedResourceApiDTO A description of the resource that caused an entity to be unplaced
type FieldApiDTO ¶
type FieldApiDTO struct {
// FieldType Kinds of fields.
FieldType FieldType `json:"fieldType"`
}
FieldApiDTO defines model for FieldApiDTO.
type FieldType ¶
type FieldType string
FieldType Kinds of fields.
const ( FieldTypeAggregateCommodity FieldType = "aggregateCommodity" FieldTypeCommodity FieldType = "commodity" FieldTypeMember FieldType = "member" FieldTypePrimitive FieldType = "primitive" FieldTypeRelatedActionCount FieldType = "relatedActionCount" FieldTypeRelatedEntity FieldType = "relatedEntity" FieldTypeRelatedGroup FieldType = "relatedGroup" )
Defines values for FieldType.
type FieldValueApiDTO ¶
type FieldValueApiDTO struct {
Field FieldApiDTO `json:"field"`
// ValueType Condition types.
ValueType Type `json:"valueType"`
}
FieldValueApiDTO defines model for FieldValueApiDTO.
type FieldValueTypeApiDTO ¶
type FieldValueTypeApiDTO struct {
AllowableValues *[]string `json:"allowableValues,omitempty"`
Field FieldApiDTO `json:"field"`
// ValueType Condition types.
ValueType Type `json:"valueType"`
}
FieldValueTypeApiDTO defines model for FieldValueTypeApiDTO.
type FilterApiDTO ¶
type FilterApiDTO struct {
// CaseSensitive Whether the regex is case sensitivew
CaseSensitive *bool `json:"caseSensitive,omitempty"`
// EntityType The entity type which this filter should be applied on
EntityType *string `json:"entityType,omitempty"`
// ExpType Type of comparator used while building a filter, the allowable values are 'EQ', 'NEQ', 'RXEQ', 'RXNEQ' for strings, 'EQ', 'NEQ', 'GT', 'LT', 'GTE', 'LTE' for numbers'EX', 'NEX' for inclusion in a set of options
ExpType FilterApiDTOExpType `json:"expType"`
// ExpVal Regex to be searched for
ExpVal *string `json:"expVal,omitempty"`
// FilterType Internal name for criterion such as pmsByName, pmsByDC, storageByPMCluster
FilterType *string `json:"filterType,omitempty"`
// SingleLine Whether the regex dot matches all characters including line break characters. Defaults to false.
SingleLine *bool `json:"singleLine,omitempty"`
}
FilterApiDTO Model used to filter Groups or Entities, every filter is built using a filterType + expType + expVal
type FilterApiDTOExpType ¶
type FilterApiDTOExpType string
FilterApiDTOExpType Type of comparator used while building a filter, the allowable values are 'EQ', 'NEQ', 'RXEQ', 'RXNEQ' for strings, 'EQ', 'NEQ', 'GT', 'LT', 'GTE', 'LTE' for numbers'EX', 'NEX' for inclusion in a set of options
const ( FilterApiDTOExpTypeEQ FilterApiDTOExpType = "EQ" FilterApiDTOExpTypeEX FilterApiDTOExpType = "EX" FilterApiDTOExpTypeGT FilterApiDTOExpType = "GT" FilterApiDTOExpTypeGTE FilterApiDTOExpType = "GTE" FilterApiDTOExpTypeLT FilterApiDTOExpType = "LT" FilterApiDTOExpTypeLTE FilterApiDTOExpType = "LTE" FilterApiDTOExpTypeNEQ FilterApiDTOExpType = "NEQ" FilterApiDTOExpTypeNEX FilterApiDTOExpType = "NEX" FilterApiDTOExpTypeRXEQ FilterApiDTOExpType = "RXEQ" FilterApiDTOExpTypeRXNEQ FilterApiDTOExpType = "RXNEQ" )
Defines values for FilterApiDTOExpType.
func (FilterApiDTOExpType) Valid ¶
func (e FilterApiDTOExpType) Valid() bool
Valid indicates whether the value is a known member of the FilterApiDTOExpType enum.
type FilterRegistration ¶
type FilterRegistration struct {
ClassName *string `json:"className,omitempty"`
InitParameters *map[string]string `json:"initParameters,omitempty"`
Name *string `json:"name,omitempty"`
ServletNameMappings *[]string `json:"servletNameMappings,omitempty"`
UrlPatternMappings *[]string `json:"urlPatternMappings,omitempty"`
}
FilterRegistration defines model for FilterRegistration.
type GetEntitiesByGroupUuidParams ¶
type GetEntitiesByGroupUuidParams struct {
// Cursor When making subsequent calls to retrieve additional resultsthis is the cursor returned by the last call to this method.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit The maximum number of items to return. Must be a positive integer. If not set, the server will provide a default.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy The field to order the results by. Defaults to NAME.
OrderBy *GetEntitiesByGroupUuidParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// Ascending Whether to arrange in ascending or descending order. Defaults to true.
Ascending *bool `form:"ascending,omitempty" json:"ascending,omitempty"`
}
GetEntitiesByGroupUuidParams defines parameters for GetEntitiesByGroupUuid.
type GetEntitiesByGroupUuidParamsOrderBy ¶
type GetEntitiesByGroupUuidParamsOrderBy string
GetEntitiesByGroupUuidParamsOrderBy defines parameters for GetEntitiesByGroupUuid.
const ( GetEntitiesByGroupUuidParamsOrderByNAME GetEntitiesByGroupUuidParamsOrderBy = "NAME" GetEntitiesByGroupUuidParamsOrderBySEVERITY GetEntitiesByGroupUuidParamsOrderBy = "SEVERITY" )
Defines values for GetEntitiesByGroupUuidParamsOrderBy.
func (GetEntitiesByGroupUuidParamsOrderBy) Valid ¶
func (e GetEntitiesByGroupUuidParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetEntitiesByGroupUuidParamsOrderBy enum.
type GetEntitiesByGroupUuidResp ¶
type GetEntitiesByGroupUuidResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ServiceEntityApiDTO
}
func ParseGetEntitiesByGroupUuidResp ¶
func ParseGetEntitiesByGroupUuidResp(rsp *http.Response) (*GetEntitiesByGroupUuidResp, error)
ParseGetEntitiesByGroupUuidResp parses an HTTP response from a GetEntitiesByGroupUuidWithResponse call
func (GetEntitiesByGroupUuidResp) ContentType ¶
func (r GetEntitiesByGroupUuidResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEntitiesByGroupUuidResp) Status ¶
func (r GetEntitiesByGroupUuidResp) Status() string
Status returns HTTPResponse.Status
func (GetEntitiesByGroupUuidResp) StatusCode ¶
func (r GetEntitiesByGroupUuidResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEntitiesByTargetUuidParams ¶
type GetEntitiesByTargetUuidParams struct {
// Cursor When making subsequent calls to retrieve additional results,this is the cursor returned by the last call to this method.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit The maximum number of items to return. Must be a positive integer. If not set, the server will provide a default.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy The field to order the results by. Defaults to NAME.
OrderBy *GetEntitiesByTargetUuidParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// Ascending Whether to arrange in ascending or descending order. Defaults to true.
Ascending *bool `form:"ascending,omitempty" json:"ascending,omitempty"`
}
GetEntitiesByTargetUuidParams defines parameters for GetEntitiesByTargetUuid.
type GetEntitiesByTargetUuidParamsOrderBy ¶
type GetEntitiesByTargetUuidParamsOrderBy string
GetEntitiesByTargetUuidParamsOrderBy defines parameters for GetEntitiesByTargetUuid.
const (
GetEntitiesByTargetUuidParamsOrderByNAMESEVERITY GetEntitiesByTargetUuidParamsOrderBy = "NAME, SEVERITY"
)
Defines values for GetEntitiesByTargetUuidParamsOrderBy.
func (GetEntitiesByTargetUuidParamsOrderBy) Valid ¶
func (e GetEntitiesByTargetUuidParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetEntitiesByTargetUuidParamsOrderBy enum.
type GetEntitiesByTargetUuidResp ¶
type GetEntitiesByTargetUuidResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ServiceEntityApiDTO
}
func ParseGetEntitiesByTargetUuidResp ¶
func ParseGetEntitiesByTargetUuidResp(rsp *http.Response) (*GetEntitiesByTargetUuidResp, error)
ParseGetEntitiesByTargetUuidResp parses an HTTP response from a GetEntitiesByTargetUuidWithResponse call
func (GetEntitiesByTargetUuidResp) ContentType ¶
func (r GetEntitiesByTargetUuidResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEntitiesByTargetUuidResp) Status ¶
func (r GetEntitiesByTargetUuidResp) Status() string
Status returns HTTPResponse.Status
func (GetEntitiesByTargetUuidResp) StatusCode ¶
func (r GetEntitiesByTargetUuidResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEntitiesResp ¶
type GetEntitiesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceEntityApiDTO
}
func ParseGetEntitiesResp ¶
func ParseGetEntitiesResp(rsp *http.Response) (*GetEntitiesResp, error)
ParseGetEntitiesResp parses an HTTP response from a GetEntitiesWithResponse call
func (GetEntitiesResp) ContentType ¶
func (r GetEntitiesResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEntitiesResp) Status ¶
func (r GetEntitiesResp) Status() string
Status returns HTTPResponse.Status
func (GetEntitiesResp) StatusCode ¶
func (r GetEntitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEntityByUuidParams ¶
type GetEntityByUuidParams struct {
// IncludeAspects Include the entity aspects in the response
IncludeAspects *bool `form:"include_aspects,omitempty" json:"include_aspects,omitempty"`
}
GetEntityByUuidParams defines parameters for GetEntityByUuid.
type GetEntityByUuidResp ¶
type GetEntityByUuidResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceEntityApiDTO
}
func ParseGetEntityByUuidResp ¶
func ParseGetEntityByUuidResp(rsp *http.Response) (*GetEntityByUuidResp, error)
ParseGetEntityByUuidResp parses an HTTP response from a GetEntityByUuidWithResponse call
func (GetEntityByUuidResp) ContentType ¶
func (r GetEntityByUuidResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEntityByUuidResp) Status ¶
func (r GetEntityByUuidResp) Status() string
Status returns HTTPResponse.Status
func (GetEntityByUuidResp) StatusCode ¶
func (r GetEntityByUuidResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGroupByUuidParams ¶
type GetGroupByUuidParams struct {
// IncludeAspects Include the group aspects in the response
IncludeAspects *bool `form:"include_aspects,omitempty" json:"include_aspects,omitempty"`
}
GetGroupByUuidParams defines parameters for GetGroupByUuid.
type GetGroupByUuidResp ¶
type GetGroupByUuidResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupApiDTO
}
func ParseGetGroupByUuidResp ¶
func ParseGetGroupByUuidResp(rsp *http.Response) (*GetGroupByUuidResp, error)
ParseGetGroupByUuidResp parses an HTTP response from a GetGroupByUuidWithResponse call
func (GetGroupByUuidResp) ContentType ¶
func (r GetGroupByUuidResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGroupByUuidResp) Status ¶
func (r GetGroupByUuidResp) Status() string
Status returns HTTPResponse.Status
func (GetGroupByUuidResp) StatusCode ¶
func (r GetGroupByUuidResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGroupsParams ¶
type GetGroupsParams struct {
// Cursor When making subsequent calls to retrieve additional results,this is the cursor returned by the last call to this method.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit The maximum number of items to return. Must be a positive integer. If not set, the server will provide a default.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy The field to order the results by. Defaults to NAME.
OrderBy *GetGroupsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// Ascending Whether to arrange in ascending order. Defaults to true.
Ascending *bool `form:"ascending,omitempty" json:"ascending,omitempty"`
// GroupOrigin The group origin to filter by.
GroupOrigin *Origin `form:"group_origin,omitempty" json:"group_origin,omitempty"`
// Q The String query to apply in addition to the filters. The query will only match the display name.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// QueryType The query type can be exact, regex or contains
QueryType *QueryType `form:"query_type,omitempty" json:"query_type,omitempty"`
}
GetGroupsParams defines parameters for GetGroups.
type GetGroupsParamsOrderBy ¶
type GetGroupsParamsOrderBy string
GetGroupsParamsOrderBy defines parameters for GetGroups.
const ( GetGroupsParamsOrderByCOST GetGroupsParamsOrderBy = "COST" GetGroupsParamsOrderByNAME GetGroupsParamsOrderBy = "NAME" GetGroupsParamsOrderBySEVERITY GetGroupsParamsOrderBy = "SEVERITY" )
Defines values for GetGroupsParamsOrderBy.
func (GetGroupsParamsOrderBy) Valid ¶
func (e GetGroupsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetGroupsParamsOrderBy enum.
type GetGroupsResp ¶
type GetGroupsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]GroupApiDTO
}
func ParseGetGroupsResp ¶
func ParseGetGroupsResp(rsp *http.Response) (*GetGroupsResp, error)
ParseGetGroupsResp parses an HTTP response from a GetGroupsWithResponse call
func (GetGroupsResp) ContentType ¶
func (r GetGroupsResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGroupsResp) Status ¶
func (r GetGroupsResp) Status() string
Status returns HTTPResponse.Status
func (GetGroupsResp) StatusCode ¶
func (r GetGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMembersByGroupUuidParams ¶
type GetMembersByGroupUuidParams struct {
// Cursor When making subsequent calls to retrieve additional resultsthis is the cursor returned by the last call to this method.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit The maximum number of items to return. Must be a positive integer. If not set, the server will provide a default.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Ascending Whether to arrange in ascending or descending order. Defaults to true.
Ascending *bool `form:"ascending,omitempty" json:"ascending,omitempty"`
}
GetMembersByGroupUuidParams defines parameters for GetMembersByGroupUuid.
type GetMembersByGroupUuidResp ¶
type GetMembersByGroupUuidResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BaseApiDTO
}
func ParseGetMembersByGroupUuidResp ¶
func ParseGetMembersByGroupUuidResp(rsp *http.Response) (*GetMembersByGroupUuidResp, error)
ParseGetMembersByGroupUuidResp parses an HTTP response from a GetMembersByGroupUuidWithResponse call
func (GetMembersByGroupUuidResp) ContentType ¶
func (r GetMembersByGroupUuidResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMembersByGroupUuidResp) Status ¶
func (r GetMembersByGroupUuidResp) Status() string
Status returns HTTPResponse.Status
func (GetMembersByGroupUuidResp) StatusCode ¶
func (r GetMembersByGroupUuidResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetParams ¶
type GetTargetParams struct {
// DetailLevel [BETA]: How much detail should be included in each target nested at any level of the response. If not specified, this will return the minimal details.
DetailLevel *TargetDetailLevel `form:"detail_level,omitempty" json:"detail_level,omitempty"`
// TargetRelationship [BETA]: Controls which relationships to follow to include related targets of the target at root of the response. Does not impact nested targets inside.
// If not provided, defaults to TargetRelationship.VISIBLE_DERIVED
TargetRelationship *TargetRelationship `form:"target_relationship,omitempty" json:"target_relationship,omitempty"`
}
GetTargetParams defines parameters for GetTarget.
type GetTargetResp ¶
type GetTargetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TargetApiDTO
}
func ParseGetTargetResp ¶
func ParseGetTargetResp(rsp *http.Response) (*GetTargetResp, error)
ParseGetTargetResp parses an HTTP response from a GetTargetWithResponse call
func (GetTargetResp) ContentType ¶
func (r GetTargetResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetResp) Status ¶
func (r GetTargetResp) Status() string
Status returns HTTPResponse.Status
func (GetTargetResp) StatusCode ¶
func (r GetTargetResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetsParams ¶
type GetTargetsParams struct {
// EnvironmentType filter by Environment type
EnvironmentType *EnvironmentType `form:"environment_type,omitempty" json:"environment_type,omitempty"`
// Q A regex that is used to filter targets by the display name.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// TargetCategory The target category to filter by.
TargetCategory *string `form:"target_category,omitempty" json:"target_category,omitempty"`
// TargetType Filter by target type.
TargetType *[]*TargetType `form:"target_type,omitempty" json:"target_type,omitempty"`
// TargetSubtype Filter by target subtypes.
TargetSubtype *[]*TargetSubtype `form:"target_subtype,omitempty" json:"target_subtype,omitempty"`
// ValidationStatus Filter by validation status.
ValidationStatus *[]*TargetValidationStatus `form:"validation_status,omitempty" json:"validation_status,omitempty"`
// HealthState Filter by health state.
HealthState *[]HealthState `form:"health_state,omitempty" json:"health_state,omitempty"`
// RollupState Filter by rollup state, where the rollup state is the health state of the target including its derived targets.
RollupState *[]HealthState `form:"rollup_state,omitempty" json:"rollup_state,omitempty"`
// Cursor When making subsequent calls to retrieve additional results,this is the cursor returned by the last call to this method.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit The maximum number of items to return. Must be a positive integer. If not set, the server will provide a default.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy The field to order the results by.
OrderBy *GetTargetsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// Ascending Whether to arrange in ascending or descending order.
Ascending *bool `form:"ascending,omitempty" json:"ascending,omitempty"`
// DetailLevel [BETA]: How much detail should be included in each target nested at any level of the response. If not specified, return minimal details.
DetailLevel *TargetDetailLevel `form:"detail_level,omitempty" json:"detail_level,omitempty"`
// TargetRelationship [BETA]: Controls which relationships to follow to include related targets of the targets in the response. This is only applied to the targets at the root of the response and not the targets nested inside (like parent and derived targets.)
// If not provided defaults to TargetRelationships.VISIBLE_DERIVED.
TargetRelationship *TargetRelationship `form:"target_relationship,omitempty" json:"target_relationship,omitempty"`
// QueryMethod The field specifying the method used to query for targets.
QueryMethod *GetTargetsParamsQueryMethod `form:"query_method,omitempty" json:"query_method,omitempty"`
}
GetTargetsParams defines parameters for GetTargets.
type GetTargetsParamsOrderBy ¶
type GetTargetsParamsOrderBy string
GetTargetsParamsOrderBy defines parameters for GetTargets.
const ( GetTargetsParamsOrderByDISPLAYNAME GetTargetsParamsOrderBy = "DISPLAY_NAME" GetTargetsParamsOrderByHEALTHSTATE GetTargetsParamsOrderBy = "HEALTH_STATE" GetTargetsParamsOrderByLASTEDITTIME GetTargetsParamsOrderBy = "LAST_EDIT_TIME" GetTargetsParamsOrderByROLLUPSTATE GetTargetsParamsOrderBy = "ROLLUP_STATE" GetTargetsParamsOrderByTARGETTYPE GetTargetsParamsOrderBy = "TARGET_TYPE" GetTargetsParamsOrderByVALIDATIONSTATUS GetTargetsParamsOrderBy = "VALIDATION_STATUS" )
Defines values for GetTargetsParamsOrderBy.
func (GetTargetsParamsOrderBy) Valid ¶
func (e GetTargetsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetTargetsParamsOrderBy enum.
type GetTargetsParamsQueryMethod ¶
type GetTargetsParamsQueryMethod string
GetTargetsParamsQueryMethod defines parameters for GetTargets.
const ( GetTargetsParamsQueryMethodREGEX GetTargetsParamsQueryMethod = "REGEX" GetTargetsParamsQueryMethodSTRINGCONTAINS GetTargetsParamsQueryMethod = "STRING_CONTAINS" )
Defines values for GetTargetsParamsQueryMethod.
func (GetTargetsParamsQueryMethod) Valid ¶
func (e GetTargetsParamsQueryMethod) Valid() bool
Valid indicates whether the value is a known member of the GetTargetsParamsQueryMethod enum.
type GetTargetsResp ¶
type GetTargetsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]TargetApiDTO
}
func ParseGetTargetsResp ¶
func ParseGetTargetsResp(rsp *http.Response) (*GetTargetsResp, error)
ParseGetTargetsResp parses an HTTP response from a GetTargetsWithResponse call
func (GetTargetsResp) ContentType ¶
func (r GetTargetsResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetsResp) Status ¶
func (r GetTargetsResp) Status() string
Status returns HTTPResponse.Status
func (GetTargetsResp) StatusCode ¶
func (r GetTargetsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroupApiDTO ¶
type GroupApiDTO struct {
// ActiveEntitiesCount The active entities count of a group
ActiveEntitiesCount *int32 `json:"activeEntitiesCount,omitempty"`
// Aspects Additional info about the Group categorized as Aspects
Aspects *map[string]EntityAspect `json:"aspects,omitempty"`
ClassName *string `json:"className,omitempty"`
// CloudType Cloud type
CloudType *CloudType `json:"cloudType,omitempty"`
// CostPrice Cost of the Group per Hour: sum of the costs of the member entities
CostPrice *float32 `json:"costPrice,omitempty"`
// CriteriaList riteria list of elements, expression type,expression value, seType - needed to create a dynamic group
CriteriaList *[]FilterApiDTO `json:"criteriaList,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntitiesCount Number of entities of the Group
EntitiesCount *int32 `json:"entitiesCount,omitempty"`
// EntityTypes The types of entities contained in the group. This includes types of entities in nested levels of the group if the group is nested.
EntityTypes *[]string `json:"entityTypes,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
// GroupClassName Group class name
GroupClassName *string `json:"groupClassName,omitempty"`
// GroupOrigin Origin of entities and groups
GroupOrigin *Origin `json:"groupOrigin,omitempty"`
// GroupType The type of service entities comprising the group
GroupType *string `json:"groupType,omitempty"`
// IsStatic True if group is static
IsStatic *bool `json:"isStatic,omitempty"`
Links *[]Link `json:"links,omitempty"`
// LogicalOperator Logical operator to be applied across all the criteria used to create dynamic group.
LogicalOperator *GroupApiDTOLogicalOperator `json:"logicalOperator,omitempty"`
// MemberTypes The types for immediate members of the group.
MemberTypes *[]string `json:"memberTypes,omitempty"`
// MemberUuidList Uuid list for members of the group - if group is static
MemberUuidList *[]string `json:"memberUuidList,omitempty"`
// MembersCount Number of members of the Group
MembersCount *int32 `json:"membersCount,omitempty"`
// RealtimeMarketReference Basic information of an entity
RealtimeMarketReference *BaseApiDTO `json:"realtimeMarketReference,omitempty"`
// Scope Scope within which the criteria have to be applied to the list of specific entity type
Scope *[]string `json:"scope,omitempty"`
// Severity Calculated using the highest severity of the member entities
Severity *GroupApiDTOSeverity `json:"severity,omitempty"`
// Source Model to describe a Target. Targets are used to discover the components to create a connected virtual environment
Source *TargetApiDTO `json:"source,omitempty"`
// State Calculated using the state of the member entities
State *GroupApiDTOState `json:"state,omitempty"`
// Stats Collected monitoring statistics
Stats *[]StatSnapshotApiDTO `json:"stats,omitempty"`
// TargetType Target type of group entities. TargetType UNKNOWN if multiple target types
TargetType *string `json:"targetType,omitempty"`
// Temporary The Group is only valid for a limited period of time, it will be removed automatically
Temporary *bool `json:"temporary,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// VendorIds The mapping of target identifier to vendor-provided identity of this group, if the group is discovered
VendorIds *map[string]string `json:"vendorIds,omitempty"`
}
GroupApiDTO Model to describe a Group: a collection of Entities. Subclasses include BillingFamilyApiDTO and ResourceGroupApiDTO.
type GroupApiDTOLogicalOperator ¶
type GroupApiDTOLogicalOperator string
GroupApiDTOLogicalOperator Logical operator to be applied across all the criteria used to create dynamic group.
const ( GroupApiDTOLogicalOperatorAND GroupApiDTOLogicalOperator = "AND" GroupApiDTOLogicalOperatorOR GroupApiDTOLogicalOperator = "OR" GroupApiDTOLogicalOperatorXOR GroupApiDTOLogicalOperator = "XOR" )
Defines values for GroupApiDTOLogicalOperator.
func (GroupApiDTOLogicalOperator) Valid ¶
func (e GroupApiDTOLogicalOperator) Valid() bool
Valid indicates whether the value is a known member of the GroupApiDTOLogicalOperator enum.
type GroupApiDTOSeverity ¶
type GroupApiDTOSeverity string
GroupApiDTOSeverity Calculated using the highest severity of the member entities
const ( GroupApiDTOSeverityCRITICAL GroupApiDTOSeverity = "CRITICAL" GroupApiDTOSeverityMAJOR GroupApiDTOSeverity = "MAJOR" GroupApiDTOSeverityMINOR GroupApiDTOSeverity = "MINOR" GroupApiDTOSeverityNORMAL GroupApiDTOSeverity = "NORMAL" GroupApiDTOSeverityUNKNOWN GroupApiDTOSeverity = "UNKNOWN" )
Defines values for GroupApiDTOSeverity.
func (GroupApiDTOSeverity) Valid ¶
func (e GroupApiDTOSeverity) Valid() bool
Valid indicates whether the value is a known member of the GroupApiDTOSeverity enum.
type GroupApiDTOState ¶
type GroupApiDTOState string
GroupApiDTOState Calculated using the state of the member entities
const ( GroupApiDTOStateACTIVE GroupApiDTOState = "ACTIVE" GroupApiDTOStateUNKNOWN GroupApiDTOState = "UNKNOWN" )
Defines values for GroupApiDTOState.
func (GroupApiDTOState) Valid ¶
func (e GroupApiDTOState) Valid() bool
Valid indicates whether the value is a known member of the GroupApiDTOState enum.
type GroupByCriterion ¶
type GroupByCriterion string
GroupByCriterion Criteria to be used in the grouping of results, when counting entities.
const ( GroupByCriterionGroupType GroupByCriterion = "groupType" GroupByCriterionOrigin GroupByCriterion = "origin" )
Defines values for GroupByCriterion.
func (GroupByCriterion) Valid ¶
func (e GroupByCriterion) Valid() bool
Valid indicates whether the value is a known member of the GroupByCriterion enum.
type GroupCountRequestApiDTO ¶
type GroupCountRequestApiDTO struct {
GroupBy *[]GroupByCriterion `json:"groupBy,omitempty"`
}
GroupCountRequestApiDTO defines model for GroupCountRequestApiDTO.
type GroupFieldsJSONRequestBody ¶
type GroupFieldsJSONRequestBody = GroupMetadataRequestApiDTO
GroupFieldsJSONRequestBody defines body for GroupFields for application/json ContentType.
type GroupFieldsResp ¶
type GroupFieldsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FieldValueTypeApiDTO
}
func ParseGroupFieldsResp ¶
func ParseGroupFieldsResp(rsp *http.Response) (*GroupFieldsResp, error)
ParseGroupFieldsResp parses an HTTP response from a GroupFieldsWithResponse call
func (GroupFieldsResp) ContentType ¶
func (r GroupFieldsResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GroupFieldsResp) Status ¶
func (r GroupFieldsResp) Status() string
Status returns HTTPResponse.Status
func (GroupFieldsResp) StatusCode ¶
func (r GroupFieldsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroupMetadataRequestApiDTO ¶
type GroupMetadataRequestApiDTO struct {
// GroupType Group type
GroupType GroupType `json:"groupType"`
}
GroupMetadataRequestApiDTO defines model for GroupMetadataRequestApiDTO.
type GroupQueryApiDTO ¶
type GroupQueryApiDTO struct {
Pagination *PaginationApiDTO `json:"pagination,omitempty"`
Select SelectGroupApiDTO `json:"select"`
Where *WhereApiDTO `json:"where,omitempty"`
}
GroupQueryApiDTO defines model for GroupQueryApiDTO.
type GroupType ¶
type GroupType string
GroupType Group type
const ( GroupTypeBillingFamily GroupType = "BillingFamily" GroupTypeBusinessAccountFolder GroupType = "BusinessAccountFolder" GroupTypeCluster GroupType = "Cluster" GroupTypeGroup GroupType = "Group" GroupTypeNodePool GroupType = "NodePool" GroupTypeResourceGroup GroupType = "ResourceGroup" GroupTypeStorageCluster GroupType = "StorageCluster" GroupTypeVirtualMachineCluster GroupType = "VirtualMachineCluster" )
Defines values for GroupType.
type HealthCategory ¶
type HealthCategory string
HealthCategory The types of health checks we report.
const ( HealthCategoryACTION HealthCategory = "ACTION" HealthCategoryCOMPONENT HealthCategory = "COMPONENT" HealthCategoryTARGET HealthCategory = "TARGET" )
Defines values for HealthCategory.
func (HealthCategory) Valid ¶
func (e HealthCategory) Valid() bool
Valid indicates whether the value is a known member of the HealthCategory enum.
type HealthState ¶
type HealthState string
HealthState The health state a checked object can be in.
const ( HealthStateCRITICAL HealthState = "CRITICAL" HealthStateMAJOR HealthState = "MAJOR" HealthStateMINOR HealthState = "MINOR" HealthStateNORMAL HealthState = "NORMAL" )
Defines values for HealthState.
func (HealthState) Valid ¶
func (e HealthState) Valid() bool
Valid indicates whether the value is a known member of the HealthState enum.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IncludedCouponsApiDTO ¶
type IncludedCouponsApiDTO struct {
// IncludedCouponOidsList User selected list of RIs to be included in plans
IncludedCouponOidsList *[]int64 `json:"includedCouponOidsList,omitempty"`
IswhiteList *bool `json:"iswhiteList,omitempty"`
}
IncludedCouponsApiDTO Included RI/Coupon and related information in the scenario
type InputFieldApiDTO ¶
type InputFieldApiDTO struct {
// AllowedValues Potential values for this field. If nonempty, value must beone of the choices in the list.
AllowedValues *[]string `json:"allowedValues,omitempty"`
ClassName *string `json:"className,omitempty"`
// DefaultValue Default value of the field
DefaultValue *string `json:"defaultValue,omitempty"`
// DependencyKey A key of a dependency account value field. If this value is not set, field is declared without any dependencies. If an annotated account value field has a dependency it means that it's presence is logically driven by the dependency field.
// This field is expected to be available ONLY when field specified by {@code dependencyKey} has value {@code dependencyValue}. If this field is not available because of unmet dependency, this field will not be validated and stored in target configuration data. If a dependency for this field is unmet value of this field will be null
DependencyKey *string `json:"dependencyKey,omitempty"`
// DependencyValue Value of a field of account values referenced by {@code dependencyKey} to enable (activate) the annotated field. Value is specified using a regular expression. Specifying just a string will also work correctly.
// If a referenced account value field is a boolean field, only "true" or "false" are supported as values.
// If a referenced account value is an enumeration ({@code allowedValues} is specified) this value is only restricted to contain a subset of the allowed values united using a pipe {@code one|two|four}.
DependencyValue *string `json:"dependencyValue,omitempty"`
// Description Additional information about what the input to the field should be
Description *string `json:"description,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// GroupProperties Group scope structure, filled if this field represents group scope value
GroupProperties *[][]string `json:"groupProperties,omitempty"`
// IsMandatory Whether the field is mandatory. Valid targets must have all the mandatory fields set.
IsMandatory *bool `json:"isMandatory,omitempty"`
// IsMultiline Whether the field can have multiline values. Can be only true when the valueType field is set to STRING.
IsMultiline *bool `json:"isMultiline,omitempty"`
// IsSecret Whether the field is secret. This means, that field value isstored in an encrypted value and not shown in any logs.
IsSecret *bool `json:"isSecret,omitempty"`
// IsTargetDisplayName Whether the field is used as a target display name
IsTargetDisplayName *bool `json:"isTargetDisplayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Name Name of the field, used for field identification.
Name *string `json:"name,omitempty"`
// SpecificValueType A specific Type of the value that can't be described in valueType
SpecificValueType *string `json:"specificValueType,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Value Field value. Used if field holds primitive value (String, number or boolean
Value *string `json:"value,omitempty"`
// ValueType Input value type
ValueType *InputValueType `json:"valueType,omitempty"`
// VerificationRegex The regex pattern that needs to be satisfied for the input field text
VerificationRegex *string `json:"verificationRegex,omitempty"`
}
InputFieldApiDTO defines model for InputFieldApiDTO.
type InputValueType ¶
type InputValueType string
InputValueType Input value type
const ( InputValueTypeBOOLEAN InputValueType = "BOOLEAN" InputValueTypeGROUPSCOPE InputValueType = "GROUP_SCOPE" InputValueTypeINTEGER InputValueType = "INTEGER" InputValueTypeLIST InputValueType = "LIST" InputValueTypeNUMERIC InputValueType = "NUMERIC" InputValueTypeOBJECT InputValueType = "OBJECT" InputValueTypeSECRET InputValueType = "SECRET" InputValueTypeSTRING InputValueType = "STRING" )
Defines values for InputValueType.
func (InputValueType) Valid ¶
func (e InputValueType) Valid() bool
Valid indicates whether the value is a known member of the InputValueType enum.
type JspConfigDescriptor ¶
type JspConfigDescriptor struct {
JspPropertyGroups *[]JspPropertyGroupDescriptor `json:"jspPropertyGroups,omitempty"`
Taglibs *[]TaglibDescriptor `json:"taglibs,omitempty"`
}
JspConfigDescriptor defines model for JspConfigDescriptor.
type JspPropertyGroupDescriptor ¶
type JspPropertyGroupDescriptor struct {
Buffer *string `json:"buffer,omitempty"`
DefaultContentType *string `json:"defaultContentType,omitempty"`
DeferredSyntaxAllowedAsLiteral *string `json:"deferredSyntaxAllowedAsLiteral,omitempty"`
ElIgnored *string `json:"elIgnored,omitempty"`
ErrorOnELNotFound *string `json:"errorOnELNotFound,omitempty"`
ErrorOnUndeclaredNamespace *string `json:"errorOnUndeclaredNamespace,omitempty"`
IncludeCodas *[]string `json:"includeCodas,omitempty"`
IncludePreludes *[]string `json:"includePreludes,omitempty"`
IsXml *string `json:"isXml,omitempty"`
PageEncoding *string `json:"pageEncoding,omitempty"`
ScriptingInvalid *string `json:"scriptingInvalid,omitempty"`
TrimDirectiveWhitespaces *string `json:"trimDirectiveWhitespaces,omitempty"`
UrlPatterns *[]string `json:"urlPatterns,omitempty"`
}
JspPropertyGroupDescriptor defines model for JspPropertyGroupDescriptor.
type Link ¶
type Link struct {
Deprecation *string `json:"deprecation,omitempty"`
Href *string `json:"href,omitempty"`
Hreflang *string `json:"hreflang,omitempty"`
Media *string `json:"media,omitempty"`
Name *string `json:"name,omitempty"`
Profile *string `json:"profile,omitempty"`
Rel *string `json:"rel,omitempty"`
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
}
Link defines model for Link.
type LoadChangesApiDTO ¶
type LoadChangesApiDTO struct {
// BaselineDate Baseline date
BaselineDate *string `json:"baselineDate,omitempty"`
// MaxUtilizationList List of max utilization changes
MaxUtilizationList *[]MaxUtilizationApiDTO `json:"maxUtilizationList,omitempty"`
// OverlayStatsList List of stat changes to override the plan commodities values with the provided input
OverlayStatsList *[]EntityStatsApiDTO `json:"overlayStatsList,omitempty"`
// PeakBaselineList List of peak baseline changes
PeakBaselineList *[]PeakBaselineApiDTO `json:"peakBaselineList,omitempty"`
// UtilizationList List of utilization changes
UtilizationList *[]UtilizationApiDTO `json:"utilizationList,omitempty"`
}
LoadChangesApiDTO Workload utilization changes in the scenario
type LogEntryApiDTO ¶
type LogEntryApiDTO struct {
Category *string `json:"category,omitempty"`
ClassName *string `json:"className,omitempty"`
Count *int64 `json:"count,omitempty"`
CurrentSE *string `json:"currentSE,omitempty"`
CurrentSEUuid *string `json:"currentSEUuid,omitempty"`
Description *string `json:"description,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Importance *float32 `json:"importance,omitempty"`
Links *[]Link `json:"links,omitempty"`
LogActionTime *int64 `json:"logActionTime,omitempty"`
LogDBId *int64 `json:"logDBId,omitempty"`
NewSE *string `json:"newSE,omitempty"`
NewSEUuid *string `json:"newSEUuid,omitempty"`
// ReasonCommodities The distinct set of commodities that were the reason for the action. Not all actions are driven by commodities. So its possible that this can be an empty list.
ReasonCommodities *[]string `json:"reasonCommodities,omitempty"`
// ReasonCommodityRelationType Commodity relation type
ReasonCommodityRelationType *RelationType `json:"reasonCommodityRelationType,omitempty"`
Severity *string `json:"severity,omitempty"`
ShortDescription *string `json:"shortDescription,omitempty"`
State *string `json:"state,omitempty"`
SubCategory *string `json:"subCategory,omitempty"`
TargetSE *string `json:"targetSE,omitempty"`
TargetUuid *string `json:"targetUuid,omitempty"`
Total *int64 `json:"total,omitempty"`
Type *string `json:"type,omitempty"`
User *string `json:"user,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
LogEntryApiDTO Cause of the action
type MarketApiDTO ¶
type MarketApiDTO struct {
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// PlanDestination Basic information of an entity
PlanDestination *BaseApiDTO `json:"planDestination,omitempty"`
// RelatedPlanMarkets Related Plan Markets generated by particular Scenarios
RelatedPlanMarkets *[]MarketApiDTO `json:"relatedPlanMarkets,omitempty"`
// RunCompleteDate Shows when a Plan Market was completed
RunCompleteDate *string `json:"runCompleteDate,omitempty"`
// RunDate Shows when a Plan Market started running"
RunDate *string `json:"runDate,omitempty"`
// Saved Shows if a Plan Market is saved"
Saved *bool `json:"saved,omitempty"`
// Scenario Model to describe a What-If Scenario, composed by a list of changes
Scenario *ScenarioApiDTO `json:"scenario,omitempty"`
// State State
State *MarketApiDTOState `json:"state,omitempty"`
// StateProgress State progress indicated by a percentage, used in RUNNING state
StateProgress *int32 `json:"stateProgress,omitempty"`
// UnplacedEntities Unplaced entities, shows if there are entities that could not be placed in the Plan Market
UnplacedEntities *bool `json:"unplacedEntities,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Violations Violations generated in a Plan Market
Violations *[]ServiceEntityApiDTO `json:"violations,omitempty"`
}
MarketApiDTO Model to describe a Market
type MarketApiDTOState ¶
type MarketApiDTOState string
MarketApiDTOState State
const ( MarketApiDTOStateCOPYING MarketApiDTOState = "COPYING" MarketApiDTOStateCREATED MarketApiDTOState = "CREATED" MarketApiDTOStateDELETING MarketApiDTOState = "DELETING" MarketApiDTOStateREADYTOSTART MarketApiDTOState = "READY_TO_START" MarketApiDTOStateRUNNING MarketApiDTOState = "RUNNING" MarketApiDTOStateSTOPPED MarketApiDTOState = "STOPPED" MarketApiDTOStateSTOPPING MarketApiDTOState = "STOPPING" MarketApiDTOStateSUCCEEDED MarketApiDTOState = "SUCCEEDED" )
Defines values for MarketApiDTOState.
func (MarketApiDTOState) Valid ¶
func (e MarketApiDTOState) Valid() bool
Valid indicates whether the value is a known member of the MarketApiDTOState enum.
type MaxUtilizationApiDTO ¶
type MaxUtilizationApiDTO struct {
GlobalScope *bool `json:"globalScope,omitempty"`
// MaxPercentage Max utilization threshold percentage change
MaxPercentage *int32 `json:"maxPercentage,omitempty"`
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// SelectedEntityType Type of entity to select in global scope configuration
SelectedEntityType *string `json:"selectedEntityType,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
}
MaxUtilizationApiDTO Model to describe a max utilization change in the scenario
type MergePolicyType ¶
type MergePolicyType string
MergePolicyType Merge policy type
const ( MergePolicyTypeCluster MergePolicyType = "Cluster" MergePolicyTypeDataCenter MergePolicyType = "DataCenter" MergePolicyTypeDesktopPool MergePolicyType = "DesktopPool" MergePolicyTypeNetwork MergePolicyType = "Network" MergePolicyTypeStorageCluster MergePolicyType = "StorageCluster" )
Defines values for MergePolicyType.
func (MergePolicyType) Valid ¶
func (e MergePolicyType) Valid() bool
Valid indicates whether the value is a known member of the MergePolicyType enum.
type MigrateObjectApiDTO ¶
type MigrateObjectApiDTO struct {
// Destination Basic information of an entity
Destination *BaseApiDTO `json:"destination,omitempty"`
// DestinationEntityType Destination entity type
DestinationEntityType *DestinationEntityType `json:"destinationEntityType,omitempty"`
// Destinations Destinations of the migration, entities or groups.
Destinations *[]BaseApiDTO `json:"destinations,omitempty"`
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// RemoveNonMigratingWorkloads If true, remove the existing Virtual Machines, Databases andDatabase Servers from the scope that are not migrating, so that only the newly migrated entities are included in the plan results.
RemoveNonMigratingWorkloads *bool `json:"removeNonMigratingWorkloads,omitempty"`
// Source Basic information of an entity
Source *BaseApiDTO `json:"source,omitempty"`
// Sources Sources of the migration, entities or groups.
Sources *[]BaseApiDTO `json:"sources,omitempty"`
}
MigrateObjectApiDTO Model to describe a replace change in the scenario
type NameValueInputDTO ¶
type NameValueInputDTO struct {
// Name Parameter type. For vCenter, this can be a name or id. For all other target types, this must be an id.
Name *NameValueInputDTOName `json:"name,omitempty"`
Value *string `json:"value,omitempty"`
}
NameValueInputDTO Model to describe the parameters for creating a business unit.
type NameValueInputDTOName ¶
type NameValueInputDTOName string
NameValueInputDTOName Parameter type. For vCenter, this can be a name or id. For all other target types, this must be an id.
const ( NameValueInputDTONameId NameValueInputDTOName = "id" NameValueInputDTONameName NameValueInputDTOName = "name" )
Defines values for NameValueInputDTOName.
func (NameValueInputDTOName) Valid ¶
func (e NameValueInputDTOName) Valid() bool
Valid indicates whether the value is a known member of the NameValueInputDTOName enum.
type OnPremCostsManagerApiDTO ¶
type OnPremCostsManagerApiDTO struct {
// Category Category of the Manager
Category string `json:"category"`
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Settings List of Settings contained in the Manager
Settings []SettingApiDTOSerializable `json:"settings"`
Uuid *string `json:"uuid,omitempty"`
}
OnPremCostsManagerApiDTO Model to describe a Category Manager for the on prem cost manager
type Operator ¶
type Operator string
Operator Operators.
type OrderByApiDTO ¶
type OrderByApiDTO struct {
Ascending *bool `json:"ascending,omitempty"`
Field FieldApiDTO `json:"field"`
}
OrderByApiDTO defines model for OrderByApiDTO.
type Origin ¶
type Origin string
Origin Origin of entities and groups
type PaginationApiDTO ¶
type PaginationApiDTO struct {
Cursor *string `json:"cursor,omitempty"`
Limit *int32 `json:"limit,omitempty"`
OrderBy *[]OrderByApiDTO `json:"orderBy,omitempty"`
}
PaginationApiDTO defines model for PaginationApiDTO.
type PatchedTargetDataApiDTO ¶
type PatchedTargetDataApiDTO struct {
// PatchedFields Patched target fields.
PatchedFields []PatchedTargetFieldApiDTO `json:"patchedFields"`
// ProbeType Probe type of the patched target
ProbeType string `json:"probeType"`
}
PatchedTargetDataApiDTO Model to describe a patched target data.
type PatchedTargetFieldApiDTO ¶
type PatchedTargetFieldApiDTO struct {
// FieldName Patched field name.
FieldName *string `json:"fieldName,omitempty"`
// FieldValue Patched field value.
FieldValue *string `json:"fieldValue,omitempty"`
}
PatchedTargetFieldApiDTO Model to describe a field in patched target data.
type PaymentOption ¶
type PaymentOption string
PaymentOption Payment option
const ( PaymentOptionALLUPFRONT PaymentOption = "ALL_UPFRONT" PaymentOptionNOUPFRONT PaymentOption = "NO_UPFRONT" PaymentOptionPARTIALUPFRONT PaymentOption = "PARTIAL_UPFRONT" )
Defines values for PaymentOption.
func (PaymentOption) Valid ¶
func (e PaymentOption) Valid() bool
Valid indicates whether the value is a known member of the PaymentOption enum.
type PeakBaselineApiDTO ¶
type PeakBaselineApiDTO struct {
// Date Date of the utilization peak
Date *string `json:"date,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
}
PeakBaselineApiDTO Model to describe a peak baseline change in the scenario
type PermissionApiDTO ¶
type PermissionApiDTO struct {
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Id Id of the permission
Id *int64 `json:"id,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Name Name of the permission
Name *string `json:"name,omitempty"`
// Operation Permission operation
Operation *string `json:"operation,omitempty"`
// PermissionSpace Permission space
PermissionSpace *string `json:"permissionSpace,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
PermissionApiDTO Model to describe a User Permission, it describe the permissions of an user over the Ops. Manager capabilities
type PlacementProblem ¶
type PlacementProblem string
PlacementProblem Placement Problem
const ( PlacementProblemCOSTSNOTFOUND PlacementProblem = "COSTS_NOT_FOUND" PlacementProblemNOTCONTROLLABLE PlacementProblem = "NOT_CONTROLLABLE" PlacementProblemUNSATISFIEDCOMMODITIES PlacementProblem = "UNSATISFIED_COMMODITIES" )
Defines values for PlacementProblem.
func (PlacementProblem) Valid ¶
func (e PlacementProblem) Valid() bool
Valid indicates whether the value is a known member of the PlacementProblem enum.
type Platform ¶
type Platform string
Platform Platform
const ( PlatformLINUX Platform = "LINUX" PlatformLINUXWITHSQLSERVERENTERPRISE Platform = "LINUX_WITH_SQL_SERVER_ENTERPRISE" PlatformLINUXWITHSQLSTANDARD Platform = "LINUX_WITH_SQL_STANDARD" PlatformLINUXWITHSQLWEB Platform = "LINUX_WITH_SQL_WEB" PlatformRHEL Platform = "RHEL" PlatformSUSE Platform = "SUSE" PlatformUNKNOWN Platform = "UNKNOWN" PlatformWINDOWS Platform = "WINDOWS" PlatformWINDOWSWITHSQLSERVERENTERPRISE Platform = "WINDOWS_WITH_SQL_SERVER_ENTERPRISE" PlatformWINDOWSWITHSQLSTANDARD Platform = "WINDOWS_WITH_SQL_STANDARD" PlatformWINDOWSWITHSQLWEB Platform = "WINDOWS_WITH_SQL_WEB" )
Defines values for Platform.
type PolicyApiDTO ¶
type PolicyApiDTO struct {
// Capacity Indicate the max workload entities at the same time per placement entites,used when type is AT_MOST_N_BOUND
Capacity *int32 `json:"capacity,omitempty"`
ClassName *string `json:"className,omitempty"`
// CommodityType Commodity type used for the policy
CommodityType *string `json:"commodityType,omitempty"`
// ConsumerGroup Basic information of an entity
ConsumerGroup *BaseApiDTO `json:"consumerGroup,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EnableCreateResourcePool Enable create resource pool during cross VM moves, used when type is any but MERGE.When enabled resource pool, of which VM is part of at source , is created in destination if it does not exists in destination during a cross cluster or vcenter VM move.By default this is disabled(false)
EnableCreateResourcePool *bool `json:"enableCreateResourcePool,omitempty"`
// Enabled Shows if the policy is enabled
Enabled *bool `json:"enabled,omitempty"`
Links *[]Link `json:"links,omitempty"`
// MergeGroups List of Groups to merge, used when type is MERGE
MergeGroups *[]BaseApiDTO `json:"mergeGroups,omitempty"`
// MergeType Merge policy type
MergeType *MergePolicyType `json:"mergeType,omitempty"`
// Name Name of the policy
Name *string `json:"name,omitempty"`
// ProviderEntityType Entity types allowed in API
ProviderEntityType *EntityType `json:"providerEntityType,omitempty"`
// ProviderGroup Basic information of an entity
ProviderGroup *BaseApiDTO `json:"providerGroup,omitempty"`
// Type Placement policy types
Type PolicyType `json:"type"`
Uuid *string `json:"uuid,omitempty"`
}
PolicyApiDTO Model to describe a Workload policy, used to manage the entities in the Environment.e.g. Restrict the number of VMs that can use a given datastore, Limit VM mobility by restricting a collection of VMs to a specified cluster or group of hosts, Expand VM mobility by merging a number of clusters, Keep workload running on hosts that have the required licenses
type PolicyType ¶
type PolicyType string
PolicyType Placement policy types
const ( PolicyTypeATMOSTN PolicyType = "AT_MOST_N" PolicyTypeATMOSTNBOUND PolicyType = "AT_MOST_N_BOUND" PolicyTypeBINDTOCOMPLEMENTARYGROUP PolicyType = "BIND_TO_COMPLEMENTARY_GROUP" PolicyTypeBINDTOGROUP PolicyType = "BIND_TO_GROUP" PolicyTypeBINDTOGROUPANDLICENSE PolicyType = "BIND_TO_GROUP_AND_LICENSE" PolicyTypeEXCLUSIVEBINDTOGROUP PolicyType = "EXCLUSIVE_BIND_TO_GROUP" PolicyTypeMERGE PolicyType = "MERGE" PolicyTypeMUSTNOTRUNTOGETHER PolicyType = "MUST_NOT_RUN_TOGETHER" PolicyTypeMUSTRUNTOGETHER PolicyType = "MUST_RUN_TOGETHER" )
Defines values for PolicyType.
func (PolicyType) Valid ¶
func (e PolicyType) Valid() bool
Valid indicates whether the value is a known member of the PolicyType enum.
type PriceAdjustmentDTO ¶
type PriceAdjustmentDTO struct {
// Type Price Adjustment type
Type *PriceAdjustmentType `json:"type,omitempty"`
Value *float32 `json:"value,omitempty"`
}
PriceAdjustmentDTO Entity price adjustment percentage
type PriceAdjustmentType ¶
type PriceAdjustmentType string
PriceAdjustmentType Price Adjustment type
const ( PriceAdjustmentTypeDISCOUNT PriceAdjustmentType = "DISCOUNT" PriceAdjustmentTypeINCREASE PriceAdjustmentType = "INCREASE" )
Defines values for PriceAdjustmentType.
func (PriceAdjustmentType) Valid ¶
func (e PriceAdjustmentType) Valid() bool
Valid indicates whether the value is a known member of the PriceAdjustmentType enum.
type ProductVersionDTO ¶
type ProductVersionDTO struct {
// ApiVersion The version of the REST API.
ApiVersion *string `json:"apiVersion,omitempty"`
// Branch The branch associated with this deployment.
Branch *string `json:"branch,omitempty"`
// Build The build number associated with this deployment.
Build *string `json:"build,omitempty"`
// Commit The commit associated with this deployment.
Commit *string `json:"commit,omitempty"`
// GitDescription Specific source control information associated with this deployment.
GitDescription *string `json:"gitDescription,omitempty"`
// HasCodeChanges Contains version information about the running Turbonomic instance.
HasCodeChanges *ProductVersionDTO `json:"hasCodeChanges,omitempty"`
// MarketVersion The version of the market
MarketVersion *int32 `json:"marketVersion,omitempty"`
// Updates Description of available updates--not yet implemented in XL.
Updates *string `json:"updates,omitempty"`
// Version The Operations Manager product version, including major and minor versions
Version *string `json:"version,omitempty"`
// VersionInfo A multi-line string describing the version information, including that of the various internal components.
VersionInfo *string `json:"versionInfo,omitempty"`
}
ProductVersionDTO Contains version information about the running Turbonomic instance.
type QueryType ¶
type QueryType string
QueryType Query Type of query parameter, can be exact, regex or contains
type RangeApiDTO ¶
type RangeApiDTO struct {
// CustomStepValues Custom step values when the slider step is not constant - [DEPRECATED - Use: stepValues]
CustomStepValues *[]int32 `json:"customStepValues,omitempty"`
// Labels Labels to show in the values of the slider
Labels *[]string `json:"labels,omitempty"`
// Step The Step scale factor of the slider
Step *float64 `json:"step,omitempty"`
// StepValues Custom step values when the slider step is not constant
StepValues *[]float32 `json:"stepValues,omitempty"`
}
RangeApiDTO Model to describe the Range of a Value in the Settings
type ReadListener ¶
type ReadListener = map[string]interface{}
ReadListener defines model for ReadListener.
type RecurrenceApiDTO ¶
type RecurrenceApiDTO struct {
// DaysOfMonth When recurrence type is MONTHLY, the date to apply the monthly recurrence
DaysOfMonth *[]int32 `json:"daysOfMonth,omitempty"`
// DaysOfWeek The day of week that the recurrence will occur. Required if the type of recurrence is WEEKLY, or if the type is MONTHLY and a week for the monthly recurrence has been set.
DaysOfWeek *[]DayOfWeek `json:"daysOfWeek,omitempty"`
// Interval Frequency of the recurrence based on the recurrence type. For example, an interval of '2' with a recurrence type of MONTHLY will occur every two months.
Interval *int32 `json:"interval,omitempty"`
// Type Recurrence type
Type RecurrenceType `json:"type"`
// WeekOfTheMonth When recurrence type is MONTHLY, which week of the month to apply the recurrence. A value of -1 indicates last week, 0 indicates this week, and so on.
WeekOfTheMonth *[]int32 `json:"weekOfTheMonth,omitempty"`
}
RecurrenceApiDTO Model to describe the Schedule for a Settings Policy
type RecurrenceType ¶
type RecurrenceType string
RecurrenceType Recurrence type
const ( RecurrenceTypeDAILY RecurrenceType = "DAILY" RecurrenceTypeMONTHLY RecurrenceType = "MONTHLY" RecurrenceTypeWEEKLY RecurrenceType = "WEEKLY" )
Defines values for RecurrenceType.
func (RecurrenceType) Valid ¶
func (e RecurrenceType) Valid() bool
Valid indicates whether the value is a known member of the RecurrenceType enum.
type RelationType ¶
type RelationType string
RelationType Commodity relation type
const ( RelationTypeBought RelationType = "bought" RelationTypeSold RelationType = "sold" )
Defines values for RelationType.
func (RelationType) Valid ¶
func (e RelationType) Valid() bool
Valid indicates whether the value is a known member of the RelationType enum.
type RelievePressureObjectApiDTO ¶
type RelievePressureObjectApiDTO struct {
// Destinations Destinations of the change, List of Clusters where VMs can move to
Destinations *[]BaseApiDTO `json:"destinations,omitempty"`
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// Sources Sources of the change, List of Clusters that are overloaded
Sources *[]BaseApiDTO `json:"sources,omitempty"`
}
RelievePressureObjectApiDTO Model to describe a relieve pressure change in the scenario: minimum amount of Actions Moves that will relieve the pressure on the over-utilized clusters
type RemoveConstraintApiDTO ¶
type RemoveConstraintApiDTO struct {
// ConstraintType Constraint type
ConstraintType *ConstraintType `json:"constraintType,omitempty"`
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
TargetEntityType *string `json:"targetEntityType,omitempty"`
}
RemoveConstraintApiDTO Model to describe a constraint change in the scenario
type RemoveObjectApiDTO ¶
type RemoveObjectApiDTO struct {
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
// TargetEntityType Type of entity to remove from group target
TargetEntityType *string `json:"targetEntityType,omitempty"`
}
RemoveObjectApiDTO Model to describe a remove change in the scenario
type ReplaceObjectApiDTO ¶
type ReplaceObjectApiDTO struct {
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
// TargetEntityType Type of entity to remove from group target
TargetEntityType *string `json:"targetEntityType,omitempty"`
// Template Basic information of an entity
Template *BaseApiDTO `json:"template,omitempty"`
}
ReplaceObjectApiDTO Model to describe a migration change in the scenario
type ReplicationRole ¶
type ReplicationRole string
ReplicationRole Replication Role
const ( ReplicationRoleNone ReplicationRole = "None" ReplicationRolePrimary ReplicationRole = "Primary" ReplicationRoleSecondary ReplicationRole = "Secondary" )
Defines values for ReplicationRole.
func (ReplicationRole) Valid ¶
func (e ReplicationRole) Valid() bool
Valid indicates whether the value is a known member of the ReplicationRole enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ReservedInstanceApiDTO ¶
type ReservedInstanceApiDTO struct {
// AccountDisplayName Account display name
AccountDisplayName *string `json:"accountDisplayName,omitempty"`
// AccountId Account ID
AccountId *string `json:"accountId,omitempty"`
// ActualHourlyCost Actual hourly cost
ActualHourlyCost *float64 `json:"actualHourlyCost,omitempty"`
// AppliedScopes List of applied scope UUIDs - only provided when scope is Single or Resource_Group (Azure)
AppliedScopes *[]string `json:"appliedScopes,omitempty"`
ClassName *string `json:"className,omitempty"`
// CloudType Cloud type
CloudType *CloudType `json:"cloudType,omitempty"`
// CostPrice Model to describe a Statistic
CostPrice *StatApiDTO `json:"costPrice,omitempty"`
// Coupons Model to describe a Statistic
Coupons *StatApiDTO `json:"coupons,omitempty"`
// CoveredEntityCount Count of workload entities covered by the reserved instance
CoveredEntityCount *int32 `json:"coveredEntityCount,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EffectiveHourlyCost Effective hourly cost
EffectiveHourlyCost *float64 `json:"effectiveHourlyCost,omitempty"`
// ExpDate Expiration date
ExpDate *string `json:"expDate,omitempty"`
// ExpDateEpochTime Expiration Date in epoch time
ExpDateEpochTime *int64 `json:"expDateEpochTime,omitempty"`
// ExpandedAppliedScopes List of applied scopes with additional information about each scope
ExpandedAppliedScopes *[]BaseApiDTO `json:"expandedAppliedScopes,omitempty"`
// InstanceCount Number of reserved instance with the same type, template, platform etc..
InstanceCount *int32 `json:"instanceCount,omitempty"`
// IsExpired Whether the RI be expired by a date provided
IsExpired *bool `json:"isExpired,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Location Basic information of an entity
Location *BaseApiDTO `json:"location,omitempty"`
// MasterAccountId Master account ID
MasterAccountId *string `json:"masterAccountId,omitempty"`
// OnDemandPrice Model to describe a Statistic
OnDemandPrice *StatApiDTO `json:"onDemandPrice,omitempty"`
// OrderID The Order ID of the RI (Azure)
OrderID *string `json:"orderID,omitempty"`
// Payment Payment option
Payment *PaymentOption `json:"payment,omitempty"`
// Platform Platform
Platform *Platform `json:"platform,omitempty"`
// ScopeType RI Scope type
ScopeType *AzureRIScopeType `json:"scopeType,omitempty"`
SizeFlexible *bool `json:"sizeFlexible,omitempty"`
// TargetId The associated target ID of the account
TargetId *string `json:"targetId,omitempty"`
// Template Basic information of an entity
Template *BaseApiDTO `json:"template,omitempty"`
// Tenancy Tenancy
Tenancy *Tenancy `json:"tenancy,omitempty"`
// Term Model to describe a Statistic
Term *StatApiDTO `json:"term,omitempty"`
ToBuy *bool `json:"toBuy,omitempty"`
// TotalCoupons Total coupons provided by the cbtp the vm matched with
TotalCoupons *float32 `json:"totalCoupons,omitempty"`
// TrueID The ID of the RI
TrueID *string `json:"trueID,omitempty"`
// Type Reserved Instance type
Type *ReservedInstanceType `json:"type,omitempty"`
// UndiscoveredAccountsCoveredCount ount of undiscovered accounts covered by the reserved instance
UndiscoveredAccountsCoveredCount *int32 `json:"undiscoveredAccountsCoveredCount,omitempty"`
// UpFrontCost Up front cost
UpFrontCost *float64 `json:"upFrontCost,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ReservedInstanceApiDTO Model to describe a Reserved Instance
type ReservedInstanceType ¶
type ReservedInstanceType string
ReservedInstanceType Reserved Instance type
const ( ReservedInstanceTypeCONVERTIBLE ReservedInstanceType = "CONVERTIBLE" ReservedInstanceTypeSTANDARD ReservedInstanceType = "STANDARD" )
Defines values for ReservedInstanceType.
func (ReservedInstanceType) Valid ¶
func (e ReservedInstanceType) Valid() bool
Valid indicates whether the value is a known member of the ReservedInstanceType enum.
type ResourceApiDTO ¶
type ResourceApiDTO struct {
// LinkedResources resources related to this resource. For now,this will only contain the cluster
LinkedResources *[]BaseApiDTO `json:"linkedResources,omitempty"`
// Provider Basic information of an entity
Provider *BaseApiDTO `json:"provider,omitempty"`
// RelatedResources ID of resources related to this resource
RelatedResources *[]string `json:"relatedResources,omitempty"`
// Stats Statistics, e.g. Number of CPU, Memory size, Disk size, ...
Stats *[]StatApiDTO `json:"stats,omitempty"`
// Template Template used to fulfill the resources
Template *string `json:"template,omitempty"`
// Type Type of the resource
Type *string `json:"type,omitempty"`
}
ResourceApiDTO Model to describe the Resources of a Template
type RoleApiDTO ¶
type RoleApiDTO struct {
ClassName *string `json:"className,omitempty"`
// CreatedBy User who created the role
CreatedBy *string `json:"createdBy,omitempty"`
// CreatedTime Role created time
CreatedTime *time.Time `json:"createdTime,omitempty"`
// Description Description of the role
Description *string `json:"description,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Id *int64 `json:"id,omitempty"`
// LastUpdatedBy User who made the last update
LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
// LastUpdatedTime Last updated time
LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Name Name of the role
Name *RoleApiDTOName `json:"name,omitempty"`
// Permissions Permissions in the Role
Permissions *[]PermissionApiDTO `json:"permissions,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
RoleApiDTO Model to describe a User Role, it describe the permissions of an user over the Ops. Manager capabilities
type RoleApiDTOName ¶
type RoleApiDTOName string
RoleApiDTOName Name of the role
const ( RoleApiDTONameADMINISTRATOR RoleApiDTOName = "ADMINISTRATOR" RoleApiDTONameADVISOR RoleApiDTOName = "ADVISOR" RoleApiDTONameAUTOMATOR RoleApiDTOName = "AUTOMATOR" RoleApiDTONameDEPLOYER RoleApiDTOName = "DEPLOYER" RoleApiDTONameOBSERVER RoleApiDTOName = "OBSERVER" RoleApiDTONameOPERATIONALOBSERVER RoleApiDTOName = "OPERATIONAL_OBSERVER" RoleApiDTONamePARKER RoleApiDTOName = "PARKER" RoleApiDTONamePARKERAUTOMATOR RoleApiDTOName = "PARKER_AUTOMATOR" RoleApiDTONameREPORTEDITOR RoleApiDTOName = "REPORT_EDITOR" RoleApiDTONameSHAREDADVISOR RoleApiDTOName = "SHARED_ADVISOR" RoleApiDTONameSHAREDOBSERVER RoleApiDTOName = "SHARED_OBSERVER" RoleApiDTONameSITEADMIN RoleApiDTOName = "SITE_ADMIN" )
Defines values for RoleApiDTOName.
func (RoleApiDTOName) Valid ¶
func (e RoleApiDTOName) Valid() bool
Valid indicates whether the value is a known member of the RoleApiDTOName enum.
type ScenarioApiDTO ¶
type ScenarioApiDTO struct {
ClassName *string `json:"className,omitempty"`
// ConfigChanges Policies and Settings changes in the scenario
ConfigChanges *ConfigChangesApiDTO `json:"configChanges,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
// LoadChanges Workload utilization changes in the scenario
LoadChanges *LoadChangesApiDTO `json:"loadChanges,omitempty"`
// Owners Users that owns the scenario
Owners *[]UserApiDTO `json:"owners,omitempty"`
// ProjectionDays List of days that define when the scenario should run
ProjectionDays *[]int32 `json:"projectionDays,omitempty"`
// Scope List of entities/group that define the Scope
Scope *[]BaseApiDTO `json:"scope,omitempty"`
// TimebasedTopologyChanges Topology changes based on a timeframe in the scenario
TimebasedTopologyChanges *TimeBasedTopologyChangesApiDTO `json:"timebasedTopologyChanges,omitempty"`
// TopologyChanges Topology changes in the scenario
TopologyChanges *TopologyChangesApiDTO `json:"topologyChanges,omitempty"`
// Type Type of the scenario
Type *string `json:"type,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ScenarioApiDTO Model to describe a What-If Scenario, composed by a list of changes
type ScheduleApiDTO ¶
type ScheduleApiDTO struct {
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EndDate End date of the schedule period, expressed using ISO8601 Format (YYYY-MM-DDTHH:MM:SS). This date is local to the timezone of the instance.
EndDate *string `json:"endDate,omitempty"`
// EndTime End time in hours and minutes for the scheduled period in ISO8601. For example, 2019-04-04T19:15
EndTime string `json:"endTime"`
Links *[]Link `json:"links,omitempty"`
// NextOccurrence The date and time of the next occurence of this schedule represented in ISO8601 local time (YYYY-MM-DDTHH:MM:SS). For example, 2019-04-04T19:15
NextOccurrence *string `json:"nextOccurrence,omitempty"`
// NextOccurrenceTimestamp The date and time of the next occurence of this schedule represented in Timestamp in milliseconds. For example, 1562100619000
NextOccurrenceTimestamp *int64 `json:"nextOccurrenceTimestamp,omitempty"`
// Recurrence Model to describe the Schedule for a Settings Policy
Recurrence *RecurrenceApiDTO `json:"recurrence,omitempty"`
// RemaingTimeActiveInMs The amount of time that the schedule is going to be active at the time of call in milliseconds. This field will not be populated if the schedule is not currently active.
RemaingTimeActiveInMs *int64 `json:"remaingTimeActiveInMs,omitempty"`
// StartDate Start date of the schedule period, expressed using ISO8601 Format (YYYY-MM-DDTHH:MM:SS). This date is local to the timezone of the instance.
StartDate string `json:"startDate"`
// StartTime Start time in hours and minutes for the scheduled period in ISO8601. For example, 2019-04-04T17:15
StartTime string `json:"startTime"`
// TimeZone The time zone name based on tz database
TimeZone *string `json:"timeZone,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
ScheduleApiDTO Model to describe the Schedule for a Settings Policy
type SearchCountRecordApiDTO ¶
type SearchCountRecordApiDTO struct {
Count int32 `json:"count"`
GroupBys []FieldValueApiDTO `json:"groupBys"`
}
SearchCountRecordApiDTO defines model for SearchCountRecordApiDTO.
type SearchEntitiesJSONRequestBody ¶
type SearchEntitiesJSONRequestBody = EntityQueryApiDTO
SearchEntitiesJSONRequestBody defines body for SearchEntities for application/json ContentType.
type SearchEntitiesResp ¶
type SearchEntitiesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SearchQueryRecordApiDTO
}
func ParseSearchEntitiesResp ¶
func ParseSearchEntitiesResp(rsp *http.Response) (*SearchEntitiesResp, error)
ParseSearchEntitiesResp parses an HTTP response from a SearchEntitiesWithResponse call
func (SearchEntitiesResp) ContentType ¶
func (r SearchEntitiesResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchEntitiesResp) Status ¶
func (r SearchEntitiesResp) Status() string
Status returns HTTPResponse.Status
func (SearchEntitiesResp) StatusCode ¶
func (r SearchEntitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchGroupsJSONRequestBody ¶
type SearchGroupsJSONRequestBody = GroupQueryApiDTO
SearchGroupsJSONRequestBody defines body for SearchGroups for application/json ContentType.
type SearchGroupsResp ¶
type SearchGroupsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SearchQueryRecordApiDTO
}
func ParseSearchGroupsResp ¶
func ParseSearchGroupsResp(rsp *http.Response) (*SearchGroupsResp, error)
ParseSearchGroupsResp parses an HTTP response from a SearchGroupsWithResponse call
func (SearchGroupsResp) ContentType ¶
func (r SearchGroupsResp) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchGroupsResp) Status ¶
func (r SearchGroupsResp) Status() string
Status returns HTTPResponse.Status
func (SearchGroupsResp) StatusCode ¶
func (r SearchGroupsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchQueryRecordApiDTO ¶
type SearchQueryRecordApiDTO struct {
Oid int64 `json:"oid"`
Values []FieldValueApiDTO `json:"values"`
}
SearchQueryRecordApiDTO defines model for SearchQueryRecordApiDTO.
type SelectEntityApiDTO ¶
type SelectEntityApiDTO struct {
// EntityType Entity types allowed in API
EntityType EntityType `json:"entityType"`
Fields *[]FieldApiDTO `json:"fields,omitempty"`
}
SelectEntityApiDTO defines model for SelectEntityApiDTO.
type SelectGroupApiDTO ¶
type SelectGroupApiDTO struct {
Fields *[]FieldApiDTO `json:"fields,omitempty"`
// GroupType Group type
GroupType GroupType `json:"groupType"`
}
SelectGroupApiDTO defines model for SelectGroupApiDTO.
type ServiceEntityApiDTO ¶
type ServiceEntityApiDTO struct {
// Aspects Additional info about the Entity categorized as Aspects
Aspects *map[string]EntityAspect `json:"aspects,omitempty"`
AspectsByName *map[string]EntityAspect `json:"aspectsByName,omitempty"`
ClassName *string `json:"className,omitempty"`
// ConnectedEntities Limited list of connected entities relevant to the service entity. This will not contain all connected entities.
ConnectedEntities *[]BaseApiDTO `json:"connectedEntities,omitempty"`
// Consumers List of Consumers
Consumers *[]BaseApiDTO `json:"consumers,omitempty"`
Controllable *bool `json:"controllable,omitempty"`
// CostPrice Cost price per Hour
CostPrice *float32 `json:"costPrice,omitempty"`
// DiscoveredBy Model to describe a Target. Targets are used to discover the components to create a connected virtual environment
DiscoveredBy *TargetApiDTO `json:"discoveredBy,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntityCosts Cost info for the entity
EntityCosts *[]EntityCostApiDTO `json:"entityCosts,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// NotPlacedOn The comma-separated classNames of entities could not be placed on, used for Unplaced entities in a Plan Market - [DEPRECATED - EOL: 8.15.1 - Use: unplacementDetails.reasons]
NotPlacedOn *string `json:"notPlacedOn,omitempty"`
// NumRelatedVMs Number of related VMs
NumRelatedVMs *int32 `json:"numRelatedVMs,omitempty"`
// OnDemandRateAfter On-demand rate after actions
OnDemandRateAfter *float32 `json:"onDemandRateAfter,omitempty"`
// OnDemandRateBefore On-demand rate before actions
OnDemandRateBefore *float32 `json:"onDemandRateBefore,omitempty"`
// PlacedOn The comma-separated classNames of entities successfully placed on, used for Unplaced entities in a Plan Market - [DEPRECATED - EOL: 8.15.1 - Use: unplacementDetails.placedOn]
PlacedOn *string `json:"placedOn,omitempty"`
// PriceIndex Price index of the Entity
PriceIndex *float32 `json:"priceIndex,omitempty"`
// Providers List of Providers
Providers *[]BaseApiDTO `json:"providers,omitempty"`
// RealtimeMarketReference Basic information of an entity
RealtimeMarketReference *BaseApiDTO `json:"realtimeMarketReference,omitempty"`
// RemoteId The identifier of this instance on the remote target from which it was discovered. [DEPRECATED - EOL: 8.15.1 - Use: vendorIds]
RemoteId *string `json:"remoteId,omitempty"`
// Severity Highest severity of the Actions related to this entity
Severity *ServiceEntityApiDTOSeverity `json:"severity,omitempty"`
// SeverityBreakdown A Map of severity along with their count. E.g. {CRITICAL: 1, NORMAL: 10}
SeverityBreakdown *map[string]int64 `json:"severityBreakdown,omitempty"`
// Staleness The degree to which the information is considered outdated
Staleness *Staleness `json:"staleness,omitempty"`
// State State
State *ServiceEntityApiDTOState `json:"state,omitempty"`
// Tags Tags are the metadata defined in name/value pairs. Each name can have multiple values.
Tags *map[string][]string `json:"tags,omitempty"`
// Template Model to describe a Template: contains the resources used to Deploy a VM or to Add Workload/Supply in a Plan
Template *TemplateApiDTO `json:"template,omitempty"`
// UnplacedExplanation The reason(s) the entity could not be placed -[DEPRECATED - EOL: 8.15.1 - Use: unplacementDetails.reasons]
UnplacedExplanation *string `json:"unplacedExplanation,omitempty"`
// UnplacementDetails Additional information provided for entities in a plan that are unplaced
UnplacementDetails *UnplacementDetailsApiDTO `json:"unplacementDetails,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// VendorIds The mapping of target identifier to vendor-provided identity of this entity on the remote target
VendorIds *map[string]string `json:"vendorIds,omitempty"`
}
ServiceEntityApiDTO Model to describe the parameters for creating a business unit.
type ServiceEntityApiDTOSeverity ¶
type ServiceEntityApiDTOSeverity string
ServiceEntityApiDTOSeverity Highest severity of the Actions related to this entity
const ( ServiceEntityApiDTOSeverityCRITICAL ServiceEntityApiDTOSeverity = "CRITICAL" ServiceEntityApiDTOSeverityMAJOR ServiceEntityApiDTOSeverity = "MAJOR" ServiceEntityApiDTOSeverityMINOR ServiceEntityApiDTOSeverity = "MINOR" ServiceEntityApiDTOSeverityNORMAL ServiceEntityApiDTOSeverity = "NORMAL" ServiceEntityApiDTOSeverityUNKNOWN ServiceEntityApiDTOSeverity = "UNKNOWN" )
Defines values for ServiceEntityApiDTOSeverity.
func (ServiceEntityApiDTOSeverity) Valid ¶
func (e ServiceEntityApiDTOSeverity) Valid() bool
Valid indicates whether the value is a known member of the ServiceEntityApiDTOSeverity enum.
type ServiceEntityApiDTOState ¶
type ServiceEntityApiDTOState string
ServiceEntityApiDTOState State
const ( ServiceEntityApiDTOStateACTIVE ServiceEntityApiDTOState = "ACTIVE" ServiceEntityApiDTOStateEVACUATED ServiceEntityApiDTOState = "EVACUATED" ServiceEntityApiDTOStateFAILOVER ServiceEntityApiDTOState = "FAILOVER" ServiceEntityApiDTOStateIDLE ServiceEntityApiDTOState = "IDLE" ServiceEntityApiDTOStateLAUNCH ServiceEntityApiDTOState = "LAUNCH" ServiceEntityApiDTOStateMAINTENANCE ServiceEntityApiDTOState = "MAINTENANCE" ServiceEntityApiDTOStateNOTFOUND ServiceEntityApiDTOState = "NOT_FOUND" ServiceEntityApiDTOStateNOTMONITORED ServiceEntityApiDTOState = "NOT_MONITORED" ServiceEntityApiDTOStateQUEUED ServiceEntityApiDTOState = "QUEUED" ServiceEntityApiDTOStateRESOURCEALLOCATION ServiceEntityApiDTOState = "RESOURCE_ALLOCATION" ServiceEntityApiDTOStateRESOURCERELEASE ServiceEntityApiDTOState = "RESOURCE_RELEASE" ServiceEntityApiDTOStateSUSPEND ServiceEntityApiDTOState = "SUSPEND" ServiceEntityApiDTOStateSUSPENDPENDING ServiceEntityApiDTOState = "SUSPEND_PENDING" ServiceEntityApiDTOStateTERMINATEPENDING ServiceEntityApiDTOState = "TERMINATE_PENDING" ServiceEntityApiDTOStateUNKNOWN ServiceEntityApiDTOState = "UNKNOWN" )
Defines values for ServiceEntityApiDTOState.
func (ServiceEntityApiDTOState) Valid ¶
func (e ServiceEntityApiDTOState) Valid() bool
Valid indicates whether the value is a known member of the ServiceEntityApiDTOState enum.
type ServletConnection ¶
type ServletConnection struct {
ConnectionId *string `json:"connectionId,omitempty"`
Protocol *string `json:"protocol,omitempty"`
ProtocolConnectionId *string `json:"protocolConnectionId,omitempty"`
Secure *bool `json:"secure,omitempty"`
}
ServletConnection defines model for ServletConnection.
type ServletContext ¶
type ServletContext struct {
AttributeNames *map[string]interface{} `json:"attributeNames,omitempty"`
ClassLoader *struct {
DefaultAssertionStatus *bool `json:"defaultAssertionStatus,omitempty"`
DefinedPackages *[]struct {
Annotations *[]map[string]interface{} `json:"annotations,omitempty"`
DeclaredAnnotations *[]map[string]interface{} `json:"declaredAnnotations,omitempty"`
ImplementationTitle *string `json:"implementationTitle,omitempty"`
ImplementationVendor *string `json:"implementationVendor,omitempty"`
ImplementationVersion *string `json:"implementationVersion,omitempty"`
Name *string `json:"name,omitempty"`
Sealed *bool `json:"sealed,omitempty"`
SpecificationTitle *string `json:"specificationTitle,omitempty"`
SpecificationVendor *string `json:"specificationVendor,omitempty"`
SpecificationVersion *string `json:"specificationVersion,omitempty"`
} `json:"definedPackages,omitempty"`
Name *string `json:"name,omitempty"`
Parent *struct {
DefaultAssertionStatus *bool `json:"defaultAssertionStatus,omitempty"`
DefinedPackages *[]struct {
Annotations *[]map[string]interface{} `json:"annotations,omitempty"`
DeclaredAnnotations *[]map[string]interface{} `json:"declaredAnnotations,omitempty"`
ImplementationTitle *string `json:"implementationTitle,omitempty"`
ImplementationVendor *string `json:"implementationVendor,omitempty"`
ImplementationVersion *string `json:"implementationVersion,omitempty"`
Name *string `json:"name,omitempty"`
Sealed *bool `json:"sealed,omitempty"`
SpecificationTitle *string `json:"specificationTitle,omitempty"`
SpecificationVendor *string `json:"specificationVendor,omitempty"`
SpecificationVersion *string `json:"specificationVersion,omitempty"`
} `json:"definedPackages,omitempty"`
Name *string `json:"name,omitempty"`
RegisteredAsParallelCapable *bool `json:"registeredAsParallelCapable,omitempty"`
UnnamedModule *struct {
Annotations *[]map[string]interface{} `json:"annotations,omitempty"`
DeclaredAnnotations *[]map[string]interface{} `json:"declaredAnnotations,omitempty"`
Descriptor *struct {
Automatic *bool `json:"automatic,omitempty"`
Open *bool `json:"open,omitempty"`
} `json:"descriptor,omitempty"`
Layer *map[string]interface{} `json:"layer,omitempty"`
Name *string `json:"name,omitempty"`
Named *bool `json:"named,omitempty"`
Packages *[]string `json:"packages,omitempty"`
} `json:"unnamedModule,omitempty"`
} `json:"parent,omitempty"`
RegisteredAsParallelCapable *bool `json:"registeredAsParallelCapable,omitempty"`
UnnamedModule *struct {
Annotations *[]map[string]interface{} `json:"annotations,omitempty"`
DeclaredAnnotations *[]map[string]interface{} `json:"declaredAnnotations,omitempty"`
Descriptor *struct {
Automatic *bool `json:"automatic,omitempty"`
Open *bool `json:"open,omitempty"`
} `json:"descriptor,omitempty"`
Layer *map[string]interface{} `json:"layer,omitempty"`
Name *string `json:"name,omitempty"`
Named *bool `json:"named,omitempty"`
Packages *[]string `json:"packages,omitempty"`
} `json:"unnamedModule,omitempty"`
} `json:"classLoader,omitempty"`
ContextPath *string `json:"contextPath,omitempty"`
DefaultSessionTrackingModes *[]ServletContextDefaultSessionTrackingModes `json:"defaultSessionTrackingModes,omitempty"`
EffectiveMajorVersion *int32 `json:"effectiveMajorVersion,omitempty"`
EffectiveMinorVersion *int32 `json:"effectiveMinorVersion,omitempty"`
EffectiveSessionTrackingModes *[]ServletContextEffectiveSessionTrackingModes `json:"effectiveSessionTrackingModes,omitempty"`
FilterRegistrations *map[string]FilterRegistration `json:"filterRegistrations,omitempty"`
InitParameterNames *map[string]interface{} `json:"initParameterNames,omitempty"`
JspConfigDescriptor *JspConfigDescriptor `json:"jspConfigDescriptor,omitempty"`
MajorVersion *int32 `json:"majorVersion,omitempty"`
MinorVersion *int32 `json:"minorVersion,omitempty"`
RequestCharacterEncoding *string `json:"requestCharacterEncoding,omitempty"`
ResponseCharacterEncoding *string `json:"responseCharacterEncoding,omitempty"`
ServerInfo *string `json:"serverInfo,omitempty"`
ServletContextName *string `json:"servletContextName,omitempty"`
ServletRegistrations *map[string]ServletRegistration `json:"servletRegistrations,omitempty"`
SessionCookieConfig *SessionCookieConfig `json:"sessionCookieConfig,omitempty"`
SessionTimeout *int32 `json:"sessionTimeout,omitempty"`
SessionTrackingModes *[]ServletContextSessionTrackingModes `json:"sessionTrackingModes,omitempty"`
VirtualServerName *string `json:"virtualServerName,omitempty"`
}
ServletContext defines model for ServletContext.
type ServletContextDefaultSessionTrackingModes ¶
type ServletContextDefaultSessionTrackingModes string
ServletContextDefaultSessionTrackingModes defines model for ServletContext.DefaultSessionTrackingModes.
const ( ServletContextDefaultSessionTrackingModesCOOKIE ServletContextDefaultSessionTrackingModes = "COOKIE" ServletContextDefaultSessionTrackingModesSSL ServletContextDefaultSessionTrackingModes = "SSL" ServletContextDefaultSessionTrackingModesURL ServletContextDefaultSessionTrackingModes = "URL" )
Defines values for ServletContextDefaultSessionTrackingModes.
func (ServletContextDefaultSessionTrackingModes) Valid ¶
func (e ServletContextDefaultSessionTrackingModes) Valid() bool
Valid indicates whether the value is a known member of the ServletContextDefaultSessionTrackingModes enum.
type ServletContextEffectiveSessionTrackingModes ¶
type ServletContextEffectiveSessionTrackingModes string
ServletContextEffectiveSessionTrackingModes defines model for ServletContext.EffectiveSessionTrackingModes.
const ( ServletContextEffectiveSessionTrackingModesCOOKIE ServletContextEffectiveSessionTrackingModes = "COOKIE" ServletContextEffectiveSessionTrackingModesSSL ServletContextEffectiveSessionTrackingModes = "SSL" ServletContextEffectiveSessionTrackingModesURL ServletContextEffectiveSessionTrackingModes = "URL" )
Defines values for ServletContextEffectiveSessionTrackingModes.
func (ServletContextEffectiveSessionTrackingModes) Valid ¶
func (e ServletContextEffectiveSessionTrackingModes) Valid() bool
Valid indicates whether the value is a known member of the ServletContextEffectiveSessionTrackingModes enum.
type ServletContextSessionTrackingModes ¶
type ServletContextSessionTrackingModes string
ServletContextSessionTrackingModes defines model for ServletContext.SessionTrackingModes.
const ( ServletContextSessionTrackingModesCOOKIE ServletContextSessionTrackingModes = "COOKIE" ServletContextSessionTrackingModesSSL ServletContextSessionTrackingModes = "SSL" ServletContextSessionTrackingModesURL ServletContextSessionTrackingModes = "URL" )
Defines values for ServletContextSessionTrackingModes.
func (ServletContextSessionTrackingModes) Valid ¶
func (e ServletContextSessionTrackingModes) Valid() bool
Valid indicates whether the value is a known member of the ServletContextSessionTrackingModes enum.
type ServletInputStream ¶
type ServletInputStream struct {
Finished *bool `json:"finished,omitempty"`
ReadListener *ReadListener `json:"readListener,omitempty"`
Ready *bool `json:"ready,omitempty"`
}
ServletInputStream defines model for ServletInputStream.
type ServletOutputStream ¶
type ServletOutputStream struct {
Ready *bool `json:"ready,omitempty"`
WriteListener *WriteListener `json:"writeListener,omitempty"`
}
ServletOutputStream defines model for ServletOutputStream.
type ServletRegistration ¶
type ServletRegistration struct {
ClassName *string `json:"className,omitempty"`
InitParameters *map[string]string `json:"initParameters,omitempty"`
Mappings *[]string `json:"mappings,omitempty"`
Name *string `json:"name,omitempty"`
RunAsRole *string `json:"runAsRole,omitempty"`
}
ServletRegistration defines model for ServletRegistration.
type ServletRequest ¶
type ServletRequest struct {
AsyncContext *AsyncContext `json:"asyncContext,omitempty"`
AsyncStarted *bool `json:"asyncStarted,omitempty"`
AsyncSupported *bool `json:"asyncSupported,omitempty"`
AttributeNames *map[string]interface{} `json:"attributeNames,omitempty"`
CharacterEncoding *string `json:"characterEncoding,omitempty"`
ContentLength *int32 `json:"contentLength,omitempty"`
ContentLengthLong *int64 `json:"contentLengthLong,omitempty"`
ContentType *string `json:"contentType,omitempty"`
DispatcherType *ServletRequestDispatcherType `json:"dispatcherType,omitempty"`
InputStream *ServletInputStream `json:"inputStream,omitempty"`
LocalAddr *string `json:"localAddr,omitempty"`
LocalName *string `json:"localName,omitempty"`
LocalPort *int32 `json:"localPort,omitempty"`
Locale *struct {
Country *string `json:"country,omitempty"`
DisplayCountry *string `json:"displayCountry,omitempty"`
DisplayLanguage *string `json:"displayLanguage,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
DisplayScript *string `json:"displayScript,omitempty"`
DisplayVariant *string `json:"displayVariant,omitempty"`
ExtensionKeys *[]string `json:"extensionKeys,omitempty"`
Iso3Country *string `json:"iso3Country,omitempty"`
Iso3Language *string `json:"iso3Language,omitempty"`
Language *string `json:"language,omitempty"`
Script *string `json:"script,omitempty"`
UnicodeLocaleAttributes *[]string `json:"unicodeLocaleAttributes,omitempty"`
UnicodeLocaleKeys *[]string `json:"unicodeLocaleKeys,omitempty"`
Variant *string `json:"variant,omitempty"`
} `json:"locale,omitempty"`
Locales *map[string]interface{} `json:"locales,omitempty"`
ParameterMap *map[string][]string `json:"parameterMap,omitempty"`
ParameterNames *map[string]interface{} `json:"parameterNames,omitempty"`
Protocol *string `json:"protocol,omitempty"`
ProtocolRequestId *string `json:"protocolRequestId,omitempty"`
Reader *map[string]interface{} `json:"reader,omitempty"`
RemoteAddr *string `json:"remoteAddr,omitempty"`
RemoteHost *string `json:"remoteHost,omitempty"`
RemotePort *int32 `json:"remotePort,omitempty"`
RequestId *string `json:"requestId,omitempty"`
Scheme *string `json:"scheme,omitempty"`
Secure *bool `json:"secure,omitempty"`
ServerName *string `json:"serverName,omitempty"`
ServerPort *int32 `json:"serverPort,omitempty"`
ServletConnection *ServletConnection `json:"servletConnection,omitempty"`
ServletContext *ServletContext `json:"servletContext,omitempty"`
}
ServletRequest defines model for ServletRequest.
type ServletRequestDispatcherType ¶
type ServletRequestDispatcherType string
ServletRequestDispatcherType defines model for ServletRequest.DispatcherType.
const ( ServletRequestDispatcherTypeASYNC ServletRequestDispatcherType = "ASYNC" ServletRequestDispatcherTypeERROR ServletRequestDispatcherType = "ERROR" ServletRequestDispatcherTypeFORWARD ServletRequestDispatcherType = "FORWARD" ServletRequestDispatcherTypeINCLUDE ServletRequestDispatcherType = "INCLUDE" ServletRequestDispatcherTypeREQUEST ServletRequestDispatcherType = "REQUEST" )
Defines values for ServletRequestDispatcherType.
func (ServletRequestDispatcherType) Valid ¶
func (e ServletRequestDispatcherType) Valid() bool
Valid indicates whether the value is a known member of the ServletRequestDispatcherType enum.
type ServletResponse ¶
type ServletResponse struct {
BufferSize *int32 `json:"bufferSize,omitempty"`
CharacterEncoding *string `json:"characterEncoding,omitempty"`
Committed *bool `json:"committed,omitempty"`
ContentLength *int32 `json:"contentLength,omitempty"`
ContentLengthLong *int64 `json:"contentLengthLong,omitempty"`
ContentType *string `json:"contentType,omitempty"`
Locale *struct {
Country *string `json:"country,omitempty"`
DisplayCountry *string `json:"displayCountry,omitempty"`
DisplayLanguage *string `json:"displayLanguage,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
DisplayScript *string `json:"displayScript,omitempty"`
DisplayVariant *string `json:"displayVariant,omitempty"`
ExtensionKeys *[]string `json:"extensionKeys,omitempty"`
Iso3Country *string `json:"iso3Country,omitempty"`
Iso3Language *string `json:"iso3Language,omitempty"`
Language *string `json:"language,omitempty"`
Script *string `json:"script,omitempty"`
UnicodeLocaleAttributes *[]string `json:"unicodeLocaleAttributes,omitempty"`
UnicodeLocaleKeys *[]string `json:"unicodeLocaleKeys,omitempty"`
Variant *string `json:"variant,omitempty"`
} `json:"locale,omitempty"`
OutputStream *ServletOutputStream `json:"outputStream,omitempty"`
Writer *map[string]interface{} `json:"writer,omitempty"`
}
ServletResponse defines model for ServletResponse.
type SessionCookieConfig ¶
type SessionCookieConfig struct {
Attributes *map[string]string `json:"attributes,omitempty"`
Comment *string `json:"comment,omitempty"`
Domain *string `json:"domain,omitempty"`
HttpOnly *bool `json:"httpOnly,omitempty"`
MaxAge *int32 `json:"maxAge,omitempty"`
Name *string `json:"name,omitempty"`
Path *string `json:"path,omitempty"`
Secure *bool `json:"secure,omitempty"`
}
SessionCookieConfig defines model for SessionCookieConfig.
type SettingActivePolicyApiDTO ¶
type SettingActivePolicyApiDTO struct {
// NumEntities Number of entities affected by the Settings Policy value
NumEntities int32 `json:"numEntities"`
// SettingsPolicy Basic information of an entity
SettingsPolicy BaseApiDTO `json:"settingsPolicy"`
// Value Setting value declared in the Settings Policy
Value string `json:"value"`
}
SettingActivePolicyApiDTO Model to describe a Settings Policy that affect the value of a Setting
type SettingApiDTO ¶
type SettingApiDTO struct {
// ActiveSettingsPolicies List of Settings Policies that are affecting the final value of this setting
ActiveSettingsPolicies *[]SettingActivePolicyApiDTO `json:"activeSettingsPolicies,omitempty"`
// Categories Category and sub categories of the setting
Categories *[]string `json:"categories,omitempty"`
ClassName *string `json:"className,omitempty"`
// DefaultValue Default value before any change
DefaultValue *map[string]interface{} `json:"defaultValue,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntityType Entity type for this Setting
EntityType *string `json:"entityType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Max If type is NUMERIC, this define the max limit
Max *float64 `json:"max,omitempty"`
// Min If type is NUMERIC, this define the min limit
Min *float64 `json:"min,omitempty"`
// Options List of allowable value for this setting
Options *[]SettingOptionApiDTO `json:"options,omitempty"`
// Range Model to describe the Range of a Value in the Settings
Range *RangeApiDTO `json:"range,omitempty"`
RawValue *map[string]interface{} `json:"rawValue,omitempty"`
// Scope Settings scope
Scope *SettingScope `json:"scope,omitempty"`
// SourceGroupName Source group name for setting value
SourceGroupName *string `json:"sourceGroupName,omitempty"`
// SourceGroupUuid Source group uuid for setting value
SourceGroupUuid *string `json:"sourceGroupUuid,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Value Value of the setting. Type indicated by the `valueObjectType` field. The default type is `String`
Value *map[string]interface{} `json:"value,omitempty"`
// ValueDisplayName Display Name of the Value, in case the value is a Template or another entity
ValueDisplayName *string `json:"valueDisplayName,omitempty"`
// ValueObjectType The type of complex object values. Defaults to 'String'.
ValueObjectType *SettingApiDTOValueObjectType `json:"valueObjectType,omitempty"`
// ValueType Input value type
ValueType *InputValueType `json:"valueType,omitempty"`
}
SettingApiDTO Generic model to describe a Setting. Sub types include StringSettingApiDTO and RIPurchaseProfilesSettingApiDTO.
type SettingApiDTOSerializable ¶
type SettingApiDTOSerializable struct {
// ActiveSettingsPolicies List of Settings Policies that are affecting the final value of this setting
ActiveSettingsPolicies *[]SettingActivePolicyApiDTO `json:"activeSettingsPolicies,omitempty"`
// Categories Category and sub categories of the setting
Categories *[]string `json:"categories,omitempty"`
ClassName *string `json:"className,omitempty"`
// DefaultValue Default value before any change
DefaultValue *map[string]interface{} `json:"defaultValue,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntityType Entity type for this Setting
EntityType *string `json:"entityType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Max If type is NUMERIC, this define the max limit
Max *float64 `json:"max,omitempty"`
// Min If type is NUMERIC, this define the min limit
Min *float64 `json:"min,omitempty"`
// Options List of allowable value for this setting
Options *[]SettingOptionApiDTO `json:"options,omitempty"`
// Range Model to describe the Range of a Value in the Settings
Range *RangeApiDTO `json:"range,omitempty"`
RawValue *map[string]interface{} `json:"rawValue,omitempty"`
// Scope Settings scope
Scope *SettingScope `json:"scope,omitempty"`
// SourceGroupName Source group name for setting value
SourceGroupName *string `json:"sourceGroupName,omitempty"`
// SourceGroupUuid Source group uuid for setting value
SourceGroupUuid *string `json:"sourceGroupUuid,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Value Value of the setting. Type indicated by the `valueObjectType` field. The default type is `String`
Value *map[string]interface{} `json:"value,omitempty"`
// ValueDisplayName Display Name of the Value, in case the value is a Template or another entity
ValueDisplayName *string `json:"valueDisplayName,omitempty"`
// ValueObjectType The type of complex object values. Defaults to 'String'.
ValueObjectType *SettingApiDTOSerializableValueObjectType `json:"valueObjectType,omitempty"`
// ValueType Input value type
ValueType *InputValueType `json:"valueType,omitempty"`
}
SettingApiDTOSerializable Generic model to describe a Setting. Sub types include StringSettingApiDTO and RIPurchaseProfilesSettingApiDTO.
type SettingApiDTOSerializableValueObjectType ¶
type SettingApiDTOSerializableValueObjectType string
SettingApiDTOSerializableValueObjectType The type of complex object values. Defaults to 'String'.
const ( SettingApiDTOSerializableValueObjectTypeReservedInstancePurchaseSettingsDTO SettingApiDTOSerializableValueObjectType = "ReservedInstancePurchaseSettingsDTO" SettingApiDTOSerializableValueObjectTypeString SettingApiDTOSerializableValueObjectType = "String" )
Defines values for SettingApiDTOSerializableValueObjectType.
func (SettingApiDTOSerializableValueObjectType) Valid ¶
func (e SettingApiDTOSerializableValueObjectType) Valid() bool
Valid indicates whether the value is a known member of the SettingApiDTOSerializableValueObjectType enum.
type SettingApiDTOString ¶
type SettingApiDTOString struct {
// ActiveSettingsPolicies List of Settings Policies that are affecting the final value of this setting
ActiveSettingsPolicies *[]SettingActivePolicyApiDTO `json:"activeSettingsPolicies,omitempty"`
// Categories Category and sub categories of the setting
Categories *[]string `json:"categories,omitempty"`
ClassName *string `json:"className,omitempty"`
// DefaultValue Default value before any change
DefaultValue *string `json:"defaultValue,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntityType Entity type for this Setting
EntityType *string `json:"entityType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Max If type is NUMERIC, this define the max limit
Max *float64 `json:"max,omitempty"`
// Min If type is NUMERIC, this define the min limit
Min *float64 `json:"min,omitempty"`
// Options List of allowable value for this setting
Options *[]SettingOptionApiDTO `json:"options,omitempty"`
// Range Model to describe the Range of a Value in the Settings
Range *RangeApiDTO `json:"range,omitempty"`
RawValue *map[string]interface{} `json:"rawValue,omitempty"`
// Scope Settings scope
Scope *SettingScope `json:"scope,omitempty"`
// SourceGroupName Source group name for setting value
SourceGroupName *string `json:"sourceGroupName,omitempty"`
// SourceGroupUuid Source group uuid for setting value
SourceGroupUuid *string `json:"sourceGroupUuid,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Value Value of the setting. Type indicated by the `valueObjectType` field. The default type is `String`
Value *string `json:"value,omitempty"`
// ValueDisplayName Display Name of the Value, in case the value is a Template or another entity
ValueDisplayName *string `json:"valueDisplayName,omitempty"`
// ValueObjectType The type of complex object values. Defaults to 'String'.
ValueObjectType *SettingApiDTOStringValueObjectType `json:"valueObjectType,omitempty"`
// ValueType Input value type
ValueType *InputValueType `json:"valueType,omitempty"`
}
SettingApiDTOString Generic model to describe a Setting. Sub types include StringSettingApiDTO and RIPurchaseProfilesSettingApiDTO.
type SettingApiDTOStringValueObjectType ¶
type SettingApiDTOStringValueObjectType string
SettingApiDTOStringValueObjectType The type of complex object values. Defaults to 'String'.
const ( SettingApiDTOStringValueObjectTypeReservedInstancePurchaseSettingsDTO SettingApiDTOStringValueObjectType = "ReservedInstancePurchaseSettingsDTO" SettingApiDTOStringValueObjectTypeString SettingApiDTOStringValueObjectType = "String" )
Defines values for SettingApiDTOStringValueObjectType.
func (SettingApiDTOStringValueObjectType) Valid ¶
func (e SettingApiDTOStringValueObjectType) Valid() bool
Valid indicates whether the value is a known member of the SettingApiDTOStringValueObjectType enum.
type SettingApiDTOValueObjectType ¶
type SettingApiDTOValueObjectType string
SettingApiDTOValueObjectType The type of complex object values. Defaults to 'String'.
const ( SettingApiDTOValueObjectTypeReservedInstancePurchaseSettingsDTO SettingApiDTOValueObjectType = "ReservedInstancePurchaseSettingsDTO" SettingApiDTOValueObjectTypeString SettingApiDTOValueObjectType = "String" )
Defines values for SettingApiDTOValueObjectType.
func (SettingApiDTOValueObjectType) Valid ¶
func (e SettingApiDTOValueObjectType) Valid() bool
Valid indicates whether the value is a known member of the SettingApiDTOValueObjectType enum.
type SettingOptionApiDTO ¶
type SettingOptionApiDTO struct {
Label *string `json:"label,omitempty"`
Value *string `json:"value,omitempty"`
}
SettingOptionApiDTO defines model for SettingOptionApiDTO.
type SettingScope ¶
type SettingScope string
SettingScope Settings scope
const ( SettingScopeGLOBAL SettingScope = "GLOBAL" SettingScopeLOCAL SettingScope = "LOCAL" )
Defines values for SettingScope.
func (SettingScope) Valid ¶
func (e SettingScope) Valid() bool
Valid indicates whether the value is a known member of the SettingScope enum.
type SettingsManagerApiDTO ¶
type SettingsManagerApiDTO struct {
// Category Category of the Manager
Category string `json:"category"`
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Settings List of Settings contained in the Manager
Settings []SettingApiDTOSerializable `json:"settings"`
Uuid *string `json:"uuid,omitempty"`
}
SettingsManagerApiDTO Model to describe a Category Manager for the settings
type SettingsPolicyApiDTO ¶
type SettingsPolicyApiDTO struct {
ClassName *string `json:"className,omitempty"`
Default *bool `json:"default,omitempty"`
// Disabled Control if the policy is Enabled or Disabled
Disabled *bool `json:"disabled,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EntityType Type of the Settings Policy. E.G. VirtualMachine, PhysicalMachine, ...
EntityType *string `json:"entityType,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Note Note for this Policy
Note *string `json:"note,omitempty"`
// OnPremCostsManagers List of groups of Settings to activate for on prem costs policy
OnPremCostsManagers *[]OnPremCostsManagerApiDTO `json:"onPremCostsManagers,omitempty"`
// ReadOnly If true, prevents users from deleting or modifying the SettingPolicy.
ReadOnly *bool `json:"readOnly,omitempty"`
// Schedule Model to describe the Schedule for a Settings Policy
Schedule *ScheduleApiDTO `json:"schedule,omitempty"`
// Scopes List of scopes where the settings are applied, on create/edit, only Uuid is required. If null it's considered Global scope
Scopes *[]GroupApiDTO `json:"scopes,omitempty"`
// SettingsManagers List of groups of Settings to activate in this Policy
SettingsManagers *[]SettingsManagerApiDTO `json:"settingsManagers,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
SettingsPolicyApiDTO Model to describe a Setting Policy: a group of Settings that are applied based on Scope and/or Schedule
type Staleness ¶
type Staleness string
Staleness The degree to which the information is considered outdated
Defines values for Staleness.
type StatApiDTO ¶
type StatApiDTO struct {
// Capacity Model to describe the parameters for creating a business unit.
Capacity *StatValueApiDTO `json:"capacity,omitempty"`
ClassName *string `json:"className,omitempty"`
// CommoditySource Model to describe commodity source for a single statistic, e.g. commodity source for VCPU (capacity and usage)
CommoditySource *StatCommoditySourceApiDTO `json:"commoditySource,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Filters describe the grouping options used to generate the output
Filters *[]StatFilterApiDTO `json:"filters,omitempty"`
// HistUtilizations Commodity historical utilization values
HistUtilizations *[]StatHistUtilizationApiDTO `json:"histUtilizations,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Name Name
Name *string `json:"name,omitempty"`
// NumRelatedEntities Number of providers or consumers for this statistic'relatedEntity' and 'numRelatedEntities' are mutually exclusive
NumRelatedEntities *int32 `json:"numRelatedEntities,omitempty"`
// RelatedEntity Basic information of an entity
RelatedEntity *BaseApiDTO `json:"relatedEntity,omitempty"`
// RelatedEntityType E.G.virtual machine
RelatedEntityType *string `json:"relatedEntityType,omitempty"`
// Reserved Model to describe the parameters for creating a business unit.
Reserved *StatValueApiDTO `json:"reserved,omitempty"`
// Units Units, used for Commodities stats. E.G. $/h
Units *string `json:"units,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Value Simple value, equal to values.avg.
Value *float32 `json:"value,omitempty"`
// Values Model to describe the parameters for creating a business unit.
Values *StatValueApiDTO `json:"values,omitempty"`
}
StatApiDTO Model to describe a Statistic
type StatCommoditySourceApiDTO ¶
type StatCommoditySourceApiDTO struct {
// CapacityCommoditySource Commodity source for capacity
CapacityCommoditySource *string `json:"capacityCommoditySource,omitempty"`
// CapacitySourceIndex Commodity source operation index for capacity
CapacitySourceIndex *int32 `json:"capacitySourceIndex,omitempty"`
// UsedCommoditySource Commodity source for usage
UsedCommoditySource *string `json:"usedCommoditySource,omitempty"`
// UsedSourceIndex Commodity source operation index for usage
UsedSourceIndex *int32 `json:"usedSourceIndex,omitempty"`
}
StatCommoditySourceApiDTO Model to describe commodity source for a single statistic, e.g. commodity source for VCPU (capacity and usage)
type StatFilterApiDTO ¶
type StatFilterApiDTO struct {
// DisplayName display name of the value, E.G: displayName if 'value' is an oid or an enum
DisplayName *string `json:"displayName,omitempty"`
// Type type of the filter, E.G: actionTypes, category, ...
Type *string `json:"type,omitempty"`
// Value value of the filter
Value *string `json:"value,omitempty"`
}
StatFilterApiDTO Model to describe the filter applied to a Statistic
type StatHistUtilizationApiDTO ¶
type StatHistUtilizationApiDTO struct {
// Capacity Historical capacity
Capacity *float32 `json:"capacity,omitempty"`
// ResizeMaxScalingObservationPeriod Resize max scaling observation period. Affects on amount of data points considered for action generation process. Value in days.
ResizeMaxScalingObservationPeriod *float32 `json:"resizeMaxScalingObservationPeriod,omitempty"`
// ResizeScalingAggressiveness Resize scaling aggressiveness. Describes how aggressively Turbonomic will resize in response of resource utilization. Value in percents. 100% least aggressive, 95% most aggressive.
ResizeScalingAggressiveness *float32 `json:"resizeScalingAggressiveness,omitempty"`
// Type Historical utilization type
Type *string `json:"type,omitempty"`
// Usage Historical usage
Usage *float32 `json:"usage,omitempty"`
}
StatHistUtilizationApiDTO Model to describe a historical utilization statistic, e.g. the P95 vCPU or P95 vMEM of a VM over (up to) NN days observation period.
type StatSnapshotApiDTO ¶
type StatSnapshotApiDTO struct {
ClassName *string `json:"className,omitempty"`
// Date When the statistics were recorded
Date *string `json:"date,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Epoch Epoch
Epoch *Epoch `json:"epoch,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Statistics List of statistics, e.g. Price Index, Commodities values,Cost price, Number of VMs in a Group, ...
Statistics []StatApiDTO `json:"statistics"`
Uuid *string `json:"uuid,omitempty"`
}
StatSnapshotApiDTO Model to describe the Statistics of a snapshot, contains a list of Statistics for a moment in time
type StatValueApiDTO ¶
type StatValueApiDTO struct {
// Avg Average value
Avg *float32 `json:"avg,omitempty"`
// Max Max value
Max *float32 `json:"max,omitempty"`
// Min Min value
Min *float32 `json:"min,omitempty"`
// Total Total value - sum of average values in a group
Total *float32 `json:"total,omitempty"`
// TotalMax Total max value - sum of max values in a group
TotalMax *float32 `json:"totalMax,omitempty"`
// TotalMin Total min value - sum of min values in a group
TotalMin *float32 `json:"totalMin,omitempty"`
}
StatValueApiDTO Model to describe the parameters for creating a business unit.
type StorageCompatibility ¶
type StorageCompatibility string
StorageCompatibility Storage Compatibility
const ( StorageCompatibilityPREMIUM StorageCompatibility = "PREMIUM" StorageCompatibilitySTANDARD StorageCompatibility = "STANDARD" )
Defines values for StorageCompatibility.
func (StorageCompatibility) Valid ¶
func (e StorageCompatibility) Valid() bool
Valid indicates whether the value is a known member of the StorageCompatibility enum.
type StorageUsageType ¶
type StorageUsageType string
StorageUsageType Storage usage type
const ( StorageUsageTypeBACKUP StorageUsageType = "BACKUP" StorageUsageTypeSITERECOVERY StorageUsageType = "SITE_RECOVERY" StorageUsageTypeSTANDARD StorageUsageType = "STANDARD" )
Defines values for StorageUsageType.
func (StorageUsageType) Valid ¶
func (e StorageUsageType) Valid() bool
Valid indicates whether the value is a known member of the StorageUsageType enum.
type TaglibDescriptor ¶
type TaglibDescriptor struct {
TaglibLocation *string `json:"taglibLocation,omitempty"`
TaglibURI *string `json:"taglibURI,omitempty"`
}
TaglibDescriptor defines model for TaglibDescriptor.
type TargetApiDTO ¶
type TargetApiDTO struct {
// Category Probe category
Category *string `json:"category,omitempty"`
ClassName *string `json:"className,omitempty"`
// DerivedTargets Targets derived (created by discovery of) from this target. Populated depending on the TargetRelationship parameter.
DerivedTargets *[]TargetApiDTO `json:"derivedTargets,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Health A DTO that describes the health of a single target.
Health *TargetHealthApiDTO `json:"health,omitempty"`
HealthSummary *TargetHealthSummaryApiDTO `json:"healthSummary,omitempty"`
// IdentifyingFields Array of field names used to differentiate probes of the same category. Most typically either the name/address field, or a combination of address and port.
IdentifyingFields *[]string `json:"identifyingFields,omitempty"`
// InputFields List of all InputFieldApiDTO objects for the target, analogous tothe target addition form fields in the GUI.
InputFields *[]InputFieldApiDTO `json:"inputFields,omitempty"`
// IsProbeRegistered Indicator that is used to determine whether the associated probe is running and registered with the system
IsProbeRegistered *bool `json:"isProbeRegistered,omitempty"`
LastEditTime *string `json:"lastEditTime,omitempty"`
LastEditUser *string `json:"lastEditUser,omitempty"`
LastTargetOperationStages *[]TargetOperationStageApiDTO `json:"lastTargetOperationStages,omitempty"`
// LastValidated Date of the last validation - [DEPRECATED - Use: healthSummary.timeOfLastSuccessfulDiscovery]
LastValidated *string `json:"lastValidated,omitempty"`
Links *[]Link `json:"links,omitempty"`
// ParentTargets Targets that created this target. Populated depending on the TargetRelationship parameter.
ParentTargets *[]TargetApiDTO `json:"parentTargets,omitempty"`
// PatchedTargets Targets patched by this target
PatchedTargets *[]PatchedTargetDataApiDTO `json:"patchedTargets,omitempty"`
// Readonly Whether the target cannot be changed through public APIs.
Readonly *bool `json:"readonly,omitempty"`
// Status Description of the status of the most recent Validation Operation - [DEPRECATED - Use: healthSummary.healthState]
Status *string `json:"status,omitempty"`
// SubType Target subType
SubType *string `json:"subType,omitempty"`
// Type Probe type. Turbonomic ships with the following probe types: AppDynamics, Dynatrace, Datadog, Apptio Cloudability, Arista, AWS, Azure, Cisco APIC, Cisco HyperFlex, Cisco UCS Central, Cisco UCS Director, Cisco UCS Manager, CloudFoundry, CloudStack, Dell Compellent, EMC ScaleIO, EMC VMAX, EMC VNX, EMC VPLEX, EMC XtremIO, Hitachi Vantara, HP OneView, HPE 3PAR, Hyper-V, IBM PowerVM, JVM, MSExchange, MySQL, NetApp, NetFlow, NetScaler, Nutanix, OpenStack, Oracle, Pivotal Ops Manager, Pure, Red Hat Virtualization Manager, sFlow, SNMP, SoftLayer, SQLServer, Tetration, Tomcat, vCenter, vCloudDirector, VMM, WebLogic, WebSphere, WMI, XenServer,
Type string `json:"type"`
// UiCategory Probe UI category
UiCategory *string `json:"uiCategory,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
TargetApiDTO Model to describe a Target. Targets are used to discover the components to create a connected virtual environment
type TargetDetailLevel ¶
type TargetDetailLevel string
TargetDetailLevel How much detail should be included with the target and any level in the response. For instance, if a target has related targets (derived or parent), this flag impacts how much detail is returned on that target AND its related targets. BASIC provides the minimal possible details without health. HEALTH has the same as BASIC but also adds high-level summary of the target's health. HEALTH_DETAILS has the same as HEALTH, but also includes information about each stage of discovery.
const ( TargetDetailLevelBASIC TargetDetailLevel = "BASIC" TargetDetailLevelHEALTH TargetDetailLevel = "HEALTH" TargetDetailLevelHEALTHDETAILS TargetDetailLevel = "HEALTH_DETAILS" )
Defines values for TargetDetailLevel.
func (TargetDetailLevel) Valid ¶
func (e TargetDetailLevel) Valid() bool
Valid indicates whether the value is a known member of the TargetDetailLevel enum.
type TargetErrorDetailsApiDTO ¶
type TargetErrorDetailsApiDTO struct {
TargetErrorDetailsClass *string `json:"targetErrorDetailsClass,omitempty"`
}
TargetErrorDetailsApiDTO defines model for TargetErrorDetailsApiDTO.
type TargetHealthApiDTO ¶
type TargetHealthApiDTO struct {
// ErrorText Error text (if there's any).
ErrorText *string `json:"errorText,omitempty"`
// HealthCategory The types of health checks we report.
HealthCategory HealthCategory `json:"healthCategory"`
// HealthClassDiscriminator Health type discriminator. Describes which subclass of BaseHealthApiDTO is returned.
HealthClassDiscriminator string `json:"healthClassDiscriminator"`
// HealthState The health state a checked object can be in.
HealthState HealthState `json:"healthState"`
// RollupState The health state a checked object can be in.
RollupState HealthState `json:"rollupState"`
TargetErrorDetails *[]TargetErrorDetailsApiDTO `json:"targetErrorDetails,omitempty"`
// TargetName Target display name
TargetName string `json:"targetName"`
// TargetStatusSubcategory The target health status is reported for one of the subcategores: validation or discovery status, duplicate targets, delayed data problems.
TargetStatusSubcategory TargetStatusSubcategory `json:"targetStatusSubcategory"`
TimeOfFirstFailure *string `json:"timeOfFirstFailure,omitempty"`
// TimeOfLastSuccessfulDiscovery [BETA]: The last time a successful discovery finished on the target in ISO-8601 Format (YYYY-MM-DDTHH:MM:SSZ). For example 2021-07-07T20:33:49Z
TimeOfLastSuccessfulDiscovery *string `json:"timeOfLastSuccessfulDiscovery,omitempty"`
// Uuid UUID of the target
Uuid string `json:"uuid"`
}
TargetHealthApiDTO A DTO that describes the health of a single target.
type TargetHealthSummaryApiDTO ¶
type TargetHealthSummaryApiDTO struct {
// HealthState The health state a checked object can be in.
HealthState HealthState `json:"healthState"`
// RollupState The health state a checked object can be in.
RollupState HealthState `json:"rollupState"`
TimeOfLastSuccessfulDiscovery *string `json:"timeOfLastSuccessfulDiscovery,omitempty"`
}
TargetHealthSummaryApiDTO defines model for TargetHealthSummaryApiDTO.
type TargetOperationStageApiDTO ¶
type TargetOperationStageApiDTO struct {
Description *string `json:"description,omitempty"`
Optional *bool `json:"optional,omitempty"`
Status *TargetOperationStageStatusApiDTO `json:"status,omitempty"`
SubStages *[]TargetOperationStageApiDTO `json:"subStages,omitempty"`
}
TargetOperationStageApiDTO defines model for TargetOperationStageApiDTO.
type TargetOperationStageStatusApiDTO ¶
type TargetOperationStageStatusApiDTO struct {
FullExplanation *string `json:"fullExplanation,omitempty"`
State *TargetOperationStageStatusApiDTOState `json:"state,omitempty"`
Summary *string `json:"summary,omitempty"`
}
TargetOperationStageStatusApiDTO defines model for TargetOperationStageStatusApiDTO.
type TargetOperationStageStatusApiDTOState ¶
type TargetOperationStageStatusApiDTOState string
TargetOperationStageStatusApiDTOState defines model for TargetOperationStageStatusApiDTO.State.
const ( TargetOperationStageStatusApiDTOStateDIDNOTRUN TargetOperationStageStatusApiDTOState = "DID_NOT_RUN" TargetOperationStageStatusApiDTOStateFAILURE TargetOperationStageStatusApiDTOState = "FAILURE" TargetOperationStageStatusApiDTOStateMAJOR TargetOperationStageStatusApiDTOState = "MAJOR" TargetOperationStageStatusApiDTOStateSUCCESS TargetOperationStageStatusApiDTOState = "SUCCESS" )
Defines values for TargetOperationStageStatusApiDTOState.
func (TargetOperationStageStatusApiDTOState) Valid ¶
func (e TargetOperationStageStatusApiDTOState) Valid() bool
Valid indicates whether the value is a known member of the TargetOperationStageStatusApiDTOState enum.
type TargetRelationship ¶
type TargetRelationship string
TargetRelationship Controls what relationship should be followed on the target to include related targets. Relationships are only traversed on the targets at the root of the response. For instance, listing targets would add the relationships to the targets, but not the derived or parents targets within that target. Similarly, getting a single target would add related targets to only that target and not the derived nor the parent of that target. NONE no relationships are followed in the response. VISIBLE_DERIVED derived targets that are visible are added to the target. VISIBLE_DERIVED_AND_PARENT derived and parent targets that are visible are added to the target. DERIVED All derived targets are added to the target including those that are hidden. DERIVED_AND_PARENT All derived and parent targets are added to the target including those that are hidden.
const ( TargetRelationshipDERIVED TargetRelationship = "DERIVED" TargetRelationshipDERIVEDANDPARENT TargetRelationship = "DERIVED_AND_PARENT" TargetRelationshipNONE TargetRelationship = "NONE" TargetRelationshipVISIBLEDERIVED TargetRelationship = "VISIBLE_DERIVED" TargetRelationshipVISIBLEDERIVEDANDPARENT TargetRelationship = "VISIBLE_DERIVED_AND_PARENT" )
Defines values for TargetRelationship.
func (TargetRelationship) Valid ¶
func (e TargetRelationship) Valid() bool
Valid indicates whether the value is a known member of the TargetRelationship enum.
type TargetStatusSubcategory ¶
type TargetStatusSubcategory string
TargetStatusSubcategory The target health status is reported for one of the subcategores: validation or discovery status, duplicate targets, delayed data problems.
const ( TargetStatusSubcategoryDELAYEDDATA TargetStatusSubcategory = "DELAYED_DATA" TargetStatusSubcategoryDISCOVERY TargetStatusSubcategory = "DISCOVERY" TargetStatusSubcategoryDUPLICATION TargetStatusSubcategory = "DUPLICATION" TargetStatusSubcategoryVALIDATION TargetStatusSubcategory = "VALIDATION" )
Defines values for TargetStatusSubcategory.
func (TargetStatusSubcategory) Valid ¶
func (e TargetStatusSubcategory) Valid() bool
Valid indicates whether the value is a known member of the TargetStatusSubcategory enum.
type TargetSubtype ¶
type TargetSubtype string
TargetSubtype Target subtype
const ( TargetSubtypeKubernetes TargetSubtype = "Kubernetes" TargetSubtypeRedHatOpenShift TargetSubtype = "RedHatOpenShift" )
Defines values for TargetSubtype.
func (TargetSubtype) Valid ¶
func (e TargetSubtype) Valid() bool
Valid indicates whether the value is a known member of the TargetSubtype enum.
type TargetType ¶
type TargetType string
TargetType Target type
const ( TargetTypeAWS TargetType = "AWS" TargetTypeAWSAccounts TargetType = "AWS Accounts" TargetTypeAWSBilling TargetType = "AWS Billing" TargetTypeAWSCloudBilling TargetType = "AWS Cloud Billing" TargetTypeAWSCost TargetType = "AWS Cost" TargetTypeAWSInfrastructure TargetType = "AWS Infrastructure" TargetTypeAWSLambda TargetType = "AWS Lambda" TargetTypeAWSOrganization TargetType = "AWS Organization" TargetTypeActionScript TargetType = "Action Script" TargetTypeActionStreamKafka TargetType = "ActionStream Kafka" TargetTypeAppDynamics TargetType = "AppDynamics" TargetTypeAppInsights TargetType = "AppInsights" TargetTypeApptioCloudability TargetType = "Apptio Cloudability" TargetTypeAzure TargetType = "Azure" TargetTypeAzureBilling TargetType = "Azure Billing" TargetTypeAzureCost TargetType = "Azure Cost" TargetTypeAzureEA TargetType = "Azure EA" TargetTypeAzureInfrastructure TargetType = "Azure Infrastructure" TargetTypeAzurePricing TargetType = "Azure Pricing" TargetTypeAzureServicePrincipal TargetType = "Azure Service Principal" TargetTypeAzureSubscription TargetType = "Azure Subscription" TargetTypeAzureWastedVolumes TargetType = "Azure Wasted Volumes" TargetTypeCiscoApic TargetType = "Cisco Apic" TargetTypeCiscoHyperFlex TargetType = "Cisco HyperFlex" TargetTypeCiscoUCS TargetType = "Cisco UCS" TargetTypeCiscoUCSCentral TargetType = "Cisco UCS Central" TargetTypeCiscoUCSDirector TargetType = "Cisco UCS Director" TargetTypeCiscoUCSManager TargetType = "Cisco UCS Manager" TargetTypeCitrixHypervisor TargetType = "Citrix Hypervisor" TargetTypeCloudFoundry TargetType = "CloudFoundry" TargetTypeCloudStack TargetType = "CloudStack" TargetTypeDataIngestionFramework TargetType = "DataIngestionFramework" TargetTypeDataIngestionFrameworkTurbonomic TargetType = "DataIngestionFramework-Turbonomic" TargetTypeDatadog TargetType = "Datadog" TargetTypeDelegatingProbe TargetType = "Delegating-Probe" TargetTypeDellCompellent TargetType = "Dell Compellent" TargetTypeDynatrace TargetType = "Dynatrace" TargetTypeEMCScaleIO TargetType = "EMC ScaleIO" TargetTypeEMCVMAX TargetType = "EMC VMAX" TargetTypeEMCVNX TargetType = "EMC VNX" TargetTypeEMCVPLEX TargetType = "EMC VPLEX" TargetTypeEMCXtremIOSDK TargetType = "EMC XtremIO SDK" TargetTypeFlexNetManager TargetType = "FlexNet Manager" TargetTypeFlexera TargetType = "Flexera" TargetTypeFlexeraONE TargetType = "FlexeraONE" TargetTypeGCP TargetType = "GCP" TargetTypeGCPBilling TargetType = "GCP Billing" TargetTypeGCPCost TargetType = "GCP Cost" TargetTypeGCPInfrastructure TargetType = "GCP Infrastructure" TargetTypeGCPProject TargetType = "GCP Project" TargetTypeGCPServiceAccount TargetType = "GCP Service Account" TargetTypeGitHub TargetType = "GitHub" TargetTypeGitLab TargetType = "GitLab" TargetTypeHPE3PAR TargetType = "HPE 3PAR" TargetTypeHPOneView TargetType = "HP OneView" TargetTypeHitachiVantara TargetType = "Hitachi Vantara" TargetTypeHyperV TargetType = "Hyper-V" TargetTypeIBMApptio TargetType = "IBM Apptio" TargetTypeIBMFlashSystem TargetType = "IBM FlashSystem" TargetTypeIBMPowerVM TargetType = "IBM PowerVM" TargetTypeIBMSVC TargetType = "IBM SVC" TargetTypeInstana TargetType = "Instana" TargetTypeIntersight TargetType = "Intersight" TargetTypeIntersightHyperflex TargetType = "Intersight Hyperflex" TargetTypeIntersightUCS TargetType = "Intersight UCS" TargetTypeIstio TargetType = "Istio" TargetTypeJvm TargetType = "Jvm" TargetTypeKubernetes TargetType = "Kubernetes" TargetTypeKubernetesK8S116DC11 TargetType = "Kubernetes-K8S-116-DC11" TargetTypeMSExchange TargetType = "MS Exchange" TargetTypeMySQL TargetType = "MySQL" TargetTypeNetApp TargetType = "NetApp" TargetTypeNetFlow TargetType = "NetFlow" TargetTypeNetScaler TargetType = "NetScaler" TargetTypeNewRelic TargetType = "NewRelic" TargetTypeNutanix TargetType = "Nutanix" TargetTypeOCIInfrastructure TargetType = "OCI Infrastructure" TargetTypeOCITenancy TargetType = "OCI Tenancy" TargetTypeOpenStack TargetType = "OpenStack" TargetTypeOracle TargetType = "Oracle" TargetTypePowerVM TargetType = "PowerVM" TargetTypePrometheus TargetType = "Prometheus" TargetTypePure TargetType = "Pure" TargetTypeRHEV TargetType = "RHEV" TargetTypeRedHatVirtualizationManager TargetType = "Red Hat Virtualization Manager" TargetTypeSFlow TargetType = "SFlow" TargetTypeSNMP TargetType = "SNMP" TargetTypeSQLServer TargetType = "SQLServer" TargetTypeServiceNow TargetType = "ServiceNow" TargetTypeSoftLayer TargetType = "SoftLayer" TargetTypeTanium TargetType = "Tanium" TargetTypeTerraform TargetType = "Terraform" TargetTypeTerraformProvider TargetType = "Terraform Provider" TargetTypeTetration TargetType = "Tetration" TargetTypeTomcat TargetType = "Tomcat" TargetTypeUserDefinedEntities TargetType = "User-defined entities" TargetTypeVCenter TargetType = "vCenter" TargetTypeVCenterStorageBrowsing TargetType = "vCenter Storage Browsing" TargetTypeVCloudDirector TargetType = "vCloudDirector" TargetTypeVMM TargetType = "VMM" TargetTypeVMwareHorizon TargetType = "VMware Horizon" TargetTypeWMI TargetType = "WMI" TargetTypeWebLogic TargetType = "WebLogic" TargetTypeWebSphere TargetType = "WebSphere" TargetTypeWebhook TargetType = "Webhook" )
Defines values for TargetType.
func (TargetType) Valid ¶
func (e TargetType) Valid() bool
Valid indicates whether the value is a known member of the TargetType enum.
type TargetValidationStatus ¶
type TargetValidationStatus string
TargetValidationStatus Target validation status
const ( TargetValidationStatusFAILED TargetValidationStatus = "FAILED" TargetValidationStatusINPROGRESS TargetValidationStatus = "IN_PROGRESS" TargetValidationStatusSUCCESS TargetValidationStatus = "SUCCESS" )
Defines values for TargetValidationStatus.
func (TargetValidationStatus) Valid ¶
func (e TargetValidationStatus) Valid() bool
Valid indicates whether the value is a known member of the TargetValidationStatus enum.
type TemplateApiDTO ¶
type TemplateApiDTO struct {
ClassName *string `json:"className,omitempty"`
// CmdWithArgs (UNUSED) Container command with Arguments
CmdWithArgs *string `json:"cmdWithArgs,omitempty"`
// ComputeResources ResourceApiDTO describing the compute resources.Max 1 per template.
ComputeResources *[]ResourceApiDTO `json:"computeResources,omitempty"`
// CpuModel The model of the CPU in the Physical Machine
CpuModel *string `json:"cpuModel,omitempty"`
// DbEdition Database edition, used for Database templatew
DbEdition *string `json:"dbEdition,omitempty"`
// DbEngine Database engine, used for Database templates
DbEngine *string `json:"dbEngine,omitempty"`
// DeploymentProfile Model to describe a Deployment Profile, including target and provider entity parameters
DeploymentProfile *DeploymentProfileApiDTO `json:"deploymentProfile,omitempty"`
// Description Description
Description *string `json:"description,omitempty"`
// Discovered Indicates if the template is discovered or manually created
Discovered *TemplateApiDTODiscovered `json:"discovered,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// EnableMatch Add to Infrastructure Cost Policy. Infrastructure Cost policies group hardware devices according to their cost
EnableMatch *bool `json:"enableMatch,omitempty"`
// ExtraSpecs ExtraSpecApiDTO describing the extra specs.
ExtraSpecs *[]ExtraSpecApiDTO `json:"extraSpecs,omitempty"`
// Family For cloud templates, the instance family
Family *string `json:"family,omitempty"`
// Image Container Profile image
Image *string `json:"image,omitempty"`
// ImageTag (UNUSED) Container Profile image tag
ImageTag *string `json:"imageTag,omitempty"`
// InfrastructureResources ResourceApiDTO describing the infrastructure resources.Max 1 per template
InfrastructureResources *[]ResourceApiDTO `json:"infrastructureResources,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Model The model of the entire Physical Machine system.
Model *string `json:"model,omitempty"`
// NetworkResources ResourceApiDTO describing the network resources
NetworkResources *[]ResourceApiDTO `json:"networkResources,omitempty"`
// Price The estimated cost of the template. Used for Physical Machine and Storage templates where the hardware cost is known.
Price *float32 `json:"price,omitempty"`
// StorageResources ResourceApiDTO describing the storage resources
StorageResources *[]ResourceApiDTO `json:"storageResources,omitempty"`
Uuid *string `json:"uuid,omitempty"`
// Vendor DVendor of the templated entity
Vendor *string `json:"vendor,omitempty"`
}
TemplateApiDTO Model to describe a Template: contains the resources used to Deploy a VM or to Add Workload/Supply in a Plan
type TemplateApiDTODiscovered ¶
type TemplateApiDTODiscovered bool
TemplateApiDTODiscovered Indicates if the template is discovered or manually created
const (
TemplateApiDTODiscoveredFalse TemplateApiDTODiscovered = false
)
Defines values for TemplateApiDTODiscovered.
func (TemplateApiDTODiscovered) Valid ¶
func (e TemplateApiDTODiscovered) Valid() bool
Valid indicates whether the value is a known member of the TemplateApiDTODiscovered enum.
type Tenancy ¶
type Tenancy string
Tenancy Tenancy
type TimeBasedTopologyChangesApiDTO ¶
type TimeBasedTopologyChangesApiDTO struct {
// AddHistoryVMs Should historical vmNetGrowth be considered
AddHistoryVMs *bool `json:"addHistoryVMs,omitempty"`
// IncludeReservation Add the workload that is currently reserved
IncludeReservation *bool `json:"includeReservation,omitempty"`
// ReservationCount # of currently reserved VMs
ReservationCount *int32 `json:"reservationCount,omitempty"`
// VmNetGrowth Number of workloads added during the last month
VmNetGrowth *int32 `json:"vmNetGrowth,omitempty"`
}
TimeBasedTopologyChangesApiDTO Topology changes based on a timeframe in the scenario
type TopologyChangesApiDTO ¶
type TopologyChangesApiDTO struct {
// AddList List of add changes in the Topology
AddList *[]AddObjectApiDTO `json:"addList,omitempty"`
// MigrateList List of migrate changes in the Topology
MigrateList *[]MigrateObjectApiDTO `json:"migrateList,omitempty"`
// RelievePressureList List of relieve pressure changes in the Topology
RelievePressureList *[]RelievePressureObjectApiDTO `json:"relievePressureList,omitempty"`
// RemoveList List of remove changes in the Topology
RemoveList *[]RemoveObjectApiDTO `json:"removeList,omitempty"`
// ReplaceList List of replace changes in the Topology
ReplaceList *[]ReplaceObjectApiDTO `json:"replaceList,omitempty"`
}
TopologyChangesApiDTO Topology changes in the scenario
type Type ¶
type Type string
Type Condition types.
type UnplacementDetailsApiDTO ¶
type UnplacementDetailsApiDTO struct {
// PlacedOn For Unplaced entities in a Plan Market, the providers that this entity was able to place on
PlacedOn *[]BaseApiDTO `json:"placedOn,omitempty"`
// Reasons Detailed information about why the entity could not be placed
Reasons []UnplacementReasonApiDTO `json:"reasons"`
}
UnplacementDetailsApiDTO Additional information provided for entities in a plan that are unplaced
type UnplacementReasonApiDTO ¶
type UnplacementReasonApiDTO struct {
// ClosestSeller Basic information of an entity
ClosestSeller *BaseApiDTO `json:"closestSeller,omitempty"`
// FailedResources A list of resources that caused the entity not to be placed
FailedResources *[]FailedResourceApiDTO `json:"failedResources,omitempty"`
// PlacementProblem Placement Problem
PlacementProblem *PlacementProblem `json:"placementProblem,omitempty"`
// ProviderType Entity types allowed in API
ProviderType *EntityType `json:"providerType,omitempty"`
// ResourceOwner Basic information of an entity
ResourceOwner *BaseApiDTO `json:"resourceOwner,omitempty"`
}
UnplacementReasonApiDTO Details to describe why an entity could not be placed
type UserApiDTO ¶
type UserApiDTO struct {
// AtdScope List of Application Topology Definitions that the User is allowed to see
AtdScope *[]BaseApiDTO `json:"atdScope,omitempty"`
// AuthToken The secured user token. [DEPRECATED - EOL: 8.15.1]
AuthToken *string `json:"authToken,omitempty"`
ClassName *string `json:"className,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Features List of features that the user is allowed to see
Features *[]string `json:"features,omitempty"`
Links *[]Link `json:"links,omitempty"`
// LoginProvider Provider for the login
LoginProvider *UserApiDTOLoginProvider `json:"loginProvider,omitempty"`
// Password Encoded password
Password *string `json:"password,omitempty"`
// Permissions Permissions assigned to the user
Permissions *[]PermissionApiDTO `json:"permissions,omitempty"`
// Roles Roles assigned to the user
Roles *[]RoleApiDTO `json:"roles,omitempty"`
// Scope List of scopes that the User is allowed to see
Scope *[]GroupApiDTO `json:"scope,omitempty"`
// Type type
Type *UserApiDTOType `json:"type,omitempty"`
// Username Username
Username *string `json:"username,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
UserApiDTO Model to describe the parameters for creating a business unit.
type UserApiDTOLoginProvider ¶
type UserApiDTOLoginProvider string
UserApiDTOLoginProvider Provider for the login
const ( UserApiDTOLoginProviderLDAP UserApiDTOLoginProvider = "LDAP" UserApiDTOLoginProviderLocal UserApiDTOLoginProvider = "Local" )
Defines values for UserApiDTOLoginProvider.
func (UserApiDTOLoginProvider) Valid ¶
func (e UserApiDTOLoginProvider) Valid() bool
Valid indicates whether the value is a known member of the UserApiDTOLoginProvider enum.
type UserApiDTOType ¶
type UserApiDTOType string
UserApiDTOType type
const ( UserApiDTOTypeDedicatedCustomer UserApiDTOType = "DedicatedCustomer" )
Defines values for UserApiDTOType.
func (UserApiDTOType) Valid ¶
func (e UserApiDTOType) Valid() bool
Valid indicates whether the value is a known member of the UserApiDTOType enum.
type UtilizationApiDTO ¶
type UtilizationApiDTO struct {
// Percentage Utilization percentage change
Percentage *int32 `json:"percentage,omitempty"`
// ProjectionDay Projection day, indicate when to apply the change
ProjectionDay *int32 `json:"projectionDay,omitempty"`
// Target Basic information of an entity
Target *BaseApiDTO `json:"target,omitempty"`
}
UtilizationApiDTO Model to describe a utilization change in the scenario
type VirtualDiskApiDTO ¶
type VirtualDiskApiDTO struct {
// Actions The related action: Move or Delete
Actions *[]ActionApiDTO `json:"actions,omitempty"`
// AttachedVMStorageCompatibility Storage Compatibility
AttachedVMStorageCompatibility *StorageCompatibility `json:"attachedVMStorageCompatibility,omitempty"`
// AttachedVirtualMachine Basic information of an entity
AttachedVirtualMachine *BaseApiDTO `json:"attachedVirtualMachine,omitempty"`
// AttachmentState Attachment state
AttachmentState *VirtualDiskApiDTOAttachmentState `json:"attachmentState,omitempty"`
// BusinessAccount Basic information of an entity
BusinessAccount *BaseApiDTO `json:"businessAccount,omitempty"`
ClassName *string `json:"className,omitempty"`
// CreationTime Creation time
CreationTime *string `json:"creationTime,omitempty"`
// CreationTimeStamp Timestamp in milliseconds for the creation of the virtual disk.
CreationTimeStamp *int64 `json:"creationTimeStamp,omitempty"`
// DataCenter Basic information of an entity
DataCenter *BaseApiDTO `json:"dataCenter,omitempty"`
// DiskRole Disk Role
DiskRole *VirtualDiskApiDTODiskRole `json:"diskRole,omitempty"`
// DisplayName A user readable name of the api object.
// Cannot be blank.
// The UTF-8 encoding must be at most 255 bytes.
DisplayName *string `json:"displayName,omitempty"`
// Encryption Encryption
Encryption *string `json:"encryption,omitempty"`
// EnvironmentType Environment types
EnvironmentType *EnvironmentType `json:"environmentType,omitempty"`
// Ephemeral Ephemeral
Ephemeral *string `json:"ephemeral,omitempty"`
// HourlyBilledOps Average number of billed operations per hour.
HourlyBilledOps *float64 `json:"hourlyBilledOps,omitempty"`
// LastAttachedVm Name of the VM this volume was last attached to.
LastAttachedVm *string `json:"lastAttachedVm,omitempty"`
// LastModified Last Modified
LastModified *int64 `json:"lastModified,omitempty"`
Links *[]Link `json:"links,omitempty"`
// Name Name
Name *string `json:"name,omitempty"`
// NumDaysUnattached Number of days ago this volume was last attached.
NumDaysUnattached *string `json:"numDaysUnattached,omitempty"`
// Provider Basic information of an entity
Provider *BaseApiDTO `json:"provider,omitempty"`
// RedundancyType Specifies the redundancy type for the volume.
RedundancyType *string `json:"redundancyType,omitempty"`
// ResourceGroup Basic information of an entity
ResourceGroup *BaseApiDTO `json:"resourceGroup,omitempty"`
// ResourceId Resource identifier of the volume. For example, the resource id in Azure, the ARN in AWS, or the full resource name in GCP.
ResourceId *string `json:"resourceId,omitempty"`
// SkuName Sku name
SkuName *string `json:"skuName,omitempty"`
// SnapshotId Snapshot id
SnapshotId *string `json:"snapshotId,omitempty"`
// Stats The related statistics for this virtual disk
Stats *[]StatApiDTO `json:"stats,omitempty"`
// StorageUsageType Storage usage type
StorageUsageType *StorageUsageType `json:"storageUsageType,omitempty"`
// Tier The tier of the Virtual Disk
Tier *string `json:"tier,omitempty"`
Uuid *string `json:"uuid,omitempty"`
}
VirtualDiskApiDTO Model to describe a Virtual Disk
type VirtualDiskApiDTOAttachmentState ¶
type VirtualDiskApiDTOAttachmentState string
VirtualDiskApiDTOAttachmentState Attachment state
const ( VirtualDiskApiDTOAttachmentStateAVAILABLE VirtualDiskApiDTOAttachmentState = "AVAILABLE" VirtualDiskApiDTOAttachmentStateINUSE VirtualDiskApiDTOAttachmentState = "IN_USE" VirtualDiskApiDTOAttachmentStateUNKNOWN VirtualDiskApiDTOAttachmentState = "UNKNOWN" )
Defines values for VirtualDiskApiDTOAttachmentState.
func (VirtualDiskApiDTOAttachmentState) Valid ¶
func (e VirtualDiskApiDTOAttachmentState) Valid() bool
Valid indicates whether the value is a known member of the VirtualDiskApiDTOAttachmentState enum.
type VirtualDiskApiDTODiskRole ¶
type VirtualDiskApiDTODiskRole string
VirtualDiskApiDTODiskRole Disk Role
const (
VirtualDiskApiDTODiskRoleOSDiskDataDisk VirtualDiskApiDTODiskRole = "OS Disk, Data Disk"
)
Defines values for VirtualDiskApiDTODiskRole.
func (VirtualDiskApiDTODiskRole) Valid ¶
func (e VirtualDiskApiDTODiskRole) Valid() bool
Valid indicates whether the value is a known member of the VirtualDiskApiDTODiskRole enum.
type WhereApiDTO ¶
type WhereApiDTO struct {
Conditions *[]ConditionApiDTO `json:"conditions,omitempty"`
RelatedToScopes *[]int64 `json:"relatedToScopes,omitempty"`
}
WhereApiDTO defines model for WhereApiDTO.
type WriteListener ¶
type WriteListener = map[string]interface{}
WriteListener defines model for WriteListener.