Documentation
¶
Index ¶
- Constants
- type AccessConfigJSON
- type AccountPreferencesRequest
- type AccountPreferencesResponse
- type AdlsCloudStorageParameters
- type AmbariAddress
- type AmbariDatabaseDetails
- type AmbariDatabaseTestResult
- type AmbariInfoJSON
- type AmbariRepoDetails
- type AmbariStackDetails
- type AmbariStackDetailsResponse
- type AmbariV2Request
- type AttachedClusterInfoResponse
- type AuditEvent
- type AutoscaleClusterResponse
- type AutoscaleStackResponse
- type AwsEncryption
- type AwsParameters
- type AzureParameters
- type BaseImageResponse
- type BlueprintDetails
- type BlueprintInput
- type BlueprintParameter
- type BlueprintRequest
- type BlueprintResponse
- type CertificateResponse
- type ChangeWorkspaceUsersJSON
- type CloudGatewayJSON
- type CloudStorageRequest
- type CloudStorageSupportedResponse
- type CloudbreakDetailsJSON
- type CloudbreakEvent
- type CloudbreakFlexUsage
- type CloudbreakUsage
- type ClusterDetails
- type ClusterExposedServiceResponse
- type ClusterRepairRequest
- type ClusterRequest
- type ClusterResponse
- type ClusterV2Request
- type ConfigsRequest
- type ConfigsResponse
- type ConnectedClusterRequest
- type Constraint
- type CredentialRequest
- type CredentialResponse
- type CredentialSourceRequest
- type CustomContainerRequest
- type CustomContainerResponse
- type CustomDomainSettings
- type CustomInstanceType
- type DiskResponse
- type EncryptionKeyConfigJSON
- type ExposedServiceResponse
- type FailurePolicyRequest
- type FailurePolicyResponse
- type FailureReport
- type FileSystem
- type FileSystemResponse
- type FlexSubscriptionRequest
- type FlexSubscriptionResponse
- type FlexUsageComponentInstanceJSON
- type FlexUsageComponentJSON
- type FlexUsageControllerJSON
- type FlexUsageProductJSON
- type FlowDetails
- type GatewayJSON
- type GatewayTopologyJSON
- type GcpEncryption
- type GcpParameters
- type GcsCloudStorageParameters
- type GeneralSettings
- type GeneratedBlueprintResponse
- type HardwareInfoGroupResponse
- type HardwareInfoResponse
- type HostGroupAdjustment
- type HostGroupRequest
- type HostGroupResponse
- type HostMetadata
- type ID
- type IPPoolJSON
- type ImageCatalogRequest
- type ImageCatalogResponse
- type ImageCatalogShortResponse
- type ImageJSON
- type ImageResponse
- type ImageSettings
- type ImagesResponse
- type InstanceGroupAdjustment
- type InstanceGroupDetails
- type InstanceGroupResponse
- type InstanceGroups
- type InstanceGroupsV2
- type InstanceMetaData
- type KerberosRequest
- type KerberosResponse
- type LDAPTestRequest
- type LdapConfigRequest
- type LdapConfigResponse
- type LdapTestResult
- type LdapValidationRequest
- type ManagementPackDetails
- type ManagementPackEntry
- type ManagementPackRequest
- type ManagementPackResponse
- type NetworkRequest
- type NetworkResponse
- type NetworkV2Request
- type NotificationDetails
- type OpenStackParameters
- type OperationDetails
- type Oracle
- type OrchestratorRequest
- type OrchestratorResponse
- type ParametersQueryRequest
- type ParametersQueryResponse
- type PlacementSettings
- type PlatformAccessConfigsResponse
- type PlatformDisksJSON
- type PlatformEncryptionKeysResponse
- type PlatformGatewaysResponse
- type PlatformIPPoolsResponse
- type PlatformNetworkResponse
- type PlatformNetworksResponse
- type PlatformOrchestratorsJSON
- type PlatformRegionsJSON
- type PlatformResourceRequestJSON
- type PlatformSSHKeyResponse
- type PlatformSSHKeysResponse
- type PlatformSecurityGroupResponse
- type PlatformSecurityGroupsResponse
- type PlatformVariantsJSON
- type PlatformVmtypesResponse
- type ProxyConfigRequest
- type ProxyConfigResponse
- type RDSBuildRequest
- type RDSConfigResponse
- type RdsBuildResult
- type RdsConfig
- type RdsTestRequest
- type RdsTestResult
- type RecipeRequest
- type RecipeResponse
- type RecommendationRequestJSON
- type RecommendationResponse
- type RegionResponse
- type ReinstallRequestV2
- type RepoConfigValidationRequest
- type RepoConfigValidationResponse
- type RestCallDetails
- type RestRequestDetails
- type RestResponseDetails
- type S3CloudStorageParameters
- type SecurityGroupDetails
- type SecurityGroupRequest
- type SecurityGroupResponse
- type SecurityGroupV2Request
- type SecurityRuleDetails
- type SecurityRuleRequest
- type SecurityRuleResponse
- type SecurityRulesResponse
- type SharedService
- type SharedServiceResponse
- type SmartSenseSubscriptionJSON
- type SpecialParametersJSON
- type StackAuthentication
- type StackAuthenticationResponse
- type StackDescriptor
- type StackDetails
- type StackDetailsJSON
- type StackImageChangeRequest
- type StackMatrix
- type StackRepoDetailsJSON
- type StackRequest
- type StackResponse
- type StackScaleRequestV2
- type StackV2Request
- type StackValidationRequest
- type StorageLocationRequest
- type StorageLocationResponse
- type StructuredEventContainer
- type StructuredFlowEvent
- type StructuredNotificationEvent
- type StructuredParameterQueriesResponse
- type StructuredParameterQueryResponse
- type StructuredParametersQueryRequest
- type StructuredRestCallEvent
- type SubscriptionRequest
- type SupportedDatabaseEntryResponse
- type SupportedExternalDatabaseServiceEntryResponse
- type TagSpecificationsJSON
- type Tags
- type TemplateRequest
- type TemplateResponse
- type TemplateV2Request
- type UpdateCluster
- type UpdateGatewayTopologiesJSON
- type UpdateImageCatalogRequest
- type UpdateStack
- type User
- type UserNamePassword
- type UserProfileRequest
- type UserProfileResponse
- type UserResponseJSON
- type UserWorkspacePermissionsJSON
- type VMTypeJSON
- type VMTypeMetaJSON
- type VersionCheckResult
- type VirtualMachinesResponse
- type VolumeParameterConfigJSON
- type WasbCloudStorageParameters
- type WorkspaceRequest
- type WorkspaceResourceResponse
- type WorkspaceResponse
- type YarnParameters
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" // AmbariDatabaseDetailsVendorORACLE11 captures enum value "ORACLE11" AmbariDatabaseDetailsVendorORACLE11 string = "ORACLE11" // AmbariDatabaseDetailsVendorORACLE12 captures enum value "ORACLE12" AmbariDatabaseDetailsVendorORACLE12 string = "ORACLE12" // 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 ( // ClusterExposedServiceResponseModeSSOPROVIDER captures enum value "SSO_PROVIDER" ClusterExposedServiceResponseModeSSOPROVIDER string = "SSO_PROVIDER" // ClusterExposedServiceResponseModeNONE captures enum value "NONE" ClusterExposedServiceResponseModeNONE string = "NONE" )
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 ( // 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" // GatewayJSONSsoTypeNONE captures enum value "NONE" GatewayJSONSsoTypeNONE string = "NONE" )
const ( // HardwareInfoGroupResponseRecoveryModeMANUAL captures enum value "MANUAL" HardwareInfoGroupResponseRecoveryModeMANUAL string = "MANUAL" // HardwareInfoGroupResponseRecoveryModeAUTO captures enum value "AUTO" HardwareInfoGroupResponseRecoveryModeAUTO string = "AUTO" )
const ( // HardwareInfoResponseInstanceMetadataTypeGATEWAY captures enum value "GATEWAY" HardwareInfoResponseInstanceMetadataTypeGATEWAY string = "GATEWAY" // HardwareInfoResponseInstanceMetadataTypeGATEWAYPRIMARY captures enum value "GATEWAY_PRIMARY" HardwareInfoResponseInstanceMetadataTypeGATEWAYPRIMARY string = "GATEWAY_PRIMARY" // HardwareInfoResponseInstanceMetadataTypeCORE captures enum value "CORE" HardwareInfoResponseInstanceMetadataTypeCORE string = "CORE" )
const ( // HardwareInfoResponseInstanceStatusREQUESTED captures enum value "REQUESTED" HardwareInfoResponseInstanceStatusREQUESTED string = "REQUESTED" // HardwareInfoResponseInstanceStatusCREATED captures enum value "CREATED" HardwareInfoResponseInstanceStatusCREATED string = "CREATED" // HardwareInfoResponseInstanceStatusUNREGISTERED captures enum value "UNREGISTERED" HardwareInfoResponseInstanceStatusUNREGISTERED string = "UNREGISTERED" // HardwareInfoResponseInstanceStatusREGISTERED captures enum value "REGISTERED" HardwareInfoResponseInstanceStatusREGISTERED string = "REGISTERED" // HardwareInfoResponseInstanceStatusDECOMMISSIONED captures enum value "DECOMMISSIONED" HardwareInfoResponseInstanceStatusDECOMMISSIONED string = "DECOMMISSIONED" // HardwareInfoResponseInstanceStatusTERMINATED captures enum value "TERMINATED" HardwareInfoResponseInstanceStatusTERMINATED string = "TERMINATED" // HardwareInfoResponseInstanceStatusDELETEDONPROVIDERSIDE captures enum value "DELETED_ON_PROVIDER_SIDE" HardwareInfoResponseInstanceStatusDELETEDONPROVIDERSIDE string = "DELETED_ON_PROVIDER_SIDE" // HardwareInfoResponseInstanceStatusFAILED captures enum value "FAILED" HardwareInfoResponseInstanceStatusFAILED string = "FAILED" // HardwareInfoResponseInstanceStatusSTOPPED captures enum value "STOPPED" HardwareInfoResponseInstanceStatusSTOPPED string = "STOPPED" )
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" // InstanceMetaDataInstanceStatusDELETEDONPROVIDERSIDE captures enum value "DELETED_ON_PROVIDER_SIDE" InstanceMetaDataInstanceStatusDELETEDONPROVIDERSIDE string = "DELETED_ON_PROVIDER_SIDE" // 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 ( // KerberosResponseTypeCBMANAGED captures enum value "CB_MANAGED" KerberosResponseTypeCBMANAGED string = "CB_MANAGED" // KerberosResponseTypeEXISTINGAD captures enum value "EXISTING_AD" KerberosResponseTypeEXISTINGAD string = "EXISTING_AD" // KerberosResponseTypeEXISTINGMIT captures enum value "EXISTING_MIT" KerberosResponseTypeEXISTINGMIT string = "EXISTING_MIT" // KerberosResponseTypeCUSTOM captures enum value "CUSTOM" KerberosResponseTypeCUSTOM string = "CUSTOM" )
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 ( // OperationDetailsEventTypeREST captures enum value "REST" OperationDetailsEventTypeREST string = "REST" // OperationDetailsEventTypeFLOW captures enum value "FLOW" OperationDetailsEventTypeFLOW string = "FLOW" // OperationDetailsEventTypeNOTIFICATION captures enum value "NOTIFICATION" OperationDetailsEventTypeNOTIFICATION string = "NOTIFICATION" )
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 ( // 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 ( // 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 ( // WorkspaceResponseStatusACTIVE captures enum value "ACTIVE" WorkspaceResponseStatusACTIVE string = "ACTIVE" // WorkspaceResponseStatusDELETED captures enum value "DELETED" WorkspaceResponseStatusDELETED string = "DELETED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfigJSON ¶
type AccessConfigJSON struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
}
func (*AccessConfigJSON) MarshalBinary ¶
func (m *AccessConfigJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessConfigJSON) UnmarshalBinary ¶
func (m *AccessConfigJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountPreferencesRequest ¶
type AccountPreferencesRequest 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"`
// smartsense enabled on the UI
SmartsenseEnabled *bool `json:"smartsenseEnabled,omitempty"`
// lifecycle of the account and its clusters in hours (0 for immortal account)
// Required: true
// Minimum: 0
UserTimeToLive *int64 `json:"userTimeToLive"`
}
func (*AccountPreferencesRequest) MarshalBinary ¶
func (m *AccountPreferencesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountPreferencesRequest) UnmarshalBinary ¶
func (m *AccountPreferencesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountPreferencesResponse ¶
type AccountPreferencesResponse 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"`
// smartsense enabled on the UI
SmartsenseEnabled *bool `json:"smartsenseEnabled,omitempty"`
// supported external databases
// Unique: true
SupportedExternalDatabases []*SupportedExternalDatabaseServiceEntryResponse `json:"supportedExternalDatabases"`
// lifecycle of the account and its clusters in hours (0 for immortal account)
// Required: true
// Minimum: 0
UserTimeToLive *int64 `json:"userTimeToLive"`
}
func (*AccountPreferencesResponse) MarshalBinary ¶
func (m *AccountPreferencesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountPreferencesResponse) UnmarshalBinary ¶
func (m *AccountPreferencesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdlsCloudStorageParameters ¶
type AdlsCloudStorageParameters struct {
// account name
// Required: true
AccountName *string `json:"accountName"`
// client Id
// Required: true
ClientID *string `json:"clientId"`
// credential
// Required: true
Credential *string `json:"credential"`
// tenant Id
TenantID string `json:"tenantId,omitempty"`
}
func (*AdlsCloudStorageParameters) MarshalBinary ¶
func (m *AdlsCloudStorageParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdlsCloudStorageParameters) UnmarshalBinary ¶
func (m *AdlsCloudStorageParameters) 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 AmbariInfoJSON ¶
type AmbariInfoJSON struct {
// repo
Repo map[string]AmbariRepoDetails `json:"repo,omitempty"`
// version
Version string `json:"version,omitempty"`
}
func (*AmbariInfoJSON) MarshalBinary ¶
func (m *AmbariInfoJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmbariInfoJSON) UnmarshalBinary ¶
func (m *AmbariInfoJSON) 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
GpgKeyURL string `json:"gpgKeyUrl,omitempty"`
// 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 {
// enable gpl repository
EnableGplRepo *bool `json:"enableGplRepo,omitempty"`
// url the MPACK that needs to be installed before HDF installation
MpackURL string `json:"mpackUrl,omitempty"`
// Management packs which are needed for the HDP / HDF clusters
Mpacks []*ManagementPackDetails `json:"mpacks"`
// 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
Stack string `json:"stack,omitempty"`
// 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
Verify *bool `json:"verify,omitempty"`
// version of the stack
Version string `json:"version,omitempty"`
// 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 {
// enable gpl repo
EnableGplRepo *bool `json:"enableGplRepo,omitempty"`
// hdp version
HdpVersion string `json:"hdpVersion,omitempty"`
// mpacks
Mpacks []*ManagementPackDetails `json:"mpacks"`
// 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 {
// [DEPRECATED] use RdsConfig instead! details of the external Ambari database
AmbariDatabaseDetails *AmbariDatabaseDetails `json:"ambariDatabaseDetails,omitempty"`
// details of the Ambari package repository
AmbariRepoDetailsJSON *AmbariRepoDetails `json:"ambariRepoDetailsJson,omitempty"`
// a master key for encrypting the passwords in Ambari
// Max Length: 100
// Min Length: 5
AmbariSecurityMasterKey string `json:"ambariSecurityMasterKey,omitempty"`
// details of the Ambari stack
AmbariStackDetails *AmbariStackDetails `json:"ambariStackDetails,omitempty"`
// blueprint id for the cluster
BlueprintID int64 `json:"blueprintId,omitempty"`
// 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"`
// blueprint validation
ValidateBlueprint *bool `json:"validateBlueprint,omitempty"`
// ambari and stack repository validation
ValidateRepositories *bool `json:"validateRepositories,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 AttachedClusterInfoResponse ¶
type AttachedClusterInfoResponse struct {
// id of the resource
ID int64 `json:"id,omitempty"`
// name of the resource
Name string `json:"name,omitempty"`
}
func (*AttachedClusterInfoResponse) MarshalBinary ¶
func (m *AttachedClusterInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AttachedClusterInfoResponse) UnmarshalBinary ¶
func (m *AttachedClusterInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditEvent ¶
type AuditEvent struct {
// audit Id
AuditID int64 `json:"auditId,omitempty"`
// duration
Duration int64 `json:"duration,omitempty"`
// operation
Operation *OperationDetails `json:"operation,omitempty"`
// raw flow event
RawFlowEvent *StructuredFlowEvent `json:"rawFlowEvent,omitempty"`
// raw notification
RawNotification *StructuredNotificationEvent `json:"rawNotification,omitempty"`
// raw rest event
RawRestEvent *StructuredRestCallEvent `json:"rawRestEvent,omitempty"`
// status
Status string `json:"status,omitempty"`
}
func (*AuditEvent) MarshalBinary ¶
func (m *AuditEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuditEvent) UnmarshalBinary ¶
func (m *AuditEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoscaleClusterResponse ¶
type AutoscaleClusterResponse struct {
// [DEPRECATED] use RdsConfig instead! 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"`
// cluster exposed services for topologies
ClusterExposedServicesForTopologies map[string][]ClusterExposedServiceResponse `json:"clusterExposedServicesForTopologies,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"`
// ambari blueprint JSON, set this or the url field
ExtendedBlueprintText string `json:"extendedBlueprintText,omitempty"`
// filesystem for a specific stack
FileSystemResponse *FileSystemResponse `json:"fileSystemResponse,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"`
// kerberos response
KerberosResponse *KerberosResponse `json:"kerberosResponse,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"`
// proxy configuration name for the cluster
ProxyName string `json:"proxyName,omitempty"`
// RDS configuration names 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"`
SharedServiceResponse *SharedServiceResponse `json:"sharedServiceResponse,omitempty"`
// status of the cluster
Status string `json:"status,omitempty"`
// status message of the cluster
StatusReason string `json:"statusReason,omitempty"`
// duration - how long the cluster is running in milliseconds
Uptime int64 `json:"uptime,omitempty"`
// ambari username
UserName string `json:"userName,omitempty"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,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 AwsEncryption ¶
type AwsEncryption struct {
// encryption key for vm
Key string `json:"key,omitempty"`
// encryption type for vm (DEFAULT|CUSTOM|NONE)
Type string `json:"type,omitempty"`
}
func (*AwsEncryption) MarshalBinary ¶
func (m *AwsEncryption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsEncryption) UnmarshalBinary ¶
func (m *AwsEncryption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsParameters ¶
type AwsParameters struct {
// should encrypt the vm
Encrypted *bool `json:"encrypted,omitempty"`
// encryption for vm
Encryption *AwsEncryption `json:"encryption,omitempty"`
// spot price for aws
SpotPrice float64 `json:"spotPrice,omitempty"`
}
func (*AwsParameters) MarshalBinary ¶
func (m *AwsParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsParameters) UnmarshalBinary ¶
func (m *AwsParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureParameters ¶
type AzureParameters struct {
// private id for azure
PrivateID string `json:"privateId,omitempty"`
}
func (*AzureParameters) MarshalBinary ¶
func (m *AzureParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureParameters) UnmarshalBinary ¶
func (m *AzureParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BaseImageResponse ¶
type BaseImageResponse struct {
// date
Date string `json:"date,omitempty"`
// default image
DefaultImage *bool `json:"defaultImage,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"`
// package versions
PackageVersions map[string]string `json:"packageVersions,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 BlueprintDetails ¶
type BlueprintDetails struct {
// blueprint Json
BlueprintJSON string `json:"blueprintJson,omitempty"`
// blueprint name
BlueprintName string `json:"blueprintName,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
ID int64 `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
}
func (*BlueprintDetails) MarshalBinary ¶
func (m *BlueprintDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlueprintDetails) UnmarshalBinary ¶
func (m *BlueprintDetails) 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
// Pattern: ^[^;%]*$
Name *string `json:"name"`
// properties to extend the blueprint with
Properties []map[string]map[string]string `json:"properties"`
// user defined tags for blueprint
Tags map[string]interface{} `json:"tags,omitempty"`
// 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"`
// user defined tags for blueprint
Tags map[string]interface{} `json:"tags,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 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 ChangeWorkspaceUsersJSON ¶
type ChangeWorkspaceUsersJSON struct {
// permissions
// Unique: true
Permissions []string `json:"permissions"`
// user Id
UserID string `json:"userId,omitempty"`
}
func (*ChangeWorkspaceUsersJSON) MarshalBinary ¶
func (m *ChangeWorkspaceUsersJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeWorkspaceUsersJSON) UnmarshalBinary ¶
func (m *ChangeWorkspaceUsersJSON) 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 CloudStorageRequest ¶
type CloudStorageRequest struct {
// adls
Adls *AdlsCloudStorageParameters `json:"adls,omitempty"`
// gcs
Gcs *GcsCloudStorageParameters `json:"gcs,omitempty"`
// cloud storage locations
// Unique: true
Locations []*StorageLocationRequest `json:"locations"`
// s3
S3 *S3CloudStorageParameters `json:"s3,omitempty"`
// wasb
Wasb *WasbCloudStorageParameters `json:"wasb,omitempty"`
}
func (*CloudStorageRequest) MarshalBinary ¶
func (m *CloudStorageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudStorageRequest) UnmarshalBinary ¶
func (m *CloudStorageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudStorageSupportedResponse ¶
type CloudStorageSupportedResponse struct {
// file system type
// Unique: true
FileSystemType []string `json:"fileSystemType"`
// provider
Provider string `json:"provider,omitempty"`
}
func (*CloudStorageSupportedResponse) MarshalBinary ¶
func (m *CloudStorageSupportedResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudStorageSupportedResponse) UnmarshalBinary ¶
func (m *CloudStorageSupportedResponse) 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"`
// User ID in the new authorization model
UserIDV3 string `json:"userIdV3,omitempty"`
// Workspace ID of the resource
WorkspaceID int64 `json:"workspaceId,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 ClusterDetails ¶
type ClusterDetails struct {
// ambari version
AmbariVersion string `json:"ambariVersion,omitempty"`
// cluster type
ClusterType string `json:"clusterType,omitempty"`
// cluster version
ClusterVersion string `json:"clusterVersion,omitempty"`
// database type
DatabaseType string `json:"databaseType,omitempty"`
// default file system
DefaultFileSystem *bool `json:"defaultFileSystem,omitempty"`
// description
Description string `json:"description,omitempty"`
// external database
ExternalDatabase *bool `json:"externalDatabase,omitempty"`
// file system type
FileSystemType string `json:"fileSystemType,omitempty"`
// gateway enabled
GatewayEnabled *bool `json:"gatewayEnabled,omitempty"`
// gateway type
GatewayType string `json:"gatewayType,omitempty"`
// host groups
HostGroups []string `json:"hostGroups"`
// id
ID int64 `json:"id,omitempty"`
// kerberos type
KerberosType string `json:"kerberosType,omitempty"`
// name
Name string `json:"name,omitempty"`
// secure
Secure *bool `json:"secure,omitempty"`
// sso type
SsoType string `json:"ssoType,omitempty"`
// status
Status string `json:"status,omitempty"`
// status reason
StatusReason string `json:"statusReason,omitempty"`
}
func (*ClusterDetails) MarshalBinary ¶
func (m *ClusterDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterDetails) UnmarshalBinary ¶
func (m *ClusterDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterExposedServiceResponse ¶
type ClusterExposedServiceResponse struct {
// display name
DisplayName string `json:"displayName,omitempty"`
// knox service
KnoxService string `json:"knoxService,omitempty"`
// mode
Mode string `json:"mode,omitempty"`
// open
Open *bool `json:"open,omitempty"`
// service name
ServiceName string `json:"serviceName,omitempty"`
// service Url
ServiceURL string `json:"serviceUrl,omitempty"`
}
func (*ClusterExposedServiceResponse) MarshalBinary ¶
func (m *ClusterExposedServiceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterExposedServiceResponse) UnmarshalBinary ¶
func (m *ClusterExposedServiceResponse) 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 {
// [DEPRECATED] use RdsConfig instead! details of the external Ambari database
AmbariDatabaseDetails *AmbariDatabaseDetails `json:"ambariDatabaseDetails,omitempty"`
// details of the Ambari package repository
AmbariRepoDetailsJSON *AmbariRepoDetails `json:"ambariRepoDetailsJson,omitempty"`
// a master key for encrypting the passwords in Ambari
// Max Length: 100
// Min Length: 5
AmbariSecurityMasterKey string `json:"ambariSecurityMasterKey,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: 8
// Pattern: ^(.{0,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{1,})|(.{1,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{1,})|(.{1,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{0,})$
Password *string `json:"password"`
// proxy configuration name for the cluster
ProxyName string `json:"proxyName,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"`
// RDS configuration names for the cluster
// Unique: true
RdsConfigNames []string `json:"rdsConfigNames"`
// ambari username
// Required: true
// Max Length: 15
// Min Length: 5
// Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$)
UserName *string `json:"userName"`
// blueprint validation
ValidateBlueprint *bool `json:"validateBlueprint,omitempty"`
// ambari and stack repository validation
ValidateRepositories *bool `json:"validateRepositories,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 {
// [DEPRECATED] use RdsConfig instead! 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"`
// cluster exposed services for topologies
ClusterExposedServicesForTopologies map[string][]ClusterExposedServiceResponse `json:"clusterExposedServicesForTopologies,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"`
// ambari blueprint JSON, set this or the url field
ExtendedBlueprintText string `json:"extendedBlueprintText,omitempty"`
// filesystem for a specific stack
FileSystemResponse *FileSystemResponse `json:"fileSystemResponse,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"`
// kerberos response
KerberosResponse *KerberosResponse `json:"kerberosResponse,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"`
// proxy configuration name for the cluster
ProxyName string `json:"proxyName,omitempty"`
// RDS configuration names 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"`
SharedServiceResponse *SharedServiceResponse `json:"sharedServiceResponse,omitempty"`
// status of the cluster
Status string `json:"status,omitempty"`
// status message of the cluster
StatusReason string `json:"statusReason,omitempty"`
// duration - how long the cluster is running in milliseconds
Uptime int64 `json:"uptime,omitempty"`
// ambari username
UserName string `json:"userName,omitempty"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,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 ClusterV2Request ¶
type ClusterV2Request struct {
// ambari specific requests
Ambari *AmbariV2Request `json:"ambari,omitempty"`
// external cloud storage configuration
CloudStorage *CloudStorageRequest `json:"cloudStorage,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"`
// LDAP config name for the cluster
LdapConfigName string `json:"ldapConfigName,omitempty"`
// proxy configuration name for the cluster
ProxyName string `json:"proxyName,omitempty"`
// RDS configuration names for the cluster
// Unique: true
RdsConfigNames []string `json:"rdsConfigNames"`
SharedService *SharedService `json:"sharedService,omitempty"`
}
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 {
// datalakeinputs object
// Required: true
DatalakeInputs map[string]interface{} `json:"datalakeInputs"`
// fixinputs object
// Required: true
FixInputs map[string]interface{} `json:"fixInputs"`
// 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 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"`
// workspace
Workspace *WorkspaceResourceResponse `json:"workspace,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 CustomDomainSettings ¶
type CustomDomainSettings struct {
// using the cluster name to create subdomain
ClusterNameAsSubdomain *bool `json:"clusterNameAsSubdomain,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"`
// using the hostgroup names to create hostnames
HostgroupNameAsHostname *bool `json:"hostgroupNameAsHostname,omitempty"`
}
func (*CustomDomainSettings) MarshalBinary ¶
func (m *CustomDomainSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomDomainSettings) UnmarshalBinary ¶
func (m *CustomDomainSettings) 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 EncryptionKeyConfigJSON ¶
type EncryptionKeyConfigJSON struct {
// description
Description string `json:"description,omitempty"`
// display name
DisplayName string `json:"displayName,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// properties
Properties map[string]interface{} `json:"properties,omitempty"`
}
func (*EncryptionKeyConfigJSON) MarshalBinary ¶
func (m *EncryptionKeyConfigJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionKeyConfigJSON) UnmarshalBinary ¶
func (m *EncryptionKeyConfigJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExposedServiceResponse ¶
type ExposedServiceResponse struct {
// display name
DisplayName string `json:"displayName,omitempty"`
// knox service
KnoxService string `json:"knoxService,omitempty"`
// knox Url
KnoxURL string `json:"knoxUrl,omitempty"`
// service name
ServiceName string `json:"serviceName,omitempty"`
}
func (*ExposedServiceResponse) MarshalBinary ¶
func (m *ExposedServiceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExposedServiceResponse) UnmarshalBinary ¶
func (m *ExposedServiceResponse) 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 {
// adls
Adls *AdlsCloudStorageParameters `json:"adls,omitempty"`
// true if fs.defaultFS should point to this filesystem
DefaultFs *bool `json:"defaultFs,omitempty"`
// gcs
Gcs *GcsCloudStorageParameters `json:"gcs,omitempty"`
// configuration of the filesystem location
// Unique: true
Locations []*StorageLocationRequest `json:"locations"`
// name of the filesystem
// Required: true
Name *string `json:"name"`
// s3
S3 *S3CloudStorageParameters `json:"s3,omitempty"`
// type of the filesystem
// Required: true
Type *string `json:"type"`
// wasb
Wasb *WasbCloudStorageParameters `json:"wasb,omitempty"`
}
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 FileSystemResponse ¶
type FileSystemResponse struct {
// adls
Adls *AdlsCloudStorageParameters `json:"adls,omitempty"`
// true if fs.defaultFS should point to this filesystem
DefaultFs *bool `json:"defaultFs,omitempty"`
// gcs
Gcs *GcsCloudStorageParameters `json:"gcs,omitempty"`
// id of the resource
// Required: true
ID *int64 `json:"id"`
// configuration of the filesystem location
// Unique: true
Locations []*StorageLocationResponse `json:"locations"`
// name of the filesystem
// Required: true
Name *string `json:"name"`
// s3
S3 *S3CloudStorageParameters `json:"s3,omitempty"`
// type of the filesystem
// Required: true
Type *string `json:"type"`
// wasb
Wasb *WasbCloudStorageParameters `json:"wasb,omitempty"`
}
func (*FileSystemResponse) MarshalBinary ¶
func (m *FileSystemResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FileSystemResponse) UnmarshalBinary ¶
func (m *FileSystemResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FlexSubscriptionRequest ¶
type FlexSubscriptionRequest struct {
// 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 is the default one
UsedAsDefault *bool `json:"usedAsDefault,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"`
// 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 is the default one
UsedAsDefault *bool `json:"usedAsDefault,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 FlowDetails ¶
type FlowDetails struct {
// duration
Duration int64 `json:"duration,omitempty"`
// flow chain Id
FlowChainID string `json:"flowChainId,omitempty"`
// flow chain type
FlowChainType string `json:"flowChainType,omitempty"`
// flow event
FlowEvent string `json:"flowEvent,omitempty"`
// flow Id
FlowID string `json:"flowId,omitempty"`
// flow state
FlowState string `json:"flowState,omitempty"`
// flow type
FlowType string `json:"flowType,omitempty"`
// next flow state
NextFlowState string `json:"nextFlowState,omitempty"`
}
func (*FlowDetails) MarshalBinary ¶
func (m *FlowDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FlowDetails) UnmarshalBinary ¶
func (m *FlowDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GatewayJSON ¶
type GatewayJSON struct {
// [DEPRECATED] 'enableGateway' is no longer needed to determine if gateway needs to be launched or not.
// Presence of gateway definition in request is suffucicient. This value is only used in legacy requests,
// when 'topologyName' or 'exposedServices' is defined in the root of Gateway, instead of using topologies.
// When it is a legacy request and 'enableGateway' is set to 'false', gateway will not be saved and created.
EnableGateway *bool `json:"enableGateway,omitempty"`
// [DEPRECATED] Use the 'exposedServices' inside the 'topologies' part of the request.
// If 'exposedServices' is specified, other deprecated properties ('topologyName' and 'enableGateway') will be used as well, and 'topologies' will be ignored.
ExposedServices []string `json:"exposedServices"`
// Knox gateway type
GatewayType string `json:"gatewayType,omitempty"`
// Knox SSO type
SsoType string `json:"ssoType,omitempty"`
// SSO Provider certificate
TokenCert string `json:"tokenCert,omitempty"`
// Topology definitions of the gateway.
Topologies []*GatewayTopologyJSON `json:"topologies"`
// [DEPRECATED] Use the 'topologyName' inside the 'topologies' part of the request.
// If 'topologyName' is specified, other deprecated properties ('exposedServices' and 'enableGateway') will be used as well, and 'topologies' will be ignored.
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 GatewayTopologyJSON ¶
type GatewayTopologyJSON struct {
// exposed Knox services - those services that should be accessible through Knox gateway.
ExposedServices []string `json:"exposedServices"`
// Knox topology name
TopologyName string `json:"topologyName,omitempty"`
}
func (*GatewayTopologyJSON) MarshalBinary ¶
func (m *GatewayTopologyJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GatewayTopologyJSON) UnmarshalBinary ¶
func (m *GatewayTopologyJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GcpEncryption ¶
type GcpEncryption struct {
// encryption key for vm
Key string `json:"key,omitempty"`
// encryption method for the key (RAW|RSA)
KeyEncryptionMethod string `json:"keyEncryptionMethod,omitempty"`
// encryption type for vm (DEFAULT|CUSTOM)
Type string `json:"type,omitempty"`
}
func (*GcpEncryption) MarshalBinary ¶
func (m *GcpEncryption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GcpEncryption) UnmarshalBinary ¶
func (m *GcpEncryption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GcpParameters ¶
type GcpParameters struct {
// encryption for vm
Encryption *GcpEncryption `json:"encryption,omitempty"`
}
func (*GcpParameters) MarshalBinary ¶
func (m *GcpParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GcpParameters) UnmarshalBinary ¶
func (m *GcpParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GcsCloudStorageParameters ¶
type GcsCloudStorageParameters struct {
// service account email
// Required: true
ServiceAccountEmail *string `json:"serviceAccountEmail"`
}
func (*GcsCloudStorageParameters) MarshalBinary ¶
func (m *GcsCloudStorageParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GcsCloudStorageParameters) UnmarshalBinary ¶
func (m *GcsCloudStorageParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeneralSettings ¶
type GeneralSettings struct {
// credential resource name for the stack
// Required: true
CredentialName *string `json:"credentialName"`
// 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"`
}
func (*GeneralSettings) MarshalBinary ¶
func (m *GeneralSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeneralSettings) UnmarshalBinary ¶
func (m *GeneralSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeneratedBlueprintResponse ¶
type GeneratedBlueprintResponse struct {
// ambari blueprint JSON, set this or the url field
AmbariBlueprint string `json:"ambariBlueprint,omitempty"`
}
func (*GeneratedBlueprintResponse) MarshalBinary ¶
func (m *GeneratedBlueprintResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeneratedBlueprintResponse) UnmarshalBinary ¶
func (m *GeneratedBlueprintResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HardwareInfoGroupResponse ¶
type HardwareInfoGroupResponse struct {
// Metadata of instances.
// Unique: true
HardwareInfos []*HardwareInfoResponse `json:"hardwareInfos"`
// name
Name string `json:"name,omitempty"`
// recovery mode of the hostgroup's nodes
RecoveryMode string `json:"recoveryMode,omitempty"`
}
func (*HardwareInfoGroupResponse) MarshalBinary ¶
func (m *HardwareInfoGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HardwareInfoGroupResponse) UnmarshalBinary ¶
func (m *HardwareInfoGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HardwareInfoResponse ¶
type HardwareInfoResponse 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 host group
// Required: true
GroupName *string `json:"groupName"`
// image catalog name
ImageCatalogName string `json:"imageCatalogName,omitempty"`
// image catalog Url
ImageCatalogURL string `json:"imageCatalogUrl,omitempty"`
// image Id
ImageID string `json:"imageId,omitempty"`
// image name
ImageName string `json:"imageName,omitempty"`
// name of the instance group
InstanceGroup string `json:"instanceGroup,omitempty"`
// id of the instance
InstanceID string `json:"instanceId,omitempty"`
// type of the instance
InstanceMetadataType string `json:"instanceMetadataType,omitempty"`
// status of the instance
InstanceStatus string `json:"instanceStatus,omitempty"`
// name of the resource
// Required: true
Name *string `json:"name"`
// os
Os string `json:"os,omitempty"`
// os type
OsType string `json:"osType,omitempty"`
// package versions
PackageVersions map[string]string `json:"packageVersions,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"`
// state of the host
State string `json:"state,omitempty"`
// instancegroup related template
Template *TemplateResponse `json:"template,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
// Pattern: ^http[s]?://.*
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 {
// id of the resource
// Required: true
ID *int64 `json:"id"`
// image response in imagecatalog
ImagesResponse *ImagesResponse `json:"imagesResponse,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"`
// resource is visible in account
// Required: true
PublicInAccount bool `json:"publicInAccount"`
// custom image catalog's URL
// Required: true
// Pattern: ^http[s]?://.*
URL *string `json:"url"`
// true if image catalog is the default one
// Required: true
UsedAsDefault bool `json:"usedAsDefault"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,omitempty"`
}
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 ImageCatalogShortResponse ¶
type ImageCatalogShortResponse 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"`
// resource is visible in account
// Required: true
PublicInAccount bool `json:"publicInAccount"`
// custom image catalog's URL
// Required: true
// Pattern: ^http[s]?://.*
URL *string `json:"url"`
// true if image catalog is the default one
// Required: true
UsedAsDefault bool `json:"usedAsDefault"`
}
func (*ImageCatalogShortResponse) MarshalBinary ¶
func (m *ImageCatalogShortResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageCatalogShortResponse) UnmarshalBinary ¶
func (m *ImageCatalogShortResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageJSON ¶
type ImageJSON struct {
// name of the image catalog
ImageCatalogName string `json:"imageCatalogName,omitempty"`
// url of the image catalog
ImageCatalogURL string `json:"imageCatalogUrl,omitempty"`
// id of the image
ImageID string `json:"imageId,omitempty"`
// 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"`
// default image
DefaultImage *bool `json:"defaultImage,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"`
// package versions
PackageVersions map[string]string `json:"packageVersions,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 ImageSettings ¶
type ImageSettings struct {
// 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"`
// os type of the image, this property is only considered when no specific image id is provided
Os string `json:"os,omitempty"`
}
func (*ImageSettings) MarshalBinary ¶
func (m *ImageSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageSettings) UnmarshalBinary ¶
func (m *ImageSettings) 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"`
// supported versions
// Unique: true
SupportedVersions []string `json:"supportedVersions"`
}
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 InstanceGroupDetails ¶
type InstanceGroupDetails struct {
// group name
GroupName string `json:"groupName,omitempty"`
// group type
GroupType string `json:"groupType,omitempty"`
// instance type
InstanceType string `json:"instanceType,omitempty"`
// node count
NodeCount int32 `json:"nodeCount,omitempty"`
// security group
SecurityGroup *SecurityGroupDetails `json:"securityGroup,omitempty"`
// volume count
VolumeCount int32 `json:"volumeCount,omitempty"`
// volume size
VolumeSize int32 `json:"volumeSize,omitempty"`
// volume type
VolumeType string `json:"volumeType,omitempty"`
}
func (*InstanceGroupDetails) MarshalBinary ¶
func (m *InstanceGroupDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceGroupDetails) UnmarshalBinary ¶
func (m *InstanceGroupDetails) 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"`
// kerberos admin server URL
AdminURL string `json:"adminUrl,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"`
// kerberos KDC server 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 KerberosResponse ¶
type KerberosResponse struct {
// kerberos admin user
// Max Length: 15
// Min Length: 5
Admin string `json:"admin,omitempty"`
// kerberos admin server URL
AdminURL string `json:"adminUrl,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"`
// realm
Realm string `json:"realm,omitempty"`
// tcp allowed
TCPAllowed *bool `json:"tcpAllowed,omitempty"`
// type
Type string `json:"type,omitempty"`
// kerberos KDC server URL
URL string `json:"url,omitempty"`
}
func (*KerberosResponse) MarshalBinary ¶
func (m *KerberosResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KerberosResponse) UnmarshalBinary ¶
func (m *KerberosResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LDAPTestRequest ¶
type LDAPTestRequest struct {
// name of the resource
Name string `json:"name,omitempty"`
// Request that contains the minimal set of fields to test LDAP connectivity
ValidationRequest *LdapValidationRequest `json:"validationRequest,omitempty"`
}
func (*LDAPTestRequest) MarshalBinary ¶
func (m *LDAPTestRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LDAPTestRequest) UnmarshalBinary ¶
func (m *LDAPTestRequest) 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
// Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$)
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"`
// template for pattern based user search for authentication (e.g. cn={0},dc=hadoop,dc=apache,dc=org)
// Required: true
UserDnPattern *string `json:"userDnPattern"`
// 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"`
// template for pattern based user search for authentication (e.g. cn={0},dc=hadoop,dc=apache,dc=org)
// Required: true
UserDnPattern *string `json:"userDnPattern"`
// 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 LdapTestResult ¶
type LdapTestResult struct {
// result of Ldap connection test
// Required: true
ConnectionResult *string `json:"connectionResult"`
}
func (*LdapTestResult) MarshalBinary ¶
func (m *LdapTestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LdapTestResult) UnmarshalBinary ¶
func (m *LdapTestResult) 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 ManagementPackDetails ¶
type ManagementPackDetails 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"`
}
func (*ManagementPackDetails) MarshalBinary ¶
func (m *ManagementPackDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManagementPackDetails) UnmarshalBinary ¶
func (m *ManagementPackDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ManagementPackEntry ¶
type ManagementPackEntry struct {
// mpack Url
MpackURL string `json:"mpackUrl,omitempty"`
}
func (*ManagementPackEntry) MarshalBinary ¶
func (m *ManagementPackEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManagementPackEntry) UnmarshalBinary ¶
func (m *ManagementPackEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ManagementPackRequest ¶
type ManagementPackRequest struct {
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// if true, management pack will be installed with '--force' flag
Force *bool `json:"force,omitempty"`
// url of the ambari management pack
// Required: true
// Pattern: ^http[s]?://.*
MpackURL *string `json:"mpackUrl"`
// 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"`
// if true, management pack will be installed with '--purge' flag
Purge *bool `json:"purge,omitempty"`
// if provided, management pack will be installed with '--purgeList' option with this values
PurgeList []string `json:"purgeList"`
}
func (*ManagementPackRequest) MarshalBinary ¶
func (m *ManagementPackRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManagementPackRequest) UnmarshalBinary ¶
func (m *ManagementPackRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ManagementPackResponse ¶
type ManagementPackResponse struct {
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// if true, management pack will be installed with '--force' flag
Force *bool `json:"force,omitempty"`
// id of the resource
ID int64 `json:"id,omitempty"`
// url of the ambari management pack
// Required: true
// Pattern: ^http[s]?://.*
MpackURL *string `json:"mpackUrl"`
// 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
Public *bool `json:"public,omitempty"`
// if true, management pack will be installed with '--purge' flag
Purge *bool `json:"purge,omitempty"`
// if provided, management pack will be installed with '--purgeList' option with this values
PurgeList []string `json:"purgeList"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,omitempty"`
}
func (*ManagementPackResponse) MarshalBinary ¶
func (m *ManagementPackResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManagementPackResponse) UnmarshalBinary ¶
func (m *ManagementPackResponse) 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"`
// 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"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,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 NotificationDetails ¶
type NotificationDetails struct {
// availabilty zone
AvailabiltyZone string `json:"availabiltyZone,omitempty"`
// blueprint Id
BlueprintID int64 `json:"blueprintId,omitempty"`
// blueprint name
BlueprintName string `json:"blueprintName,omitempty"`
// cloud
Cloud string `json:"cloud,omitempty"`
// cluster Id
ClusterID int64 `json:"clusterId,omitempty"`
// cluster name
ClusterName string `json:"clusterName,omitempty"`
// cluster status
ClusterStatus string `json:"clusterStatus,omitempty"`
// instance group
InstanceGroup string `json:"instanceGroup,omitempty"`
// node count
NodeCount int32 `json:"nodeCount,omitempty"`
// notification
Notification string `json:"notification,omitempty"`
// notification type
NotificationType string `json:"notificationType,omitempty"`
// region
Region string `json:"region,omitempty"`
// stack Id
StackID int64 `json:"stackId,omitempty"`
// stack name
StackName string `json:"stackName,omitempty"`
// stack status
StackStatus string `json:"stackStatus,omitempty"`
}
func (*NotificationDetails) MarshalBinary ¶
func (m *NotificationDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationDetails) UnmarshalBinary ¶
func (m *NotificationDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OpenStackParameters ¶
type OpenStackParameters interface{}
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 name
ResourceName string `json:"resourceName,omitempty"`
// resource type
ResourceType string `json:"resourceType,omitempty"`
// timestamp
Timestamp int64 `json:"timestamp,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
// user Id v3
UserIDV3 string `json:"userIdV3,omitempty"`
// user name
UserName string `json:"userName,omitempty"`
// user name v3
UserNameV3 string `json:"userNameV3,omitempty"`
// workspace Id
WorkspaceID int64 `json:"workspaceId,omitempty"`
// zoned date time
ZonedDateTime strfmt.DateTime `json:"zonedDateTime,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 Oracle ¶
type Oracle struct {
// Version of the Database
// Required: true
Version *string `json:"version"`
}
func (*Oracle) MarshalBinary ¶
MarshalBinary interface implementation
func (*Oracle) UnmarshalBinary ¶
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 ParametersQueryRequest ¶
type ParametersQueryRequest struct {
// gathered from blueprintName field from the blueprint JSON
// Required: true
BlueprintName *string `json:"blueprintName"`
}
func (*ParametersQueryRequest) MarshalBinary ¶
func (m *ParametersQueryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ParametersQueryRequest) UnmarshalBinary ¶
func (m *ParametersQueryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ParametersQueryResponse ¶
type ParametersQueryResponse struct {
// Custom parameters as a json
// Required: true
Custom map[string]string `json:"custom"`
}
func (*ParametersQueryResponse) MarshalBinary ¶
func (m *ParametersQueryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ParametersQueryResponse) UnmarshalBinary ¶
func (m *ParametersQueryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlacementSettings ¶
type PlacementSettings struct {
// availability zone of the stack
AvailabilityZone string `json:"availabilityZone,omitempty"`
// region of the stack
// Required: true
Region *string `json:"region"`
}
func (*PlacementSettings) MarshalBinary ¶
func (m *PlacementSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlacementSettings) UnmarshalBinary ¶
func (m *PlacementSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformAccessConfigsResponse ¶
type PlatformAccessConfigsResponse struct {
// access configs
// Unique: true
AccessConfigs []*AccessConfigJSON `json:"accessConfigs"`
}
func (*PlatformAccessConfigsResponse) MarshalBinary ¶
func (m *PlatformAccessConfigsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformAccessConfigsResponse) UnmarshalBinary ¶
func (m *PlatformAccessConfigsResponse) 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 PlatformEncryptionKeysResponse ¶
type PlatformEncryptionKeysResponse struct {
// encryption key configs
// Unique: true
EncryptionKeyConfigs []*EncryptionKeyConfigJSON `json:"encryptionKeyConfigs"`
}
func (*PlatformEncryptionKeysResponse) MarshalBinary ¶
func (m *PlatformEncryptionKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformEncryptionKeysResponse) UnmarshalBinary ¶
func (m *PlatformEncryptionKeysResponse) 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 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 PlatformNetworksResponse ¶
type PlatformNetworksResponse struct {
Networks map[string][]PlatformNetworkResponse `json:"networks,omitempty"`
}
func (*PlatformNetworksResponse) MarshalBinary ¶
func (m *PlatformNetworksResponse) MarshalBinary() ([]byte, error)
func (*PlatformNetworksResponse) UnmarshalBinary ¶
func (m *PlatformNetworksResponse) UnmarshalBinary(b []byte) error
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 PlatformSSHKeysResponse ¶
type PlatformSSHKeysResponse struct {
SSHKeys map[string][]PlatformSSHKeyResponse `json:"sshKeys,omitempty"`
}
func (*PlatformSSHKeysResponse) MarshalBinary ¶
func (m *PlatformSSHKeysResponse) MarshalBinary() ([]byte, error)
func (*PlatformSSHKeysResponse) UnmarshalBinary ¶
func (m *PlatformSSHKeysResponse) UnmarshalBinary(b []byte) error
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 PlatformSecurityGroupsResponse ¶
type PlatformSecurityGroupsResponse struct {
SecurityGroups map[string][]PlatformSecurityGroupResponse `json:"securityGroups,omitempty"`
}
func (*PlatformSecurityGroupsResponse) MarshalBinary ¶
func (m *PlatformSecurityGroupsResponse) MarshalBinary() ([]byte, error)
func (*PlatformSecurityGroupsResponse) UnmarshalBinary ¶
func (m *PlatformSecurityGroupsResponse) UnmarshalBinary(b []byte) error
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 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 ProxyConfigRequest ¶
type ProxyConfigRequest struct {
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// Name of the proxy configuration resource
// Required: true
// Max Length: 100
// Min Length: 4
// Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$)
Name *string `json:"name"`
// Password to use for basic authentication
Password string `json:"password,omitempty"`
// determines the protocol (http or https)
// Required: true
// Pattern: ^http(s)?$
Protocol *string `json:"protocol"`
// host or IP address of proxy server
// Required: true
// Max Length: 255
// Min Length: 1
// Pattern: (^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$)
ServerHost *string `json:"serverHost"`
// port of proxy server (typically: 3128 or 8080)
// Required: true
// Maximum: 65535
// Minimum: 1
ServerPort *int32 `json:"serverPort"`
// Username to use for basic authentication
UserName string `json:"userName,omitempty"`
}
func (*ProxyConfigRequest) MarshalBinary ¶
func (m *ProxyConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProxyConfigRequest) UnmarshalBinary ¶
func (m *ProxyConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProxyConfigResponse ¶
type ProxyConfigResponse struct {
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// proxy configuration id for the cluster
ID int64 `json:"id,omitempty"`
// Name of the proxy configuration resource
// Required: true
// Max Length: 100
// Min Length: 4
// Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$)
Name *string `json:"name"`
// determines the protocol (http or https)
// Required: true
// Pattern: ^http(s)?$
Protocol *string `json:"protocol"`
// host or IP address of proxy server
// Required: true
// Max Length: 255
// Min Length: 1
// Pattern: (^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$)
ServerHost *string `json:"serverHost"`
// port of proxy server (typically: 3128 or 8080)
// Required: true
// Maximum: 65535
// Minimum: 1
ServerPort *int32 `json:"serverPort"`
// Username to use for basic authentication
UserName string `json:"userName,omitempty"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,omitempty"`
}
func (*ProxyConfigResponse) MarshalBinary ¶
func (m *ProxyConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProxyConfigResponse) UnmarshalBinary ¶
func (m *ProxyConfigResponse) 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 RDSConfigResponse ¶
type RDSConfigResponse struct {
// list of clusters which use config
// Unique: true
ClusterNames []string `json:"clusterNames"`
// Name of the JDBC connection driver (for example: 'org.postgresql.Driver')
// Required: true
ConnectionDriver *string `json:"connectionDriver"`
// JDBC connection URL in the form of jdbc:<db-type>://<address>:<port>/<db>
// Required: true
ConnectionURL *string `json:"connectionURL"`
// URL that points to the jar of the connection driver(connector)
ConnectorJarURL string `json:"connectorJarUrl,omitempty"`
// creation time of the resource in long
CreationDate int64 `json:"creationDate,omitempty"`
// Name of the external database engine (MYSQL, POSTGRES...)
// Required: true
DatabaseEngine *string `json:"databaseEngine"`
// Display name of the external database engine (Mysql, PostgreSQL...)
// Required: true
DatabaseEngineDisplayName *string `json:"databaseEngineDisplayName"`
// id of the resource
ID int64 `json:"id,omitempty"`
// Name of the RDS configuration resource
// Required: true
Name *string `json:"name"`
// resource is visible in account
PublicInAccount *bool `json:"publicInAccount,omitempty"`
// (HDP, HDF)Stack version for the RDS configuration
StackVersion string `json:"stackVersion,omitempty"`
// Type of RDS, aka the service name that will use the RDS like HIVE, DRUID, SUPERSET, RANGER, etc.
// Required: true
Type *string `json:"type"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,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 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
ConnectionURL *string `json:"connectionURL"`
// Username to use for the jdbc connection
// Required: true
ConnectionUserName *string `json:"connectionUserName"`
// URL that points to the jar of the connection driver(connector)
ConnectorJarURL string `json:"connectorJarUrl,omitempty"`
// Name of the RDS configuration resource
// Required: true
Name *string `json:"name"`
// Oracle specific properties
Oracle *Oracle `json:"oracle,omitempty"`
// Type of RDS, aka the service name that will use the RDS like HIVE, DRUID, SUPERSET, RANGER, etc.
// Required: true
Type *string `json:"type"`
}
func (*RdsConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*RdsConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RdsTestRequest ¶
type RdsTestRequest struct {
// Name of the RDS configuration resource
Name string `json:"name,omitempty"`
// unsaved RDS config to be tested by connectivity
RdsConfig *RdsConfig `json:"rdsConfig,omitempty"`
}
func (*RdsTestRequest) MarshalBinary ¶
func (m *RdsTestRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RdsTestRequest) UnmarshalBinary ¶
func (m *RdsTestRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RdsTestResult ¶
type RdsTestResult struct {
// result of RDS 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: 5
// 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: 5
// 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"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,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 RepoConfigValidationRequest ¶
type RepoConfigValidationRequest struct {
// url of the Ambari repository
AmbariBaseURL string `json:"ambariBaseUrl,omitempty"`
// gpg key of the Ambari repository
AmbariGpgKeyURL string `json:"ambariGpgKeyUrl,omitempty"`
// url the MPACK that needs to be installed before HDF installation
MpackURL string `json:"mpackUrl,omitempty"`
// url of the stack repository
StackBaseURL string `json:"stackBaseURL,omitempty"`
// url of the stack utils repository
UtilsBaseURL string `json:"utilsBaseURL,omitempty"`
// local path on the Ambari server or URL that point to the desired VDF file
VersionDefinitionFileURL string `json:"versionDefinitionFileUrl,omitempty"`
}
func (*RepoConfigValidationRequest) MarshalBinary ¶
func (m *RepoConfigValidationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepoConfigValidationRequest) UnmarshalBinary ¶
func (m *RepoConfigValidationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepoConfigValidationResponse ¶
type RepoConfigValidationResponse struct {
// Indicates the request's value with the same key is valid and reachable by Cloudbreak or not
AmbariBaseURL *bool `json:"ambariBaseUrl,omitempty"`
// Indicates the request's value with the same key is valid and reachable by Cloudbreak or not
AmbariGpgKeyURL *bool `json:"ambariGpgKeyUrl,omitempty"`
// Indicates the request's value with the same key is valid and reachable by Cloudbreak or not
MpackURL *bool `json:"mpackUrl,omitempty"`
// Indicates the request's value with the same key is valid and reachable by Cloudbreak or not
StackBaseURL *bool `json:"stackBaseURL,omitempty"`
// Indicates the request's value with the same key is valid and reachable by Cloudbreak or not
UtilsBaseURL *bool `json:"utilsBaseURL,omitempty"`
// Indicates the request's value with the same key is valid and reachable by Cloudbreak or not
VersionDefinitionFileURL *bool `json:"versionDefinitionFileUrl,omitempty"`
}
func (*RepoConfigValidationResponse) MarshalBinary ¶
func (m *RepoConfigValidationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepoConfigValidationResponse) UnmarshalBinary ¶
func (m *RepoConfigValidationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCallDetails ¶
type RestCallDetails struct {
// duration
Duration int64 `json:"duration,omitempty"`
// rest request
RestRequest *RestRequestDetails `json:"restRequest,omitempty"`
// rest response
RestResponse *RestResponseDetails `json:"restResponse,omitempty"`
}
func (*RestCallDetails) MarshalBinary ¶
func (m *RestCallDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCallDetails) UnmarshalBinary ¶
func (m *RestCallDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRequestDetails ¶
type RestRequestDetails struct {
// body
Body string `json:"body,omitempty"`
// cookies
Cookies map[string]string `json:"cookies,omitempty"`
// headers
Headers map[string]string `json:"headers,omitempty"`
// media type
MediaType string `json:"mediaType,omitempty"`
// method
Method string `json:"method,omitempty"`
// request Uri
RequestURI string `json:"requestUri,omitempty"`
}
func (*RestRequestDetails) MarshalBinary ¶
func (m *RestRequestDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRequestDetails) UnmarshalBinary ¶
func (m *RestRequestDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestResponseDetails ¶
type RestResponseDetails struct {
// body
Body string `json:"body,omitempty"`
// cookies
Cookies map[string]string `json:"cookies,omitempty"`
// headers
Headers map[string]string `json:"headers,omitempty"`
// media type
MediaType string `json:"mediaType,omitempty"`
// status code
StatusCode int32 `json:"statusCode,omitempty"`
// status text
StatusText string `json:"statusText,omitempty"`
}
func (*RestResponseDetails) MarshalBinary ¶
func (m *RestResponseDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestResponseDetails) UnmarshalBinary ¶
func (m *RestResponseDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type S3CloudStorageParameters ¶
type S3CloudStorageParameters struct {
// instance profile
// Required: true
InstanceProfile *string `json:"instanceProfile"`
}
func (*S3CloudStorageParameters) MarshalBinary ¶
func (m *S3CloudStorageParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*S3CloudStorageParameters) UnmarshalBinary ¶
func (m *S3CloudStorageParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecurityGroupDetails ¶
type SecurityGroupDetails struct {
// description
Description string `json:"description,omitempty"`
// id
ID int64 `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// security group Id
SecurityGroupID string `json:"securityGroupId,omitempty"`
// security group ids
// Unique: true
SecurityGroupIds []string `json:"securityGroupIds"`
// security rules
SecurityRules []*SecurityRuleDetails `json:"securityRules"`
}
func (*SecurityGroupDetails) MarshalBinary ¶
func (m *SecurityGroupDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityGroupDetails) UnmarshalBinary ¶
func (m *SecurityGroupDetails) 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"`
// Exisiting security group ids
// Unique: true
SecurityGroupIds []string `json:"securityGroupIds"`
// 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 {
// 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"`
// Exisiting security group id
SecurityGroupID string `json:"securityGroupId,omitempty"`
// Exisiting security group ids
// Unique: true
SecurityGroupIds []string `json:"securityGroupIds"`
// list of security rules that relates to the security group
SecurityRules []*SecurityRuleResponse `json:"securityRules"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,omitempty"`
}
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"`
// Exisiting security group ids
// Unique: true
SecurityGroupIds []string `json:"securityGroupIds"`
// 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 SecurityRuleDetails ¶
type SecurityRuleDetails struct {
// cidr
Cidr string `json:"cidr,omitempty"`
// ports
Ports string `json:"ports,omitempty"`
// protocol
Protocol string `json:"protocol,omitempty"`
}
func (*SecurityRuleDetails) MarshalBinary ¶
func (m *SecurityRuleDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecurityRuleDetails) UnmarshalBinary ¶
func (m *SecurityRuleDetails) 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 SharedService ¶
type SharedService struct {
SharedCluster string `json:"sharedCluster,omitempty"`
}
func (*SharedService) MarshalBinary ¶
func (m *SharedService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SharedService) UnmarshalBinary ¶
func (m *SharedService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SharedServiceResponse ¶
type SharedServiceResponse struct {
// Unique: true
AttachedClusters []*AttachedClusterInfoResponse `json:"attachedClusters"`
SharedClusterID int64 `json:"sharedClusterId,omitempty"`
SharedClusterName string `json:"sharedClusterName,omitempty"`
}
func (*SharedServiceResponse) MarshalBinary ¶
func (m *SharedServiceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SharedServiceResponse) UnmarshalBinary ¶
func (m *SharedServiceResponse) 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 StackDescriptor ¶
type StackDescriptor struct {
// ambari
Ambari *AmbariInfoJSON `json:"ambari,omitempty"`
// min ambari
MinAmbari string `json:"minAmbari,omitempty"`
// mpacks
Mpacks map[string][]ManagementPackEntry `json:"mpacks,omitempty"`
// repo
Repo *StackRepoDetailsJSON `json:"repo,omitempty"`
// version
Version string `json:"version,omitempty"`
}
func (*StackDescriptor) MarshalBinary ¶
func (m *StackDescriptor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackDescriptor) UnmarshalBinary ¶
func (m *StackDescriptor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackDetails ¶
type StackDetails struct {
// ambari version
AmbariVersion string `json:"ambariVersion,omitempty"`
// availability zone
AvailabilityZone string `json:"availabilityZone,omitempty"`
// cloud platform
CloudPlatform string `json:"cloudPlatform,omitempty"`
// cloudbreak version
CloudbreakVersion string `json:"cloudbreakVersion,omitempty"`
// cluster type
ClusterType string `json:"clusterType,omitempty"`
// cluster version
ClusterVersion string `json:"clusterVersion,omitempty"`
// description
Description string `json:"description,omitempty"`
// detailed status
DetailedStatus string `json:"detailedStatus,omitempty"`
// existing network
ExistingNetwork *bool `json:"existingNetwork,omitempty"`
// existing subnet
ExistingSubnet *bool `json:"existingSubnet,omitempty"`
// id
ID int64 `json:"id,omitempty"`
// image identifier
ImageIdentifier string `json:"imageIdentifier,omitempty"`
// instance groups
InstanceGroups []*InstanceGroupDetails `json:"instanceGroups"`
// name
Name string `json:"name,omitempty"`
// platform variant
PlatformVariant string `json:"platformVariant,omitempty"`
// prewarmed image
PrewarmedImage *bool `json:"prewarmedImage,omitempty"`
// region
Region string `json:"region,omitempty"`
// status
Status string `json:"status,omitempty"`
// status reason
StatusReason string `json:"statusReason,omitempty"`
}
func (*StackDetails) MarshalBinary ¶
func (m *StackDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackDetails) UnmarshalBinary ¶
func (m *StackDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackDetailsJSON ¶
type StackDetailsJSON struct {
// mpacks
Mpacks map[string][]ManagementPackEntry `json:"mpacks,omitempty"`
// 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 StackImageChangeRequest ¶
type StackImageChangeRequest struct {
// custom image catalog URL
ImageCatalogName string `json:"imageCatalogName,omitempty"`
// virtual machine image id from ImageCatalog, machines of the cluster will be started from this image
// Required: true
// Max Length: 2147483647
// Min Length: 1
ImageID *string `json:"imageId"`
}
func (*StackImageChangeRequest) MarshalBinary ¶
func (m *StackImageChangeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackImageChangeRequest) UnmarshalBinary ¶
func (m *StackImageChangeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackMatrix ¶
type StackMatrix struct {
// hdf
Hdf map[string]StackDescriptor `json:"hdf,omitempty"`
// hdp
Hdp map[string]StackDescriptor `json:"hdp,omitempty"`
}
func (*StackMatrix) MarshalBinary ¶
func (m *StackMatrix) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackMatrix) UnmarshalBinary ¶
func (m *StackMatrix) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackRepoDetailsJSON ¶
type StackRepoDetailsJSON struct {
// 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"`
// Shared service request
ClusterToAttach int64 `json:"clusterToAttach,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"`
// Custom parameters as a json
CustomInputs map[string]interface{} `json:"customInputs,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"`
// os type of the image, this property is only considered when no specific image id is provided
Os string `json:"os,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"`
// Custom parameters as a json
CustomInputs map[string]interface{} `json:"customInputs,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
HardwareInfoGroups []*HardwareInfoGroupResponse `json:"hardwareInfoGroups"`
// 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"`
// workspace of the resource
Workspace *WorkspaceResourceResponse `json:"workspace,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"`
// cluster request object on stack
Cluster *ClusterV2Request `json:"cluster,omitempty"`
// settings related to custom domain names
CustomDomain *CustomDomainSettings `json:"customDomain,omitempty"`
// failure policy in case of failures
FailurePolicy *FailurePolicyRequest `json:"failurePolicy,omitempty"`
// id of the related flex subscription
FlexID int64 `json:"flexId,omitempty"`
// general configuration parameters for a cluster (e.g. 'name', 'credentialname')
// Required: true
General *GeneralSettings `json:"general"`
// specific version of HDP
HdpVersion string `json:"hdpVersion,omitempty"`
// settings for custom images
ImageSettings *ImageSettings `json:"imageSettings,omitempty"`
// dynamic properties
Inputs map[string]interface{} `json:"inputs,omitempty"`
// collection of instance groupst
// Required: true
InstanceGroups []*InstanceGroupsV2 `json:"instanceGroups"`
// stack related network
Network *NetworkV2Request `json:"network,omitempty"`
// additional cloud specific parameters for stack
Parameters map[string]interface{} `json:"parameters,omitempty"`
// placement configuration parameters for a cluster (e.g. 'region', 'availabilityZone')
Placement *PlacementSettings `json:"placement,omitempty"`
// cloud provider api variant
PlatformVariant string `json:"platformVariant,omitempty"`
// stack related authentication
StackAuthentication *StackAuthentication `json:"stackAuthentication,omitempty"`
// stack related tags
Tags *Tags `json:"tags,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 StorageLocationRequest ¶
type StorageLocationRequest struct {
// property file
// Required: true
PropertyFile *string `json:"propertyFile"`
// property name
// Required: true
PropertyName *string `json:"propertyName"`
// value
// Required: true
Value *string `json:"value"`
}
func (*StorageLocationRequest) MarshalBinary ¶
func (m *StorageLocationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageLocationRequest) UnmarshalBinary ¶
func (m *StorageLocationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StorageLocationResponse ¶
type StorageLocationResponse struct {
// property file
// Required: true
PropertyFile *string `json:"propertyFile"`
// property name
// Required: true
PropertyName *string `json:"propertyName"`
// value
// Required: true
Value *string `json:"value"`
}
func (*StorageLocationResponse) MarshalBinary ¶
func (m *StorageLocationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageLocationResponse) UnmarshalBinary ¶
func (m *StorageLocationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredEventContainer ¶
type StructuredEventContainer struct {
// flow
Flow []*StructuredFlowEvent `json:"flow"`
// notification
Notification []*StructuredNotificationEvent `json:"notification"`
// rest
Rest []*StructuredRestCallEvent `json:"rest"`
}
func (*StructuredEventContainer) MarshalBinary ¶
func (m *StructuredEventContainer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredEventContainer) UnmarshalBinary ¶
func (m *StructuredEventContainer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredFlowEvent ¶
type StructuredFlowEvent struct {
// blueprint
Blueprint *BlueprintDetails `json:"blueprint,omitempty"`
// cluster
Cluster *ClusterDetails `json:"cluster,omitempty"`
// duration
Duration int64 `json:"duration,omitempty"`
// exception
Exception string `json:"exception,omitempty"`
// flow
Flow *FlowDetails `json:"flow,omitempty"`
// operation
Operation *OperationDetails `json:"operation,omitempty"`
// stack
Stack *StackDetails `json:"stack,omitempty"`
// status
Status string `json:"status,omitempty"`
// type
Type string `json:"type,omitempty"`
}
func (*StructuredFlowEvent) MarshalBinary ¶
func (m *StructuredFlowEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredFlowEvent) UnmarshalBinary ¶
func (m *StructuredFlowEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredNotificationEvent ¶
type StructuredNotificationEvent struct {
// duration
Duration int64 `json:"duration,omitempty"`
// notification details
NotificationDetails *NotificationDetails `json:"notificationDetails,omitempty"`
// operation
Operation *OperationDetails `json:"operation,omitempty"`
// status
Status string `json:"status,omitempty"`
// type
Type string `json:"type,omitempty"`
}
func (*StructuredNotificationEvent) MarshalBinary ¶
func (m *StructuredNotificationEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredNotificationEvent) UnmarshalBinary ¶
func (m *StructuredNotificationEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredParameterQueriesResponse ¶
type StructuredParameterQueriesResponse struct {
// Entries parameters as a json
// Required: true
Entries []*StructuredParameterQueryResponse `json:"entries"`
}
func (*StructuredParameterQueriesResponse) MarshalBinary ¶
func (m *StructuredParameterQueriesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredParameterQueriesResponse) UnmarshalBinary ¶
func (m *StructuredParameterQueriesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredParameterQueryResponse ¶
type StructuredParameterQueryResponse struct {
// default path
DefaultPath string `json:"defaultPath,omitempty"`
// description
Description string `json:"description,omitempty"`
// property display name
PropertyDisplayName string `json:"propertyDisplayName,omitempty"`
// property file
PropertyFile string `json:"propertyFile,omitempty"`
// property name
PropertyName string `json:"propertyName,omitempty"`
// protocol
Protocol string `json:"protocol,omitempty"`
// related service
RelatedService string `json:"relatedService,omitempty"`
}
func (*StructuredParameterQueryResponse) MarshalBinary ¶
func (m *StructuredParameterQueryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredParameterQueryResponse) UnmarshalBinary ¶
func (m *StructuredParameterQueryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredParametersQueryRequest ¶
type StructuredParametersQueryRequest struct {
// Account name of the path
AccountName string `json:"accountName,omitempty"`
// Attached cluster
// Required: true
AttachedCluster bool `json:"attachedCluster"`
// gathered from blueprintName field from the blueprint JSON
// Required: true
BlueprintName *string `json:"blueprintName"`
// name of the stack
// Required: true
ClusterName *string `json:"clusterName"`
// Type of filesystem
// Required: true
FileSystemType *string `json:"fileSystemType"`
// Storage name of the path
// Required: true
StorageName *string `json:"storageName"`
}
func (*StructuredParametersQueryRequest) MarshalBinary ¶
func (m *StructuredParametersQueryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredParametersQueryRequest) UnmarshalBinary ¶
func (m *StructuredParametersQueryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StructuredRestCallEvent ¶
type StructuredRestCallEvent struct {
// duration
Duration int64 `json:"duration,omitempty"`
// operation
Operation *OperationDetails `json:"operation,omitempty"`
// rest call
RestCall *RestCallDetails `json:"restCall,omitempty"`
// status
Status string `json:"status,omitempty"`
// type
Type string `json:"type,omitempty"`
}
func (*StructuredRestCallEvent) MarshalBinary ¶
func (m *StructuredRestCallEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StructuredRestCallEvent) UnmarshalBinary ¶
func (m *StructuredRestCallEvent) 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 SupportedDatabaseEntryResponse ¶
type SupportedDatabaseEntryResponse struct {
// Name of the database
DatabaseName string `json:"databaseName,omitempty"`
// Display name of the database
DisplayName string `json:"displayName,omitempty"`
// Jdbc prefix of the database
JdbcPrefix string `json:"jdbcPrefix,omitempty"`
// Supported version types currently only for Oracle
// Unique: true
Versions []string `json:"versions"`
}
func (*SupportedDatabaseEntryResponse) MarshalBinary ¶
func (m *SupportedDatabaseEntryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SupportedDatabaseEntryResponse) UnmarshalBinary ¶
func (m *SupportedDatabaseEntryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupportedExternalDatabaseServiceEntryResponse ¶
type SupportedExternalDatabaseServiceEntryResponse struct {
// Supported database list
// Unique: true
Databases []*SupportedDatabaseEntryResponse `json:"databases"`
// Display name of the service
DisplayName string `json:"displayName,omitempty"`
// Name of the service
Name string `json:"name,omitempty"`
}
func (*SupportedExternalDatabaseServiceEntryResponse) MarshalBinary ¶
func (m *SupportedExternalDatabaseServiceEntryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SupportedExternalDatabaseServiceEntryResponse) UnmarshalBinary ¶
func (m *SupportedExternalDatabaseServiceEntryResponse) 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 Tags ¶
type Tags struct {
// stack related application tags
ApplicationTags map[string]string `json:"applicationTags,omitempty"`
// stack related default tags
DefaultTags map[string]string `json:"defaultTags,omitempty"`
// stack related userdefined tags
UserDefinedTags map[string]string `json:"userDefinedTags,omitempty"`
}
func (*Tags) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tags) UnmarshalBinary ¶
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"`
// size of the root volume
RootVolumeSize int32 `json:"rootVolumeSize,omitempty"`
// cloud specific secret parameters for template
SecretParameters map[string]interface{} `json:"secretParameters,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 {
// aws specific parameters for template
AwsParameters *AwsParameters `json:"awsParameters,omitempty"`
// azure specific parameters for template
AzureParameters *AzureParameters `json:"azureParameters,omitempty"`
// 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"`
// gcp specific parameters for template
GcpParameters *GcpParameters `json:"gcpParameters,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"`
// openstack specific parameters for template
OpenStackParameters OpenStackParameters `json:"openStackParameters,omitempty"`
// cloud specific parameters for template
Parameters map[string]interface{} `json:"parameters,omitempty"`
// resource is visible in account
Public *bool `json:"public,omitempty"`
// size of the root volume
RootVolumeSize int32 `json:"rootVolumeSize,omitempty"`
// cloud specific secret parameters for template
SecretParameters map[string]interface{} `json:"secretParameters,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"`
// yarn specific parameters for template
YarnParameters YarnParameters `json:"yarnParameters,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 {
// aws specific parameters for template
AwsParameters *AwsParameters `json:"awsParameters,omitempty"`
// azure specific parameters for template
AzureParameters *AzureParameters `json:"azureParameters,omitempty"`
// custom instancetype definition
CustomInstanceType *CustomInstanceType `json:"customInstanceType,omitempty"`
// gcp specific parameters for template
GcpParameters *GcpParameters `json:"gcpParameters,omitempty"`
// type of the instance
InstanceType string `json:"instanceType,omitempty"`
// openstack specific parameters for template
OpenStackParameters OpenStackParameters `json:"openStackParameters,omitempty"`
// cloud specific parameters for template
Parameters map[string]interface{} `json:"parameters,omitempty"`
// size of the root volume
RootVolumeSize int32 `json:"rootVolumeSize,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"`
// yarn specific parameters for template
YarnParameters YarnParameters `json:"yarnParameters,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 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"`
// blueprint validation
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 UpdateGatewayTopologiesJSON ¶
type UpdateGatewayTopologiesJSON struct {
// topologies
Topologies []*GatewayTopologyJSON `json:"topologies"`
}
func (*UpdateGatewayTopologiesJSON) MarshalBinary ¶
func (m *UpdateGatewayTopologiesJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGatewayTopologiesJSON) UnmarshalBinary ¶
func (m *UpdateGatewayTopologiesJSON) 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
// Pattern: ^http[s]?://.*
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 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"`
// image catalog name
ImageCatalogName string `json:"imageCatalogName,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"`
// image catalog
ImageCatalog *ImageCatalogShortResponse `json:"imageCatalog,omitempty"`
// owner
Owner string `json:"owner,omitempty"`
// ui properties
UIProperties map[string]interface{} `json:"uiProperties,omitempty"`
// username
Username string `json:"username,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 UserResponseJSON ¶
type UserResponseJSON struct {
// id
ID int64 `json:"id,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
// username
Username string `json:"username,omitempty"`
}
func (*UserResponseJSON) MarshalBinary ¶
func (m *UserResponseJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserResponseJSON) UnmarshalBinary ¶
func (m *UserResponseJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserWorkspacePermissionsJSON ¶
type UserWorkspacePermissionsJSON struct {
// permissions
// Unique: true
Permissions []string `json:"permissions"`
// user Id
UserID string `json:"userId,omitempty"`
// user name
UserName string `json:"userName,omitempty"`
}
func (*UserWorkspacePermissionsJSON) MarshalBinary ¶
func (m *UserWorkspacePermissionsJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserWorkspacePermissionsJSON) UnmarshalBinary ¶
func (m *UserWorkspacePermissionsJSON) 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]interface{} `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 VersionCheckResult ¶
type VersionCheckResult struct {
// message
Message string `json:"message,omitempty"`
// version check ok
VersionCheckOk *bool `json:"versionCheckOk,omitempty"`
}
func (*VersionCheckResult) MarshalBinary ¶
func (m *VersionCheckResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionCheckResult) UnmarshalBinary ¶
func (m *VersionCheckResult) 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
type WasbCloudStorageParameters ¶
type WasbCloudStorageParameters struct {
// account key
// Required: true
AccountKey *string `json:"accountKey"`
// account name
// Required: true
AccountName *string `json:"accountName"`
// secure
Secure *bool `json:"secure,omitempty"`
}
func (*WasbCloudStorageParameters) MarshalBinary ¶
func (m *WasbCloudStorageParameters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WasbCloudStorageParameters) UnmarshalBinary ¶
func (m *WasbCloudStorageParameters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WorkspaceRequest ¶
type WorkspaceRequest struct {
// description of the resource
// Max Length: 1000
// Min Length: 0
Description *string `json:"description,omitempty"`
// name of the resource
// Max Length: 100
// Min Length: 5
// Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$)
Name string `json:"name,omitempty"`
}
func (*WorkspaceRequest) MarshalBinary ¶
func (m *WorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkspaceRequest) UnmarshalBinary ¶
func (m *WorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WorkspaceResourceResponse ¶
type WorkspaceResourceResponse struct {
// id of the workspace
ID int64 `json:"id,omitempty"`
// name of the workspace
Name string `json:"name,omitempty"`
}
func (*WorkspaceResourceResponse) MarshalBinary ¶
func (m *WorkspaceResourceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkspaceResourceResponse) UnmarshalBinary ¶
func (m *WorkspaceResourceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WorkspaceResponse ¶
type WorkspaceResponse struct {
// 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: 5
// Pattern: (^[a-z][-a-z0-9]*[a-z0-9]$)
Name string `json:"name,omitempty"`
// status
Status string `json:"status,omitempty"`
// users
// Unique: true
Users []*UserWorkspacePermissionsJSON `json:"users"`
}
func (*WorkspaceResponse) MarshalBinary ¶
func (m *WorkspaceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkspaceResponse) UnmarshalBinary ¶
func (m *WorkspaceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type YarnParameters ¶
type YarnParameters interface{}
Source Files
¶
- access_config_json.go
- account_preferences_request.go
- account_preferences_response.go
- adls_cloud_storage_parameters.go
- ambari_address.go
- ambari_database_details.go
- ambari_database_test_result.go
- ambari_info_json.go
- ambari_repo_details.go
- ambari_stack_details.go
- ambari_stack_details_response.go
- ambari_v2_request.go
- attached_cluster_info_response.go
- audit_event.go
- autoscale_cluster_response.go
- autoscale_stack_response.go
- aws_encryption.go
- aws_parameters.go
- azure_parameters.go
- base_image_response.go
- blueprint_details.go
- blueprint_input.go
- blueprint_parameter.go
- blueprint_request.go
- blueprint_response.go
- certificate_response.go
- change_workspace_users_json.go
- cloud_gateway_json.go
- cloud_storage_request.go
- cloud_storage_supported_response.go
- cloudbreak_details_json.go
- cloudbreak_event.go
- cloudbreak_flex_usage.go
- cloudbreak_usage.go
- cluster_details.go
- cluster_exposed_service_response.go
- cluster_repair_request.go
- cluster_request.go
- cluster_response.go
- cluster_v2_request.go
- configs_request.go
- configs_response.go
- connected_cluster_request.go
- constraint.go
- credential_request.go
- credential_response.go
- credential_source_request.go
- custom_container_request.go
- custom_container_response.go
- custom_domain_settings.go
- custom_instance_type.go
- disk_response.go
- encryption_key_config_json.go
- exposed_service_response.go
- failure_policy_request.go
- failure_policy_response.go
- failure_report.go
- file_system.go
- file_system_response.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
- flow_details.go
- gateway_json.go
- gateway_topology_json.go
- gcp_encryption.go
- gcp_parameters.go
- gcs_cloud_storage_parameters.go
- general_settings.go
- generated_blueprint_response.go
- hardware_info_group_response.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_catalog_short_response.go
- image_json.go
- image_response.go
- image_settings.go
- images_response.go
- instance_group_adjustment.go
- instance_group_details.go
- instance_group_response.go
- instance_groups.go
- instance_groups_v2.go
- instance_meta_data.go
- ip_pool_json.go
- kerberos_request.go
- kerberos_response.go
- l_d_a_p_test_request.go
- ldap_config_request.go
- ldap_config_response.go
- ldap_test_result.go
- ldap_validation_request.go
- management_pack_details.go
- management_pack_entry.go
- management_pack_request.go
- management_pack_response.go
- network_request.go
- network_response.go
- network_v2_request.go
- notification_details.go
- open_stack_parameters.go
- operation_details.go
- oracle.go
- orchestrator_request.go
- orchestrator_response.go
- parameters_query_request.go
- parameters_query_response.go
- placement_settings.go
- platform_access_configs_response.go
- platform_disks_json.go
- platform_encryption_keys_response.go
- platform_gateways_response.go
- platform_ip_pools_response.go
- platform_network_response.go
- platform_networks_response.go
- platform_orchestrators_json.go
- platform_regions_json.go
- platform_resource_request_json.go
- platform_security_group_response.go
- platform_security_groups_response.go
- platform_ssh_key_response.go
- platform_ssh_keys_response.go
- platform_variants_json.go
- platform_vmtypes_response.go
- proxy_config_request.go
- proxy_config_response.go
- r_d_s_build_request.go
- r_d_s_config_response.go
- rds_build_result.go
- rds_config.go
- rds_test_request.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
- repo_config_validation_request.go
- repo_config_validation_response.go
- rest_call_details.go
- rest_request_details.go
- rest_response_details.go
- s3_cloud_storage_parameters.go
- security_group_details.go
- security_group_request.go
- security_group_response.go
- security_group_v2_request.go
- security_rule_details.go
- security_rule_request.go
- security_rule_response.go
- security_rules_response.go
- shared_service.go
- shared_service_response.go
- smart_sense_subscription_json.go
- special_parameters_json.go
- stack_authentication.go
- stack_authentication_response.go
- stack_descriptor.go
- stack_details.go
- stack_details_json.go
- stack_image_change_request.go
- stack_matrix.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
- storage_location_request.go
- storage_location_response.go
- structured_event_container.go
- structured_flow_event.go
- structured_notification_event.go
- structured_parameter_queries_response.go
- structured_parameter_query_response.go
- structured_parameters_query_request.go
- structured_rest_call_event.go
- subscription_request.go
- supported_database_entry_response.go
- supported_external_database_service_entry_response.go
- tag_specifications_json.go
- tags.go
- template_request.go
- template_response.go
- template_v2_request.go
- update_cluster.go
- update_gateway_topologies_json.go
- update_image_catalog_request.go
- update_stack.go
- user.go
- user_name_password.go
- user_profile_request.go
- user_profile_response.go
- user_response_json.go
- user_workspace_permissions_json.go
- version_check_result.go
- virtual_machines_response.go
- vm_type_json.go
- vm_type_meta_json.go
- volume_parameter_config_json.go
- wasb_cloud_storage_parameters.go
- workspace_request.go
- workspace_resource_response.go
- workspace_response.go
- yarn_parameters.go