Documentation
¶
Index ¶
- Constants
- type AccountPreference
- type AmbariAddress
- type AmbariDatabaseDetails
- type AmbariDatabaseTestResult
- type AmbariRepoDetails
- type AmbariStackDetails
- type AmbariStackDetailsResponse
- type AmbariV2Request
- type AutoscaleClusterResponse
- type AutoscaleStackResponse
- type BaseImageResponse
- type BlueprintInput
- type BlueprintParameter
- type BlueprintRequest
- type BlueprintResponse
- type ByosV2Request
- type CertificateResponse
- type CloudGatewayJSON
- type CloudbreakDetailsJSON
- type CloudbreakEvent
- type CloudbreakFlexUsage
- type CloudbreakUsage
- type ClusterRepairRequest
- type ClusterRequest
- type ClusterResponse
- type ClusterScaleRequestV2
- type ClusterTemplateRequest
- type ClusterTemplateResponse
- type ClusterV2Request
- type ConfigsRequest
- type ConfigsResponse
- type ConnectedClusterRequest
- type Constraint
- type ConstraintTemplateRequest
- type ConstraintTemplateResponse
- type CredentialRequest
- type CredentialResponse
- type CredentialSourceRequest
- type CustomContainerRequest
- type CustomContainerResponse
- type CustomInstanceType
- type DiskResponse
- type FailurePolicyRequest
- type FailurePolicyResponse
- type FailureReport
- type FileSystem
- type FlexSubscriptionRequest
- type FlexSubscriptionResponse
- type FlexUsageComponentInstanceJSON
- type FlexUsageComponentJSON
- type FlexUsageControllerJSON
- type FlexUsageProductJSON
- type GatewayJSON
- type HardwareInfoResponse
- type HostGroupAdjustment
- type HostGroupRequest
- type HostGroupResponse
- type HostMetadata
- type ID
- type IPPoolJSON
- type ImageCatalogRequest
- type ImageCatalogResponse
- type ImageJSON
- type ImageResponse
- type ImagesResponse
- type InstanceGroupAdjustment
- type InstanceGroupAdjustmentV2
- type InstanceGroupResponse
- type InstanceGroups
- type InstanceGroupsV2
- type InstanceMetaData
- type KerberosRequest
- type LdapConfigRequest
- type LdapConfigResponse
- type LdapValidationRequest
- type NetworkRequest
- type NetworkResponse
- type NetworkV2Request
- type OperationDetails
- type OrchestratorRequest
- type OrchestratorResponse
- type PlatformDisksJSON
- type PlatformGatewaysResponse
- type PlatformIPPoolsResponse
- type PlatformImagesJSON
- type PlatformNetworkResponse
- type PlatformOrchestratorsJSON
- type PlatformRegionsJSON
- type PlatformResourceRequestJSON
- type PlatformSSHKeyResponse
- type PlatformSecurityGroupResponse
- type PlatformVariantsJSON
- type PlatformVirtualMachinesJSON
- type PlatformVmtypesResponse
- type RDSBuildRequest
- type RDSConfig
- type RDSConfigResponse
- type RdsBuildResult
- type RdsConfigProperty
- type RdsTestResult
- type RecipeRequest
- type RecipeResponse
- type RecommendationRequestJSON
- type RecommendationResponse
- type RegionResponse
- type ReinstallRequestV2
- type SecurityGroupRequest
- type SecurityGroupResponse
- type SecurityGroupV2Request
- type SecurityRuleRequest
- type SecurityRuleResponse
- type SecurityRulesResponse
- type SmartSenseSubscriptionJSON
- type SpecialParametersJSON
- type StackAuthentication
- type StackAuthenticationResponse
- type StackDetailsJSON
- type StackRepoDetailsJSON
- type StackRequest
- type StackResponse
- type StackScaleRequestV2
- type StackV2Request
- type StackValidationRequest
- type StructuredEvent
- type SubscriptionRequest
- type TagSpecificationsJSON
- type TemplateRequest
- type TemplateResponse
- type TemplateV2Request
- type TopologyRequest
- type TopologyResponse
- type UpdateAmbariRequest
- type UpdateCluster
- type UpdateClusterV2
- type UpdateImageCatalogRequest
- type UpdateStack
- type UpdateStackV2
- type User
- type UserNamePassword
- type UserProfileRequest
- type UserProfileResponse
- type VMTypeJSON
- type VMTypeMetaJSON
- type VirtualMachinesResponse
- type VolumeParameterConfigJSON
Constants ¶
const ( // AmbariDatabaseDetailsVendorPOSTGRES captures enum value "POSTGRES" AmbariDatabaseDetailsVendorPOSTGRES string = "POSTGRES" // AmbariDatabaseDetailsVendorMYSQL captures enum value "MYSQL" AmbariDatabaseDetailsVendorMYSQL string = "MYSQL" // AmbariDatabaseDetailsVendorMARIADB captures enum value "MARIADB" AmbariDatabaseDetailsVendorMARIADB string = "MARIADB" // AmbariDatabaseDetailsVendorMSSQL captures enum value "MSSQL" AmbariDatabaseDetailsVendorMSSQL string = "MSSQL" // AmbariDatabaseDetailsVendorORACLE captures enum value "ORACLE" AmbariDatabaseDetailsVendorORACLE string = "ORACLE" // AmbariDatabaseDetailsVendorSQLANYWHERE captures enum value "SQLANYWHERE" AmbariDatabaseDetailsVendorSQLANYWHERE string = "SQLANYWHERE" // AmbariDatabaseDetailsVendorEMBEDDED captures enum value "EMBEDDED" AmbariDatabaseDetailsVendorEMBEDDED string = "EMBEDDED" )
const ( // AmbariV2RequestConfigStrategyNEVERAPPLY captures enum value "NEVER_APPLY" AmbariV2RequestConfigStrategyNEVERAPPLY string = "NEVER_APPLY" // AmbariV2RequestConfigStrategyONLYSTACKDEFAULTSAPPLY captures enum value "ONLY_STACK_DEFAULTS_APPLY" AmbariV2RequestConfigStrategyONLYSTACKDEFAULTSAPPLY string = "ONLY_STACK_DEFAULTS_APPLY" // AmbariV2RequestConfigStrategyALWAYSAPPLY captures enum value "ALWAYS_APPLY" AmbariV2RequestConfigStrategyALWAYSAPPLY string = "ALWAYS_APPLY" // AmbariV2RequestConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES captures enum value "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" AmbariV2RequestConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES string = "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" )
const ( // AutoscaleClusterResponseConfigStrategyNEVERAPPLY captures enum value "NEVER_APPLY" AutoscaleClusterResponseConfigStrategyNEVERAPPLY string = "NEVER_APPLY" // AutoscaleClusterResponseConfigStrategyONLYSTACKDEFAULTSAPPLY captures enum value "ONLY_STACK_DEFAULTS_APPLY" AutoscaleClusterResponseConfigStrategyONLYSTACKDEFAULTSAPPLY string = "ONLY_STACK_DEFAULTS_APPLY" // AutoscaleClusterResponseConfigStrategyALWAYSAPPLY captures enum value "ALWAYS_APPLY" AutoscaleClusterResponseConfigStrategyALWAYSAPPLY string = "ALWAYS_APPLY" // AutoscaleClusterResponseConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES captures enum value "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" AutoscaleClusterResponseConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES string = "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" )
const ( // AutoscaleClusterResponseExecutorTypeCONTAINER captures enum value "CONTAINER" AutoscaleClusterResponseExecutorTypeCONTAINER string = "CONTAINER" // AutoscaleClusterResponseExecutorTypeDEFAULT captures enum value "DEFAULT" AutoscaleClusterResponseExecutorTypeDEFAULT string = "DEFAULT" )
const ( // AutoscaleClusterResponseStatusREQUESTED captures enum value "REQUESTED" AutoscaleClusterResponseStatusREQUESTED string = "REQUESTED" // AutoscaleClusterResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" AutoscaleClusterResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // AutoscaleClusterResponseStatusAVAILABLE captures enum value "AVAILABLE" AutoscaleClusterResponseStatusAVAILABLE string = "AVAILABLE" // AutoscaleClusterResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" AutoscaleClusterResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // AutoscaleClusterResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" AutoscaleClusterResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // AutoscaleClusterResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED" AutoscaleClusterResponseStatusUPDATEFAILED string = "UPDATE_FAILED" // AutoscaleClusterResponseStatusCREATEFAILED captures enum value "CREATE_FAILED" AutoscaleClusterResponseStatusCREATEFAILED string = "CREATE_FAILED" // AutoscaleClusterResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" AutoscaleClusterResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // AutoscaleClusterResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" AutoscaleClusterResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // AutoscaleClusterResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" AutoscaleClusterResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // AutoscaleClusterResponseStatusDELETEFAILED captures enum value "DELETE_FAILED" AutoscaleClusterResponseStatusDELETEFAILED string = "DELETE_FAILED" // AutoscaleClusterResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" AutoscaleClusterResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED" // AutoscaleClusterResponseStatusSTOPPED captures enum value "STOPPED" AutoscaleClusterResponseStatusSTOPPED string = "STOPPED" // AutoscaleClusterResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" AutoscaleClusterResponseStatusSTOPREQUESTED string = "STOP_REQUESTED" // AutoscaleClusterResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED" AutoscaleClusterResponseStatusSTARTREQUESTED string = "START_REQUESTED" // AutoscaleClusterResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" AutoscaleClusterResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // AutoscaleClusterResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" AutoscaleClusterResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // AutoscaleClusterResponseStatusSTARTFAILED captures enum value "START_FAILED" AutoscaleClusterResponseStatusSTARTFAILED string = "START_FAILED" // AutoscaleClusterResponseStatusSTOPFAILED captures enum value "STOP_FAILED" AutoscaleClusterResponseStatusSTOPFAILED string = "STOP_FAILED" // AutoscaleClusterResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" AutoscaleClusterResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // AutoscaleStackResponseClusterStatusREQUESTED captures enum value "REQUESTED" AutoscaleStackResponseClusterStatusREQUESTED string = "REQUESTED" // AutoscaleStackResponseClusterStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" AutoscaleStackResponseClusterStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // AutoscaleStackResponseClusterStatusAVAILABLE captures enum value "AVAILABLE" AutoscaleStackResponseClusterStatusAVAILABLE string = "AVAILABLE" // AutoscaleStackResponseClusterStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" AutoscaleStackResponseClusterStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // AutoscaleStackResponseClusterStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" AutoscaleStackResponseClusterStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // AutoscaleStackResponseClusterStatusUPDATEFAILED captures enum value "UPDATE_FAILED" AutoscaleStackResponseClusterStatusUPDATEFAILED string = "UPDATE_FAILED" // AutoscaleStackResponseClusterStatusCREATEFAILED captures enum value "CREATE_FAILED" AutoscaleStackResponseClusterStatusCREATEFAILED string = "CREATE_FAILED" // AutoscaleStackResponseClusterStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" AutoscaleStackResponseClusterStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // AutoscaleStackResponseClusterStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" AutoscaleStackResponseClusterStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // AutoscaleStackResponseClusterStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" AutoscaleStackResponseClusterStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // AutoscaleStackResponseClusterStatusDELETEFAILED captures enum value "DELETE_FAILED" AutoscaleStackResponseClusterStatusDELETEFAILED string = "DELETE_FAILED" // AutoscaleStackResponseClusterStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" AutoscaleStackResponseClusterStatusDELETECOMPLETED string = "DELETE_COMPLETED" // AutoscaleStackResponseClusterStatusSTOPPED captures enum value "STOPPED" AutoscaleStackResponseClusterStatusSTOPPED string = "STOPPED" // AutoscaleStackResponseClusterStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" AutoscaleStackResponseClusterStatusSTOPREQUESTED string = "STOP_REQUESTED" // AutoscaleStackResponseClusterStatusSTARTREQUESTED captures enum value "START_REQUESTED" AutoscaleStackResponseClusterStatusSTARTREQUESTED string = "START_REQUESTED" // AutoscaleStackResponseClusterStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" AutoscaleStackResponseClusterStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // AutoscaleStackResponseClusterStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" AutoscaleStackResponseClusterStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // AutoscaleStackResponseClusterStatusSTARTFAILED captures enum value "START_FAILED" AutoscaleStackResponseClusterStatusSTARTFAILED string = "START_FAILED" // AutoscaleStackResponseClusterStatusSTOPFAILED captures enum value "STOP_FAILED" AutoscaleStackResponseClusterStatusSTOPFAILED string = "STOP_FAILED" // AutoscaleStackResponseClusterStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" AutoscaleStackResponseClusterStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // AutoscaleStackResponseStatusREQUESTED captures enum value "REQUESTED" AutoscaleStackResponseStatusREQUESTED string = "REQUESTED" // AutoscaleStackResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" AutoscaleStackResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // AutoscaleStackResponseStatusAVAILABLE captures enum value "AVAILABLE" AutoscaleStackResponseStatusAVAILABLE string = "AVAILABLE" // AutoscaleStackResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" AutoscaleStackResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // AutoscaleStackResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" AutoscaleStackResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // AutoscaleStackResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED" AutoscaleStackResponseStatusUPDATEFAILED string = "UPDATE_FAILED" // AutoscaleStackResponseStatusCREATEFAILED captures enum value "CREATE_FAILED" AutoscaleStackResponseStatusCREATEFAILED string = "CREATE_FAILED" // AutoscaleStackResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" AutoscaleStackResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // AutoscaleStackResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" AutoscaleStackResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // AutoscaleStackResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" AutoscaleStackResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // AutoscaleStackResponseStatusDELETEFAILED captures enum value "DELETE_FAILED" AutoscaleStackResponseStatusDELETEFAILED string = "DELETE_FAILED" // AutoscaleStackResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" AutoscaleStackResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED" // AutoscaleStackResponseStatusSTOPPED captures enum value "STOPPED" AutoscaleStackResponseStatusSTOPPED string = "STOPPED" // AutoscaleStackResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" AutoscaleStackResponseStatusSTOPREQUESTED string = "STOP_REQUESTED" // AutoscaleStackResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED" AutoscaleStackResponseStatusSTARTREQUESTED string = "START_REQUESTED" // AutoscaleStackResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" AutoscaleStackResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // AutoscaleStackResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" AutoscaleStackResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // AutoscaleStackResponseStatusSTARTFAILED captures enum value "START_FAILED" AutoscaleStackResponseStatusSTARTFAILED string = "START_FAILED" // AutoscaleStackResponseStatusSTOPFAILED captures enum value "STOP_FAILED" AutoscaleStackResponseStatusSTOPFAILED string = "STOP_FAILED" // AutoscaleStackResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" AutoscaleStackResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // BlueprintResponseStatusDEFAULT captures enum value "DEFAULT" BlueprintResponseStatusDEFAULT string = "DEFAULT" // BlueprintResponseStatusDEFAULTDELETED captures enum value "DEFAULT_DELETED" BlueprintResponseStatusDEFAULTDELETED string = "DEFAULT_DELETED" // BlueprintResponseStatusUSERMANAGED captures enum value "USER_MANAGED" BlueprintResponseStatusUSERMANAGED string = "USER_MANAGED" )
const ( // CloudbreakEventClusterStatusREQUESTED captures enum value "REQUESTED" CloudbreakEventClusterStatusREQUESTED string = "REQUESTED" // CloudbreakEventClusterStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" CloudbreakEventClusterStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // CloudbreakEventClusterStatusAVAILABLE captures enum value "AVAILABLE" CloudbreakEventClusterStatusAVAILABLE string = "AVAILABLE" // CloudbreakEventClusterStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" CloudbreakEventClusterStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // CloudbreakEventClusterStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" CloudbreakEventClusterStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // CloudbreakEventClusterStatusUPDATEFAILED captures enum value "UPDATE_FAILED" CloudbreakEventClusterStatusUPDATEFAILED string = "UPDATE_FAILED" // CloudbreakEventClusterStatusCREATEFAILED captures enum value "CREATE_FAILED" CloudbreakEventClusterStatusCREATEFAILED string = "CREATE_FAILED" // CloudbreakEventClusterStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" CloudbreakEventClusterStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // CloudbreakEventClusterStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" CloudbreakEventClusterStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // CloudbreakEventClusterStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" CloudbreakEventClusterStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // CloudbreakEventClusterStatusDELETEFAILED captures enum value "DELETE_FAILED" CloudbreakEventClusterStatusDELETEFAILED string = "DELETE_FAILED" // CloudbreakEventClusterStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" CloudbreakEventClusterStatusDELETECOMPLETED string = "DELETE_COMPLETED" // CloudbreakEventClusterStatusSTOPPED captures enum value "STOPPED" CloudbreakEventClusterStatusSTOPPED string = "STOPPED" // CloudbreakEventClusterStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" CloudbreakEventClusterStatusSTOPREQUESTED string = "STOP_REQUESTED" // CloudbreakEventClusterStatusSTARTREQUESTED captures enum value "START_REQUESTED" CloudbreakEventClusterStatusSTARTREQUESTED string = "START_REQUESTED" // CloudbreakEventClusterStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" CloudbreakEventClusterStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // CloudbreakEventClusterStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" CloudbreakEventClusterStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // CloudbreakEventClusterStatusSTARTFAILED captures enum value "START_FAILED" CloudbreakEventClusterStatusSTARTFAILED string = "START_FAILED" // CloudbreakEventClusterStatusSTOPFAILED captures enum value "STOP_FAILED" CloudbreakEventClusterStatusSTOPFAILED string = "STOP_FAILED" // CloudbreakEventClusterStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" CloudbreakEventClusterStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // CloudbreakEventStackStatusREQUESTED captures enum value "REQUESTED" CloudbreakEventStackStatusREQUESTED string = "REQUESTED" // CloudbreakEventStackStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" CloudbreakEventStackStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // CloudbreakEventStackStatusAVAILABLE captures enum value "AVAILABLE" CloudbreakEventStackStatusAVAILABLE string = "AVAILABLE" // CloudbreakEventStackStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" CloudbreakEventStackStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // CloudbreakEventStackStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" CloudbreakEventStackStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // CloudbreakEventStackStatusUPDATEFAILED captures enum value "UPDATE_FAILED" CloudbreakEventStackStatusUPDATEFAILED string = "UPDATE_FAILED" // CloudbreakEventStackStatusCREATEFAILED captures enum value "CREATE_FAILED" CloudbreakEventStackStatusCREATEFAILED string = "CREATE_FAILED" // CloudbreakEventStackStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" CloudbreakEventStackStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // CloudbreakEventStackStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" CloudbreakEventStackStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // CloudbreakEventStackStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" CloudbreakEventStackStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // CloudbreakEventStackStatusDELETEFAILED captures enum value "DELETE_FAILED" CloudbreakEventStackStatusDELETEFAILED string = "DELETE_FAILED" // CloudbreakEventStackStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" CloudbreakEventStackStatusDELETECOMPLETED string = "DELETE_COMPLETED" // CloudbreakEventStackStatusSTOPPED captures enum value "STOPPED" CloudbreakEventStackStatusSTOPPED string = "STOPPED" // CloudbreakEventStackStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" CloudbreakEventStackStatusSTOPREQUESTED string = "STOP_REQUESTED" // CloudbreakEventStackStatusSTARTREQUESTED captures enum value "START_REQUESTED" CloudbreakEventStackStatusSTARTREQUESTED string = "START_REQUESTED" // CloudbreakEventStackStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" CloudbreakEventStackStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // CloudbreakEventStackStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" CloudbreakEventStackStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // CloudbreakEventStackStatusSTARTFAILED captures enum value "START_FAILED" CloudbreakEventStackStatusSTARTFAILED string = "START_FAILED" // CloudbreakEventStackStatusSTOPFAILED captures enum value "STOP_FAILED" CloudbreakEventStackStatusSTOPFAILED string = "STOP_FAILED" // CloudbreakEventStackStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" CloudbreakEventStackStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // ClusterRequestConfigStrategyNEVERAPPLY captures enum value "NEVER_APPLY" ClusterRequestConfigStrategyNEVERAPPLY string = "NEVER_APPLY" // ClusterRequestConfigStrategyONLYSTACKDEFAULTSAPPLY captures enum value "ONLY_STACK_DEFAULTS_APPLY" ClusterRequestConfigStrategyONLYSTACKDEFAULTSAPPLY string = "ONLY_STACK_DEFAULTS_APPLY" // ClusterRequestConfigStrategyALWAYSAPPLY captures enum value "ALWAYS_APPLY" ClusterRequestConfigStrategyALWAYSAPPLY string = "ALWAYS_APPLY" // ClusterRequestConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES captures enum value "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" ClusterRequestConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES string = "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" )
const ( // ClusterRequestExecutorTypeCONTAINER captures enum value "CONTAINER" ClusterRequestExecutorTypeCONTAINER string = "CONTAINER" // ClusterRequestExecutorTypeDEFAULT captures enum value "DEFAULT" ClusterRequestExecutorTypeDEFAULT string = "DEFAULT" )
const ( // ClusterResponseConfigStrategyNEVERAPPLY captures enum value "NEVER_APPLY" ClusterResponseConfigStrategyNEVERAPPLY string = "NEVER_APPLY" // ClusterResponseConfigStrategyONLYSTACKDEFAULTSAPPLY captures enum value "ONLY_STACK_DEFAULTS_APPLY" ClusterResponseConfigStrategyONLYSTACKDEFAULTSAPPLY string = "ONLY_STACK_DEFAULTS_APPLY" // ClusterResponseConfigStrategyALWAYSAPPLY captures enum value "ALWAYS_APPLY" ClusterResponseConfigStrategyALWAYSAPPLY string = "ALWAYS_APPLY" // ClusterResponseConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES captures enum value "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" ClusterResponseConfigStrategyALWAYSAPPLYDONTOVERRIDECUSTOMVALUES string = "ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES" )
const ( // ClusterResponseExecutorTypeCONTAINER captures enum value "CONTAINER" ClusterResponseExecutorTypeCONTAINER string = "CONTAINER" // ClusterResponseExecutorTypeDEFAULT captures enum value "DEFAULT" ClusterResponseExecutorTypeDEFAULT string = "DEFAULT" )
const ( // ClusterResponseStatusREQUESTED captures enum value "REQUESTED" ClusterResponseStatusREQUESTED string = "REQUESTED" // ClusterResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" ClusterResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // ClusterResponseStatusAVAILABLE captures enum value "AVAILABLE" ClusterResponseStatusAVAILABLE string = "AVAILABLE" // ClusterResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" ClusterResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // ClusterResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" ClusterResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // ClusterResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED" ClusterResponseStatusUPDATEFAILED string = "UPDATE_FAILED" // ClusterResponseStatusCREATEFAILED captures enum value "CREATE_FAILED" ClusterResponseStatusCREATEFAILED string = "CREATE_FAILED" // ClusterResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" ClusterResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // ClusterResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" ClusterResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // ClusterResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" ClusterResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // ClusterResponseStatusDELETEFAILED captures enum value "DELETE_FAILED" ClusterResponseStatusDELETEFAILED string = "DELETE_FAILED" // ClusterResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" ClusterResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED" // ClusterResponseStatusSTOPPED captures enum value "STOPPED" ClusterResponseStatusSTOPPED string = "STOPPED" // ClusterResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" ClusterResponseStatusSTOPREQUESTED string = "STOP_REQUESTED" // ClusterResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED" ClusterResponseStatusSTARTREQUESTED string = "START_REQUESTED" // ClusterResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" ClusterResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // ClusterResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" ClusterResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // ClusterResponseStatusSTARTFAILED captures enum value "START_FAILED" ClusterResponseStatusSTARTFAILED string = "START_FAILED" // ClusterResponseStatusSTOPFAILED captures enum value "STOP_FAILED" ClusterResponseStatusSTOPFAILED string = "STOP_FAILED" // ClusterResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" ClusterResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // ClusterV2RequestExecutorTypeCONTAINER captures enum value "CONTAINER" ClusterV2RequestExecutorTypeCONTAINER string = "CONTAINER" // ClusterV2RequestExecutorTypeDEFAULT captures enum value "DEFAULT" ClusterV2RequestExecutorTypeDEFAULT string = "DEFAULT" )
const ( // FailurePolicyRequestAdjustmentTypeEXACT captures enum value "EXACT" FailurePolicyRequestAdjustmentTypeEXACT string = "EXACT" // FailurePolicyRequestAdjustmentTypePERCENTAGE captures enum value "PERCENTAGE" FailurePolicyRequestAdjustmentTypePERCENTAGE string = "PERCENTAGE" // FailurePolicyRequestAdjustmentTypeBESTEFFORT captures enum value "BEST_EFFORT" FailurePolicyRequestAdjustmentTypeBESTEFFORT string = "BEST_EFFORT" )
const ( // FailurePolicyResponseAdjustmentTypeEXACT captures enum value "EXACT" FailurePolicyResponseAdjustmentTypeEXACT string = "EXACT" // FailurePolicyResponseAdjustmentTypePERCENTAGE captures enum value "PERCENTAGE" FailurePolicyResponseAdjustmentTypePERCENTAGE string = "PERCENTAGE" // FailurePolicyResponseAdjustmentTypeBESTEFFORT captures enum value "BEST_EFFORT" FailurePolicyResponseAdjustmentTypeBESTEFFORT string = "BEST_EFFORT" )
const ( // FileSystemTypeWASBINTEGRATED captures enum value "WASB_INTEGRATED" FileSystemTypeWASBINTEGRATED string = "WASB_INTEGRATED" // FileSystemTypeGCS captures enum value "GCS" FileSystemTypeGCS string = "GCS" // FileSystemTypeWASB captures enum value "WASB" FileSystemTypeWASB string = "WASB" // FileSystemTypeADLS captures enum value "ADLS" FileSystemTypeADLS string = "ADLS" )
const ( // GatewayJSONGatewayTypeCENTRAL captures enum value "CENTRAL" GatewayJSONGatewayTypeCENTRAL string = "CENTRAL" // GatewayJSONGatewayTypeINDIVIDUAL captures enum value "INDIVIDUAL" GatewayJSONGatewayTypeINDIVIDUAL string = "INDIVIDUAL" )
const ( // GatewayJSONSsoTypeSSOPROVIDER captures enum value "SSO_PROVIDER" GatewayJSONSsoTypeSSOPROVIDER string = "SSO_PROVIDER" // GatewayJSONSsoTypeSSOCONSUMER captures enum value "SSO_CONSUMER" GatewayJSONSsoTypeSSOCONSUMER string = "SSO_CONSUMER" // GatewayJSONSsoTypeNONE captures enum value "NONE" GatewayJSONSsoTypeNONE string = "NONE" )
const ( // HostGroupRequestRecoveryModeMANUAL captures enum value "MANUAL" HostGroupRequestRecoveryModeMANUAL string = "MANUAL" // HostGroupRequestRecoveryModeAUTO captures enum value "AUTO" HostGroupRequestRecoveryModeAUTO string = "AUTO" )
const ( // HostGroupResponseRecoveryModeMANUAL captures enum value "MANUAL" HostGroupResponseRecoveryModeMANUAL string = "MANUAL" // HostGroupResponseRecoveryModeAUTO captures enum value "AUTO" HostGroupResponseRecoveryModeAUTO string = "AUTO" )
const ( // InstanceGroupResponseTypeGATEWAY captures enum value "GATEWAY" InstanceGroupResponseTypeGATEWAY string = "GATEWAY" // InstanceGroupResponseTypeCORE captures enum value "CORE" InstanceGroupResponseTypeCORE string = "CORE" )
const ( // InstanceGroupsTypeGATEWAY captures enum value "GATEWAY" InstanceGroupsTypeGATEWAY string = "GATEWAY" // InstanceGroupsTypeCORE captures enum value "CORE" InstanceGroupsTypeCORE string = "CORE" )
const ( // InstanceGroupsV2RecoveryModeMANUAL captures enum value "MANUAL" InstanceGroupsV2RecoveryModeMANUAL string = "MANUAL" // InstanceGroupsV2RecoveryModeAUTO captures enum value "AUTO" InstanceGroupsV2RecoveryModeAUTO string = "AUTO" )
const ( // InstanceGroupsV2TypeGATEWAY captures enum value "GATEWAY" InstanceGroupsV2TypeGATEWAY string = "GATEWAY" // InstanceGroupsV2TypeCORE captures enum value "CORE" InstanceGroupsV2TypeCORE string = "CORE" )
const ( // InstanceMetaDataInstanceStatusREQUESTED captures enum value "REQUESTED" InstanceMetaDataInstanceStatusREQUESTED string = "REQUESTED" // InstanceMetaDataInstanceStatusCREATED captures enum value "CREATED" InstanceMetaDataInstanceStatusCREATED string = "CREATED" // InstanceMetaDataInstanceStatusUNREGISTERED captures enum value "UNREGISTERED" InstanceMetaDataInstanceStatusUNREGISTERED string = "UNREGISTERED" // InstanceMetaDataInstanceStatusREGISTERED captures enum value "REGISTERED" InstanceMetaDataInstanceStatusREGISTERED string = "REGISTERED" // InstanceMetaDataInstanceStatusDECOMMISSIONED captures enum value "DECOMMISSIONED" InstanceMetaDataInstanceStatusDECOMMISSIONED string = "DECOMMISSIONED" // InstanceMetaDataInstanceStatusTERMINATED captures enum value "TERMINATED" InstanceMetaDataInstanceStatusTERMINATED string = "TERMINATED" // InstanceMetaDataInstanceStatusFAILED captures enum value "FAILED" InstanceMetaDataInstanceStatusFAILED string = "FAILED" // InstanceMetaDataInstanceStatusSTOPPED captures enum value "STOPPED" InstanceMetaDataInstanceStatusSTOPPED string = "STOPPED" )
const ( // InstanceMetaDataInstanceTypeGATEWAY captures enum value "GATEWAY" InstanceMetaDataInstanceTypeGATEWAY string = "GATEWAY" // InstanceMetaDataInstanceTypeGATEWAYPRIMARY captures enum value "GATEWAY_PRIMARY" InstanceMetaDataInstanceTypeGATEWAYPRIMARY string = "GATEWAY_PRIMARY" // InstanceMetaDataInstanceTypeCORE captures enum value "CORE" InstanceMetaDataInstanceTypeCORE string = "CORE" )
const ( // LdapConfigRequestDirectoryTypeLDAP captures enum value "LDAP" LdapConfigRequestDirectoryTypeLDAP string = "LDAP" // LdapConfigRequestDirectoryTypeACTIVEDIRECTORY captures enum value "ACTIVE_DIRECTORY" LdapConfigRequestDirectoryTypeACTIVEDIRECTORY string = "ACTIVE_DIRECTORY" )
const ( // LdapConfigResponseDirectoryTypeLDAP captures enum value "LDAP" LdapConfigResponseDirectoryTypeLDAP string = "LDAP" // LdapConfigResponseDirectoryTypeACTIVEDIRECTORY captures enum value "ACTIVE_DIRECTORY" LdapConfigResponseDirectoryTypeACTIVEDIRECTORY string = "ACTIVE_DIRECTORY" )
const ( // RDSConfigTypeHIVE captures enum value "HIVE" RDSConfigTypeHIVE string = "HIVE" // RDSConfigTypeRANGER captures enum value "RANGER" RDSConfigTypeRANGER string = "RANGER" // RDSConfigTypeDRUID captures enum value "DRUID" RDSConfigTypeDRUID string = "DRUID" )
const ( // RDSConfigResponseTypeHIVE captures enum value "HIVE" RDSConfigResponseTypeHIVE string = "HIVE" // RDSConfigResponseTypeRANGER captures enum value "RANGER" RDSConfigResponseTypeRANGER string = "RANGER" // RDSConfigResponseTypeDRUID captures enum value "DRUID" RDSConfigResponseTypeDRUID string = "DRUID" )
const ( // RecipeRequestRecipeTypePREAMBARISTART captures enum value "PRE_AMBARI_START" RecipeRequestRecipeTypePREAMBARISTART string = "PRE_AMBARI_START" // RecipeRequestRecipeTypePRETERMINATION captures enum value "PRE_TERMINATION" RecipeRequestRecipeTypePRETERMINATION string = "PRE_TERMINATION" // RecipeRequestRecipeTypePOSTAMBARISTART captures enum value "POST_AMBARI_START" RecipeRequestRecipeTypePOSTAMBARISTART string = "POST_AMBARI_START" // RecipeRequestRecipeTypePOSTCLUSTERINSTALL captures enum value "POST_CLUSTER_INSTALL" RecipeRequestRecipeTypePOSTCLUSTERINSTALL string = "POST_CLUSTER_INSTALL" )
const ( // RecipeResponseRecipeTypePREAMBARISTART captures enum value "PRE_AMBARI_START" RecipeResponseRecipeTypePREAMBARISTART string = "PRE_AMBARI_START" // RecipeResponseRecipeTypePRETERMINATION captures enum value "PRE_TERMINATION" RecipeResponseRecipeTypePRETERMINATION string = "PRE_TERMINATION" // RecipeResponseRecipeTypePOSTAMBARISTART captures enum value "POST_AMBARI_START" RecipeResponseRecipeTypePOSTAMBARISTART string = "POST_AMBARI_START" // RecipeResponseRecipeTypePOSTCLUSTERINSTALL captures enum value "POST_CLUSTER_INSTALL" RecipeResponseRecipeTypePOSTCLUSTERINSTALL string = "POST_CLUSTER_INSTALL" )
const ( // StackRequestOnFailureActionROLLBACK captures enum value "ROLLBACK" StackRequestOnFailureActionROLLBACK string = "ROLLBACK" // StackRequestOnFailureActionDONOTHING captures enum value "DO_NOTHING" StackRequestOnFailureActionDONOTHING string = "DO_NOTHING" )
const ( // StackResponseOnFailureActionROLLBACK captures enum value "ROLLBACK" StackResponseOnFailureActionROLLBACK string = "ROLLBACK" // StackResponseOnFailureActionDONOTHING captures enum value "DO_NOTHING" StackResponseOnFailureActionDONOTHING string = "DO_NOTHING" )
const ( // StackResponseStatusREQUESTED captures enum value "REQUESTED" StackResponseStatusREQUESTED string = "REQUESTED" // StackResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS" StackResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS" // StackResponseStatusAVAILABLE captures enum value "AVAILABLE" StackResponseStatusAVAILABLE string = "AVAILABLE" // StackResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS" StackResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS" // StackResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED" StackResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED" // StackResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED" StackResponseStatusUPDATEFAILED string = "UPDATE_FAILED" // StackResponseStatusCREATEFAILED captures enum value "CREATE_FAILED" StackResponseStatusCREATEFAILED string = "CREATE_FAILED" // StackResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED" StackResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED" // StackResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS" StackResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS" // StackResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS" StackResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS" // StackResponseStatusDELETEFAILED captures enum value "DELETE_FAILED" StackResponseStatusDELETEFAILED string = "DELETE_FAILED" // StackResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED" StackResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED" // StackResponseStatusSTOPPED captures enum value "STOPPED" StackResponseStatusSTOPPED string = "STOPPED" // StackResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED" StackResponseStatusSTOPREQUESTED string = "STOP_REQUESTED" // StackResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED" StackResponseStatusSTARTREQUESTED string = "START_REQUESTED" // StackResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS" StackResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS" // StackResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS" StackResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS" // StackResponseStatusSTARTFAILED captures enum value "START_FAILED" StackResponseStatusSTARTFAILED string = "START_FAILED" // StackResponseStatusSTOPFAILED captures enum value "STOP_FAILED" StackResponseStatusSTOPFAILED string = "STOP_FAILED" // StackResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC" StackResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC" )
const ( // StackV2RequestOnFailureActionROLLBACK captures enum value "ROLLBACK" StackV2RequestOnFailureActionROLLBACK string = "ROLLBACK" // StackV2RequestOnFailureActionDONOTHING captures enum value "DO_NOTHING" StackV2RequestOnFailureActionDONOTHING string = "DO_NOTHING" )
const ( // UpdateClusterStatusSYNC captures enum value "SYNC" UpdateClusterStatusSYNC string = "SYNC" // UpdateClusterStatusFULLSYNC captures enum value "FULL_SYNC" UpdateClusterStatusFULLSYNC string = "FULL_SYNC" // UpdateClusterStatusREPAIRFAILEDNODES captures enum value "REPAIR_FAILED_NODES" UpdateClusterStatusREPAIRFAILEDNODES string = "REPAIR_FAILED_NODES" // UpdateClusterStatusSTOPPED captures enum value "STOPPED" UpdateClusterStatusSTOPPED string = "STOPPED" // UpdateClusterStatusSTARTED captures enum value "STARTED" UpdateClusterStatusSTARTED string = "STARTED" )
const ( // UpdateClusterV2StatusSYNC captures enum value "SYNC" UpdateClusterV2StatusSYNC string = "SYNC" // UpdateClusterV2StatusFULLSYNC captures enum value "FULL_SYNC" UpdateClusterV2StatusFULLSYNC string = "FULL_SYNC" // UpdateClusterV2StatusREPAIRFAILEDNODES captures enum value "REPAIR_FAILED_NODES" UpdateClusterV2StatusREPAIRFAILEDNODES string = "REPAIR_FAILED_NODES" // UpdateClusterV2StatusSTOPPED captures enum value "STOPPED" UpdateClusterV2StatusSTOPPED string = "STOPPED" // UpdateClusterV2StatusSTARTED captures enum value "STARTED" UpdateClusterV2StatusSTARTED string = "STARTED" )
const ( // UpdateStackStatusSYNC captures enum value "SYNC" UpdateStackStatusSYNC string = "SYNC" // UpdateStackStatusFULLSYNC captures enum value "FULL_SYNC" UpdateStackStatusFULLSYNC string = "FULL_SYNC" // UpdateStackStatusREPAIRFAILEDNODES captures enum value "REPAIR_FAILED_NODES" UpdateStackStatusREPAIRFAILEDNODES string = "REPAIR_FAILED_NODES" // UpdateStackStatusSTOPPED captures enum value "STOPPED" UpdateStackStatusSTOPPED string = "STOPPED" // UpdateStackStatusSTARTED captures enum value "STARTED" UpdateStackStatusSTARTED string = "STARTED" )
const ( // UpdateStackV2StatusSYNC captures enum value "SYNC" UpdateStackV2StatusSYNC string = "SYNC" // UpdateStackV2StatusFULLSYNC captures enum value "FULL_SYNC" UpdateStackV2StatusFULLSYNC string = "FULL_SYNC" // UpdateStackV2StatusREPAIRFAILEDNODES captures enum value "REPAIR_FAILED_NODES" UpdateStackV2StatusREPAIRFAILEDNODES string = "REPAIR_FAILED_NODES" // UpdateStackV2StatusSTOPPED captures enum value "STOPPED" UpdateStackV2StatusSTOPPED string = "STOPPED" // UpdateStackV2StatusSTARTED captures enum value "STARTED" UpdateStackV2StatusSTARTED string = "STARTED" )
const ( // ClusterTemplateRequestTypeQUICKSTART captures enum value "QUICK_START" ClusterTemplateRequestTypeQUICKSTART string = "QUICK_START" )
const ( // ClusterTemplateResponseTypeQUICKSTART captures enum value "QUICK_START" ClusterTemplateResponseTypeQUICKSTART string = "QUICK_START" )
const ( // RDSConfigDatabaseTypePOSTGRES captures enum value "POSTGRES" RDSConfigDatabaseTypePOSTGRES string = "POSTGRES" )
const ( // RDSConfigResponseDatabaseTypePOSTGRES captures enum value "POSTGRES" RDSConfigResponseDatabaseTypePOSTGRES string = "POSTGRES" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountPreference ¶
type AccountPreference struct {
// allowed instance types in the account (empty list for no restriction)
AllowedInstanceTypes []string `json:"allowedInstanceTypes"`
// lifecycle of the cluster in hours (0 for immortal clusters)
// Required: true
// Minimum: 0
ClusterTimeToLive *int64 `json:"clusterTimeToLive"`
// default tags for the resources created
DefaultTags map[string]string `json:"defaultTags,omitempty"`
// max number of clusters in the account (0 when unlimited)
// Minimum: 0
MaxNumberOfClusters *int64 `json:"maxNumberOfClusters,omitempty"`
// max number of clusters for user within the account (0 when unlimited)
// Minimum: 0
MaxNumberOfClustersPerUser *int64 `json:"maxNumberOfClustersPerUser,omitempty"`
// max number of vms in a cluster of account (0 when unlimited)
// Minimum: 0
MaxNumberOfNodesPerCluster *int64 `json:"maxNumberOfNodesPerCluster,omitempty"`
// list of the cloudplatforms visible on the UI
Platforms string `json:"platforms,omitempty"`
// lifecycle of the account and its clusters in hours (0 for immortal account)
// Required: true
// Minimum: 0
UserTimeToLive *int64 `json:"userTimeToLive"`
}
func (*AccountPreference) MarshalBinary ¶
func (m *AccountPreference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountPreference) UnmarshalBinary ¶
func (m *AccountPreference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariAddress ¶
type AmbariAddress struct {
// ambari server address
// Required: true
AmbariAddress *string `json:"ambariAddress"`
}
func (*AmbariAddress) MarshalBinary ¶
func (m *AmbariAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariAddress) UnmarshalBinary ¶
func (m *AmbariAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariDatabaseDetails ¶
type AmbariDatabaseDetails struct {
// host of the Ambari database
// Required: true
// Pattern: ^[a-zA-Z0-9]([a-zA-Z0-9-\.]+)$
Host *string `json:"host"`
// name of the Ambari database
// Required: true
// Pattern: ^[^']+$
Name *string `json:"name"`
// password for the Ambari database
// Required: true
// Pattern: ^[^']+$
Password *string `json:"password"`
// port of the Ambari database
// Required: true
Port *int32 `json:"port"`
// user name for the Ambari database
// Required: true
// Pattern: ^[^']+$
UserName *string `json:"userName"`
// vendor of the Ambari database
// Required: true
Vendor *string `json:"vendor"`
}
func (*AmbariDatabaseDetails) MarshalBinary ¶
func (m *AmbariDatabaseDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariDatabaseDetails) UnmarshalBinary ¶
func (m *AmbariDatabaseDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariDatabaseTestResult ¶
type AmbariDatabaseTestResult struct {
// result of Ambari database test
// Required: true
Error *string `json:"error"`
}
func (*AmbariDatabaseTestResult) MarshalBinary ¶
func (m *AmbariDatabaseTestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariDatabaseTestResult) UnmarshalBinary ¶
func (m *AmbariDatabaseTestResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariRepoDetails ¶
type AmbariRepoDetails struct {
// url of the Ambari repository
// Required: true
BaseURL *string `json:"baseUrl"`
// gpg key of the Ambari repository
// Required: true
GpgKeyURL *string `json:"gpgKeyUrl"`
// version of the Ambari
// Required: true
Version *string `json:"version"`
}
func (*AmbariRepoDetails) MarshalBinary ¶
func (m *AmbariRepoDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariRepoDetails) UnmarshalBinary ¶
func (m *AmbariRepoDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariStackDetails ¶
type AmbariStackDetails struct {
// url the MPACK that needs to be installed before HDF installation
MpackURL string `json:"mpackUrl,omitempty"`
// operating system for the stack, like redhat6
Os string `json:"os,omitempty"`
// version of the repository for VDF file creation in Ambari
RepositoryVersion string `json:"repositoryVersion,omitempty"`
// name of the stack, like HDP
// Required: true
Stack *string `json:"stack"`
// url of the stack repository
StackBaseURL string `json:"stackBaseURL,omitempty"`
// id of the stack repository
StackRepoID string `json:"stackRepoId,omitempty"`
// url of the stack utils repository
UtilsBaseURL string `json:"utilsBaseURL,omitempty"`
// id of the stack utils repository
UtilsRepoID string `json:"utilsRepoId,omitempty"`
// whether to verify or not the repo url
// Required: true
Verify bool `json:"verify"`
// version of the stack
// Required: true
Version *string `json:"version"`
// local path on the Ambari server or URL that point to the desired VDF file
VersionDefinitionFileURL string `json:"versionDefinitionFileUrl,omitempty"`
}
func (*AmbariStackDetails) MarshalBinary ¶
func (m *AmbariStackDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariStackDetails) UnmarshalBinary ¶
func (m *AmbariStackDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariStackDetailsResponse ¶
type AmbariStackDetailsResponse struct {
// hdp version
HdpVersion string `json:"hdpVersion,omitempty"`
// knox
Knox map[string]string `json:"knox,omitempty"`
// stack
Stack map[string]string `json:"stack,omitempty"`
// util
Util map[string]string `json:"util,omitempty"`
// verify
Verify *bool `json:"verify,omitempty"`
}
func (*AmbariStackDetailsResponse) MarshalBinary ¶
func (m *AmbariStackDetailsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariStackDetailsResponse) UnmarshalBinary ¶
func (m *AmbariStackDetailsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AmbariV2Request ¶
type AmbariV2Request struct {
// details of the external Ambari database
AmbariDatabaseDetails *AmbariDatabaseDetails `json:"ambariDatabaseDetails,omitempty"`
// details of the Ambari package repository
AmbariRepoDetailsJSON *AmbariRepoDetails `json:"ambariRepoDetailsJson,omitempty"`
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetails `json:"ambariStackDetails,omitempty"`
// blueprint custom properties
BlueprintCustomProperties string `json:"blueprintCustomProperties,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// blueprint inputs in the cluster
// Unique: true
BlueprintInputs []*BlueprintInput `json:"blueprintInputs"`
// blueprint name for the cluster
BlueprintName string `json:"blueprintName,omitempty"`
// config recommendation strategy
ConfigStrategy string `json:"configStrategy,omitempty"`
// cluster can connect to a datalake you can define the parameters here
ConnectedCluster *ConnectedClusterRequest `json:"connectedCluster,omitempty"`
// enable Kerberos security
EnableSecurity *bool `json:"enableSecurity,omitempty"`
// gateway
Gateway *GatewayJSON `json:"gateway,omitempty"`
// kerberos
Kerberos *KerberosRequest `json:"kerberos,omitempty"`
// ambari password
// Required: true
// Max Length: 100
// Min Length: 5
Password *string `json:"password"`
// ambari username
// Required: true
// Max Length: 15
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
UserName *string `json:"userName"`
// validate blueprint
ValidateBlueprint *bool `json:"validateBlueprint,omitempty"`
}
func (*AmbariV2Request) MarshalBinary ¶
func (m *AmbariV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariV2Request) UnmarshalBinary ¶
func (m *AmbariV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoscaleClusterResponse ¶
type AutoscaleClusterResponse struct {
// details of the external Ambari database
AmbariDatabaseDetails *AmbariDatabaseDetails `json:"ambariDatabaseDetails,omitempty"`
// details of the Ambari package repository
AmbariRepoDetailsJSON *AmbariRepoDetails `json:"ambariRepoDetailsJson,omitempty"`
// public ambari ip of the stack
AmbariServerIP string `json:"ambariServerIp,omitempty"`
// public ambari url
AmbariServerURL string `json:"ambariServerUrl,omitempty"`
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetailsResponse `json:"ambariStackDetails,omitempty"`
// Additional information for ambari cluster
Attributes map[string]interface{} `json:"attributes,omitempty"`
// blueprint for the cluster
Blueprint *BlueprintResponse `json:"blueprint,omitempty"`
// blueprint custom properties
BlueprintCustomProperties string `json:"blueprintCustomProperties,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// blueprint inputs in the cluster
// Unique: true
BlueprintInputs []*BlueprintInput `json:"blueprintInputs"`
// name of the cluster
Cluster string `json:"cluster,omitempty"`
// config recommendation strategy
ConfigStrategy string `json:"configStrategy,omitempty"`
// Epoch time of cluster creation finish
CreationFinished int64 `json:"creationFinished,omitempty"`
// custom containers
CustomContainers *CustomContainerResponse `json:"customContainers,omitempty"`
// custom queue for yarn orchestrator
CustomQueue string `json:"customQueue,omitempty"`
// description of the resource
Description string `json:"description,omitempty"`
// executor type of cluster
ExecutorType string `json:"executorType,omitempty"`
// gateway
Gateway *GatewayJSON `json:"gateway,omitempty"`
// host groups
// Unique: true
HostGroups []*HostGroupResponse `json:"hostGroups"`
// duration - how long the cluster is running in hours
HoursUp int32 `json:"hoursUp,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// LDAP config for the cluster
LdapConfig *LdapConfigResponse `json:"ldapConfig,omitempty"`
// LDAP config id for the cluster
LdapConfigID int64 `json:"ldapConfigId,omitempty"`
// duration - how long the cluster is running in minutes (minus hours)
MinutesUp int32 `json:"minutesUp,omitempty"`
// name of the resource
Name string `json:"name,omitempty"`
// ambari password
Password string `json:"password,omitempty"`
// RDS configuration ids for the cluster
// Unique: true
RdsConfigIds []int64 `json:"rdsConfigIds"`
// RDS configurations for the cluster
// Unique: true
RdsConfigs []*RDSConfigResponse `json:"rdsConfigs"`
// secure
Secure *bool `json:"secure,omitempty"`
// most important services in the cluster
ServiceEndPoints map[string]string `json:"serviceEndPoints,omitempty"`
// status of the cluster
Status string `json:"status,omitempty"`
// status message of the cluster
StatusReason string `json:"statusReason,omitempty"`
// ambari username
UserName string `json:"userName,omitempty"`
}
func (*AutoscaleClusterResponse) MarshalBinary ¶
func (m *AutoscaleClusterResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoscaleClusterResponse) UnmarshalBinary ¶
func (m *AutoscaleClusterResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoscaleStackResponse ¶
type AutoscaleStackResponse struct {
// account id of the resource owner that is provided by OAuth provider
Account string `json:"account,omitempty"`
// public ambari ip of the stack
AmbariServerIP string `json:"ambariServerIp,omitempty"`
// status of the cluster
ClusterStatus string `json:"clusterStatus,omitempty"`
// creation time of the stack in long
Created int64 `json:"created,omitempty"`
// port of the gateway secured proxy
GatewayPort int32 `json:"gatewayPort,omitempty"`
// name of the stack
// Required: true
// Max Length: 40
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// id of the resource owner that is provided by OAuth provider
Owner string `json:"owner,omitempty"`
// ambari password
Password string `json:"password,omitempty"`
// id of the stack
StackID int64 `json:"stackId,omitempty"`
// status of the stack
Status string `json:"status,omitempty"`
// ambari username
UserName string `json:"userName,omitempty"`
}
func (*AutoscaleStackResponse) MarshalBinary ¶
func (m *AutoscaleStackResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoscaleStackResponse) UnmarshalBinary ¶
func (m *AutoscaleStackResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BaseImageResponse ¶
type BaseImageResponse struct {
// date
Date string `json:"date,omitempty"`
// description
Description string `json:"description,omitempty"`
// hdf stacks
HdfStacks []*StackDetailsJSON `json:"hdfStacks"`
// hdp stacks
HdpStacks []*StackDetailsJSON `json:"hdpStacks"`
// images
Images map[string]map[string]string `json:"images,omitempty"`
// os
Os string `json:"os,omitempty"`
// os type
OsType string `json:"osType,omitempty"`
// repo
Repo map[string]string `json:"repo,omitempty"`
// stack details
StackDetails *StackDetailsJSON `json:"stackDetails,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
// version
Version string `json:"version,omitempty"`
}
func (*BaseImageResponse) MarshalBinary ¶
func (m *BaseImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BaseImageResponse) UnmarshalBinary ¶
func (m *BaseImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlueprintInput ¶
type BlueprintInput struct {
// name
Name string `json:"name,omitempty"`
// property value
PropertyValue string `json:"propertyValue,omitempty"`
}
func (*BlueprintInput) MarshalBinary ¶
func (m *BlueprintInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlueprintInput) UnmarshalBinary ¶
func (m *BlueprintInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlueprintParameter ¶
type BlueprintParameter struct {
// description
Description string `json:"description,omitempty"`
// name
Name string `json:"name,omitempty"`
// reference configuration
ReferenceConfiguration string `json:"referenceConfiguration,omitempty"`
}
func (*BlueprintParameter) MarshalBinary ¶
func (m *BlueprintParameter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlueprintParameter) UnmarshalBinary ¶
func (m *BlueprintParameter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlueprintRequest ¶
type BlueprintRequest struct {
// ambari blueprint JSON, set this or the url field
AmbariBlueprint string `json:"ambariBlueprint,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// input parameters of the blueprint
// Unique: true
Inputs []*BlueprintParameter `json:"inputs"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// properties to extend the blueprint with
Properties []map[string]map[string]string `json:"properties"`
// url source of an ambari blueprint, set this or the ambariBlueprint field
URL string `json:"url,omitempty"`
}
func (*BlueprintRequest) MarshalBinary ¶
func (m *BlueprintRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlueprintRequest) UnmarshalBinary ¶
func (m *BlueprintRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlueprintResponse ¶
type BlueprintResponse struct {
// ambari blueprint JSON, set this or the url field
AmbariBlueprint string `json:"ambariBlueprint,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// number of host groups
HostGroupCount int32 `json:"hostGroupCount,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// input parameters of the blueprint
// Unique: true
Inputs []*BlueprintParameter `json:"inputs"`
// name of the resource
// Required: true
Name *string `json:"name"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// status of the blueprint
Status string `json:"status,omitempty"`
}
func (*BlueprintResponse) MarshalBinary ¶
func (m *BlueprintResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlueprintResponse) UnmarshalBinary ¶
func (m *BlueprintResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ByosV2Request ¶
type ByosV2Request struct {
// custom containers
CustomContainer *CustomContainerRequest `json:"customContainer,omitempty"`
// custom queue for yarn orchestrator
CustomQueue string `json:"customQueue,omitempty"`
}
func (*ByosV2Request) MarshalBinary ¶
func (m *ByosV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ByosV2Request) UnmarshalBinary ¶
func (m *ByosV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CertificateResponse ¶
type CertificateResponse struct {
// client certificate used by the gateway
ClientCert []strfmt.Base64 `json:"clientCert"`
// client key used by the gateway
ClientKey []strfmt.Base64 `json:"clientKey"`
// server certificate used by the gateway
ServerCert []strfmt.Base64 `json:"serverCert"`
}
func (*CertificateResponse) MarshalBinary ¶
func (m *CertificateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CertificateResponse) UnmarshalBinary ¶
func (m *CertificateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudGatewayJSON ¶
type CloudGatewayJSON struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
}
func (*CloudGatewayJSON) MarshalBinary ¶
func (m *CloudGatewayJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudGatewayJSON) UnmarshalBinary ¶
func (m *CloudGatewayJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudbreakDetailsJSON ¶
type CloudbreakDetailsJSON struct {
// version of the Cloudbreak that provisioned the stack
Version string `json:"version,omitempty"`
}
func (*CloudbreakDetailsJSON) MarshalBinary ¶
func (m *CloudbreakDetailsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudbreakDetailsJSON) UnmarshalBinary ¶
func (m *CloudbreakDetailsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudbreakEvent ¶
type CloudbreakEvent struct {
// account id of the resource owner that is provided by OAuth provider
Account string `json:"account,omitempty"`
// availability zone of the stack
AvailabilityZone string `json:"availabilityZone,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// gathered from blueprintName field from the blueprint JSON
BlueprintName string `json:"blueprintName,omitempty"`
// type of cloud provider
Cloud string `json:"cloud,omitempty"`
// id of the cluster
ClusterID int64 `json:"clusterId,omitempty"`
// name of the cluster
ClusterName string `json:"clusterName,omitempty"`
// status of the cluster
ClusterStatus string `json:"clusterStatus,omitempty"`
// message of the event
EventMessage string `json:"eventMessage,omitempty"`
// timestamp of the event
EventTimestamp int64 `json:"eventTimestamp,omitempty"`
// type of the event
EventType string `json:"eventType,omitempty"`
// name of the instance group
InstanceGroup string `json:"instanceGroup,omitempty"`
// number of nodes
NodeCount int32 `json:"nodeCount,omitempty"`
// id of the resource owner that is provided by OAuth provider
Owner string `json:"owner,omitempty"`
// region of the stack
Region string `json:"region,omitempty"`
// id of the stack
StackID int64 `json:"stackId,omitempty"`
// name of the stack
StackName string `json:"stackName,omitempty"`
// status of the stack
StackStatus string `json:"stackStatus,omitempty"`
}
func (*CloudbreakEvent) MarshalBinary ¶
func (m *CloudbreakEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudbreakEvent) UnmarshalBinary ¶
func (m *CloudbreakEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudbreakFlexUsage ¶
type CloudbreakFlexUsage struct {
// controller
Controller *FlexUsageControllerJSON `json:"controller,omitempty"`
// products
Products []*FlexUsageProductJSON `json:"products"`
}
func (*CloudbreakFlexUsage) MarshalBinary ¶
func (m *CloudbreakFlexUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudbreakFlexUsage) UnmarshalBinary ¶
func (m *CloudbreakFlexUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudbreakUsage ¶
type CloudbreakUsage struct {
// account id of the resource owner that is provided by OAuth provider
Account string `json:"account,omitempty"`
// availability zone of the stack
AvailabilityZone string `json:"availabilityZone,omitempty"`
// id of the blueprint
BlueprintID int64 `json:"blueprintId,omitempty"`
// name of the blueprint
BlueprintName string `json:"blueprintName,omitempty"`
// computed costs of instance usage
Costs float64 `json:"costs,omitempty"`
// the day the usage of resources happened
Day string `json:"day,omitempty"`
// time since the instances are running in millisec
Duration string `json:"duration,omitempty"`
// flex subscription id
FlexID string `json:"flexId,omitempty"`
// group name of instance
InstanceGroup string `json:"instanceGroup,omitempty"`
// hours since the instance is running
InstanceHours int64 `json:"instanceHours,omitempty"`
// number of instances running
InstanceNum int32 `json:"instanceNum,omitempty"`
// type of instance
InstanceType string `json:"instanceType,omitempty"`
// id of the resource owner that is provided by OAuth provider
Owner string `json:"owner,omitempty"`
// maximum number of instances running
Peak int32 `json:"peak,omitempty"`
// cloud provider of the stack
Provider string `json:"provider,omitempty"`
// region of the stack
Region string `json:"region,omitempty"`
// id of the stack
StackID int64 `json:"stackId,omitempty"`
// name of the stack
StackName string `json:"stackName,omitempty"`
// unique id of the cluster
StackUUID string `json:"stackUuid,omitempty"`
// ambari username
Username string `json:"username,omitempty"`
}
func (*CloudbreakUsage) MarshalBinary ¶
func (m *CloudbreakUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudbreakUsage) UnmarshalBinary ¶
func (m *CloudbreakUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterRepairRequest ¶
type ClusterRepairRequest struct {
// List of hostgroups where the failed nodes will be repaired
// Required: true
HostGroups []string `json:"hostGroups"`
// If true, the failed nodes will only be removed, otherwise the failed nodes will be removed and new nodes will be started.
RemoveOnly *bool `json:"removeOnly,omitempty"`
}
func (*ClusterRepairRequest) MarshalBinary ¶
func (m *ClusterRepairRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterRepairRequest) UnmarshalBinary ¶
func (m *ClusterRepairRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterRequest ¶
type ClusterRequest struct {
// details of the external Ambari database
AmbariDatabaseDetails *AmbariDatabaseDetails `json:"ambariDatabaseDetails,omitempty"`
// details of the Ambari package repository
AmbariRepoDetailsJSON *AmbariRepoDetails `json:"ambariRepoDetailsJson,omitempty"`
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetails `json:"ambariStackDetails,omitempty"`
// blueprint for the cluster
Blueprint *BlueprintRequest `json:"blueprint,omitempty"`
// blueprint custom properties
BlueprintCustomProperties string `json:"blueprintCustomProperties,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// blueprint inputs in the cluster
// Unique: true
BlueprintInputs []*BlueprintInput `json:"blueprintInputs"`
// blueprint name for the cluster
BlueprintName string `json:"blueprintName,omitempty"`
// config recommendation strategy
ConfigStrategy string `json:"configStrategy,omitempty"`
// cluster can connect to a datalake you can define the parameters here
ConnectedCluster *ConnectedClusterRequest `json:"connectedCluster,omitempty"`
// custom containers
CustomContainer *CustomContainerRequest `json:"customContainer,omitempty"`
// custom queue for yarn orchestrator
CustomQueue string `json:"customQueue,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// send email about the result of the cluster installation
EmailNeeded *bool `json:"emailNeeded,omitempty"`
// send email to the requested address
EmailTo string `json:"emailTo,omitempty"`
// enable Kerberos security
EnableSecurity *bool `json:"enableSecurity,omitempty"`
// executor type of cluster
ExecutorType string `json:"executorType,omitempty"`
// external file system configuration
FileSystem *FileSystem `json:"fileSystem,omitempty"`
// gateway
Gateway *GatewayJSON `json:"gateway,omitempty"`
// collection of hostgroups
// Unique: true
HostGroups []*HostGroupRequest `json:"hostGroups"`
// kerberos
Kerberos *KerberosRequest `json:"kerberos,omitempty"`
// LDAP config for the cluster
LdapConfig *LdapConfigRequest `json:"ldapConfig,omitempty"`
// LDAP config id for the cluster
LdapConfigID int64 `json:"ldapConfigId,omitempty"`
// LDAP config name for the cluster
LdapConfigName string `json:"ldapConfigName,omitempty"`
// name of the resource
// Required: true
// Max Length: 40
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// ambari password
// Required: true
// Max Length: 100
// Min Length: 5
Password *string `json:"password"`
// RDS configuration ids for the cluster
// Unique: true
RdsConfigIds []int64 `json:"rdsConfigIds"`
// details of the external database for Hadoop components
// Unique: true
RdsConfigJsons []*RDSConfig `json:"rdsConfigJsons"`
// ambari username
// Required: true
// Max Length: 15
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
UserName *string `json:"userName"`
// validate blueprint
ValidateBlueprint *bool `json:"validateBlueprint,omitempty"`
}
func (*ClusterRequest) MarshalBinary ¶
func (m *ClusterRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterRequest) UnmarshalBinary ¶
func (m *ClusterRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterResponse ¶
type ClusterResponse struct {
// details of the external Ambari database
AmbariDatabaseDetails *AmbariDatabaseDetails `json:"ambariDatabaseDetails,omitempty"`
// details of the Ambari package repository
AmbariRepoDetailsJSON *AmbariRepoDetails `json:"ambariRepoDetailsJson,omitempty"`
// public ambari ip of the stack
AmbariServerIP string `json:"ambariServerIp,omitempty"`
// public ambari url
AmbariServerURL string `json:"ambariServerUrl,omitempty"`
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetailsResponse `json:"ambariStackDetails,omitempty"`
// Additional information for ambari cluster
Attributes map[string]interface{} `json:"attributes,omitempty"`
// blueprint for the cluster
Blueprint *BlueprintResponse `json:"blueprint,omitempty"`
// blueprint custom properties
BlueprintCustomProperties string `json:"blueprintCustomProperties,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// blueprint inputs in the cluster
// Unique: true
BlueprintInputs []*BlueprintInput `json:"blueprintInputs"`
// name of the cluster
Cluster string `json:"cluster,omitempty"`
// config recommendation strategy
ConfigStrategy string `json:"configStrategy,omitempty"`
// Epoch time of cluster creation finish
CreationFinished int64 `json:"creationFinished,omitempty"`
// custom containers
CustomContainers *CustomContainerResponse `json:"customContainers,omitempty"`
// custom queue for yarn orchestrator
CustomQueue string `json:"customQueue,omitempty"`
// description of the resource
Description string `json:"description,omitempty"`
// executor type of cluster
ExecutorType string `json:"executorType,omitempty"`
// gateway
Gateway *GatewayJSON `json:"gateway,omitempty"`
// host groups
// Unique: true
HostGroups []*HostGroupResponse `json:"hostGroups"`
// duration - how long the cluster is running in hours
HoursUp int32 `json:"hoursUp,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// LDAP config for the cluster
LdapConfig *LdapConfigResponse `json:"ldapConfig,omitempty"`
// LDAP config id for the cluster
LdapConfigID int64 `json:"ldapConfigId,omitempty"`
// duration - how long the cluster is running in minutes (minus hours)
MinutesUp int32 `json:"minutesUp,omitempty"`
// name of the resource
Name string `json:"name,omitempty"`
// RDS configuration ids for the cluster
// Unique: true
RdsConfigIds []int64 `json:"rdsConfigIds"`
// RDS configurations for the cluster
// Unique: true
RdsConfigs []*RDSConfigResponse `json:"rdsConfigs"`
// secure
Secure *bool `json:"secure,omitempty"`
// most important services in the cluster
ServiceEndPoints map[string]string `json:"serviceEndPoints,omitempty"`
// status of the cluster
Status string `json:"status,omitempty"`
// status message of the cluster
StatusReason string `json:"statusReason,omitempty"`
// ambari username
UserName string `json:"userName,omitempty"`
}
func (*ClusterResponse) MarshalBinary ¶
func (m *ClusterResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterResponse) UnmarshalBinary ¶
func (m *ClusterResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterScaleRequestV2 ¶
type ClusterScaleRequestV2 struct {
// scaling adjustment of the host groups
// Required: true
DesiredCount *int32 `json:"desiredCount"`
// name of the host group
// Required: true
Group *string `json:"group"`
// validate node count during downscale
ValidateNodeCount *bool `json:"validateNodeCount,omitempty"`
// on cluster update, update stack too
WithStackUpdate *bool `json:"withStackUpdate,omitempty"`
}
func (*ClusterScaleRequestV2) MarshalBinary ¶
func (m *ClusterScaleRequestV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterScaleRequestV2) UnmarshalBinary ¶
func (m *ClusterScaleRequestV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTemplateRequest ¶
type ClusterTemplateRequest struct {
// name of the cluster template
// Required: true
Name *string `json:"name"`
// stringified template JSON
Template string `json:"template,omitempty"`
// type of the cluster template
Type string `json:"type,omitempty"`
}
func (*ClusterTemplateRequest) MarshalBinary ¶
func (m *ClusterTemplateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTemplateRequest) UnmarshalBinary ¶
func (m *ClusterTemplateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTemplateResponse ¶
type ClusterTemplateResponse struct {
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the cluster template
// Required: true
Name *string `json:"name"`
// stringified template JSON
Template string `json:"template,omitempty"`
// type of the cluster template
Type string `json:"type,omitempty"`
}
func (*ClusterTemplateResponse) MarshalBinary ¶
func (m *ClusterTemplateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTemplateResponse) UnmarshalBinary ¶
func (m *ClusterTemplateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterV2Request ¶
type ClusterV2Request struct {
// ambari specific requests
AmbariRequest *AmbariV2Request `json:"ambariRequest,omitempty"`
// byos specific requests for cluster
ByosRequest *ByosV2Request `json:"byosRequest,omitempty"`
// send email about the result of the cluster installation
EmailNeeded *bool `json:"emailNeeded,omitempty"`
// send email to the requested address
EmailTo string `json:"emailTo,omitempty"`
// executor type of cluster
ExecutorType string `json:"executorType,omitempty"`
// external file system configuration
FileSystem *FileSystem `json:"fileSystem,omitempty"`
// LDAP config name for the cluster
LdapConfigName string `json:"ldapConfigName,omitempty"`
// RDS configuration ids for the cluster
// Unique: true
RdsConfigIds []int64 `json:"rdsConfigIds"`
// details of the external database for Hadoop components
// Unique: true
RdsConfigJsons []*RDSConfig `json:"rdsConfigJsons"`
}
func (*ClusterV2Request) MarshalBinary ¶
func (m *ClusterV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterV2Request) UnmarshalBinary ¶
func (m *ClusterV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigsRequest ¶
type ConfigsRequest struct {
// request object
// Required: true
// Unique: true
Requests []*BlueprintParameter `json:"requests"`
}
func (*ConfigsRequest) MarshalBinary ¶
func (m *ConfigsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigsRequest) UnmarshalBinary ¶
func (m *ConfigsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigsResponse ¶
type ConfigsResponse struct {
// response object
// Required: true
// Unique: true
Inputs []*BlueprintInput `json:"inputs"`
}
func (*ConfigsResponse) MarshalBinary ¶
func (m *ConfigsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigsResponse) UnmarshalBinary ¶
func (m *ConfigsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConnectedClusterRequest ¶
type ConnectedClusterRequest struct {
// source cluster Id
SourceClusterID int64 `json:"sourceClusterId,omitempty"`
// source cluster name
SourceClusterName string `json:"sourceClusterName,omitempty"`
}
func (*ConnectedClusterRequest) MarshalBinary ¶
func (m *ConnectedClusterRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConnectedClusterRequest) UnmarshalBinary ¶
func (m *ConnectedClusterRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Constraint ¶
type Constraint struct {
// name of a constraint template that defines the resource constraints for the hostgroup
ConstraintTemplateName string `json:"constraintTemplateName,omitempty"`
// number of hosts in the hostgroup
// Required: true
HostCount *int32 `json:"hostCount"`
// name of an instance group where the hostgroup will be deployed
InstanceGroupName string `json:"instanceGroupName,omitempty"`
}
func (*Constraint) MarshalBinary ¶
func (m *Constraint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Constraint) UnmarshalBinary ¶
func (m *Constraint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConstraintTemplateRequest ¶
type ConstraintTemplateRequest struct {
// number of CPU cores needed for the Ambari node
// Required: true
CPU *float64 `json:"cpu"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// disk size needed for an Ambari node (GB)
// Required: true
Disk *float64 `json:"disk"`
// memory needed for the Ambari container (GB)
// Required: true
Memory *float64 `json:"memory"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// type of orchestrator
// Required: true
OrchestratorType *string `json:"orchestratorType"`
}
func (*ConstraintTemplateRequest) MarshalBinary ¶
func (m *ConstraintTemplateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConstraintTemplateRequest) UnmarshalBinary ¶
func (m *ConstraintTemplateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConstraintTemplateResponse ¶
type ConstraintTemplateResponse struct {
// number of CPU cores needed for the Ambari node
// Required: true
CPU *float64 `json:"cpu"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// disk size needed for an Ambari node (GB)
// Required: true
Disk *float64 `json:"disk"`
// id of the resource
ID int64 `json:"id,omitempty"`
// memory needed for the Ambari container (GB)
// Required: true
Memory *float64 `json:"memory"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// type of orchestrator
// Required: true
OrchestratorType *string `json:"orchestratorType"`
// resource is visible in account
// Required: true
PublicInAccount bool `json:"publicInAccount"`
}
func (*ConstraintTemplateResponse) MarshalBinary ¶
func (m *ConstraintTemplateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConstraintTemplateResponse) UnmarshalBinary ¶
func (m *ConstraintTemplateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialRequest ¶
type CredentialRequest struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// cloud specific parameters for credential
Parameters map[string]interface{} `json:"parameters,omitempty"`
// id of the topology the resource belongs to
TopologyID int64 `json:"topologyId,omitempty"`
}
func (*CredentialRequest) MarshalBinary ¶
func (m *CredentialRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialRequest) UnmarshalBinary ¶
func (m *CredentialRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialResponse ¶
type CredentialResponse struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// cloud specific parameters for credential
Parameters map[string]interface{} `json:"parameters,omitempty"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// id of the topology the resource belongs to
TopologyID int64 `json:"topologyId,omitempty"`
}
func (*CredentialResponse) MarshalBinary ¶
func (m *CredentialResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialResponse) UnmarshalBinary ¶
func (m *CredentialResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialSourceRequest ¶
type CredentialSourceRequest struct {
// cloud specific parameters for credential
Parameters map[string]interface{} `json:"parameters,omitempty"`
// id of the resource
// Required: true
SourceID *int64 `json:"sourceId"`
// name of the resource
// Required: true
SourceName *string `json:"sourceName"`
}
func (*CredentialSourceRequest) MarshalBinary ¶
func (m *CredentialSourceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialSourceRequest) UnmarshalBinary ¶
func (m *CredentialSourceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomContainerRequest ¶
type CustomContainerRequest struct {
// definitions
Definitions map[string]string `json:"definitions,omitempty"`
}
func (*CustomContainerRequest) MarshalBinary ¶
func (m *CustomContainerRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomContainerRequest) UnmarshalBinary ¶
func (m *CustomContainerRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomContainerResponse ¶
type CustomContainerResponse struct {
// definitions
Definitions map[string]string `json:"definitions,omitempty"`
}
func (*CustomContainerResponse) MarshalBinary ¶
func (m *CustomContainerResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomContainerResponse) UnmarshalBinary ¶
func (m *CustomContainerResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomInstanceType ¶
type CustomInstanceType struct {
// cpus
Cpus int32 `json:"cpus,omitempty"`
// memory
Memory int32 `json:"memory,omitempty"`
}
func (*CustomInstanceType) MarshalBinary ¶
func (m *CustomInstanceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomInstanceType) UnmarshalBinary ¶
func (m *CustomInstanceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiskResponse ¶
type DiskResponse struct {
// display name
DisplayName string `json:"displayName,omitempty"`
// name
Name string `json:"name,omitempty"`
// type
Type string `json:"type,omitempty"`
}
func (*DiskResponse) MarshalBinary ¶
func (m *DiskResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiskResponse) UnmarshalBinary ¶
func (m *DiskResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FailurePolicyRequest ¶
type FailurePolicyRequest struct {
// type of adjustment
// Required: true
AdjustmentType *string `json:"adjustmentType"`
// threshold of failure policy
Threshold int64 `json:"threshold,omitempty"`
}
func (*FailurePolicyRequest) MarshalBinary ¶
func (m *FailurePolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FailurePolicyRequest) UnmarshalBinary ¶
func (m *FailurePolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FailurePolicyResponse ¶
type FailurePolicyResponse struct {
// type of adjustment
// Required: true
AdjustmentType *string `json:"adjustmentType"`
// id of the resource
ID int64 `json:"id,omitempty"`
// threshold of failure policy
Threshold int64 `json:"threshold,omitempty"`
}
func (*FailurePolicyResponse) MarshalBinary ¶
func (m *FailurePolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FailurePolicyResponse) UnmarshalBinary ¶
func (m *FailurePolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FailureReport ¶
type FailureReport struct {
// List of failed nodes
// Required: true
FailedNodes []string `json:"failedNodes"`
}
func (*FailureReport) MarshalBinary ¶
func (m *FailureReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FailureReport) UnmarshalBinary ¶
func (m *FailureReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FileSystem ¶
type FileSystem struct {
// true if fs.defaultFS should point to this filesystem
DefaultFs *bool `json:"defaultFs,omitempty"`
// name of the filesystem
// Required: true
Name *string `json:"name"`
// configuration of the filesystem access as key-value pairs
Properties map[string]string `json:"properties,omitempty"`
// type of the filesystem
// Required: true
Type *string `json:"type"`
}
func (*FileSystem) MarshalBinary ¶
func (m *FileSystem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FileSystem) UnmarshalBinary ¶
func (m *FileSystem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexSubscriptionRequest ¶
type FlexSubscriptionRequest struct {
// default
Default *bool `json:"default,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// Identifier of SmartSense subscription Cloudbreak domain object json representation.
// Read Only: true
SmartSenseSubscriptionID int64 `json:"smartSenseSubscriptionId,omitempty"`
// Identifier of Flex subscription.
// Read Only: true
// Pattern: ^(FLEX-[0-9]{10}$)
SubscriptionID string `json:"subscriptionId,omitempty"`
// true if the flex subscription was used for the controller
UsedForController *bool `json:"usedForController,omitempty"`
}
func (*FlexSubscriptionRequest) MarshalBinary ¶
func (m *FlexSubscriptionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlexSubscriptionRequest) UnmarshalBinary ¶
func (m *FlexSubscriptionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexSubscriptionResponse ¶
type FlexSubscriptionResponse struct {
// account id of the resource owner that is provided by OAuth provider
// Read Only: true
Account string `json:"account,omitempty"`
// default
Default *bool `json:"default,omitempty"`
// id of the resource
// Read Only: true
ID int64 `json:"id,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// id of the resource owner that is provided by OAuth provider
// Read Only: true
Owner string `json:"owner,omitempty"`
// resource is visible in account
// Read Only: true
PublicInAccount *bool `json:"publicInAccount,omitempty"`
// The associated SmartSense subscription Cloudbreak domain object json representation.
// Read Only: true
SmartSenseSubscription *SmartSenseSubscriptionJSON `json:"smartSenseSubscription,omitempty"`
// Identifier of SmartSense subscription Cloudbreak domain object json representation.
// Read Only: true
SmartSenseSubscriptionID int64 `json:"smartSenseSubscriptionId,omitempty"`
// Identifier of Flex subscription.
// Read Only: true
// Pattern: ^(FLEX-[0-9]{10}$)
SubscriptionID string `json:"subscriptionId,omitempty"`
// true if the flex subscription was used for the controller
UsedForController *bool `json:"usedForController,omitempty"`
}
func (*FlexSubscriptionResponse) MarshalBinary ¶
func (m *FlexSubscriptionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlexSubscriptionResponse) UnmarshalBinary ¶
func (m *FlexSubscriptionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexUsageComponentInstanceJSON ¶
type FlexUsageComponentInstanceJSON struct {
// creation time
CreationTime string `json:"creationTime,omitempty"`
// flex subscription Id
FlexSubscriptionID string `json:"flexSubscriptionId,omitempty"`
// guid
GUID string `json:"guid,omitempty"`
// peak usage
PeakUsage int32 `json:"peakUsage,omitempty"`
// provider
Provider string `json:"provider,omitempty"`
// region
Region string `json:"region,omitempty"`
// usage date
UsageDate string `json:"usageDate,omitempty"`
}
func (*FlexUsageComponentInstanceJSON) MarshalBinary ¶
func (m *FlexUsageComponentInstanceJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlexUsageComponentInstanceJSON) UnmarshalBinary ¶
func (m *FlexUsageComponentInstanceJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexUsageComponentJSON ¶
type FlexUsageComponentJSON struct {
// component Id
ComponentID string `json:"componentId,omitempty"`
// instances
Instances []*FlexUsageComponentInstanceJSON `json:"instances"`
}
func (*FlexUsageComponentJSON) MarshalBinary ¶
func (m *FlexUsageComponentJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlexUsageComponentJSON) UnmarshalBinary ¶
func (m *FlexUsageComponentJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexUsageControllerJSON ¶
type FlexUsageControllerJSON struct {
// guid
GUID string `json:"guid,omitempty"`
// instance Id
InstanceID string `json:"instanceId,omitempty"`
// provider
Provider string `json:"provider,omitempty"`
// region
Region string `json:"region,omitempty"`
// smart sense Id
SmartSenseID string `json:"smartSenseId,omitempty"`
// user name
UserName string `json:"userName,omitempty"`
}
func (*FlexUsageControllerJSON) MarshalBinary ¶
func (m *FlexUsageControllerJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlexUsageControllerJSON) UnmarshalBinary ¶
func (m *FlexUsageControllerJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexUsageProductJSON ¶
type FlexUsageProductJSON struct {
// components
Components []*FlexUsageComponentJSON `json:"components"`
// product Id
ProductID string `json:"productId,omitempty"`
}
func (*FlexUsageProductJSON) MarshalBinary ¶
func (m *FlexUsageProductJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlexUsageProductJSON) UnmarshalBinary ¶
func (m *FlexUsageProductJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GatewayJSON ¶
type GatewayJSON struct {
// enable Knox gateway security
EnableGateway *bool `json:"enableGateway,omitempty"`
// exposed Knox services
ExposedServices []string `json:"exposedServices"`
// Knox gateway type
GatewayType string `json:"gatewayType,omitempty"`
// Knox gateway path
Path string `json:"path,omitempty"`
// SSO provider cluster name
SsoProvider string `json:"ssoProvider,omitempty"`
// Knox SSO type
SsoType string `json:"ssoType,omitempty"`
// SSO Provider certificate
TokenCert string `json:"tokenCert,omitempty"`
// Knox topology name
TopologyName string `json:"topologyName,omitempty"`
}
func (*GatewayJSON) MarshalBinary ¶
func (m *GatewayJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayJSON) UnmarshalBinary ¶
func (m *GatewayJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HardwareInfoResponse ¶
type HardwareInfoResponse struct {
// metadata of hosts
HostMetadata *HostMetadata `json:"hostMetadata,omitempty"`
// metadata of instances
InstanceMetaData *InstanceMetaData `json:"instanceMetaData,omitempty"`
}
func (*HardwareInfoResponse) MarshalBinary ¶
func (m *HardwareInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HardwareInfoResponse) UnmarshalBinary ¶
func (m *HardwareInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostGroupAdjustment ¶
type HostGroupAdjustment struct {
// name of the host group
// Required: true
HostGroup *string `json:"hostGroup"`
// scaling adjustment of the host groups
// Required: true
ScalingAdjustment *int32 `json:"scalingAdjustment"`
// validate node count during downscale
ValidateNodeCount *bool `json:"validateNodeCount,omitempty"`
// on cluster update, update stack too
WithStackUpdate *bool `json:"withStackUpdate,omitempty"`
}
func (*HostGroupAdjustment) MarshalBinary ¶
func (m *HostGroupAdjustment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostGroupAdjustment) UnmarshalBinary ¶
func (m *HostGroupAdjustment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostGroupRequest ¶
type HostGroupRequest struct {
// instance group or resource constraint for a hostgroup
// Required: true
Constraint *Constraint `json:"constraint"`
// name of the resource
// Required: true
Name *string `json:"name"`
// referenced recipe ids
// Unique: true
RecipeIds []int64 `json:"recipeIds"`
// referenced recipe names
// Unique: true
RecipeNames []string `json:"recipeNames"`
// referenced recipes
// Unique: true
Recipes []*RecipeRequest `json:"recipes"`
// recovery mode of the hostgroup's nodes
RecoveryMode string `json:"recoveryMode,omitempty"`
}
func (*HostGroupRequest) MarshalBinary ¶
func (m *HostGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostGroupRequest) UnmarshalBinary ¶
func (m *HostGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostGroupResponse ¶
type HostGroupResponse struct {
// instance group or resource constraint for a hostgroup
// Required: true
Constraint *Constraint `json:"constraint"`
// id of the resource
ID int64 `json:"id,omitempty"`
// metadata of hosts
// Unique: true
Metadata []*HostMetadata `json:"metadata"`
// name of the resource
// Required: true
Name *string `json:"name"`
// referenced recipe ids
// Unique: true
RecipeIds []int64 `json:"recipeIds"`
// referenced recipes
// Unique: true
Recipes []*RecipeResponse `json:"recipes"`
// recovery mode of the hostgroup's nodes
RecoveryMode string `json:"recoveryMode,omitempty"`
}
func (*HostGroupResponse) MarshalBinary ¶
func (m *HostGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostGroupResponse) UnmarshalBinary ¶
func (m *HostGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostMetadata ¶
type HostMetadata struct {
// name of the host group
// Required: true
GroupName *string `json:"groupName"`
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// state of the host
State string `json:"state,omitempty"`
}
func (*HostMetadata) MarshalBinary ¶
func (m *HostMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostMetadata) UnmarshalBinary ¶
func (m *HostMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ID ¶
type ID struct {
// id of the resource
// Required: true
ID *int64 `json:"id"`
}
func (*ID) MarshalBinary ¶
MarshalBinary interface implementation
func (*ID) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IPPoolJSON ¶
type IPPoolJSON struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
}
func (*IPPoolJSON) MarshalBinary ¶
func (m *IPPoolJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPPoolJSON) UnmarshalBinary ¶
func (m *IPPoolJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageCatalogRequest ¶
type ImageCatalogRequest struct {
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// custom image catalog's URL
// Required: true
URL *string `json:"url"`
}
func (*ImageCatalogRequest) MarshalBinary ¶
func (m *ImageCatalogRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageCatalogRequest) UnmarshalBinary ¶
func (m *ImageCatalogRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageCatalogResponse ¶
type ImageCatalogResponse struct {
// default
Default *bool `json:"default,omitempty"`
// id of the resource
// Required: true
ID *int64 `json:"id"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// resource is visible in account
// Required: true
PublicInAccount bool `json:"publicInAccount"`
// custom image catalog's URL
// Required: true
URL *string `json:"url"`
}
func (*ImageCatalogResponse) MarshalBinary ¶
func (m *ImageCatalogResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageCatalogResponse) UnmarshalBinary ¶
func (m *ImageCatalogResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageJSON ¶
type ImageJSON struct {
// name of the image
ImageName string `json:"imageName,omitempty"`
}
func (*ImageJSON) MarshalBinary ¶
MarshalBinary interface implementation
func (*ImageJSON) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImageResponse ¶
type ImageResponse struct {
// date
Date string `json:"date,omitempty"`
// description
Description string `json:"description,omitempty"`
// images
Images map[string]map[string]string `json:"images,omitempty"`
// os
Os string `json:"os,omitempty"`
// os type
OsType string `json:"osType,omitempty"`
// repo
Repo map[string]string `json:"repo,omitempty"`
// stack details
StackDetails *StackDetailsJSON `json:"stackDetails,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
// version
Version string `json:"version,omitempty"`
}
func (*ImageResponse) MarshalBinary ¶
func (m *ImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageResponse) UnmarshalBinary ¶
func (m *ImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImagesResponse ¶
type ImagesResponse struct {
// base images
BaseImages []*BaseImageResponse `json:"baseImages"`
// hdf images
HdfImages []*ImageResponse `json:"hdfImages"`
// hdp images
HdpImages []*ImageResponse `json:"hdpImages"`
}
func (*ImagesResponse) MarshalBinary ¶
func (m *ImagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImagesResponse) UnmarshalBinary ¶
func (m *ImagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceGroupAdjustment ¶
type InstanceGroupAdjustment struct {
// name of the instance group
// Required: true
InstanceGroup *string `json:"instanceGroup"`
// scaling adjustment of the instance groups
// Required: true
ScalingAdjustment *int32 `json:"scalingAdjustment"`
}
func (*InstanceGroupAdjustment) MarshalBinary ¶
func (m *InstanceGroupAdjustment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroupAdjustment) UnmarshalBinary ¶
func (m *InstanceGroupAdjustment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceGroupAdjustmentV2 ¶
type InstanceGroupAdjustmentV2 struct {
// scaling adjustment of the instance groups
// Required: true
DesiredCount *int32 `json:"desiredCount"`
// name of the instance group
// Required: true
InstanceGroup *string `json:"instanceGroup"`
}
func (*InstanceGroupAdjustmentV2) MarshalBinary ¶
func (m *InstanceGroupAdjustmentV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroupAdjustmentV2) UnmarshalBinary ¶
func (m *InstanceGroupAdjustmentV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceGroupResponse ¶
type InstanceGroupResponse struct {
// name of the instance group
// Required: true
Group *string `json:"group"`
// id of the resource
// Read Only: true
ID int64 `json:"id,omitempty"`
// metadata of instances
// Read Only: true
// Unique: true
Metadata []*InstanceMetaData `json:"metadata"`
// number of nodes
// Required: true
// Maximum: 100000
// Minimum: 0
NodeCount *int32 `json:"nodeCount"`
// cloud specific parameters for instance group
Parameters map[string]interface{} `json:"parameters,omitempty"`
// instancegroup related securitygroup
SecurityGroup *SecurityGroupResponse `json:"securityGroup,omitempty"`
// security group resource id for the instance group
SecurityGroupID int64 `json:"securityGroupId,omitempty"`
// instancegroup related template
Template *TemplateResponse `json:"template,omitempty"`
// referenced template id
TemplateID int64 `json:"templateId,omitempty"`
// type of the instance group
Type string `json:"type,omitempty"`
}
func (*InstanceGroupResponse) MarshalBinary ¶
func (m *InstanceGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroupResponse) UnmarshalBinary ¶
func (m *InstanceGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceGroups ¶
type InstanceGroups struct {
// name of the instance group
// Required: true
Group *string `json:"group"`
// number of nodes
// Required: true
// Maximum: 100000
// Minimum: 0
NodeCount *int32 `json:"nodeCount"`
// cloud specific parameters for instance group
Parameters map[string]interface{} `json:"parameters,omitempty"`
// instancegroup related securitygroup
SecurityGroup *SecurityGroupRequest `json:"securityGroup,omitempty"`
// security group resource id for the instance group
SecurityGroupID int64 `json:"securityGroupId,omitempty"`
// instancegroup related template
Template *TemplateRequest `json:"template,omitempty"`
// referenced template id
TemplateID int64 `json:"templateId,omitempty"`
// type of the instance group
Type string `json:"type,omitempty"`
}
func (*InstanceGroups) MarshalBinary ¶
func (m *InstanceGroups) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroups) UnmarshalBinary ¶
func (m *InstanceGroups) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceGroupsV2 ¶
type InstanceGroupsV2 struct {
// name of the instance group
// Required: true
Group *string `json:"group"`
// number of nodes
// Required: true
// Maximum: 100000
// Minimum: 0
NodeCount *int32 `json:"nodeCount"`
// cloud specific parameters for instance group
Parameters map[string]interface{} `json:"parameters,omitempty"`
// referenced recipe names
// Unique: true
RecipeNames []string `json:"recipeNames"`
// recovery mode of the hostgroup's nodes
RecoveryMode string `json:"recoveryMode,omitempty"`
// instancegroup related securitygroup
SecurityGroup *SecurityGroupV2Request `json:"securityGroup,omitempty"`
// instancegroup related template
// Required: true
Template *TemplateV2Request `json:"template"`
// type of the instance group
Type string `json:"type,omitempty"`
}
func (*InstanceGroupsV2) MarshalBinary ¶
func (m *InstanceGroupsV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroupsV2) UnmarshalBinary ¶
func (m *InstanceGroupsV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceMetaData ¶
type InstanceMetaData struct {
// ambari server address
AmbariServer *bool `json:"ambariServer,omitempty"`
// the fully qualified domain name of the node in the service discovery cluster
DiscoveryFQDN string `json:"discoveryFQDN,omitempty"`
// name of the instance group
InstanceGroup string `json:"instanceGroup,omitempty"`
// id of the instance
InstanceID string `json:"instanceId,omitempty"`
// status of the instance
InstanceStatus string `json:"instanceStatus,omitempty"`
// type of the instance
InstanceType string `json:"instanceType,omitempty"`
// private ip of the insctance
PrivateIP string `json:"privateIp,omitempty"`
// public ip of the instance
PublicIP string `json:"publicIp,omitempty"`
// ssh port
SSHPort int32 `json:"sshPort,omitempty"`
}
func (*InstanceMetaData) MarshalBinary ¶
func (m *InstanceMetaData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceMetaData) UnmarshalBinary ¶
func (m *InstanceMetaData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KerberosRequest ¶
type KerberosRequest struct {
// kerberos admin user
// Max Length: 15
// Min Length: 5
Admin string `json:"admin,omitempty"`
// container dn
ContainerDn string `json:"containerDn,omitempty"`
// descriptor
Descriptor string `json:"descriptor,omitempty"`
// krb5 conf
Krb5Conf string `json:"krb5Conf,omitempty"`
// ldap Url
LdapURL string `json:"ldapUrl,omitempty"`
// kerberos master key
// Max Length: 50
// Min Length: 3
MasterKey string `json:"masterKey,omitempty"`
// kerberos admin password
// Max Length: 50
// Min Length: 5
Password string `json:"password,omitempty"`
// kerberos principal
Principal string `json:"principal,omitempty"`
// realm
Realm string `json:"realm,omitempty"`
// tcp allowed
TCPAllowed *bool `json:"tcpAllowed,omitempty"`
// url
URL string `json:"url,omitempty"`
}
func (*KerberosRequest) MarshalBinary ¶
func (m *KerberosRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KerberosRequest) UnmarshalBinary ¶
func (m *KerberosRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LdapConfigRequest ¶
type LdapConfigRequest struct {
// LDAP group for administrators
AdminGroup string `json:"adminGroup,omitempty"`
// bind distinguished name for connection test and group search (e.g. cn=admin,dc=example,dc=org)
// Required: true
BindDn *string `json:"bindDn"`
// password for the provided bind DN
// Required: true
BindPassword *string `json:"bindPassword"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// directory type of server LDAP or AD
DirectoryType string `json:"directoryType,omitempty"`
// domain in LDAP server (e.g. ad.seq.com).
Domain string `json:"domain,omitempty"`
// Group Member Attribute (defaults to member)
GroupMemberAttribute string `json:"groupMemberAttribute,omitempty"`
// Group Id Attribute (defaults to cn)
GroupNameAttribute string `json:"groupNameAttribute,omitempty"`
// Group Object Class (defaults to groupOfNames)
GroupObjectClass string `json:"groupObjectClass,omitempty"`
// template for group search for authorization (e.g. dc=hadoop,dc=apache,dc=org)
GroupSearchBase string `json:"groupSearchBase,omitempty"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 1
Name *string `json:"name"`
// determines the protocol (LDAP or LDAP over SSL)
Protocol string `json:"protocol,omitempty"`
// public host or IP address of LDAP server
// Required: true
ServerHost *string `json:"serverHost"`
// port of LDAP server (typically: 389 or 636 for LDAPS)
// Required: true
// Maximum: 65535
// Minimum: 1
ServerPort *int32 `json:"serverPort"`
// attribute name for simplified search filter (e.g. sAMAccountName in case of AD, UID or cn for LDAP).
UserNameAttribute string `json:"userNameAttribute,omitempty"`
// User Object Class (defaults to person)
UserObjectClass string `json:"userObjectClass,omitempty"`
// template for user search for authentication (e.g. dc=hadoop,dc=apache,dc=org)
// Required: true
UserSearchBase *string `json:"userSearchBase"`
}
func (*LdapConfigRequest) MarshalBinary ¶
func (m *LdapConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LdapConfigRequest) UnmarshalBinary ¶
func (m *LdapConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LdapConfigResponse ¶
type LdapConfigResponse struct {
// LDAP group for administrators
AdminGroup string `json:"adminGroup,omitempty"`
// bind distinguished name for connection test and group search (e.g. cn=admin,dc=example,dc=org)
// Required: true
BindDn *string `json:"bindDn"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// directory type of server LDAP or AD
DirectoryType string `json:"directoryType,omitempty"`
// domain in LDAP server (e.g. ad.seq.com).
Domain string `json:"domain,omitempty"`
// Group Member Attribute (defaults to member)
GroupMemberAttribute string `json:"groupMemberAttribute,omitempty"`
// Group Id Attribute (defaults to cn)
GroupNameAttribute string `json:"groupNameAttribute,omitempty"`
// Group Object Class (defaults to groupOfNames)
GroupObjectClass string `json:"groupObjectClass,omitempty"`
// template for group search for authorization (e.g. dc=hadoop,dc=apache,dc=org)
GroupSearchBase string `json:"groupSearchBase,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// determines the protocol (LDAP or LDAP over SSL)
Protocol string `json:"protocol,omitempty"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// public host or IP address of LDAP server
// Required: true
ServerHost *string `json:"serverHost"`
// port of LDAP server (typically: 389 or 636 for LDAPS)
// Required: true
// Maximum: 65535
// Minimum: 1
ServerPort *int32 `json:"serverPort"`
// attribute name for simplified search filter (e.g. sAMAccountName in case of AD, UID or cn for LDAP).
UserNameAttribute string `json:"userNameAttribute,omitempty"`
// User Object Class (defaults to person)
UserObjectClass string `json:"userObjectClass,omitempty"`
// template for user search for authentication (e.g. dc=hadoop,dc=apache,dc=org)
// Required: true
UserSearchBase *string `json:"userSearchBase"`
}
func (*LdapConfigResponse) MarshalBinary ¶
func (m *LdapConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LdapConfigResponse) UnmarshalBinary ¶
func (m *LdapConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LdapValidationRequest ¶
type LdapValidationRequest struct {
// bind distinguished name for connection test and group search (e.g. cn=admin,dc=example,dc=org)
// Required: true
BindDn *string `json:"bindDn"`
// password for the provided bind DN
// Required: true
BindPassword *string `json:"bindPassword"`
// determines the protocol (LDAP or LDAP over SSL)
Protocol string `json:"protocol,omitempty"`
// public host or IP address of LDAP server
// Required: true
ServerHost *string `json:"serverHost"`
// port of LDAP server (typically: 389 or 636 for LDAPS)
// Required: true
// Maximum: 65535
// Minimum: 1
ServerPort *int32 `json:"serverPort"`
}
func (*LdapValidationRequest) MarshalBinary ¶
func (m *LdapValidationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LdapValidationRequest) UnmarshalBinary ¶
func (m *LdapValidationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkRequest ¶
type NetworkRequest struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// name of the resource
// Required: true
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// provider specific parameters of the specified network
Parameters map[string]interface{} `json:"parameters,omitempty"`
// the subnet definition of the network in CIDR format
SubnetCIDR string `json:"subnetCIDR,omitempty"`
// id of the topology the resource belongs to
TopologyID int64 `json:"topologyId,omitempty"`
}
func (*NetworkRequest) MarshalBinary ¶
func (m *NetworkRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRequest) UnmarshalBinary ¶
func (m *NetworkRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkResponse ¶
type NetworkResponse struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// id of the resource
// Read Only: true
ID int64 `json:"id,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// provider specific parameters of the specified network
Parameters map[string]interface{} `json:"parameters,omitempty"`
// resource is visible in account
// Read Only: true
PublicInAccount *bool `json:"publicInAccount,omitempty"`
// the subnet definition of the network in CIDR format
SubnetCIDR string `json:"subnetCIDR,omitempty"`
// id of the topology the resource belongs to
TopologyID int64 `json:"topologyId,omitempty"`
}
func (*NetworkResponse) MarshalBinary ¶
func (m *NetworkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkResponse) UnmarshalBinary ¶
func (m *NetworkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkV2Request ¶
type NetworkV2Request struct {
// provider specific parameters of the specified network
Parameters map[string]interface{} `json:"parameters,omitempty"`
// the subnet definition of the network in CIDR format
SubnetCIDR string `json:"subnetCIDR,omitempty"`
}
func (*NetworkV2Request) MarshalBinary ¶
func (m *NetworkV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkV2Request) UnmarshalBinary ¶
func (m *NetworkV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperationDetails ¶
type OperationDetails struct {
// account
Account string `json:"account,omitempty"`
// cloudbreak Id
CloudbreakID string `json:"cloudbreakId,omitempty"`
// cloudbreak version
CloudbreakVersion string `json:"cloudbreakVersion,omitempty"`
// event type
EventType string `json:"eventType,omitempty"`
// resource Id
ResourceID int64 `json:"resourceId,omitempty"`
// resource type
ResourceType string `json:"resourceType,omitempty"`
// timestamp
Timestamp int64 `json:"timestamp,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
}
func (*OperationDetails) MarshalBinary ¶
func (m *OperationDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperationDetails) UnmarshalBinary ¶
func (m *OperationDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrchestratorRequest ¶
type OrchestratorRequest struct {
// endpoint for the container orchestration api
APIEndpoint string `json:"apiEndpoint,omitempty"`
// orchestrator specific parameters, like authentication details
Parameters map[string]interface{} `json:"parameters,omitempty"`
// type of the orchestrator
// Required: true
Type *string `json:"type"`
}
func (*OrchestratorRequest) MarshalBinary ¶
func (m *OrchestratorRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrchestratorRequest) UnmarshalBinary ¶
func (m *OrchestratorRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrchestratorResponse ¶
type OrchestratorResponse struct {
// endpoint for the container orchestration api
APIEndpoint string `json:"apiEndpoint,omitempty"`
// orchestrator specific parameters, like authentication details
Parameters map[string]interface{} `json:"parameters,omitempty"`
// type of the orchestrator
// Required: true
Type *string `json:"type"`
}
func (*OrchestratorResponse) MarshalBinary ¶
func (m *OrchestratorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrchestratorResponse) UnmarshalBinary ¶
func (m *OrchestratorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformDisksJSON ¶
type PlatformDisksJSON struct {
// default disks
DefaultDisks map[string]string `json:"defaultDisks,omitempty"`
// disk mappings
DiskMappings map[string]map[string]string `json:"diskMappings,omitempty"`
// disk types
DiskTypes map[string][]string `json:"diskTypes,omitempty"`
// disk displayNames
DisplayNames map[string]map[string]string `json:"displayNames,omitempty"`
}
func (*PlatformDisksJSON) MarshalBinary ¶
func (m *PlatformDisksJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformDisksJSON) UnmarshalBinary ¶
func (m *PlatformDisksJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformGatewaysResponse ¶
type PlatformGatewaysResponse struct {
Gateways map[string][]CloudGatewayJSON `json:"gateways,omitempty"`
}
func (*PlatformGatewaysResponse) MarshalBinary ¶
func (m *PlatformGatewaysResponse) MarshalBinary() ([]byte, error)
func (*PlatformGatewaysResponse) UnmarshalBinary ¶
func (m *PlatformGatewaysResponse) UnmarshalBinary(b []byte) error
type PlatformIPPoolsResponse ¶
type PlatformIPPoolsResponse struct {
Ippools map[string][]IPPoolJSON `json:"ippools,omitempty"`
}
func (*PlatformIPPoolsResponse) MarshalBinary ¶
func (m *PlatformIPPoolsResponse) MarshalBinary() ([]byte, error)
func (*PlatformIPPoolsResponse) UnmarshalBinary ¶
func (m *PlatformIPPoolsResponse) UnmarshalBinary(b []byte) error
type PlatformImagesJSON ¶
type PlatformImagesJSON struct {
// default images
Images map[string]map[string]string `json:"images,omitempty"`
// images regex
ImagesRegex map[string]string `json:"imagesRegex,omitempty"`
}
func (*PlatformImagesJSON) MarshalBinary ¶
func (m *PlatformImagesJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformImagesJSON) UnmarshalBinary ¶
func (m *PlatformImagesJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformNetworkResponse ¶
type PlatformNetworkResponse struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
// subnets
Subnets map[string]string `json:"subnets,omitempty"`
}
func (*PlatformNetworkResponse) MarshalBinary ¶
func (m *PlatformNetworkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformNetworkResponse) UnmarshalBinary ¶
func (m *PlatformNetworkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformOrchestratorsJSON ¶
type PlatformOrchestratorsJSON struct {
// default orchestrators
Defaults map[string]string `json:"defaults,omitempty"`
// orchestrators
Orchestrators map[string][]string `json:"orchestrators,omitempty"`
}
func (*PlatformOrchestratorsJSON) MarshalBinary ¶
func (m *PlatformOrchestratorsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformOrchestratorsJSON) UnmarshalBinary ¶
func (m *PlatformOrchestratorsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformRegionsJSON ¶
type PlatformRegionsJSON struct {
// availability zones
AvailabilityZones map[string]map[string][]string `json:"availabilityZones,omitempty"`
// default regions
DefaultRegions map[string]string `json:"defaultRegions,omitempty"`
// regions with displayNames
DisplayNames map[string]map[string]string `json:"displayNames,omitempty"`
// regions
Regions map[string][]string `json:"regions,omitempty"`
}
func (*PlatformRegionsJSON) MarshalBinary ¶
func (m *PlatformRegionsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformRegionsJSON) UnmarshalBinary ¶
func (m *PlatformRegionsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformResourceRequestJSON ¶
type PlatformResourceRequestJSON struct {
// related availability zone
AvailabilityZone string `json:"availabilityZone,omitempty"`
// credential resource id for the request
CredentialID int64 `json:"credentialId,omitempty"`
// credential resource name for the request
CredentialName string `json:"credentialName,omitempty"`
// filter for resources
Filters map[string]string `json:"filters,omitempty"`
// cloud provider api variant
PlatformVariant string `json:"platformVariant,omitempty"`
// Related region
Region string `json:"region,omitempty"`
}
func (*PlatformResourceRequestJSON) MarshalBinary ¶
func (m *PlatformResourceRequestJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformResourceRequestJSON) UnmarshalBinary ¶
func (m *PlatformResourceRequestJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformSSHKeyResponse ¶
type PlatformSSHKeyResponse struct {
// name
Name string `json:"name,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
}
func (*PlatformSSHKeyResponse) MarshalBinary ¶
func (m *PlatformSSHKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformSSHKeyResponse) UnmarshalBinary ¶
func (m *PlatformSSHKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformSecurityGroupResponse ¶
type PlatformSecurityGroupResponse struct {
// group Id
GroupID string `json:"groupId,omitempty"`
// group name
GroupName string `json:"groupName,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
}
func (*PlatformSecurityGroupResponse) MarshalBinary ¶
func (m *PlatformSecurityGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformSecurityGroupResponse) UnmarshalBinary ¶
func (m *PlatformSecurityGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformVariantsJSON ¶
type PlatformVariantsJSON struct {
// default variants
DefaultVariants map[string]string `json:"defaultVariants,omitempty"`
// platform variants
PlatformToVariants map[string][]string `json:"platformToVariants,omitempty"`
}
func (*PlatformVariantsJSON) MarshalBinary ¶
func (m *PlatformVariantsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformVariantsJSON) UnmarshalBinary ¶
func (m *PlatformVariantsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformVirtualMachinesJSON ¶
type PlatformVirtualMachinesJSON struct {
// default virtual machines
DefaultVirtualMachines map[string]string `json:"defaultVirtualMachines,omitempty"`
// default virtual machines per zones
DefaultVMTypePerZones map[string]map[string]string `json:"defaultVmTypePerZones,omitempty"`
// virtual machines
VirtualMachines map[string][]VMTypeJSON `json:"virtualMachines,omitempty"`
// virtual machines per zones
VMTypesPerZones map[string]map[string][]VMTypeJSON `json:"vmTypesPerZones,omitempty"`
}
func (*PlatformVirtualMachinesJSON) MarshalBinary ¶
func (m *PlatformVirtualMachinesJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformVirtualMachinesJSON) UnmarshalBinary ¶
func (m *PlatformVirtualMachinesJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformVmtypesResponse ¶
type PlatformVmtypesResponse struct {
// vm types
VMTypes map[string]VirtualMachinesResponse `json:"vmTypes,omitempty"`
}
func (*PlatformVmtypesResponse) MarshalBinary ¶
func (m *PlatformVmtypesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformVmtypesResponse) UnmarshalBinary ¶
func (m *PlatformVmtypesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RDSBuildRequest ¶
type RDSBuildRequest struct {
// requested cluster name
// Required: true
ClusterName *string `json:"clusterName"`
// rds config request
// Required: true
RdsConfigRequest *RDSConfig `json:"rdsConfigRequest"`
}
func (*RDSBuildRequest) MarshalBinary ¶
func (m *RDSBuildRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RDSBuildRequest) UnmarshalBinary ¶
func (m *RDSBuildRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RDSConfig ¶
type RDSConfig struct {
// Password to use for the jdbc connection
// Required: true
ConnectionPassword *string `json:"connectionPassword"`
// JDBC connection URL in the form of jdbc:<db-type>://<address>:<port>/<db>
// Required: true
// Pattern: ^jdbc:postgresql://[-\w\.]*:\d{1,5}/?\w*
ConnectionURL *string `json:"connectionURL"`
// Username to use for the jdbc connection
// Required: true
ConnectionUserName *string `json:"connectionUserName"`
// Type of the external database (allowed values: MYSQL, POSTGRES)
// Required: true
DatabaseType *string `json:"databaseType"`
// HDP version for the RDS configuration
// Required: true
HdpVersion *string `json:"hdpVersion"`
// Name of the RDS configuration resource
// Required: true
Name *string `json:"name"`
// custom properties for rds connection
// Unique: true
Properties []*RdsConfigProperty `json:"properties"`
// Type of rds (HIVE or RANGER)
Type string `json:"type,omitempty"`
// If true, then the RDS configuration will be validated
Validated *bool `json:"validated,omitempty"`
}
func (*RDSConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*RDSConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RDSConfigResponse ¶
type RDSConfigResponse struct {
// list of clusters which use config
// Unique: true
ClusterNames []string `json:"clusterNames"`
// JDBC connection URL in the form of jdbc:<db-type>://<address>:<port>/<db>
// Required: true
// Pattern: ^jdbc:postgresql://[-\w\.]*:\d{1,5}/?\w*
ConnectionURL *string `json:"connectionURL"`
// creation time of the resource in long
CreationDate int64 `json:"creationDate,omitempty"`
// Type of the external database (allowed values: MYSQL, POSTGRES)
// Required: true
DatabaseType *string `json:"databaseType"`
// HDP version for the RDS configuration
// Required: true
HdpVersion *string `json:"hdpVersion"`
// id of the resource
ID int64 `json:"id,omitempty"`
// Name of the RDS configuration resource
// Required: true
Name *string `json:"name"`
// custom properties for rds connection
// Unique: true
Properties []*RdsConfigProperty `json:"properties"`
// resource is visible in account
PublicInAccount *bool `json:"publicInAccount,omitempty"`
// Type of rds (HIVE or RANGER)
Type string `json:"type,omitempty"`
// If true, then the RDS configuration will be validated
Validated *bool `json:"validated,omitempty"`
}
func (*RDSConfigResponse) MarshalBinary ¶
func (m *RDSConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RDSConfigResponse) UnmarshalBinary ¶
func (m *RDSConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RdsBuildResult ¶
type RdsBuildResult struct {
// name of the created dbs
// Required: true
Results map[string]string `json:"results"`
}
func (*RdsBuildResult) MarshalBinary ¶
func (m *RdsBuildResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RdsBuildResult) UnmarshalBinary ¶
func (m *RdsBuildResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RdsConfigProperty ¶
type RdsConfigProperty struct {
// name
Name string `json:"name,omitempty"`
// value
Value string `json:"value,omitempty"`
}
func (*RdsConfigProperty) MarshalBinary ¶
func (m *RdsConfigProperty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RdsConfigProperty) UnmarshalBinary ¶
func (m *RdsConfigProperty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RdsTestResult ¶
type RdsTestResult struct {
// result of Ldap connection test
// Required: true
ConnectionResult *string `json:"connectionResult"`
}
func (*RdsTestResult) MarshalBinary ¶
func (m *RdsTestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RdsTestResult) UnmarshalBinary ¶
func (m *RdsTestResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecipeRequest ¶
type RecipeRequest struct {
// content of recipe
Content string `json:"content,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// name of the resource
// Max Length: 100
// Min Length: 1
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name string `json:"name,omitempty"`
// type of recipe
// Required: true
RecipeType *string `json:"recipeType"`
// recipe uri
URI string `json:"uri,omitempty"`
}
func (*RecipeRequest) MarshalBinary ¶
func (m *RecipeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecipeRequest) UnmarshalBinary ¶
func (m *RecipeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecipeResponse ¶
type RecipeResponse struct {
// content of recipe
Content string `json:"content,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
// Max Length: 100
// Min Length: 1
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name string `json:"name,omitempty"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// type of recipe
// Required: true
RecipeType *string `json:"recipeType"`
// recipe uri
URI string `json:"uri,omitempty"`
}
func (*RecipeResponse) MarshalBinary ¶
func (m *RecipeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecipeResponse) UnmarshalBinary ¶
func (m *RecipeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecommendationRequestJSON ¶
type RecommendationRequestJSON struct {
// related availability zone
AvailabilityZone string `json:"availabilityZone,omitempty"`
// id that could indentify an existing blueprint
BlueprintID int64 `json:"blueprintId,omitempty"`
// name that could indentify an existing blueprint
BlueprintName string `json:"blueprintName,omitempty"`
// credential resource id for the request
CredentialID int64 `json:"credentialId,omitempty"`
// credential resource name for the request
CredentialName string `json:"credentialName,omitempty"`
// filter for resources
Filters map[string]string `json:"filters,omitempty"`
// cloud provider api variant
PlatformVariant string `json:"platformVariant,omitempty"`
// Related region
Region string `json:"region,omitempty"`
}
func (*RecommendationRequestJSON) MarshalBinary ¶
func (m *RecommendationRequestJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecommendationRequestJSON) UnmarshalBinary ¶
func (m *RecommendationRequestJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecommendationResponse ¶
type RecommendationResponse struct {
// disk responses
// Unique: true
DiskResponses []*DiskResponse `json:"diskResponses"`
// recommendations
Recommendations map[string]VMTypeJSON `json:"recommendations,omitempty"`
// virtual machines
// Unique: true
VirtualMachines []*VMTypeJSON `json:"virtualMachines"`
}
func (*RecommendationResponse) MarshalBinary ¶
func (m *RecommendationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecommendationResponse) UnmarshalBinary ¶
func (m *RecommendationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionResponse ¶
type RegionResponse struct {
// availability zones
AvailabilityZones map[string][]string `json:"availabilityZones,omitempty"`
// default regions
DefaultRegion string `json:"defaultRegion,omitempty"`
// regions with displayNames
DisplayNames map[string]string `json:"displayNames,omitempty"`
// regions
// Unique: true
Regions []string `json:"regions"`
}
func (*RegionResponse) MarshalBinary ¶
func (m *RegionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionResponse) UnmarshalBinary ¶
func (m *RegionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReinstallRequestV2 ¶
type ReinstallRequestV2 struct {
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetails `json:"ambariStackDetails,omitempty"`
// blueprint name for the cluster
// Required: true
BlueprintName *string `json:"blueprintName"`
// collection of instance groupst
// Unique: true
InstanceGroups []*InstanceGroupsV2 `json:"instanceGroups"`
// kerberos admin password
// Max Length: 50
// Min Length: 5
KerberosPassword string `json:"kerberosPassword,omitempty"`
// kerberos principal
KerberosPrincipal string `json:"kerberosPrincipal,omitempty"`
}
func (*ReinstallRequestV2) MarshalBinary ¶
func (m *ReinstallRequestV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReinstallRequestV2) UnmarshalBinary ¶
func (m *ReinstallRequestV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityGroupRequest ¶
type SecurityGroupRequest struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// name of the resource
// Required: true
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// Exisiting security group id
SecurityGroupID string `json:"securityGroupId,omitempty"`
// list of security rules that relates to the security group
SecurityRules []*SecurityRuleRequest `json:"securityRules"`
}
func (*SecurityGroupRequest) MarshalBinary ¶
func (m *SecurityGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityGroupRequest) UnmarshalBinary ¶
func (m *SecurityGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityGroupResponse ¶
type SecurityGroupResponse struct {
// account id of the resource owner that is provided by OAuth provider
Account string `json:"account,omitempty"`
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
Name string `json:"name,omitempty"`
// id of the resource owner that is provided by OAuth provider
Owner string `json:"owner,omitempty"`
// resource is visible in account
// Required: true
PublicInAccount bool `json:"publicInAccount"`
// Exisiting security group id
SecurityGroupID string `json:"securityGroupId,omitempty"`
// list of security rules that relates to the security group
SecurityRules []*SecurityRuleResponse `json:"securityRules"`
}
func (*SecurityGroupResponse) MarshalBinary ¶
func (m *SecurityGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityGroupResponse) UnmarshalBinary ¶
func (m *SecurityGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityGroupV2Request ¶
type SecurityGroupV2Request struct {
// Exisiting security group id
SecurityGroupID string `json:"securityGroupId,omitempty"`
// list of security rules that relates to the security group
SecurityRules []*SecurityRuleRequest `json:"securityRules"`
}
func (*SecurityGroupV2Request) MarshalBinary ¶
func (m *SecurityGroupV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityGroupV2Request) UnmarshalBinary ¶
func (m *SecurityGroupV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityRuleRequest ¶
type SecurityRuleRequest struct {
// flag for making the rule modifiable
Modifiable *bool `json:"modifiable,omitempty"`
// comma separated list of accessible ports
// Required: true
// Pattern: ^[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1}(,[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1})*$
Ports *string `json:"ports"`
// protocol of the rule
// Required: true
Protocol *string `json:"protocol"`
// definition of allowed subnet in CIDR format
// Required: true
// Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$
Subnet *string `json:"subnet"`
}
func (*SecurityRuleRequest) MarshalBinary ¶
func (m *SecurityRuleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityRuleRequest) UnmarshalBinary ¶
func (m *SecurityRuleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityRuleResponse ¶
type SecurityRuleResponse struct {
// id of the resource
ID int64 `json:"id,omitempty"`
// flag for making the rule modifiable
Modifiable *bool `json:"modifiable,omitempty"`
// comma separated list of accessible ports
// Required: true
// Pattern: ^[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1}(,[1-9][0-9]{0,4}(-[1-9][0-9]{0,4}){0,1})*$
Ports *string `json:"ports"`
// protocol of the rule
// Required: true
Protocol *string `json:"protocol"`
// definition of allowed subnet in CIDR format
// Required: true
// Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$
Subnet *string `json:"subnet"`
}
func (*SecurityRuleResponse) MarshalBinary ¶
func (m *SecurityRuleResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityRuleResponse) UnmarshalBinary ¶
func (m *SecurityRuleResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityRulesResponse ¶
type SecurityRulesResponse struct {
// security rules for core type
Core []*SecurityRuleResponse `json:"core"`
// security rules for gateway type
Gateway []*SecurityRuleResponse `json:"gateway"`
}
func (*SecurityRulesResponse) MarshalBinary ¶
func (m *SecurityRulesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityRulesResponse) UnmarshalBinary ¶
func (m *SecurityRulesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmartSenseSubscriptionJSON ¶
type SmartSenseSubscriptionJSON struct {
// account id of the resource owner that is provided by OAuth provider
// Read Only: true
Account string `json:"account,omitempty"`
// Flag of aut generated SmartSense subscription.
AutoGenerated *bool `json:"autoGenerated,omitempty"`
// id of the resource
// Read Only: true
ID int64 `json:"id,omitempty"`
// id of the resource owner that is provided by OAuth provider
// Read Only: true
Owner string `json:"owner,omitempty"`
// resource is visible in account
// Read Only: true
PublicInAccount *bool `json:"publicInAccount,omitempty"`
// Identifier of SmartSense subscription.
// Required: true
// Pattern: ^([a-zA-Z]{1}-[0-9]{8}-[a-zA-Z]{1}-[0-9]{8}$)
SubscriptionID *string `json:"subscriptionId"`
}
func (*SmartSenseSubscriptionJSON) MarshalBinary ¶
func (m *SmartSenseSubscriptionJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmartSenseSubscriptionJSON) UnmarshalBinary ¶
func (m *SmartSenseSubscriptionJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SpecialParametersJSON ¶
type SpecialParametersJSON struct {
// platform specific custom parameters
PlatformSpecificSpecialParameters map[string]map[string]bool `json:"platformSpecificSpecialParameters,omitempty"`
// custom parameters
SpecialParameters map[string]bool `json:"specialParameters,omitempty"`
}
func (*SpecialParametersJSON) MarshalBinary ¶
func (m *SpecialParametersJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SpecialParametersJSON) UnmarshalBinary ¶
func (m *SpecialParametersJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackAuthentication ¶
type StackAuthentication struct {
// authentication name for machines
LoginUserName string `json:"loginUserName,omitempty"`
// public key for accessing instances
PublicKey string `json:"publicKey,omitempty"`
// public key id for accessing instances
PublicKeyID string `json:"publicKeyId,omitempty"`
}
func (*StackAuthentication) MarshalBinary ¶
func (m *StackAuthentication) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackAuthentication) UnmarshalBinary ¶
func (m *StackAuthentication) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackAuthenticationResponse ¶
type StackAuthenticationResponse struct {
// authentication name for machines
LoginUserName string `json:"loginUserName,omitempty"`
// public key for accessing instances
PublicKey string `json:"publicKey,omitempty"`
// public key id for accessing instances
PublicKeyID string `json:"publicKeyId,omitempty"`
}
func (*StackAuthenticationResponse) MarshalBinary ¶
func (m *StackAuthenticationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackAuthenticationResponse) UnmarshalBinary ¶
func (m *StackAuthenticationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackDetailsJSON ¶
type StackDetailsJSON struct {
// repo
Repo *StackRepoDetailsJSON `json:"repo,omitempty"`
// version
Version string `json:"version,omitempty"`
}
func (*StackDetailsJSON) MarshalBinary ¶
func (m *StackDetailsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackDetailsJSON) UnmarshalBinary ¶
func (m *StackDetailsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackRepoDetailsJSON ¶
type StackRepoDetailsJSON struct {
// knox
Knox map[string]string `json:"knox,omitempty"`
// stack
Stack map[string]string `json:"stack,omitempty"`
// util
Util map[string]string `json:"util,omitempty"`
}
func (*StackRepoDetailsJSON) MarshalBinary ¶
func (m *StackRepoDetailsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackRepoDetailsJSON) UnmarshalBinary ¶
func (m *StackRepoDetailsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackRequest ¶
type StackRequest struct {
// specific version of ambari
AmbariVersion string `json:"ambariVersion,omitempty"`
// stack related application tags
ApplicationTags map[string]string `json:"applicationTags,omitempty"`
// availability zone of the stack
AvailabilityZone string `json:"availabilityZone,omitempty"`
// type of cloud provider
// Read Only: true
CloudPlatform string `json:"cloudPlatform,omitempty"`
// using the cluster name to create subdomain
ClusterNameAsSubdomain *bool `json:"clusterNameAsSubdomain,omitempty"`
// cluster request object on stack
ClusterRequest *ClusterRequest `json:"clusterRequest,omitempty"`
// stack related credential
Credential *CredentialRequest `json:"credential,omitempty"`
// credential resource id for the stack
CredentialID int64 `json:"credentialId,omitempty"`
// credential resource name for the stack
CredentialName string `json:"credentialName,omitempty"`
// source credential object for cloning
CredentialSource *CredentialSourceRequest `json:"credentialSource,omitempty"`
// custom domain name for the nodes in the stack
CustomDomain string `json:"customDomain,omitempty"`
// custom hostname for nodes in the stack
CustomHostname string `json:"customHostname,omitempty"`
// stack related default tags
DefaultTags map[string]string `json:"defaultTags,omitempty"`
// failure policy in case of failures
FailurePolicy *FailurePolicyRequest `json:"failurePolicy,omitempty"`
// id of the related flex subscription
FlexID int64 `json:"flexId,omitempty"`
// specific version of HDP
HdpVersion string `json:"hdpVersion,omitempty"`
// using the hostgroup names to create hostnames
HostgroupNameAsHostname *bool `json:"hostgroupNameAsHostname,omitempty"`
// custom image catalog URL
ImageCatalog string `json:"imageCatalog,omitempty"`
// virtual machine image id from ImageCatalog, machines of the cluster will be started from this image
ImageID string `json:"imageId,omitempty"`
// collection of instance groupst
// Required: true
InstanceGroups []*InstanceGroups `json:"instanceGroups"`
// name of the stack
// Required: true
// Max Length: 40
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// stack related network
Network *NetworkRequest `json:"network,omitempty"`
// network resource id for the stack
NetworkID int64 `json:"networkId,omitempty"`
// action on failure
OnFailureAction string `json:"onFailureAction,omitempty"`
// the details of the container orchestrator api to use
Orchestrator *OrchestratorRequest `json:"orchestrator,omitempty"`
// additional cloud specific parameters for stack
Parameters map[string]string `json:"parameters,omitempty"`
// cloud provider api variant
PlatformVariant string `json:"platformVariant,omitempty"`
// region of the stack
Region string `json:"region,omitempty"`
// stack related authentication
StackAuthentication *StackAuthentication `json:"stackAuthentication,omitempty"`
// stack related userdefined tags
UserDefinedTags map[string]string `json:"userDefinedTags,omitempty"`
}
func (*StackRequest) MarshalBinary ¶
func (m *StackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackRequest) UnmarshalBinary ¶
func (m *StackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackResponse ¶
type StackResponse struct {
// account id of the resource owner that is provided by OAuth provider
Account string `json:"account,omitempty"`
// specific version of ambari
AmbariVersion string `json:"ambariVersion,omitempty"`
// stack related application tags
ApplicationTags map[string]string `json:"applicationTags,omitempty"`
// availability zone of the stack
AvailabilityZone string `json:"availabilityZone,omitempty"`
// type of cloud provider
// Read Only: true
CloudPlatform string `json:"cloudPlatform,omitempty"`
// details of the Cloudbreak that provisioned the stack
CloudbreakDetails *CloudbreakDetailsJSON `json:"cloudbreakDetails,omitempty"`
// related events for a cloudbreak stack
CloudbreakEvents []*CloudbreakEvent `json:"cloudbreakEvents"`
// usage information for a specific stack
CloudbreakUsages []*CloudbreakUsage `json:"cloudbreakUsages"`
// cluster
Cluster *ClusterResponse `json:"cluster,omitempty"`
// using the cluster name to create subdomain
ClusterNameAsSubdomain *bool `json:"clusterNameAsSubdomain,omitempty"`
// creation time of the stack in long
Created int64 `json:"created,omitempty"`
// stack related credential
Credential *CredentialResponse `json:"credential,omitempty"`
// credential resource id for the stack
CredentialID int64 `json:"credentialId,omitempty"`
// custom domain name for the nodes in the stack
CustomDomain string `json:"customDomain,omitempty"`
// custom hostname for nodes in the stack
CustomHostname string `json:"customHostname,omitempty"`
// stack related default tags
DefaultTags map[string]string `json:"defaultTags,omitempty"`
// failure policy in case of failures
FailurePolicy *FailurePolicyResponse `json:"failurePolicy,omitempty"`
// the related flex subscription
FlexSubscription *FlexSubscriptionResponse `json:"flexSubscription,omitempty"`
// port of the gateway secured proxy
GatewayPort int32 `json:"gatewayPort,omitempty"`
// hardware information where pairing hostmetadata with instancemetadata
// Unique: true
HardwareInfos []*HardwareInfoResponse `json:"hardwareInfos"`
// specific version of HDP
HdpVersion string `json:"hdpVersion,omitempty"`
// using the hostgroup names to create hostnames
HostgroupNameAsHostname *bool `json:"hostgroupNameAsHostname,omitempty"`
// id of the stack
ID int64 `json:"id,omitempty"`
// image of the stack
Image *ImageJSON `json:"image,omitempty"`
// instance groups
InstanceGroups []*InstanceGroupResponse `json:"instanceGroups"`
// name of the stack
// Required: true
// Max Length: 40
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// stack related network
Network *NetworkResponse `json:"network,omitempty"`
// network resource id for the stack
NetworkID int64 `json:"networkId,omitempty"`
// node count of the stack
NodeCount int32 `json:"nodeCount,omitempty"`
// action on failure
OnFailureAction string `json:"onFailureAction,omitempty"`
// the details of the container orchestrator api to use
Orchestrator *OrchestratorResponse `json:"orchestrator,omitempty"`
// id of the resource owner that is provided by OAuth provider
Owner string `json:"owner,omitempty"`
// additional cloud specific parameters for stack
Parameters map[string]string `json:"parameters,omitempty"`
// cloud provider api variant
PlatformVariant string `json:"platformVariant,omitempty"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// region of the stack
Region string `json:"region,omitempty"`
// stack related authentication
StackAuthentication *StackAuthenticationResponse `json:"stackAuthentication,omitempty"`
// status of the stack
Status string `json:"status,omitempty"`
// status message of the stack
StatusReason string `json:"statusReason,omitempty"`
// stack related userdefined tags
UserDefinedTags map[string]string `json:"userDefinedTags,omitempty"`
}
func (*StackResponse) MarshalBinary ¶
func (m *StackResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackResponse) UnmarshalBinary ¶
func (m *StackResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackScaleRequestV2 ¶
type StackScaleRequestV2 struct {
// scaling adjustment of the instance groups
// Required: true
DesiredCount *int32 `json:"desiredCount"`
// name of the instance group
// Required: true
Group *string `json:"group"`
}
func (*StackScaleRequestV2) MarshalBinary ¶
func (m *StackScaleRequestV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackScaleRequestV2) UnmarshalBinary ¶
func (m *StackScaleRequestV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackV2Request ¶
type StackV2Request struct {
// specific version of ambari
AmbariVersion string `json:"ambariVersion,omitempty"`
// stack related application tags
ApplicationTags map[string]string `json:"applicationTags,omitempty"`
// availability zone of the stack
AvailabilityZone string `json:"availabilityZone,omitempty"`
// using the cluster name to create subdomain
ClusterNameAsSubdomain *bool `json:"clusterNameAsSubdomain,omitempty"`
// cluster request object on stack
ClusterRequest *ClusterV2Request `json:"clusterRequest,omitempty"`
// credential resource name for the stack
CredentialName string `json:"credentialName,omitempty"`
// custom domain name for the nodes in the stack
CustomDomain string `json:"customDomain,omitempty"`
// custom hostname for nodes in the stack
CustomHostname string `json:"customHostname,omitempty"`
// stack related default tags
DefaultTags map[string]string `json:"defaultTags,omitempty"`
// failure policy in case of failures
FailurePolicy *FailurePolicyRequest `json:"failurePolicy,omitempty"`
// id of the related flex subscription
FlexID int64 `json:"flexId,omitempty"`
// specific version of HDP
HdpVersion string `json:"hdpVersion,omitempty"`
// using the hostgroup names to create hostnames
HostgroupNameAsHostname *bool `json:"hostgroupNameAsHostname,omitempty"`
// custom image catalog URL
ImageCatalog string `json:"imageCatalog,omitempty"`
// virtual machine image id from ImageCatalog, machines of the cluster will be started from this image
ImageID string `json:"imageId,omitempty"`
// collection of instance groupst
// Required: true
InstanceGroups []*InstanceGroupsV2 `json:"instanceGroups"`
// name of the stack
// Required: true
// Max Length: 40
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// stack related network
Network *NetworkV2Request `json:"network,omitempty"`
// action on failure
OnFailureAction string `json:"onFailureAction,omitempty"`
// the details of the container orchestrator api to use
Orchestrator *OrchestratorRequest `json:"orchestrator,omitempty"`
// additional cloud specific parameters for stack
Parameters map[string]string `json:"parameters,omitempty"`
// cloud provider api variant
PlatformVariant string `json:"platformVariant,omitempty"`
// region of the stack
Region string `json:"region,omitempty"`
// stack related authentication
StackAuthentication *StackAuthentication `json:"stackAuthentication,omitempty"`
// stack related userdefined tags
UserDefinedTags map[string]string `json:"userDefinedTags,omitempty"`
}
func (*StackV2Request) MarshalBinary ¶
func (m *StackV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackV2Request) UnmarshalBinary ¶
func (m *StackV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackValidationRequest ¶
type StackValidationRequest struct {
// blueprint for the cluster
Blueprint *BlueprintRequest `json:"blueprint,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// blueprint name for the cluster
BlueprintName string `json:"blueprintName,omitempty"`
// stack related credential
Credential *CredentialRequest `json:"credential,omitempty"`
// credential resource id for the stack
CredentialID int64 `json:"credentialId,omitempty"`
// credential resource name for the stack
CredentialName string `json:"credentialName,omitempty"`
// cluster related filesystem
FileSystem *FileSystem `json:"fileSystem,omitempty"`
// collection of hostgroups
// Required: true
// Unique: true
HostGroups []*HostGroupRequest `json:"hostGroups"`
// collection of instance groupst
// Required: true
// Unique: true
InstanceGroups []*InstanceGroups `json:"instanceGroups"`
// stack related network
Network *NetworkRequest `json:"network,omitempty"`
// network resource id for the stack
NetworkID int64 `json:"networkId,omitempty"`
// type of cloud provider
// Required: true
Platform *string `json:"platform"`
}
func (*StackValidationRequest) MarshalBinary ¶
func (m *StackValidationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackValidationRequest) UnmarshalBinary ¶
func (m *StackValidationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredEvent ¶
type StructuredEvent struct {
// operation
Operation *OperationDetails `json:"operation,omitempty"`
// type
Type string `json:"type,omitempty"`
}
func (*StructuredEvent) MarshalBinary ¶
func (m *StructuredEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredEvent) UnmarshalBinary ¶
func (m *StructuredEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionRequest ¶
type SubscriptionRequest struct {
// url of the endpoint
// Required: true
// Pattern: ^(https?:\/\/)((([\da-z\.-]+)\.([a-z]{2,6}))|localhost|[1-9][0-9]{0,2}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})(:[1-9][0-9]{1,4})?\/([\/\w\.-]*)\/?$
EndpointURL *string `json:"endpointUrl"`
}
func (*SubscriptionRequest) MarshalBinary ¶
func (m *SubscriptionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionRequest) UnmarshalBinary ¶
func (m *SubscriptionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagSpecificationsJSON ¶
type TagSpecificationsJSON struct {
// tag specifications
Specifications map[string]map[string]interface{} `json:"specifications,omitempty"`
}
func (*TagSpecificationsJSON) MarshalBinary ¶
func (m *TagSpecificationsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagSpecificationsJSON) UnmarshalBinary ¶
func (m *TagSpecificationsJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateRequest ¶
type TemplateRequest struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// custom instancetype definition
CustomInstanceType *CustomInstanceType `json:"customInstanceType,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// type of the instance
InstanceType string `json:"instanceType,omitempty"`
// name of the resource
// Required: true
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// cloud specific parameters for template
Parameters map[string]interface{} `json:"parameters,omitempty"`
// id of the topology the resource belongs to
TopologyID int64 `json:"topologyId,omitempty"`
// number of volumes
VolumeCount int32 `json:"volumeCount,omitempty"`
// size of volumes
VolumeSize int32 `json:"volumeSize,omitempty"`
// type of the volumes
VolumeType string `json:"volumeType,omitempty"`
}
func (*TemplateRequest) MarshalBinary ¶
func (m *TemplateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateRequest) UnmarshalBinary ¶
func (m *TemplateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateResponse ¶
type TemplateResponse struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// custom instancetype definition
CustomInstanceType *CustomInstanceType `json:"customInstanceType,omitempty"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// type of the instance
InstanceType string `json:"instanceType,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// cloud specific parameters for template
Parameters map[string]interface{} `json:"parameters,omitempty"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// id of the topology the resource belongs to
TopologyID int64 `json:"topologyId,omitempty"`
// number of volumes
// Required: true
VolumeCount *int32 `json:"volumeCount"`
// size of volumes
// Required: true
VolumeSize *int32 `json:"volumeSize"`
// type of the volumes
VolumeType string `json:"volumeType,omitempty"`
}
func (*TemplateResponse) MarshalBinary ¶
func (m *TemplateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateResponse) UnmarshalBinary ¶
func (m *TemplateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateV2Request ¶
type TemplateV2Request struct {
// custom instancetype definition
CustomInstanceType *CustomInstanceType `json:"customInstanceType,omitempty"`
// type of the instance
InstanceType string `json:"instanceType,omitempty"`
// cloud specific parameters for template
Parameters map[string]interface{} `json:"parameters,omitempty"`
// number of volumes
VolumeCount int32 `json:"volumeCount,omitempty"`
// size of volumes
VolumeSize int32 `json:"volumeSize,omitempty"`
// type of the volumes
VolumeType string `json:"volumeType,omitempty"`
}
func (*TemplateV2Request) MarshalBinary ¶
func (m *TemplateV2Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateV2Request) UnmarshalBinary ¶
func (m *TemplateV2Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TopologyRequest ¶
type TopologyRequest struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// topology mapping
Nodes map[string]string `json:"nodes,omitempty"`
}
func (*TopologyRequest) MarshalBinary ¶
func (m *TopologyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TopologyRequest) UnmarshalBinary ¶
func (m *TopologyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TopologyResponse ¶
type TopologyResponse struct {
// type of cloud provider
// Required: true
CloudPlatform *string `json:"cloudPlatform"`
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// topology mapping
Nodes map[string]string `json:"nodes,omitempty"`
}
func (*TopologyResponse) MarshalBinary ¶
func (m *TopologyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TopologyResponse) UnmarshalBinary ¶
func (m *TopologyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAmbariRequest ¶
type UpdateAmbariRequest struct {
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetails `json:"ambariStackDetails,omitempty"`
// blueprint id for the cluster
BlueprintName string `json:"blueprintName,omitempty"`
// collection of hostgroups
// Unique: true
Hostgroups []*HostGroupRequest `json:"hostgroups"`
// user details
UserNamePasswordJSON *UserNamePassword `json:"userNamePasswordJson,omitempty"`
// validate blueprint
ValidateBlueprint *bool `json:"validateBlueprint,omitempty"`
}
func (*UpdateAmbariRequest) MarshalBinary ¶
func (m *UpdateAmbariRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAmbariRequest) UnmarshalBinary ¶
func (m *UpdateAmbariRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCluster ¶
type UpdateCluster struct {
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetails `json:"ambariStackDetails,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// host group adjustment
HostGroupAdjustment *HostGroupAdjustment `json:"hostGroupAdjustment,omitempty"`
// collection of hostgroups
// Unique: true
Hostgroups []*HostGroupRequest `json:"hostgroups"`
// kerberos admin password
// Max Length: 50
// Min Length: 5
KerberosPassword string `json:"kerberosPassword,omitempty"`
// kerberos principal
KerberosPrincipal string `json:"kerberosPrincipal,omitempty"`
// request status
Status string `json:"status,omitempty"`
// user details
UserNamePasswordJSON *UserNamePassword `json:"userNamePasswordJson,omitempty"`
// validate blueprint
ValidateBlueprint *bool `json:"validateBlueprint,omitempty"`
}
func (*UpdateCluster) MarshalBinary ¶
func (m *UpdateCluster) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCluster) UnmarshalBinary ¶
func (m *UpdateCluster) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateClusterV2 ¶
type UpdateClusterV2 struct {
// host group adjustment
ScaleRequest *ClusterScaleRequestV2 `json:"scaleRequest,omitempty"`
// request status
Status string `json:"status,omitempty"`
// ambari specific requests
UpdateAmbariRequest *UpdateAmbariRequest `json:"updateAmbariRequest,omitempty"`
}
func (*UpdateClusterV2) MarshalBinary ¶
func (m *UpdateClusterV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateClusterV2) UnmarshalBinary ¶
func (m *UpdateClusterV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateImageCatalogRequest ¶
type UpdateImageCatalogRequest struct {
// id of the resource
// Required: true
ID *int64 `json:"id"`
// name of the resource
// Required: true
// Max Length: 100
// Min Length: 5
// Pattern: ([a-z][-a-z0-9]*[a-z0-9])
Name *string `json:"name"`
// custom image catalog's URL
// Required: true
URL *string `json:"url"`
}
func (*UpdateImageCatalogRequest) MarshalBinary ¶
func (m *UpdateImageCatalogRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateImageCatalogRequest) UnmarshalBinary ¶
func (m *UpdateImageCatalogRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateStack ¶
type UpdateStack struct {
// instance group adjustment
InstanceGroupAdjustment *InstanceGroupAdjustment `json:"instanceGroupAdjustment,omitempty"`
// status of the scale request
Status string `json:"status,omitempty"`
// on stack update, update cluster too
WithClusterEvent *bool `json:"withClusterEvent,omitempty"`
}
func (*UpdateStack) MarshalBinary ¶
func (m *UpdateStack) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateStack) UnmarshalBinary ¶
func (m *UpdateStack) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateStackV2 ¶
type UpdateStackV2 struct {
// instance group adjustment
InstanceGroupAdjustment *InstanceGroupAdjustmentV2 `json:"instanceGroupAdjustment,omitempty"`
// status of the scale request
Status string `json:"status,omitempty"`
// on stack update, update cluster too
WithClusterEvent *bool `json:"withClusterEvent,omitempty"`
}
func (*UpdateStackV2) MarshalBinary ¶
func (m *UpdateStackV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateStackV2) UnmarshalBinary ¶
func (m *UpdateStackV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct {
// username
Username string `json:"username,omitempty"`
}
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserNamePassword ¶
type UserNamePassword struct {
// old password in ambari
// Required: true
// Max Length: 2147483647
// Min Length: 1
OldPassword *string `json:"oldPassword"`
// new password in ambari
// Required: true
// Max Length: 2147483647
// Min Length: 1
Password *string `json:"password"`
// new user name in ambari
// Required: true
// Max Length: 2147483647
// Min Length: 1
UserName *string `json:"userName"`
}
func (*UserNamePassword) MarshalBinary ¶
func (m *UserNamePassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserNamePassword) UnmarshalBinary ¶
func (m *UserNamePassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserProfileRequest ¶
type UserProfileRequest struct {
// credential Id
CredentialID int64 `json:"credentialId,omitempty"`
// credential name
CredentialName string `json:"credentialName,omitempty"`
// ui properties
UIProperties map[string]interface{} `json:"uiProperties,omitempty"`
}
func (*UserProfileRequest) MarshalBinary ¶
func (m *UserProfileRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserProfileRequest) UnmarshalBinary ¶
func (m *UserProfileRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserProfileResponse ¶
type UserProfileResponse struct {
// account
Account string `json:"account,omitempty"`
// credential
Credential *CredentialResponse `json:"credential,omitempty"`
// owner
Owner string `json:"owner,omitempty"`
// ui properties
UIProperties map[string]interface{} `json:"uiProperties,omitempty"`
}
func (*UserProfileResponse) MarshalBinary ¶
func (m *UserProfileResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserProfileResponse) UnmarshalBinary ¶
func (m *UserProfileResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VMTypeJSON ¶
type VMTypeJSON struct {
// value
Value string `json:"value,omitempty"`
// vm type meta Json
VMTypeMetaJSON *VMTypeMetaJSON `json:"vmTypeMetaJson,omitempty"`
}
func (*VMTypeJSON) MarshalBinary ¶
func (m *VMTypeJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VMTypeJSON) UnmarshalBinary ¶
func (m *VMTypeJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VMTypeMetaJSON ¶
type VMTypeMetaJSON struct {
// configs
Configs []*VolumeParameterConfigJSON `json:"configs"`
// properties
Properties map[string]string `json:"properties,omitempty"`
}
func (*VMTypeMetaJSON) MarshalBinary ¶
func (m *VMTypeMetaJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VMTypeMetaJSON) UnmarshalBinary ¶
func (m *VMTypeMetaJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VirtualMachinesResponse ¶
type VirtualMachinesResponse struct {
// default virtual machines
DefaultVirtualMachine *VMTypeJSON `json:"defaultVirtualMachine,omitempty"`
// virtual machines
// Unique: true
VirtualMachines []*VMTypeJSON `json:"virtualMachines"`
}
func (*VirtualMachinesResponse) MarshalBinary ¶
func (m *VirtualMachinesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VirtualMachinesResponse) UnmarshalBinary ¶
func (m *VirtualMachinesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeParameterConfigJSON ¶
type VolumeParameterConfigJSON struct {
// maximum number
MaximumNumber int32 `json:"maximumNumber,omitempty"`
// maximum size
MaximumSize int32 `json:"maximumSize,omitempty"`
// minimum number
MinimumNumber int32 `json:"minimumNumber,omitempty"`
// minimum size
MinimumSize int32 `json:"minimumSize,omitempty"`
// volume parameter type
VolumeParameterType string `json:"volumeParameterType,omitempty"`
}
func (*VolumeParameterConfigJSON) MarshalBinary ¶
func (m *VolumeParameterConfigJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeParameterConfigJSON) UnmarshalBinary ¶
func (m *VolumeParameterConfigJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- account_preference.go
- ambari_address.go
- ambari_database_details.go
- ambari_database_test_result.go
- ambari_repo_details.go
- ambari_stack_details.go
- ambari_stack_details_response.go
- ambari_v2_request.go
- autoscale_cluster_response.go
- autoscale_stack_response.go
- base_image_response.go
- blueprint_input.go
- blueprint_parameter.go
- blueprint_request.go
- blueprint_response.go
- byos_v2_request.go
- certificate_response.go
- cloud_gateway_json.go
- cloudbreak_details_json.go
- cloudbreak_event.go
- cloudbreak_flex_usage.go
- cloudbreak_usage.go
- cluster_repair_request.go
- cluster_request.go
- cluster_response.go
- cluster_scale_request_v2.go
- cluster_template_request.go
- cluster_template_response.go
- cluster_v2_request.go
- configs_request.go
- configs_response.go
- connected_cluster_request.go
- constraint.go
- constraint_template_request.go
- constraint_template_response.go
- credential_request.go
- credential_response.go
- credential_source_request.go
- custom_container_request.go
- custom_container_response.go
- custom_instance_type.go
- disk_response.go
- failure_policy_request.go
- failure_policy_response.go
- failure_report.go
- file_system.go
- flex_subscription_request.go
- flex_subscription_response.go
- flex_usage_component_instance_json.go
- flex_usage_component_json.go
- flex_usage_controller_json.go
- flex_usage_product_json.go
- gateway_json.go
- hardware_info_response.go
- host_group_adjustment.go
- host_group_request.go
- host_group_response.go
- host_metadata.go
- id.go
- image_catalog_request.go
- image_catalog_response.go
- image_json.go
- image_response.go
- images_response.go
- instance_group_adjustment.go
- instance_group_adjustment_v2.go
- instance_group_response.go
- instance_groups.go
- instance_groups_v2.go
- instance_meta_data.go
- ip_pool_json.go
- kerberos_request.go
- ldap_config_request.go
- ldap_config_response.go
- ldap_validation_request.go
- network_request.go
- network_response.go
- network_v2_request.go
- operation_details.go
- orchestrator_request.go
- orchestrator_response.go
- platform_disks_json.go
- platform_gateways_response.go
- platform_images_json.go
- platform_ip_pools_response.go
- platform_network_response.go
- platform_orchestrators_json.go
- platform_regions_json.go
- platform_resource_request_json.go
- platform_security_group_response.go
- platform_ssh_key_response.go
- platform_variants_json.go
- platform_virtual_machines_json.go
- platform_vmtypes_response.go
- r_d_s_build_request.go
- r_d_s_config.go
- r_d_s_config_response.go
- rds_build_result.go
- rds_config_property.go
- rds_test_result.go
- recipe_request.go
- recipe_response.go
- recommendation_request_json.go
- recommendation_response.go
- region_response.go
- reinstall_request_v2.go
- security_group_request.go
- security_group_response.go
- security_group_v2_request.go
- security_rule_request.go
- security_rule_response.go
- security_rules_response.go
- smart_sense_subscription_json.go
- special_parameters_json.go
- stack_authentication.go
- stack_authentication_response.go
- stack_details_json.go
- stack_repo_details_json.go
- stack_request.go
- stack_response.go
- stack_scale_request_v2.go
- stack_v2_request.go
- stack_validation_request.go
- structured_event.go
- subscription_request.go
- tag_specifications_json.go
- template_request.go
- template_response.go
- template_v2_request.go
- topology_request.go
- topology_response.go
- update_ambari_request.go
- update_cluster.go
- update_cluster_v2.go
- update_image_catalog_request.go
- update_stack.go
- update_stack_v2.go
- user.go
- user_name_password.go
- user_profile_request.go
- user_profile_response.go
- virtual_machines_response.go
- vm_type_json.go
- vm_type_meta_json.go
- volume_parameter_config_json.go