models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 5

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// BlockDeviceStatusDETACHED captures enum value "DETACHED"
	BlockDeviceStatusDETACHED string = "DETACHED"

	// BlockDeviceStatusATTACHED captures enum value "ATTACHED"
	BlockDeviceStatusATTACHED string = "ATTACHED"

	// BlockDeviceStatusAVAILABLE captures enum value "AVAILABLE"
	BlockDeviceStatusAVAILABLE string = "AVAILABLE"
)
View Source
const (

	// BlockDeviceTypeSSD captures enum value "SSD"
	BlockDeviceTypeSSD string = "SSD"

	// BlockDeviceTypeHDD captures enum value "HDD"
	BlockDeviceTypeHDD string = "HDD"

	// BlockDeviceTypeCDROM captures enum value "CDROM"
	BlockDeviceTypeCDROM string = "CDROM"

	// BlockDeviceTypeFLOPPY captures enum value "FLOPPY"
	BlockDeviceTypeFLOPPY string = "FLOPPY"
)
View Source
const (

	// BlueprintContentSourceSyncStatusSUCCESSFUL captures enum value "SUCCESSFUL"
	BlueprintContentSourceSyncStatusSUCCESSFUL string = "SUCCESSFUL"

	// BlueprintContentSourceSyncStatusFAILED captures enum value "FAILED"
	BlueprintContentSourceSyncStatusFAILED string = "FAILED"
)
View Source
const (

	// BlueprintStatusDRAFT captures enum value "DRAFT"
	BlueprintStatusDRAFT string = "DRAFT"

	// BlueprintStatusVERSIONED captures enum value "VERSIONED"
	BlueprintStatusVERSIONED string = "VERSIONED"

	// BlueprintStatusRELEASED captures enum value "RELEASED"
	BlueprintStatusRELEASED string = "RELEASED"
)
View Source
const (

	// BlueprintPlanResourceResourceReasonCREATE captures enum value "CREATE"
	BlueprintPlanResourceResourceReasonCREATE string = "CREATE"

	// BlueprintPlanResourceResourceReasonRECREATE captures enum value "RECREATE"
	BlueprintPlanResourceResourceReasonRECREATE string = "RECREATE"

	// BlueprintPlanResourceResourceReasonUPDATE captures enum value "UPDATE"
	BlueprintPlanResourceResourceReasonUPDATE string = "UPDATE"

	// BlueprintPlanResourceResourceReasonDELETE captures enum value "DELETE"
	BlueprintPlanResourceResourceReasonDELETE string = "DELETE"

	// BlueprintPlanResourceResourceReasonACTION captures enum value "ACTION"
	BlueprintPlanResourceResourceReasonACTION string = "ACTION"

	// BlueprintPlanResourceResourceReasonREAD captures enum value "READ"
	BlueprintPlanResourceResourceReasonREAD string = "READ"
)
View Source
const (

	// BlueprintPlanTaskResourceReasonCREATE captures enum value "CREATE"
	BlueprintPlanTaskResourceReasonCREATE string = "CREATE"

	// BlueprintPlanTaskResourceReasonRECREATE captures enum value "RECREATE"
	BlueprintPlanTaskResourceReasonRECREATE string = "RECREATE"

	// BlueprintPlanTaskResourceReasonUPDATE captures enum value "UPDATE"
	BlueprintPlanTaskResourceReasonUPDATE string = "UPDATE"

	// BlueprintPlanTaskResourceReasonDELETE captures enum value "DELETE"
	BlueprintPlanTaskResourceReasonDELETE string = "DELETE"

	// BlueprintPlanTaskResourceReasonACTION captures enum value "ACTION"
	BlueprintPlanTaskResourceReasonACTION string = "ACTION"

	// BlueprintPlanTaskResourceReasonREAD captures enum value "READ"
	BlueprintPlanTaskResourceReasonREAD string = "READ"
)
View Source
const (

	// BlueprintRequestStatusCREATED captures enum value "CREATED"
	BlueprintRequestStatusCREATED string = "CREATED"

	// BlueprintRequestStatusSTARTED captures enum value "STARTED"
	BlueprintRequestStatusSTARTED string = "STARTED"

	// BlueprintRequestStatusFINISHED captures enum value "FINISHED"
	BlueprintRequestStatusFINISHED string = "FINISHED"

	// BlueprintRequestStatusFAILED captures enum value "FAILED"
	BlueprintRequestStatusFAILED string = "FAILED"

	// BlueprintRequestStatusCANCELLED captures enum value "CANCELLED"
	BlueprintRequestStatusCANCELLED string = "CANCELLED"
)
View Source
const (

	// BlueprintValidationMessageTypeINFO captures enum value "INFO"
	BlueprintValidationMessageTypeINFO string = "INFO"

	// BlueprintValidationMessageTypeWARNING captures enum value "WARNING"
	BlueprintValidationMessageTypeWARNING string = "WARNING"

	// BlueprintValidationMessageTypeERROR captures enum value "ERROR"
	BlueprintValidationMessageTypeERROR string = "ERROR"
)
View Source
const (

	// BlueprintVersionStatusDRAFT captures enum value "DRAFT"
	BlueprintVersionStatusDRAFT string = "DRAFT"

	// BlueprintVersionStatusVERSIONED captures enum value "VERSIONED"
	BlueprintVersionStatusVERSIONED string = "VERSIONED"

	// BlueprintVersionStatusRELEASED captures enum value "RELEASED"
	BlueprintVersionStatusRELEASED string = "RELEASED"
)
View Source
const (

	// CatalogItemResourceUpfrontPriceResponseStatusSUCCESS captures enum value "SUCCESS"
	CatalogItemResourceUpfrontPriceResponseStatusSUCCESS string = "SUCCESS"

	// CatalogItemResourceUpfrontPriceResponseStatusERROR captures enum value "ERROR"
	CatalogItemResourceUpfrontPriceResponseStatusERROR string = "ERROR"

	// CatalogItemResourceUpfrontPriceResponseStatusDATANOTAVAILABLE captures enum value "DATA_NOT_AVAILABLE"
	CatalogItemResourceUpfrontPriceResponseStatusDATANOTAVAILABLE string = "DATA_NOT_AVAILABLE"

	// CatalogItemResourceUpfrontPriceResponseStatusCURRENCYNOTSET captures enum value "CURRENCY_NOT_SET"
	CatalogItemResourceUpfrontPriceResponseStatusCURRENCYNOTSET string = "CURRENCY_NOT_SET"
)
View Source
const (

	// CatalogItemUpfrontPriceResponseStatusSTARTED captures enum value "STARTED"
	CatalogItemUpfrontPriceResponseStatusSTARTED string = "STARTED"

	// CatalogItemUpfrontPriceResponseStatusPREPARINGCOSTESTIMATION captures enum value "PREPARING_COST_ESTIMATION"
	CatalogItemUpfrontPriceResponseStatusPREPARINGCOSTESTIMATION string = "PREPARING_COST_ESTIMATION"

	// CatalogItemUpfrontPriceResponseStatusINPROGRESS captures enum value "IN_PROGRESS"
	CatalogItemUpfrontPriceResponseStatusINPROGRESS string = "IN_PROGRESS"

	// CatalogItemUpfrontPriceResponseStatusSUCCESS captures enum value "SUCCESS"
	CatalogItemUpfrontPriceResponseStatusSUCCESS string = "SUCCESS"

	// CatalogItemUpfrontPriceResponseStatusERROR captures enum value "ERROR"
	CatalogItemUpfrontPriceResponseStatusERROR string = "ERROR"

	// CatalogItemUpfrontPriceResponseStatusDATANOTAVAILABLE captures enum value "DATA_NOT_AVAILABLE"
	CatalogItemUpfrontPriceResponseStatusDATANOTAVAILABLE string = "DATA_NOT_AVAILABLE"

	// CatalogItemUpfrontPriceResponseStatusCURRENCYNOTSET captures enum value "CURRENCY_NOT_SET"
	CatalogItemUpfrontPriceResponseStatusCURRENCYNOTSET string = "CURRENCY_NOT_SET"

	// CatalogItemUpfrontPriceResponseStatusPUBLICCLOUDNOTSUPPORTED captures enum value "PUBLIC_CLOUD_NOT_SUPPORTED"
	CatalogItemUpfrontPriceResponseStatusPUBLICCLOUDNOTSUPPORTED string = "PUBLIC_CLOUD_NOT_SUPPORTED"
)
View Source
const (

	// ConditionEnforcementHARD captures enum value "HARD"
	ConditionEnforcementHARD string = "HARD"

	// ConditionEnforcementSOFT captures enum value "SOFT"
	ConditionEnforcementSOFT string = "SOFT"
)
View Source
const (

	// ConditionOccurrenceMUSTOCCUR captures enum value "MUST_OCCUR"
	ConditionOccurrenceMUSTOCCUR string = "MUST_OCCUR"

	// ConditionOccurrenceMUSTNOTOCCUR captures enum value "MUST_NOT_OCCUR"
	ConditionOccurrenceMUSTNOTOCCUR string = "MUST_NOT_OCCUR"
)
View Source
const (

	// ContentSourceTypeIDComDotGithub captures enum value "com.github"
	ContentSourceTypeIDComDotGithub string = "com.github"

	// ContentSourceTypeIDComDotGitlab captures enum value "com.gitlab"
	ContentSourceTypeIDComDotGitlab string = "com.gitlab"

	// ContentSourceTypeIDOrgDotBitbucket captures enum value "org.bitbucket"
	ContentSourceTypeIDOrgDotBitbucket string = "org.bitbucket"

	// ContentSourceTypeIDComDotVmwareDotMarketplace captures enum value "com.vmware.marketplace"
	ContentSourceTypeIDComDotVmwareDotMarketplace string = "com.vmware.marketplace"
)
View Source
const (

	// DeploymentStatusCREATESUCCESSFUL captures enum value "CREATE_SUCCESSFUL"
	DeploymentStatusCREATESUCCESSFUL string = "CREATE_SUCCESSFUL"

	// DeploymentStatusCREATEINPROGRESS captures enum value "CREATE_INPROGRESS"
	DeploymentStatusCREATEINPROGRESS string = "CREATE_INPROGRESS"

	// DeploymentStatusCREATEFAILED captures enum value "CREATE_FAILED"
	DeploymentStatusCREATEFAILED string = "CREATE_FAILED"

	// DeploymentStatusUPDATESUCCESSFUL captures enum value "UPDATE_SUCCESSFUL"
	DeploymentStatusUPDATESUCCESSFUL string = "UPDATE_SUCCESSFUL"

	// DeploymentStatusUPDATEINPROGRESS captures enum value "UPDATE_INPROGRESS"
	DeploymentStatusUPDATEINPROGRESS string = "UPDATE_INPROGRESS"

	// DeploymentStatusUPDATEFAILED captures enum value "UPDATE_FAILED"
	DeploymentStatusUPDATEFAILED string = "UPDATE_FAILED"

	// DeploymentStatusDELETESUCCESSFUL captures enum value "DELETE_SUCCESSFUL"
	DeploymentStatusDELETESUCCESSFUL string = "DELETE_SUCCESSFUL"

	// DeploymentStatusDELETEINPROGRESS captures enum value "DELETE_INPROGRESS"
	DeploymentStatusDELETEINPROGRESS string = "DELETE_INPROGRESS"

	// DeploymentStatusDELETEFAILED captures enum value "DELETE_FAILED"
	DeploymentStatusDELETEFAILED string = "DELETE_FAILED"
)
View Source
const (

	// DeploymentExpenseHistoryIntervalDaily captures enum value "daily"
	DeploymentExpenseHistoryIntervalDaily string = "daily"

	// DeploymentExpenseHistoryIntervalWeekly captures enum value "weekly"
	DeploymentExpenseHistoryIntervalWeekly string = "weekly"

	// DeploymentExpenseHistoryIntervalMonthly captures enum value "monthly"
	DeploymentExpenseHistoryIntervalMonthly string = "monthly"
)
View Source
const (

	// DeploymentFilterTypeMULTISELECT captures enum value "MULTISELECT"
	DeploymentFilterTypeMULTISELECT string = "MULTISELECT"

	// DeploymentFilterTypeDATERANGE captures enum value "DATE_RANGE"
	DeploymentFilterTypeDATERANGE string = "DATE_RANGE"

	// DeploymentFilterTypeBOOLEAN captures enum value "BOOLEAN"
	DeploymentFilterTypeBOOLEAN string = "BOOLEAN"
)
View Source
const (

	// DeploymentResourceOriginONBOARDED captures enum value "ONBOARDED"
	DeploymentResourceOriginONBOARDED string = "ONBOARDED"

	// DeploymentResourceOriginMIGRATED captures enum value "MIGRATED"
	DeploymentResourceOriginMIGRATED string = "MIGRATED"
)
View Source
const (

	// DeploymentResourceStatePARTIAL captures enum value "PARTIAL"
	DeploymentResourceStatePARTIAL string = "PARTIAL"

	// DeploymentResourceStateTAINTED captures enum value "TAINTED"
	DeploymentResourceStateTAINTED string = "TAINTED"

	// DeploymentResourceStateOK captures enum value "OK"
	DeploymentResourceStateOK string = "OK"
)
View Source
const (

	// DeploymentResourceSyncStatusSUCCESS captures enum value "SUCCESS"
	DeploymentResourceSyncStatusSUCCESS string = "SUCCESS"

	// DeploymentResourceSyncStatusMISSING captures enum value "MISSING"
	DeploymentResourceSyncStatusMISSING string = "MISSING"

	// DeploymentResourceSyncStatusSTALE captures enum value "STALE"
	DeploymentResourceSyncStatusSTALE string = "STALE"
)
View Source
const (

	// DeploymentResourceTypeAccountTypeAWS captures enum value "AWS"
	DeploymentResourceTypeAccountTypeAWS string = "AWS"

	// DeploymentResourceTypeAccountTypeAzure captures enum value "Azure"
	DeploymentResourceTypeAccountTypeAzure string = "Azure"

	// DeploymentResourceTypeAccountTypeGCP captures enum value "GCP"
	DeploymentResourceTypeAccountTypeGCP string = "GCP"

	// DeploymentResourceTypeAccountTypeVSphere captures enum value "vSphere"
	DeploymentResourceTypeAccountTypeVSphere string = "vSphere"

	// DeploymentResourceTypeAccountTypeVSphereDashCloud captures enum value "vSphere-cloud"
	DeploymentResourceTypeAccountTypeVSphereDashCloud string = "vSphere-cloud"

	// DeploymentResourceTypeAccountTypeAzureDashEA captures enum value "Azure-EA"
	DeploymentResourceTypeAccountTypeAzureDashEA string = "Azure-EA"

	// DeploymentResourceTypeAccountTypeNSXDashV captures enum value "NSX-V"
	DeploymentResourceTypeAccountTypeNSXDashV string = "NSX-V"

	// DeploymentResourceTypeAccountTypeNSXDashT captures enum value "NSX-T"
	DeploymentResourceTypeAccountTypeNSXDashT string = "NSX-T"

	// DeploymentResourceTypeAccountTypeNSXDashP captures enum value "NSX-P"
	DeploymentResourceTypeAccountTypeNSXDashP string = "NSX-P"

	// DeploymentResourceTypeAccountTypeNSXDashPDashCloud captures enum value "NSX-P-cloud"
	DeploymentResourceTypeAccountTypeNSXDashPDashCloud string = "NSX-P-cloud"

	// DeploymentResourceTypeAccountTypeVCloudDirector captures enum value "vCloud Director"
	DeploymentResourceTypeAccountTypeVCloudDirector string = "vCloud Director"

	// DeploymentResourceTypeAccountTypeVMC captures enum value "VMC"
	DeploymentResourceTypeAccountTypeVMC string = "VMC"

	// DeploymentResourceTypeAccountTypePuppet captures enum value "Puppet"
	DeploymentResourceTypeAccountTypePuppet string = "Puppet"

	// DeploymentResourceTypeAccountTypeAnsible captures enum value "Ansible"
	DeploymentResourceTypeAccountTypeAnsible string = "Ansible"
)
View Source
const (

	// EmailEventConfigEventSUCCESS captures enum value "SUCCESS"
	EmailEventConfigEventSUCCESS string = "SUCCESS"

	// EmailEventConfigEventFAILURE captures enum value "FAILURE"
	EmailEventConfigEventFAILURE string = "FAILURE"

	// EmailEventConfigEventWAITING captures enum value "WAITING"
	EmailEventConfigEventWAITING string = "WAITING"

	// EmailEventConfigEventCANCELED captures enum value "CANCELED"
	EmailEventConfigEventCANCELED string = "CANCELED"

	// EmailEventConfigEventSTARTED captures enum value "STARTED"
	EmailEventConfigEventSTARTED string = "STARTED"
)
View Source
const (

	// ExecutionStatusNOTSTARTED captures enum value "NOT_STARTED"
	ExecutionStatusNOTSTARTED string = "NOT_STARTED"

	// ExecutionStatusSTARTED captures enum value "STARTED"
	ExecutionStatusSTARTED string = "STARTED"

	// ExecutionStatusRUNNING captures enum value "RUNNING"
	ExecutionStatusRUNNING string = "RUNNING"

	// ExecutionStatusCANCELING captures enum value "CANCELING"
	ExecutionStatusCANCELING string = "CANCELING"

	// ExecutionStatusWAITING captures enum value "WAITING"
	ExecutionStatusWAITING string = "WAITING"

	// ExecutionStatusRESUMING captures enum value "RESUMING"
	ExecutionStatusRESUMING string = "RESUMING"

	// ExecutionStatusPAUSING captures enum value "PAUSING"
	ExecutionStatusPAUSING string = "PAUSING"

	// ExecutionStatusPAUSED captures enum value "PAUSED"
	ExecutionStatusPAUSED string = "PAUSED"

	// ExecutionStatusCANCELED captures enum value "CANCELED"
	ExecutionStatusCANCELED string = "CANCELED"

	// ExecutionStatusCOMPLETED captures enum value "COMPLETED"
	ExecutionStatusCOMPLETED string = "COMPLETED"

	// ExecutionStatusFAILED captures enum value "FAILED"
	ExecutionStatusFAILED string = "FAILED"

	// ExecutionStatusSKIPPED captures enum value "SKIPPED"
	ExecutionStatusSKIPPED string = "SKIPPED"

	// ExecutionStatusQUEUED captures enum value "QUEUED"
	ExecutionStatusQUEUED string = "QUEUED"

	// ExecutionStatusFAILEDCONTINUE captures enum value "FAILED_CONTINUE"
	ExecutionStatusFAILEDCONTINUE string = "FAILED_CONTINUE"

	// ExecutionStatusROLLINGBACK captures enum value "ROLLING_BACK"
	ExecutionStatusROLLINGBACK string = "ROLLING_BACK"

	// ExecutionStatusROLLBACKFAILED captures enum value "ROLLBACK_FAILED"
	ExecutionStatusROLLBACKFAILED string = "ROLLBACK_FAILED"

	// ExecutionStatusPREPARINGWORKSPACE captures enum value "PREPARING_WORKSPACE"
	ExecutionStatusPREPARINGWORKSPACE string = "PREPARING_WORKSPACE"

	// ExecutionStatusROLLBACKCOMPLETED captures enum value "ROLLBACK_COMPLETED"
	ExecutionStatusROLLBACKCOMPLETED string = "ROLLBACK_COMPLETED"
)
View Source
const (

	// ExternalNetworkIPRangeIPVersionIPV4 captures enum value "IPv4"
	ExternalNetworkIPRangeIPVersionIPV4 string = "IPv4"

	// ExternalNetworkIPRangeIPVersionIPV6 captures enum value "IPv6"
	ExternalNetworkIPRangeIPVersionIPV6 string = "IPv6"
)
View Source
const (

	// FixedPriceChargePeriodHOURLY captures enum value "HOURLY"
	FixedPriceChargePeriodHOURLY string = "HOURLY"

	// FixedPriceChargePeriodDAILY captures enum value "DAILY"
	FixedPriceChargePeriodDAILY string = "DAILY"

	// FixedPriceChargePeriodWEEKLY captures enum value "WEEKLY"
	FixedPriceChargePeriodWEEKLY string = "WEEKLY"

	// FixedPriceChargePeriodMONTHLY captures enum value "MONTHLY"
	FixedPriceChargePeriodMONTHLY string = "MONTHLY"
)
View Source
const (

	// GerritTriggerFileFilterTypeREGEX captures enum value "REGEX"
	GerritTriggerFileFilterTypeREGEX string = "REGEX"

	// GerritTriggerFileFilterTypePLAIN captures enum value "PLAIN"
	GerritTriggerFileFilterTypePLAIN string = "PLAIN"
)
View Source
const (

	// GitWebhookFileFilterTypeREGEX captures enum value "REGEX"
	GitWebhookFileFilterTypeREGEX string = "REGEX"

	// GitWebhookFileFilterTypePLAIN captures enum value "PLAIN"
	GitWebhookFileFilterTypePLAIN string = "PLAIN"
)
View Source
const (

	// JiraEventConfigEventSUCCESS captures enum value "SUCCESS"
	JiraEventConfigEventSUCCESS string = "SUCCESS"

	// JiraEventConfigEventFAILURE captures enum value "FAILURE"
	JiraEventConfigEventFAILURE string = "FAILURE"

	// JiraEventConfigEventWAITING captures enum value "WAITING"
	JiraEventConfigEventWAITING string = "WAITING"

	// JiraEventConfigEventCANCELED captures enum value "CANCELED"
	JiraEventConfigEventCANCELED string = "CANCELED"

	// JiraEventConfigEventSTARTED captures enum value "STARTED"
	JiraEventConfigEventSTARTED string = "STARTED"
)
View Source
const (

	// MachinePowerStateON captures enum value "ON"
	MachinePowerStateON string = "ON"

	// MachinePowerStateOFF captures enum value "OFF"
	MachinePowerStateOFF string = "OFF"

	// MachinePowerStateGUESTOFF captures enum value "GUEST_OFF"
	MachinePowerStateGUESTOFF string = "GUEST_OFF"

	// MachinePowerStateUNKNOWN captures enum value "UNKNOWN"
	MachinePowerStateUNKNOWN string = "UNKNOWN"

	// MachinePowerStateSUSPEND captures enum value "SUSPEND"
	MachinePowerStateSUSPEND string = "SUSPEND"
)
View Source
const (

	// MarketplaceContentDownloadRequestContentTypeBLUEPRINT captures enum value "BLUEPRINT"
	MarketplaceContentDownloadRequestContentTypeBLUEPRINT string = "BLUEPRINT"

	// MarketplaceContentDownloadRequestContentTypeIMAGE captures enum value "IMAGE"
	MarketplaceContentDownloadRequestContentTypeIMAGE string = "IMAGE"

	// MarketplaceContentDownloadRequestContentTypeABXSCRIPTS captures enum value "ABX_SCRIPTS"
	MarketplaceContentDownloadRequestContentTypeABXSCRIPTS string = "ABX_SCRIPTS"

	// MarketplaceContentDownloadRequestContentTypeTERRAFORMCONFIGURATION captures enum value "TERRAFORM_CONFIGURATION"
	MarketplaceContentDownloadRequestContentTypeTERRAFORMCONFIGURATION string = "TERRAFORM_CONFIGURATION"
)
View Source
const (

	// MarketplaceDownloadHistoryItemContentTypeBLUEPRINT captures enum value "BLUEPRINT"
	MarketplaceDownloadHistoryItemContentTypeBLUEPRINT string = "BLUEPRINT"

	// MarketplaceDownloadHistoryItemContentTypeIMAGE captures enum value "IMAGE"
	MarketplaceDownloadHistoryItemContentTypeIMAGE string = "IMAGE"

	// MarketplaceDownloadHistoryItemContentTypeABXSCRIPTS captures enum value "ABX_SCRIPTS"
	MarketplaceDownloadHistoryItemContentTypeABXSCRIPTS string = "ABX_SCRIPTS"

	// MarketplaceDownloadHistoryItemContentTypeTERRAFORMCONFIGURATION captures enum value "TERRAFORM_CONFIGURATION"
	MarketplaceDownloadHistoryItemContentTypeTERRAFORMCONFIGURATION string = "TERRAFORM_CONFIGURATION"
)
View Source
const (

	// MarketplaceDownloadHistoryItemStatusFAILED captures enum value "FAILED"
	MarketplaceDownloadHistoryItemStatusFAILED string = "FAILED"

	// MarketplaceDownloadHistoryItemStatusADDED captures enum value "ADDED"
	MarketplaceDownloadHistoryItemStatusADDED string = "ADDED"
)
View Source
const (

	// MarketplaceFilterTypeCOLLECTION captures enum value "COLLECTION"
	MarketplaceFilterTypeCOLLECTION string = "COLLECTION"

	// MarketplaceFilterTypeDATE captures enum value "DATE"
	MarketplaceFilterTypeDATE string = "DATE"

	// MarketplaceFilterTypeNUMBER captures enum value "NUMBER"
	MarketplaceFilterTypeNUMBER string = "NUMBER"
)
View Source
const (

	// MarketplaceFilterValueTypeRANGE captures enum value "RANGE"
	MarketplaceFilterValueTypeRANGE string = "RANGE"

	// MarketplaceFilterValueTypeSINGLE captures enum value "SINGLE"
	MarketplaceFilterValueTypeSINGLE string = "SINGLE"

	// MarketplaceFilterValueTypeMULTIPLE captures enum value "MULTIPLE"
	MarketplaceFilterValueTypeMULTIPLE string = "MULTIPLE"
)
View Source
const (

	// MeteringChargeOnPowerStateALWAYS captures enum value "ALWAYS"
	MeteringChargeOnPowerStateALWAYS string = "ALWAYS"

	// MeteringChargeOnPowerStateONLYWHENPOWEREDON captures enum value "ONLY_WHEN_POWERED_ON"
	MeteringChargeOnPowerStateONLYWHENPOWEREDON string = "ONLY_WHEN_POWERED_ON"

	// MeteringChargeOnPowerStatePOWEREDONATLEASTONCE captures enum value "POWERED_ON_AT_LEAST_ONCE"
	MeteringChargeOnPowerStatePOWEREDONATLEASTONCE string = "POWERED_ON_AT_LEAST_ONCE"
)
View Source
const (

	// MeteringChargePeriodHOURLY captures enum value "HOURLY"
	MeteringChargePeriodHOURLY string = "HOURLY"

	// MeteringChargePeriodDAILY captures enum value "DAILY"
	MeteringChargePeriodDAILY string = "DAILY"

	// MeteringChargePeriodWEEKLY captures enum value "WEEKLY"
	MeteringChargePeriodWEEKLY string = "WEEKLY"

	// MeteringChargePeriodMONTHLY captures enum value "MONTHLY"
	MeteringChargePeriodMONTHLY string = "MONTHLY"
)
View Source
const (

	// MeteringAssignmentStrategyEntityTypeALL captures enum value "ALL"
	MeteringAssignmentStrategyEntityTypeALL string = "ALL"

	// MeteringAssignmentStrategyEntityTypePROJECT captures enum value "PROJECT"
	MeteringAssignmentStrategyEntityTypePROJECT string = "PROJECT"

	// MeteringAssignmentStrategyEntityTypeCLOUDZONE captures enum value "CLOUDZONE"
	MeteringAssignmentStrategyEntityTypeCLOUDZONE string = "CLOUDZONE"
)
View Source
const (

	// MeteringPolicyAssignmentEntityTypeALL captures enum value "ALL"
	MeteringPolicyAssignmentEntityTypeALL string = "ALL"

	// MeteringPolicyAssignmentEntityTypePROJECT captures enum value "PROJECT"
	MeteringPolicyAssignmentEntityTypePROJECT string = "PROJECT"

	// MeteringPolicyAssignmentEntityTypeCLOUDZONE captures enum value "CLOUDZONE"
	MeteringPolicyAssignmentEntityTypeCLOUDZONE string = "CLOUDZONE"
)
View Source
const (

	// MeteringPolicyAssignmentInfoEntityTypeALL captures enum value "ALL"
	MeteringPolicyAssignmentInfoEntityTypeALL string = "ALL"

	// MeteringPolicyAssignmentInfoEntityTypePROJECT captures enum value "PROJECT"
	MeteringPolicyAssignmentInfoEntityTypePROJECT string = "PROJECT"

	// MeteringPolicyAssignmentInfoEntityTypeCLOUDZONE captures enum value "CLOUDZONE"
	MeteringPolicyAssignmentInfoEntityTypeCLOUDZONE string = "CLOUDZONE"
)
View Source
const (

	// NetworkIPRangeIPVersionIPV4 captures enum value "IPv4"
	NetworkIPRangeIPVersionIPV4 string = "IPv4"

	// NetworkIPRangeIPVersionIPV6 captures enum value "IPv6"
	NetworkIPRangeIPVersionIPV6 string = "IPv6"
)
View Source
const (

	// NetworkIPRangeSpecificationIPVersionIPV4 captures enum value "IPv4"
	NetworkIPRangeSpecificationIPVersionIPV4 string = "IPv4"

	// NetworkIPRangeSpecificationIPVersionIPV6 captures enum value "IPv6"
	NetworkIPRangeSpecificationIPVersionIPV6 string = "IPv6"
)
View Source
const (

	// NetworkProfileIsolationTypeNONE captures enum value "NONE"
	NetworkProfileIsolationTypeNONE string = "NONE"

	// NetworkProfileIsolationTypeSUBNET captures enum value "SUBNET"
	NetworkProfileIsolationTypeSUBNET string = "SUBNET"

	// NetworkProfileIsolationTypeSECURITYGROUP captures enum value "SECURITY_GROUP"
	NetworkProfileIsolationTypeSECURITYGROUP string = "SECURITY_GROUP"
)
View Source
const (

	// NetworkProfileSpecificationIsolationTypeNONE captures enum value "NONE"
	NetworkProfileSpecificationIsolationTypeNONE string = "NONE"

	// NetworkProfileSpecificationIsolationTypeSUBNET captures enum value "SUBNET"
	NetworkProfileSpecificationIsolationTypeSUBNET string = "SUBNET"

	// NetworkProfileSpecificationIsolationTypeSECURITYGROUP captures enum value "SECURITY_GROUP"
	NetworkProfileSpecificationIsolationTypeSECURITYGROUP string = "SECURITY_GROUP"
)
View Source
const (

	// PhotonModelEndpointConfigRequestRequestTypeVALIDATE captures enum value "VALIDATE"
	PhotonModelEndpointConfigRequestRequestTypeVALIDATE string = "VALIDATE"

	// PhotonModelEndpointConfigRequestRequestTypeENHANCE captures enum value "ENHANCE"
	PhotonModelEndpointConfigRequestRequestTypeENHANCE string = "ENHANCE"

	// PhotonModelEndpointConfigRequestRequestTypeCHECKIFACCOUNTEXISTS captures enum value "CHECK_IF_ACCOUNT_EXISTS"
	PhotonModelEndpointConfigRequestRequestTypeCHECKIFACCOUNTEXISTS string = "CHECK_IF_ACCOUNT_EXISTS"

	// PhotonModelEndpointConfigRequestRequestTypeVALIDATEREMOVAL captures enum value "VALIDATE_REMOVAL"
	PhotonModelEndpointConfigRequestRequestTypeVALIDATEREMOVAL string = "VALIDATE_REMOVAL"
)
View Source
const (

	// PolicyEnforcementTypeSOFT captures enum value "SOFT"
	PolicyEnforcementTypeSOFT string = "SOFT"

	// PolicyEnforcementTypeHARD captures enum value "HARD"
	PolicyEnforcementTypeHARD string = "HARD"
)
View Source
const (

	// PolicyDecisionPolicyEnforcementTypeSOFT captures enum value "SOFT"
	PolicyDecisionPolicyEnforcementTypeSOFT string = "SOFT"

	// PolicyDecisionPolicyEnforcementTypeHARD captures enum value "HARD"
	PolicyDecisionPolicyEnforcementTypeHARD string = "HARD"
)
View Source
const (

	// PolicyDecisionPolicyStatusNOTENFORCED captures enum value "NOT_ENFORCED"
	PolicyDecisionPolicyStatusNOTENFORCED string = "NOT_ENFORCED"

	// PolicyDecisionPolicyStatusENFORCED captures enum value "ENFORCED"
	PolicyDecisionPolicyStatusENFORCED string = "ENFORCED"

	// PolicyDecisionPolicyStatusCONFLICT captures enum value "CONFLICT"
	PolicyDecisionPolicyStatusCONFLICT string = "CONFLICT"
)
View Source
const (

	// PropertyGroupTypeINPUT captures enum value "INPUT"
	PropertyGroupTypeINPUT string = "INPUT"

	// PropertyGroupTypeCONSTANT captures enum value "CONSTANT"
	PropertyGroupTypeCONSTANT string = "CONSTANT"
)
View Source
const (

	// RequestStatusCREATED captures enum value "CREATED"
	RequestStatusCREATED string = "CREATED"

	// RequestStatusPENDING captures enum value "PENDING"
	RequestStatusPENDING string = "PENDING"

	// RequestStatusINITIALIZATION captures enum value "INITIALIZATION"
	RequestStatusINITIALIZATION string = "INITIALIZATION"

	// RequestStatusCHECKINGAPPROVAL captures enum value "CHECKING_APPROVAL"
	RequestStatusCHECKINGAPPROVAL string = "CHECKING_APPROVAL"

	// RequestStatusAPPROVALPENDING captures enum value "APPROVAL_PENDING"
	RequestStatusAPPROVALPENDING string = "APPROVAL_PENDING"

	// RequestStatusINPROGRESS captures enum value "INPROGRESS"
	RequestStatusINPROGRESS string = "INPROGRESS"

	// RequestStatusCOMPLETION captures enum value "COMPLETION"
	RequestStatusCOMPLETION string = "COMPLETION"

	// RequestStatusAPPROVALREJECTED captures enum value "APPROVAL_REJECTED"
	RequestStatusAPPROVALREJECTED string = "APPROVAL_REJECTED"

	// RequestStatusABORTED captures enum value "ABORTED"
	RequestStatusABORTED string = "ABORTED"

	// RequestStatusSUCCESSFUL captures enum value "SUCCESSFUL"
	RequestStatusSUCCESSFUL string = "SUCCESSFUL"

	// RequestStatusFAILED captures enum value "FAILED"
	RequestStatusFAILED string = "FAILED"
)
View Source
const (

	// RequestTrackerStatusFINISHED captures enum value "FINISHED"
	RequestTrackerStatusFINISHED string = "FINISHED"

	// RequestTrackerStatusINPROGRESS captures enum value "INPROGRESS"
	RequestTrackerStatusINPROGRESS string = "INPROGRESS"

	// RequestTrackerStatusFAILED captures enum value "FAILED"
	RequestTrackerStatusFAILED string = "FAILED"
)
View Source
const (

	// ResourceOriginONBOARDED captures enum value "ONBOARDED"
	ResourceOriginONBOARDED string = "ONBOARDED"

	// ResourceOriginMIGRATED captures enum value "MIGRATED"
	ResourceOriginMIGRATED string = "MIGRATED"
)
View Source
const (

	// ResourceSyncStatusSUCCESS captures enum value "SUCCESS"
	ResourceSyncStatusSUCCESS string = "SUCCESS"

	// ResourceSyncStatusMISSING captures enum value "MISSING"
	ResourceSyncStatusMISSING string = "MISSING"

	// ResourceSyncStatusSTALE captures enum value "STALE"
	ResourceSyncStatusSTALE string = "STALE"
)
View Source
const (

	// ResourceActionActionTypeRESOURCEACTION captures enum value "RESOURCE_ACTION"
	ResourceActionActionTypeRESOURCEACTION string = "RESOURCE_ACTION"

	// ResourceActionActionTypeRESOURCEEXTENSION captures enum value "RESOURCE_EXTENSION"
	ResourceActionActionTypeRESOURCEEXTENSION string = "RESOURCE_EXTENSION"
)
View Source
const (

	// ResponseEntityStatusCodeNr100CONTINUE captures enum value "100 CONTINUE"
	ResponseEntityStatusCodeNr100CONTINUE string = "100 CONTINUE"

	// ResponseEntityStatusCodeNr101SWITCHINGPROTOCOLS captures enum value "101 SWITCHING_PROTOCOLS"
	ResponseEntityStatusCodeNr101SWITCHINGPROTOCOLS string = "101 SWITCHING_PROTOCOLS"

	// ResponseEntityStatusCodeNr102PROCESSING captures enum value "102 PROCESSING"
	ResponseEntityStatusCodeNr102PROCESSING string = "102 PROCESSING"

	// ResponseEntityStatusCodeNr103CHECKPOINT captures enum value "103 CHECKPOINT"
	ResponseEntityStatusCodeNr103CHECKPOINT string = "103 CHECKPOINT"

	// ResponseEntityStatusCodeNr200OK captures enum value "200 OK"
	ResponseEntityStatusCodeNr200OK string = "200 OK"

	// ResponseEntityStatusCodeNr201CREATED captures enum value "201 CREATED"
	ResponseEntityStatusCodeNr201CREATED string = "201 CREATED"

	// ResponseEntityStatusCodeNr202ACCEPTED captures enum value "202 ACCEPTED"
	ResponseEntityStatusCodeNr202ACCEPTED string = "202 ACCEPTED"

	// ResponseEntityStatusCodeNr203NONAUTHORITATIVEINFORMATION captures enum value "203 NON_AUTHORITATIVE_INFORMATION"
	ResponseEntityStatusCodeNr203NONAUTHORITATIVEINFORMATION string = "203 NON_AUTHORITATIVE_INFORMATION"

	// ResponseEntityStatusCodeNr204NOCONTENT captures enum value "204 NO_CONTENT"
	ResponseEntityStatusCodeNr204NOCONTENT string = "204 NO_CONTENT"

	// ResponseEntityStatusCodeNr205RESETCONTENT captures enum value "205 RESET_CONTENT"
	ResponseEntityStatusCodeNr205RESETCONTENT string = "205 RESET_CONTENT"

	// ResponseEntityStatusCodeNr206PARTIALCONTENT captures enum value "206 PARTIAL_CONTENT"
	ResponseEntityStatusCodeNr206PARTIALCONTENT string = "206 PARTIAL_CONTENT"

	// ResponseEntityStatusCodeNr207MULTISTATUS captures enum value "207 MULTI_STATUS"
	ResponseEntityStatusCodeNr207MULTISTATUS string = "207 MULTI_STATUS"

	// ResponseEntityStatusCodeNr208ALREADYREPORTED captures enum value "208 ALREADY_REPORTED"
	ResponseEntityStatusCodeNr208ALREADYREPORTED string = "208 ALREADY_REPORTED"

	// ResponseEntityStatusCodeNr226IMUSED captures enum value "226 IM_USED"
	ResponseEntityStatusCodeNr226IMUSED string = "226 IM_USED"

	// ResponseEntityStatusCodeNr300MULTIPLECHOICES captures enum value "300 MULTIPLE_CHOICES"
	ResponseEntityStatusCodeNr300MULTIPLECHOICES string = "300 MULTIPLE_CHOICES"

	// ResponseEntityStatusCodeNr301MOVEDPERMANENTLY captures enum value "301 MOVED_PERMANENTLY"
	ResponseEntityStatusCodeNr301MOVEDPERMANENTLY string = "301 MOVED_PERMANENTLY"

	// ResponseEntityStatusCodeNr302FOUND captures enum value "302 FOUND"
	ResponseEntityStatusCodeNr302FOUND string = "302 FOUND"

	// ResponseEntityStatusCodeNr302MOVEDTEMPORARILY captures enum value "302 MOVED_TEMPORARILY"
	ResponseEntityStatusCodeNr302MOVEDTEMPORARILY string = "302 MOVED_TEMPORARILY"

	// ResponseEntityStatusCodeNr303SEEOTHER captures enum value "303 SEE_OTHER"
	ResponseEntityStatusCodeNr303SEEOTHER string = "303 SEE_OTHER"

	// ResponseEntityStatusCodeNr304NOTMODIFIED captures enum value "304 NOT_MODIFIED"
	ResponseEntityStatusCodeNr304NOTMODIFIED string = "304 NOT_MODIFIED"

	// ResponseEntityStatusCodeNr305USEPROXY captures enum value "305 USE_PROXY"
	ResponseEntityStatusCodeNr305USEPROXY string = "305 USE_PROXY"

	// ResponseEntityStatusCodeNr307TEMPORARYREDIRECT captures enum value "307 TEMPORARY_REDIRECT"
	ResponseEntityStatusCodeNr307TEMPORARYREDIRECT string = "307 TEMPORARY_REDIRECT"

	// ResponseEntityStatusCodeNr308PERMANENTREDIRECT captures enum value "308 PERMANENT_REDIRECT"
	ResponseEntityStatusCodeNr308PERMANENTREDIRECT string = "308 PERMANENT_REDIRECT"

	// ResponseEntityStatusCodeNr400BADREQUEST captures enum value "400 BAD_REQUEST"
	ResponseEntityStatusCodeNr400BADREQUEST string = "400 BAD_REQUEST"

	// ResponseEntityStatusCodeNr401UNAUTHORIZED captures enum value "401 UNAUTHORIZED"
	ResponseEntityStatusCodeNr401UNAUTHORIZED string = "401 UNAUTHORIZED"

	// ResponseEntityStatusCodeNr402PAYMENTREQUIRED captures enum value "402 PAYMENT_REQUIRED"
	ResponseEntityStatusCodeNr402PAYMENTREQUIRED string = "402 PAYMENT_REQUIRED"

	// ResponseEntityStatusCodeNr403FORBIDDEN captures enum value "403 FORBIDDEN"
	ResponseEntityStatusCodeNr403FORBIDDEN string = "403 FORBIDDEN"

	// ResponseEntityStatusCodeNr404NOTFOUND captures enum value "404 NOT_FOUND"
	ResponseEntityStatusCodeNr404NOTFOUND string = "404 NOT_FOUND"

	// ResponseEntityStatusCodeNr405METHODNOTALLOWED captures enum value "405 METHOD_NOT_ALLOWED"
	ResponseEntityStatusCodeNr405METHODNOTALLOWED string = "405 METHOD_NOT_ALLOWED"

	// ResponseEntityStatusCodeNr406NOTACCEPTABLE captures enum value "406 NOT_ACCEPTABLE"
	ResponseEntityStatusCodeNr406NOTACCEPTABLE string = "406 NOT_ACCEPTABLE"

	// ResponseEntityStatusCodeNr407PROXYAUTHENTICATIONREQUIRED captures enum value "407 PROXY_AUTHENTICATION_REQUIRED"
	ResponseEntityStatusCodeNr407PROXYAUTHENTICATIONREQUIRED string = "407 PROXY_AUTHENTICATION_REQUIRED"

	// ResponseEntityStatusCodeNr408REQUESTTIMEOUT captures enum value "408 REQUEST_TIMEOUT"
	ResponseEntityStatusCodeNr408REQUESTTIMEOUT string = "408 REQUEST_TIMEOUT"

	// ResponseEntityStatusCodeNr409CONFLICT captures enum value "409 CONFLICT"
	ResponseEntityStatusCodeNr409CONFLICT string = "409 CONFLICT"

	// ResponseEntityStatusCodeNr410GONE captures enum value "410 GONE"
	ResponseEntityStatusCodeNr410GONE string = "410 GONE"

	// ResponseEntityStatusCodeNr411LENGTHREQUIRED captures enum value "411 LENGTH_REQUIRED"
	ResponseEntityStatusCodeNr411LENGTHREQUIRED string = "411 LENGTH_REQUIRED"

	// ResponseEntityStatusCodeNr412PRECONDITIONFAILED captures enum value "412 PRECONDITION_FAILED"
	ResponseEntityStatusCodeNr412PRECONDITIONFAILED string = "412 PRECONDITION_FAILED"

	// ResponseEntityStatusCodeNr413PAYLOADTOOLARGE captures enum value "413 PAYLOAD_TOO_LARGE"
	ResponseEntityStatusCodeNr413PAYLOADTOOLARGE string = "413 PAYLOAD_TOO_LARGE"

	// ResponseEntityStatusCodeNr413REQUESTENTITYTOOLARGE captures enum value "413 REQUEST_ENTITY_TOO_LARGE"
	ResponseEntityStatusCodeNr413REQUESTENTITYTOOLARGE string = "413 REQUEST_ENTITY_TOO_LARGE"

	// ResponseEntityStatusCodeNr414URITOOLONG captures enum value "414 URI_TOO_LONG"
	ResponseEntityStatusCodeNr414URITOOLONG string = "414 URI_TOO_LONG"

	// ResponseEntityStatusCodeNr414REQUESTURITOOLONG captures enum value "414 REQUEST_URI_TOO_LONG"
	ResponseEntityStatusCodeNr414REQUESTURITOOLONG string = "414 REQUEST_URI_TOO_LONG"

	// ResponseEntityStatusCodeNr415UNSUPPORTEDMEDIATYPE captures enum value "415 UNSUPPORTED_MEDIA_TYPE"
	ResponseEntityStatusCodeNr415UNSUPPORTEDMEDIATYPE string = "415 UNSUPPORTED_MEDIA_TYPE"

	// ResponseEntityStatusCodeNr416REQUESTEDRANGENOTSATISFIABLE captures enum value "416 REQUESTED_RANGE_NOT_SATISFIABLE"
	ResponseEntityStatusCodeNr416REQUESTEDRANGENOTSATISFIABLE string = "416 REQUESTED_RANGE_NOT_SATISFIABLE"

	// ResponseEntityStatusCodeNr417EXPECTATIONFAILED captures enum value "417 EXPECTATION_FAILED"
	ResponseEntityStatusCodeNr417EXPECTATIONFAILED string = "417 EXPECTATION_FAILED"

	// ResponseEntityStatusCodeNr418IAMATEAPOT captures enum value "418 I_AM_A_TEAPOT"
	ResponseEntityStatusCodeNr418IAMATEAPOT string = "418 I_AM_A_TEAPOT"

	// ResponseEntityStatusCodeNr419INSUFFICIENTSPACEONRESOURCE captures enum value "419 INSUFFICIENT_SPACE_ON_RESOURCE"
	ResponseEntityStatusCodeNr419INSUFFICIENTSPACEONRESOURCE string = "419 INSUFFICIENT_SPACE_ON_RESOURCE"

	// ResponseEntityStatusCodeNr420METHODFAILURE captures enum value "420 METHOD_FAILURE"
	ResponseEntityStatusCodeNr420METHODFAILURE string = "420 METHOD_FAILURE"

	// ResponseEntityStatusCodeNr421DESTINATIONLOCKED captures enum value "421 DESTINATION_LOCKED"
	ResponseEntityStatusCodeNr421DESTINATIONLOCKED string = "421 DESTINATION_LOCKED"

	// ResponseEntityStatusCodeNr422UNPROCESSABLEENTITY captures enum value "422 UNPROCESSABLE_ENTITY"
	ResponseEntityStatusCodeNr422UNPROCESSABLEENTITY string = "422 UNPROCESSABLE_ENTITY"

	// ResponseEntityStatusCodeNr423LOCKED captures enum value "423 LOCKED"
	ResponseEntityStatusCodeNr423LOCKED string = "423 LOCKED"

	// ResponseEntityStatusCodeNr424FAILEDDEPENDENCY captures enum value "424 FAILED_DEPENDENCY"
	ResponseEntityStatusCodeNr424FAILEDDEPENDENCY string = "424 FAILED_DEPENDENCY"

	// ResponseEntityStatusCodeNr425TOOEARLY captures enum value "425 TOO_EARLY"
	ResponseEntityStatusCodeNr425TOOEARLY string = "425 TOO_EARLY"

	// ResponseEntityStatusCodeNr426UPGRADEREQUIRED captures enum value "426 UPGRADE_REQUIRED"
	ResponseEntityStatusCodeNr426UPGRADEREQUIRED string = "426 UPGRADE_REQUIRED"

	// ResponseEntityStatusCodeNr428PRECONDITIONREQUIRED captures enum value "428 PRECONDITION_REQUIRED"
	ResponseEntityStatusCodeNr428PRECONDITIONREQUIRED string = "428 PRECONDITION_REQUIRED"

	// ResponseEntityStatusCodeNr429TOOMANYREQUESTS captures enum value "429 TOO_MANY_REQUESTS"
	ResponseEntityStatusCodeNr429TOOMANYREQUESTS string = "429 TOO_MANY_REQUESTS"

	// ResponseEntityStatusCodeNr431REQUESTHEADERFIELDSTOOLARGE captures enum value "431 REQUEST_HEADER_FIELDS_TOO_LARGE"
	ResponseEntityStatusCodeNr431REQUESTHEADERFIELDSTOOLARGE string = "431 REQUEST_HEADER_FIELDS_TOO_LARGE"

	// ResponseEntityStatusCodeNr451UNAVAILABLEFORLEGALREASONS captures enum value "451 UNAVAILABLE_FOR_LEGAL_REASONS"
	ResponseEntityStatusCodeNr451UNAVAILABLEFORLEGALREASONS string = "451 UNAVAILABLE_FOR_LEGAL_REASONS"

	// ResponseEntityStatusCodeNr500INTERNALSERVERERROR captures enum value "500 INTERNAL_SERVER_ERROR"
	ResponseEntityStatusCodeNr500INTERNALSERVERERROR string = "500 INTERNAL_SERVER_ERROR"

	// ResponseEntityStatusCodeNr501NOTIMPLEMENTED captures enum value "501 NOT_IMPLEMENTED"
	ResponseEntityStatusCodeNr501NOTIMPLEMENTED string = "501 NOT_IMPLEMENTED"

	// ResponseEntityStatusCodeNr502BADGATEWAY captures enum value "502 BAD_GATEWAY"
	ResponseEntityStatusCodeNr502BADGATEWAY string = "502 BAD_GATEWAY"

	// ResponseEntityStatusCodeNr503SERVICEUNAVAILABLE captures enum value "503 SERVICE_UNAVAILABLE"
	ResponseEntityStatusCodeNr503SERVICEUNAVAILABLE string = "503 SERVICE_UNAVAILABLE"

	// ResponseEntityStatusCodeNr504GATEWAYTIMEOUT captures enum value "504 GATEWAY_TIMEOUT"
	ResponseEntityStatusCodeNr504GATEWAYTIMEOUT string = "504 GATEWAY_TIMEOUT"

	// ResponseEntityStatusCodeNr505HTTPVERSIONNOTSUPPORTED captures enum value "505 HTTP_VERSION_NOT_SUPPORTED"
	ResponseEntityStatusCodeNr505HTTPVERSIONNOTSUPPORTED string = "505 HTTP_VERSION_NOT_SUPPORTED"

	// ResponseEntityStatusCodeNr506VARIANTALSONEGOTIATES captures enum value "506 VARIANT_ALSO_NEGOTIATES"
	ResponseEntityStatusCodeNr506VARIANTALSONEGOTIATES string = "506 VARIANT_ALSO_NEGOTIATES"

	// ResponseEntityStatusCodeNr507INSUFFICIENTSTORAGE captures enum value "507 INSUFFICIENT_STORAGE"
	ResponseEntityStatusCodeNr507INSUFFICIENTSTORAGE string = "507 INSUFFICIENT_STORAGE"

	// ResponseEntityStatusCodeNr508LOOPDETECTED captures enum value "508 LOOP_DETECTED"
	ResponseEntityStatusCodeNr508LOOPDETECTED string = "508 LOOP_DETECTED"

	// ResponseEntityStatusCodeNr509BANDWIDTHLIMITEXCEEDED captures enum value "509 BANDWIDTH_LIMIT_EXCEEDED"
	ResponseEntityStatusCodeNr509BANDWIDTHLIMITEXCEEDED string = "509 BANDWIDTH_LIMIT_EXCEEDED"

	// ResponseEntityStatusCodeNr510NOTEXTENDED captures enum value "510 NOT_EXTENDED"
	ResponseEntityStatusCodeNr510NOTEXTENDED string = "510 NOT_EXTENDED"

	// ResponseEntityStatusCodeNr511NETWORKAUTHENTICATIONREQUIRED captures enum value "511 NETWORK_AUTHENTICATION_REQUIRED"
	ResponseEntityStatusCodeNr511NETWORKAUTHENTICATIONREQUIRED string = "511 NETWORK_AUTHENTICATION_REQUIRED"
)
View Source
const (

	// RollbackResponseStatusNOTSTARTED captures enum value "NOT_STARTED"
	RollbackResponseStatusNOTSTARTED string = "NOT_STARTED"

	// RollbackResponseStatusSTARTED captures enum value "STARTED"
	RollbackResponseStatusSTARTED string = "STARTED"

	// RollbackResponseStatusRUNNING captures enum value "RUNNING"
	RollbackResponseStatusRUNNING string = "RUNNING"

	// RollbackResponseStatusCANCELING captures enum value "CANCELING"
	RollbackResponseStatusCANCELING string = "CANCELING"

	// RollbackResponseStatusWAITING captures enum value "WAITING"
	RollbackResponseStatusWAITING string = "WAITING"

	// RollbackResponseStatusRESUMING captures enum value "RESUMING"
	RollbackResponseStatusRESUMING string = "RESUMING"

	// RollbackResponseStatusPAUSING captures enum value "PAUSING"
	RollbackResponseStatusPAUSING string = "PAUSING"

	// RollbackResponseStatusPAUSED captures enum value "PAUSED"
	RollbackResponseStatusPAUSED string = "PAUSED"

	// RollbackResponseStatusCANCELED captures enum value "CANCELED"
	RollbackResponseStatusCANCELED string = "CANCELED"

	// RollbackResponseStatusCOMPLETED captures enum value "COMPLETED"
	RollbackResponseStatusCOMPLETED string = "COMPLETED"

	// RollbackResponseStatusFAILED captures enum value "FAILED"
	RollbackResponseStatusFAILED string = "FAILED"

	// RollbackResponseStatusSKIPPED captures enum value "SKIPPED"
	RollbackResponseStatusSKIPPED string = "SKIPPED"

	// RollbackResponseStatusQUEUED captures enum value "QUEUED"
	RollbackResponseStatusQUEUED string = "QUEUED"

	// RollbackResponseStatusFAILEDCONTINUE captures enum value "FAILED_CONTINUE"
	RollbackResponseStatusFAILEDCONTINUE string = "FAILED_CONTINUE"

	// RollbackResponseStatusROLLINGBACK captures enum value "ROLLING_BACK"
	RollbackResponseStatusROLLINGBACK string = "ROLLING_BACK"

	// RollbackResponseStatusROLLBACKFAILED captures enum value "ROLLBACK_FAILED"
	RollbackResponseStatusROLLBACKFAILED string = "ROLLBACK_FAILED"

	// RollbackResponseStatusPREPARINGWORKSPACE captures enum value "PREPARING_WORKSPACE"
	RollbackResponseStatusPREPARINGWORKSPACE string = "PREPARING_WORKSPACE"

	// RollbackResponseStatusROLLBACKCOMPLETED captures enum value "ROLLBACK_COMPLETED"
	RollbackResponseStatusROLLBACKCOMPLETED string = "ROLLBACK_COMPLETED"
)
View Source
const (

	// RuleAccessAllow captures enum value "Allow"
	RuleAccessAllow string = "Allow"

	// RuleAccessDeny captures enum value "Deny"
	RuleAccessDeny string = "Deny"

	// RuleAccessDrop captures enum value "Drop"
	RuleAccessDrop string = "Drop"
)
View Source
const (

	// RuleDirectionInbound captures enum value "Inbound"
	RuleDirectionInbound string = "Inbound"

	// RuleDirectionOutbound captures enum value "Outbound"
	RuleDirectionOutbound string = "Outbound"
)
View Source
const (

	// SourceControlSyncHistoryItemContentTypeBLUEPRINT captures enum value "BLUEPRINT"
	SourceControlSyncHistoryItemContentTypeBLUEPRINT string = "BLUEPRINT"

	// SourceControlSyncHistoryItemContentTypeIMAGE captures enum value "IMAGE"
	SourceControlSyncHistoryItemContentTypeIMAGE string = "IMAGE"

	// SourceControlSyncHistoryItemContentTypeABXSCRIPTS captures enum value "ABX_SCRIPTS"
	SourceControlSyncHistoryItemContentTypeABXSCRIPTS string = "ABX_SCRIPTS"

	// SourceControlSyncHistoryItemContentTypeTERRAFORMCONFIGURATION captures enum value "TERRAFORM_CONFIGURATION"
	SourceControlSyncHistoryItemContentTypeTERRAFORMCONFIGURATION string = "TERRAFORM_CONFIGURATION"
)
View Source
const (

	// SourceControlSyncRequestStatusREQUESTED captures enum value "REQUESTED"
	SourceControlSyncRequestStatusREQUESTED string = "REQUESTED"

	// SourceControlSyncRequestStatusSTARTED captures enum value "STARTED"
	SourceControlSyncRequestStatusSTARTED string = "STARTED"

	// SourceControlSyncRequestStatusPROCESSING captures enum value "PROCESSING"
	SourceControlSyncRequestStatusPROCESSING string = "PROCESSING"

	// SourceControlSyncRequestStatusCOMPLETED captures enum value "COMPLETED"
	SourceControlSyncRequestStatusCOMPLETED string = "COMPLETED"

	// SourceControlSyncRequestStatusFAILED captures enum value "FAILED"
	SourceControlSyncRequestStatusFAILED string = "FAILED"

	// SourceControlSyncRequestStatusSKIPPED captures enum value "SKIPPED"
	SourceControlSyncRequestStatusSKIPPED string = "SKIPPED"
)
View Source
const (

	// StageExecutionStatusNOTSTARTED captures enum value "NOT_STARTED"
	StageExecutionStatusNOTSTARTED string = "NOT_STARTED"

	// StageExecutionStatusSTARTED captures enum value "STARTED"
	StageExecutionStatusSTARTED string = "STARTED"

	// StageExecutionStatusRUNNING captures enum value "RUNNING"
	StageExecutionStatusRUNNING string = "RUNNING"

	// StageExecutionStatusCANCELING captures enum value "CANCELING"
	StageExecutionStatusCANCELING string = "CANCELING"

	// StageExecutionStatusWAITING captures enum value "WAITING"
	StageExecutionStatusWAITING string = "WAITING"

	// StageExecutionStatusRESUMING captures enum value "RESUMING"
	StageExecutionStatusRESUMING string = "RESUMING"

	// StageExecutionStatusPAUSING captures enum value "PAUSING"
	StageExecutionStatusPAUSING string = "PAUSING"

	// StageExecutionStatusPAUSED captures enum value "PAUSED"
	StageExecutionStatusPAUSED string = "PAUSED"

	// StageExecutionStatusCANCELED captures enum value "CANCELED"
	StageExecutionStatusCANCELED string = "CANCELED"

	// StageExecutionStatusCOMPLETED captures enum value "COMPLETED"
	StageExecutionStatusCOMPLETED string = "COMPLETED"

	// StageExecutionStatusFAILED captures enum value "FAILED"
	StageExecutionStatusFAILED string = "FAILED"

	// StageExecutionStatusSKIPPED captures enum value "SKIPPED"
	StageExecutionStatusSKIPPED string = "SKIPPED"

	// StageExecutionStatusQUEUED captures enum value "QUEUED"
	StageExecutionStatusQUEUED string = "QUEUED"

	// StageExecutionStatusFAILEDCONTINUE captures enum value "FAILED_CONTINUE"
	StageExecutionStatusFAILEDCONTINUE string = "FAILED_CONTINUE"

	// StageExecutionStatusROLLINGBACK captures enum value "ROLLING_BACK"
	StageExecutionStatusROLLINGBACK string = "ROLLING_BACK"

	// StageExecutionStatusROLLBACKFAILED captures enum value "ROLLBACK_FAILED"
	StageExecutionStatusROLLBACKFAILED string = "ROLLBACK_FAILED"

	// StageExecutionStatusPREPARINGWORKSPACE captures enum value "PREPARING_WORKSPACE"
	StageExecutionStatusPREPARINGWORKSPACE string = "PREPARING_WORKSPACE"

	// StageExecutionStatusROLLBACKCOMPLETED captures enum value "ROLLBACK_COMPLETED"
	StageExecutionStatusROLLBACKCOMPLETED string = "ROLLBACK_COMPLETED"
)
View Source
const (

	// TaskExecutionStatusNOTSTARTED captures enum value "NOT_STARTED"
	TaskExecutionStatusNOTSTARTED string = "NOT_STARTED"

	// TaskExecutionStatusSTARTED captures enum value "STARTED"
	TaskExecutionStatusSTARTED string = "STARTED"

	// TaskExecutionStatusRUNNING captures enum value "RUNNING"
	TaskExecutionStatusRUNNING string = "RUNNING"

	// TaskExecutionStatusCANCELING captures enum value "CANCELING"
	TaskExecutionStatusCANCELING string = "CANCELING"

	// TaskExecutionStatusWAITING captures enum value "WAITING"
	TaskExecutionStatusWAITING string = "WAITING"

	// TaskExecutionStatusRESUMING captures enum value "RESUMING"
	TaskExecutionStatusRESUMING string = "RESUMING"

	// TaskExecutionStatusPAUSING captures enum value "PAUSING"
	TaskExecutionStatusPAUSING string = "PAUSING"

	// TaskExecutionStatusPAUSED captures enum value "PAUSED"
	TaskExecutionStatusPAUSED string = "PAUSED"

	// TaskExecutionStatusCANCELED captures enum value "CANCELED"
	TaskExecutionStatusCANCELED string = "CANCELED"

	// TaskExecutionStatusCOMPLETED captures enum value "COMPLETED"
	TaskExecutionStatusCOMPLETED string = "COMPLETED"

	// TaskExecutionStatusFAILED captures enum value "FAILED"
	TaskExecutionStatusFAILED string = "FAILED"

	// TaskExecutionStatusSKIPPED captures enum value "SKIPPED"
	TaskExecutionStatusSKIPPED string = "SKIPPED"

	// TaskExecutionStatusQUEUED captures enum value "QUEUED"
	TaskExecutionStatusQUEUED string = "QUEUED"

	// TaskExecutionStatusFAILEDCONTINUE captures enum value "FAILED_CONTINUE"
	TaskExecutionStatusFAILEDCONTINUE string = "FAILED_CONTINUE"

	// TaskExecutionStatusROLLINGBACK captures enum value "ROLLING_BACK"
	TaskExecutionStatusROLLINGBACK string = "ROLLING_BACK"

	// TaskExecutionStatusROLLBACKFAILED captures enum value "ROLLBACK_FAILED"
	TaskExecutionStatusROLLBACKFAILED string = "ROLLBACK_FAILED"

	// TaskExecutionStatusPREPARINGWORKSPACE captures enum value "PREPARING_WORKSPACE"
	TaskExecutionStatusPREPARINGWORKSPACE string = "PREPARING_WORKSPACE"

	// TaskExecutionStatusROLLBACKCOMPLETED captures enum value "ROLLBACK_COMPLETED"
	TaskExecutionStatusROLLBACKCOMPLETED string = "ROLLBACK_COMPLETED"
)
View Source
const (

	// TileExecutorResponseStatusCREATED captures enum value "CREATED"
	TileExecutorResponseStatusCREATED string = "CREATED"

	// TileExecutorResponseStatusSTARTED captures enum value "STARTED"
	TileExecutorResponseStatusSTARTED string = "STARTED"

	// TileExecutorResponseStatusPAUSED captures enum value "PAUSED"
	TileExecutorResponseStatusPAUSED string = "PAUSED"

	// TileExecutorResponseStatusCANCELED captures enum value "CANCELED"
	TileExecutorResponseStatusCANCELED string = "CANCELED"

	// TileExecutorResponseStatusCOMPLETED captures enum value "COMPLETED"
	TileExecutorResponseStatusCOMPLETED string = "COMPLETED"

	// TileExecutorResponseStatusFAILED captures enum value "FAILED"
	TileExecutorResponseStatusFAILED string = "FAILED"
)
View Source
const (

	// UserOpResourceExpirationUnitMINUTES captures enum value "MINUTES"
	UserOpResourceExpirationUnitMINUTES string = "MINUTES"

	// UserOpResourceExpirationUnitHOURS captures enum value "HOURS"
	UserOpResourceExpirationUnitHOURS string = "HOURS"

	// UserOpResourceExpirationUnitDAYS captures enum value "DAYS"
	UserOpResourceExpirationUnitDAYS string = "DAYS"
)
View Source
const (

	// UserOpResourceStatusACTIVE captures enum value "ACTIVE"
	UserOpResourceStatusACTIVE string = "ACTIVE"

	// UserOpResourceStatusAPPROVED captures enum value "APPROVED"
	UserOpResourceStatusAPPROVED string = "APPROVED"

	// UserOpResourceStatusCANCELED captures enum value "CANCELED"
	UserOpResourceStatusCANCELED string = "CANCELED"

	// UserOpResourceStatusEXPIRED captures enum value "EXPIRED"
	UserOpResourceStatusEXPIRED string = "EXPIRED"

	// UserOpResourceStatusREJECTED captures enum value "REJECTED"
	UserOpResourceStatusREJECTED string = "REJECTED"
)
View Source
const (

	// VariableTypeSTRING captures enum value "STRING"
	VariableTypeSTRING string = "STRING"

	// VariableTypeNUMBER captures enum value "NUMBER"
	VariableTypeNUMBER string = "NUMBER"

	// VariableTypeBOOL captures enum value "BOOL"
	VariableTypeBOOL string = "BOOL"

	// VariableTypeLIST captures enum value "LIST"
	VariableTypeLIST string = "LIST"

	// VariableTypeMAP captures enum value "MAP"
	VariableTypeMAP string = "MAP"
)
View Source
const (

	// VcfDomainStatusACTIVE captures enum value "ACTIVE"
	VcfDomainStatusACTIVE string = "ACTIVE"

	// VcfDomainStatusCONFIGURED captures enum value "CONFIGURED"
	VcfDomainStatusCONFIGURED string = "CONFIGURED"

	// VcfDomainStatusNOTCONFIGURED captures enum value "NOT_CONFIGURED"
	VcfDomainStatusNOTCONFIGURED string = "NOT_CONFIGURED"

	// VcfDomainStatusNOTACTIVE captures enum value "NOT_ACTIVE"
	VcfDomainStatusNOTACTIVE string = "NOT_ACTIVE"
)
View Source
const (

	// VcfServiceCredentialCreationResponseStatusSUCCESSFUL captures enum value "SUCCESSFUL"
	VcfServiceCredentialCreationResponseStatusSUCCESSFUL string = "SUCCESSFUL"

	// VcfServiceCredentialCreationResponseStatusINPROGRESS captures enum value "IN_PROGRESS"
	VcfServiceCredentialCreationResponseStatusINPROGRESS string = "IN_PROGRESS"

	// VcfServiceCredentialCreationResponseStatusFAILED captures enum value "FAILED"
	VcfServiceCredentialCreationResponseStatusFAILED string = "FAILED"
)
View Source
const (

	// WebhookEventConfigEventSUCCESS captures enum value "SUCCESS"
	WebhookEventConfigEventSUCCESS string = "SUCCESS"

	// WebhookEventConfigEventFAILURE captures enum value "FAILURE"
	WebhookEventConfigEventFAILURE string = "FAILURE"

	// WebhookEventConfigEventWAITING captures enum value "WAITING"
	WebhookEventConfigEventWAITING string = "WAITING"

	// WebhookEventConfigEventCANCELED captures enum value "CANCELED"
	WebhookEventConfigEventCANCELED string = "CANCELED"

	// WebhookEventConfigEventSTARTED captures enum value "STARTED"
	WebhookEventConfigEventSTARTED string = "STARTED"
)
View Source
const (

	// ConditionTypeTAG captures enum value "TAG"
	ConditionTypeTAG string = "TAG"
)
View Source
const (

	// MarketplaceContentDownloadRequestTargetTypePROJECT captures enum value "PROJECT"
	MarketplaceContentDownloadRequestTargetTypePROJECT string = "PROJECT"
)
View Source
const (

	// MarketplaceDownloadHistoryItemTargetTypePROJECT captures enum value "PROJECT"
	MarketplaceDownloadHistoryItemTargetTypePROJECT string = "PROJECT"
)
View Source
const (

	// MeteringChargeBasedOnUSAGE captures enum value "USAGE"
	MeteringChargeBasedOnUSAGE string = "USAGE"
)
View Source
const (

	// MeteringPolicyChargeModelPAYASYOUGO captures enum value "PAY_AS_YOU_GO"
	MeteringPolicyChargeModelPAYASYOUGO string = "PAY_AS_YOU_GO"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type APIDescription ¶

type APIDescription struct {

	// The version of the API in yyyy-MM-dd format (UTC).
	// Required: true
	APIVersion *string `json:"apiVersion"`

	// The deprecation policy may contain information whether the api is in deprecated state and when it expires.
	DeprecationPolicy *DeprecationPolicy `json:"deprecationPolicy,omitempty"`

	// The link to the documentation of this api version
	// Required: true
	DocumentationLink *string `json:"documentationLink"`
}

APIDescription Api description

swagger:model ApiDescription

func (*APIDescription) ContextValidate ¶ added in v0.2.20

func (m *APIDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api description based on the context it is used

func (*APIDescription) MarshalBinary ¶

func (m *APIDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIDescription) UnmarshalBinary ¶

func (m *APIDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIDescription) Validate ¶

func (m *APIDescription) Validate(formats strfmt.Registry) error

Validate validates this Api description

type About ¶

type About interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The latest version of the API in yyyy-MM-dd format (UTC).
	// Required: true
	LatestAPIVersion() *string
	SetLatestAPIVersion(*string)

	// A collection of all currently supported api versions.
	// Required: true
	SupportedApis() []*AboutAPIDescription
	SetSupportedApis([]*AboutAPIDescription)
}

About About

State object representing an about page that includes api versioning information ¶

swagger:discriminator About State object representing an about page that includes api versioning information

func UnmarshalAbout ¶ added in v0.2.22

func UnmarshalAbout(reader io.Reader, consumer runtime.Consumer) (About, error)

UnmarshalAbout unmarshals polymorphic About

func UnmarshalAboutSlice ¶ added in v0.2.22

func UnmarshalAboutSlice(reader io.Reader, consumer runtime.Consumer) ([]About, error)

UnmarshalAboutSlice unmarshals polymorphic slices of About

type AboutAPIDescription ¶ added in v0.2.22

type AboutAPIDescription struct {

	// The version of the API in yyyy-MM-dd format (UTC).
	// Required: true
	APIVersion *string `json:"apiVersion"`

	// The deprecation policy may contain information whether the api is in deprecated state and when it expires.
	DeprecationPolicy *AboutDeprecationPolicy `json:"deprecationPolicy,omitempty"`

	// The link to the documentation of this api version
	// Required: true
	DocumentationLink *string `json:"documentationLink"`
}

AboutAPIDescription About$ApiDescription

swagger:model AboutApiDescription

func (*AboutAPIDescription) ContextValidate ¶ added in v0.2.22

func (m *AboutAPIDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this about Api description based on the context it is used

func (*AboutAPIDescription) MarshalBinary ¶ added in v0.2.22

func (m *AboutAPIDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AboutAPIDescription) UnmarshalBinary ¶ added in v0.2.22

func (m *AboutAPIDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AboutAPIDescription) Validate ¶ added in v0.2.22

func (m *AboutAPIDescription) Validate(formats strfmt.Registry) error

Validate validates this about Api description

type AboutDeprecationPolicy ¶ added in v0.2.22

type AboutDeprecationPolicy struct {

	// The date the api was deprecated in yyyy-MM-dd format (UTC). Could be empty if the api is not deprecated.
	DeprecatedAt string `json:"deprecatedAt,omitempty"`

	// A free text description that contains information about why this api is deprecated and how to migrate to a newer version.
	Description string `json:"description,omitempty"`

	// The date the api support will be dropped in yyyy-MM-dd format (UTC). The api may still be available for use after that date but this is not guaranteed.
	ExpiresAt string `json:"expiresAt,omitempty"`
}

AboutDeprecationPolicy About$DeprecationPolicy

swagger:model AboutDeprecationPolicy

func (*AboutDeprecationPolicy) ContextValidate ¶ added in v0.2.22

func (m *AboutDeprecationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this about deprecation policy based on context it is used

func (*AboutDeprecationPolicy) MarshalBinary ¶ added in v0.2.22

func (m *AboutDeprecationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AboutDeprecationPolicy) UnmarshalBinary ¶ added in v0.2.22

func (m *AboutDeprecationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AboutDeprecationPolicy) Validate ¶ added in v0.2.22

func (m *AboutDeprecationPolicy) Validate(formats strfmt.Registry) error

Validate validates this about deprecation policy

type AdminCatalogItemPatch ¶

type AdminCatalogItemPatch struct {

	// Max number of instances that can be requested at a time
	// Maximum: 127
	// Minimum: -128
	BulkRequestLimit *int32 `json:"bulkRequestLimit,omitempty"`

	// icon id
	IconID string `json:"iconId,omitempty"`
}

AdminCatalogItemPatch AdminCatalogItemPatch

A patch to update attributes for a catalog item ¶

swagger:model AdminCatalogItemPatch

func (*AdminCatalogItemPatch) ContextValidate ¶ added in v0.2.20

func (m *AdminCatalogItemPatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this admin catalog item patch based on context it is used

func (*AdminCatalogItemPatch) MarshalBinary ¶

func (m *AdminCatalogItemPatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdminCatalogItemPatch) UnmarshalBinary ¶

func (m *AdminCatalogItemPatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdminCatalogItemPatch) Validate ¶

func (m *AdminCatalogItemPatch) Validate(formats strfmt.Registry) error

Validate validates this admin catalog item patch

type AuthResponse ¶

type AuthResponse struct {

	// Base64 encoded auth token.
	// Required: true
	Token *string `json:"token"`

	// Type of the token.
	// Example: Bearer
	// Required: true
	TokenType *string `json:"tokenType"`
}

AuthResponse Entity that holds auth token details.

swagger:model AuthResponse

func (*AuthResponse) ContextValidate ¶ added in v0.2.20

func (m *AuthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth response based on context it is used

func (*AuthResponse) MarshalBinary ¶

func (m *AuthResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthResponse) UnmarshalBinary ¶

func (m *AuthResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthResponse) Validate ¶

func (m *AuthResponse) Validate(formats strfmt.Registry) error

Validate validates this auth response

type AwsStorageProfile ¶

type AwsStorageProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this storage profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Indicates whether this storage profile is default or not..
	// Example: false
	// Required: true
	DefaultItem *bool `json:"defaultItem"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// Indicates the type of storage device.
	// Example: ebs / instance-store
	DeviceType string `json:"deviceType,omitempty"`

	// The id of the region for which this profile is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Indicates maximum I/O operations per second in range(1-20,000).
	// Example: 2000
	Iops string `json:"iops,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Indicates whether this storage profile supports encryption or not.
	// Example: false
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// Indicates the type of volume associated with type of storage device.
	// Example: gp2 / io1 / sc1 / st1 / standard
	VolumeType string `json:"volumeType,omitempty"`
}

AwsStorageProfile Defines a structure that holds list of storage policies defined for AWS for a specific region.**HATEOAS** links:<br>**region** - Region - Region for the profile.<br>**self** - AwsStorageProfile - Self link to this aws Storage Profile

swagger:model AwsStorageProfile

func (*AwsStorageProfile) ContextValidate ¶ added in v0.2.20

func (m *AwsStorageProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this aws storage profile based on the context it is used

func (*AwsStorageProfile) MarshalBinary ¶

func (m *AwsStorageProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AwsStorageProfile) UnmarshalBinary ¶

func (m *AwsStorageProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AwsStorageProfile) Validate ¶

func (m *AwsStorageProfile) Validate(formats strfmt.Registry) error

Validate validates this aws storage profile

type AzureStorageProfile ¶

type AzureStorageProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this storage profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Indicates the caching mechanism for additional disk.
	// Example: None / ReadOnly / ReadWrite
	DataDiskCaching string `json:"dataDiskCaching,omitempty"`

	// Indicates if a storage profile contains default storage properties.
	// Example: false
	// Required: true
	DefaultItem *bool `json:"defaultItem"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// Indicates the id of disk encryption set.
	// Example: /subscriptions/b8ef63/resourceGroups/DiskEncryptionSets/providers/Microsoft.Compute/diskEncryptionSets/MyDES
	DiskEncryptionSetID string `json:"diskEncryptionSetId,omitempty"`

	// Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
	// Example: Standard_LRS / Premium_LRS
	DiskType string `json:"diskType,omitempty"`

	// The id of the region for which this profile is defined
	// Example: uswest
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
	// Example: None / ReadOnly / ReadWrite
	OsDiskCaching string `json:"osDiskCaching,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Indicates whether this storage profile should support encryption or not.
	// Example: false
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

AzureStorageProfile Defines a structure that holds list of storage policies defined for Azure for a specific region.**HATEOAS** links:<br>**storage-account** - FabricAzureStorageAccount - Storage account for the profile.<br>**region** - Region - Region for the profile.<br>**self** - AzureStorageProfile - Self link to this Azure storage profile.

swagger:model AzureStorageProfile

func (*AzureStorageProfile) ContextValidate ¶ added in v0.2.20

func (m *AzureStorageProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this azure storage profile based on the context it is used

func (*AzureStorageProfile) MarshalBinary ¶

func (m *AzureStorageProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureStorageProfile) UnmarshalBinary ¶

func (m *AzureStorageProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureStorageProfile) Validate ¶

func (m *AzureStorageProfile) Validate(formats strfmt.Registry) error

Validate validates this azure storage profile

type BatchUserOperationRequest ¶ added in v0.2.22

type BatchUserOperationRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The list of user-op ids to be batch approved/rejected.
	// Required: true
	Ids() []string
	SetIds([]string)

	// The response message which the responder would like to give.
	// Example: Approved on Monday.
	ResponseMessage() string
	SetResponseMessage(string)

	// The status of approval requests.
	// Example: Approved
	// Required: true
	Status() *string
	SetStatus(*string)
}

BatchUserOperationRequest BatchUserOperationRequest

Batch user operation request.

swagger:discriminator BatchUserOperationRequest Batch user operation request.

func UnmarshalBatchUserOperationRequest ¶ added in v0.2.22

func UnmarshalBatchUserOperationRequest(reader io.Reader, consumer runtime.Consumer) (BatchUserOperationRequest, error)

UnmarshalBatchUserOperationRequest unmarshals polymorphic BatchUserOperationRequest

func UnmarshalBatchUserOperationRequestSlice ¶ added in v0.2.22

func UnmarshalBatchUserOperationRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]BatchUserOperationRequest, error)

UnmarshalBatchUserOperationRequestSlice unmarshals polymorphic slices of BatchUserOperationRequest

type BatchUserOperationResponse ¶ added in v0.2.22

type BatchUserOperationResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	Errors() []BatchUserOperationStatus
	SetErrors([]BatchUserOperationStatus)

	// The number of approval requests failed.
	// Example: 5
	Failure() int32
	SetFailure(int32)

	// The number of approval requests succeeded.
	// Example: 10
	Success() int32
	SetSuccess(int32)
}

BatchUserOperationResponse BatchUserOperationResponse

Batch user operation response.

swagger:discriminator BatchUserOperationResponse Batch user operation response.

func UnmarshalBatchUserOperationResponse ¶ added in v0.2.22

func UnmarshalBatchUserOperationResponse(reader io.Reader, consumer runtime.Consumer) (BatchUserOperationResponse, error)

UnmarshalBatchUserOperationResponse unmarshals polymorphic BatchUserOperationResponse

func UnmarshalBatchUserOperationResponseSlice ¶ added in v0.2.22

func UnmarshalBatchUserOperationResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]BatchUserOperationResponse, error)

UnmarshalBatchUserOperationResponseSlice unmarshals polymorphic slices of BatchUserOperationResponse

type BatchUserOperationStatus ¶ added in v0.2.22

type BatchUserOperationStatus interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The error message corresponding to the failed approval operation.
	// Example: User operation response received from unauthorized user exampleUser. Ignoring the response.
	Error() string
	SetError(string)

	// The id associated with each entity in the error list in batch approval operation.
	// Example: 9288cad7-eaaa-4e46-83b3-e077d6308b81
	ID() string
	SetID(string)
}

BatchUserOperationStatus BatchUserOperationStatus

Batch user operation status.

swagger:discriminator BatchUserOperationStatus Batch user operation status.

func UnmarshalBatchUserOperationStatus ¶ added in v0.2.22

func UnmarshalBatchUserOperationStatus(reader io.Reader, consumer runtime.Consumer) (BatchUserOperationStatus, error)

UnmarshalBatchUserOperationStatus unmarshals polymorphic BatchUserOperationStatus

func UnmarshalBatchUserOperationStatusSlice ¶ added in v0.2.22

func UnmarshalBatchUserOperationStatusSlice(reader io.Reader, consumer runtime.Consumer) ([]BatchUserOperationStatus, error)

UnmarshalBatchUserOperationStatusSlice unmarshals polymorphic slices of BatchUserOperationStatus

type BlockDevice ¶

type BlockDevice struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Capacity of the block device in GB.
	// Example: 10
	// Required: true
	CapacityInGB *int32 `json:"capacityInGB"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Indicates whether the block device survives a delete action.
	// Example: true
	Persistent bool `json:"persistent,omitempty"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// Status of the block device
	// Example: ATTACHED
	// Required: true
	// Enum: [DETACHED ATTACHED AVAILABLE]
	Status *string `json:"status"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Type of the block device
	// Example: HDD
	// Enum: [SSD HDD CDROM FLOPPY]
	Type string `json:"type,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

BlockDevice State object representing a block device.<br>**HATEOAS** links:<br>**cloud-accounts** - array[CloudAccount] - Cloud accounts where this disk is provisioned.<br>**self** - BlockDevice - Self link to this block device

swagger:model BlockDevice

func (*BlockDevice) ContextValidate ¶ added in v0.2.20

func (m *BlockDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this block device based on the context it is used

func (*BlockDevice) MarshalBinary ¶

func (m *BlockDevice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockDevice) UnmarshalBinary ¶

func (m *BlockDevice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockDevice) Validate ¶

func (m *BlockDevice) Validate(formats strfmt.Registry) error

Validate validates this block device

type BlockDeviceResult ¶

type BlockDeviceResult struct {

	// List of content items
	// Read Only: true
	Content []*BlockDevice `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

BlockDeviceResult State object representing a query result of block device.

swagger:model BlockDeviceResult

func (*BlockDeviceResult) ContextValidate ¶ added in v0.2.20

func (m *BlockDeviceResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this block device result based on the context it is used

func (*BlockDeviceResult) MarshalBinary ¶

func (m *BlockDeviceResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockDeviceResult) UnmarshalBinary ¶

func (m *BlockDeviceResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockDeviceResult) Validate ¶

func (m *BlockDeviceResult) Validate(formats strfmt.Registry) error

Validate validates this block device result

type BlockDeviceSpecification ¶

type BlockDeviceSpecification struct {

	// Capacity of the block device in GB.
	// Example: 78
	// Required: true
	CapacityInGB *int32 `json:"capacityInGB"`

	// Constraints that are used to drive placement policies for the block device that is produced from this specification. Constraint expressions are matched against tags on existing placement targets.
	// Example: [ { \"mandatory\" : \"true\", \"expression\": \"environment\":\"prod\"}, {\"mandatory\" : \"false\", \"floor\": \"3rd\"} ]
	Constraints []*Constraint `json:"constraints"`

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Content of a disk, base64 encoded.
	// Example: dGVzdA
	DiskContentBase64 string `json:"diskContentBase64,omitempty"`

	// Indicates whether the block device should be encrypted or not.
	// Example: true
	Encrypted bool `json:"encrypted,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Indicates whether the block device survives a delete action.
	// Example: true
	Persistent bool `json:"persistent,omitempty"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`

	// Reference to URI using which the block device has to be created.
	// Example: ami-0d4cfd66
	SourceReference string `json:"sourceReference,omitempty"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"location\", \"value\": \"SOF\" } ]
	Tags []*Tag `json:"tags"`
}

BlockDeviceSpecification block device specification

swagger:model BlockDeviceSpecification

func (*BlockDeviceSpecification) ContextValidate ¶ added in v0.2.20

func (m *BlockDeviceSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this block device specification based on the context it is used

func (*BlockDeviceSpecification) MarshalBinary ¶

func (m *BlockDeviceSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockDeviceSpecification) UnmarshalBinary ¶

func (m *BlockDeviceSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockDeviceSpecification) Validate ¶

func (m *BlockDeviceSpecification) Validate(formats strfmt.Registry) error

Validate validates this block device specification

type Blueprint ¶

type Blueprint struct {

	// Blueprint YAML content
	Content string `json:"content,omitempty"`

	// Content source id
	// Read Only: true
	ContentSourceID string `json:"contentSourceId,omitempty"`

	// Content source path
	// Read Only: true
	ContentSourcePath string `json:"contentSourcePath,omitempty"`

	// Content source last sync time
	// Read Only: true
	// Format: date-time
	ContentSourceSyncAt strfmt.DateTime `json:"contentSourceSyncAt,omitempty"`

	// Content source last sync messages
	// Read Only: true
	ContentSourceSyncMessages []string `json:"contentSourceSyncMessages"`

	// Content source last sync status
	// Read Only: true
	// Enum: [SUCCESSFUL FAILED]
	ContentSourceSyncStatus string `json:"contentSourceSyncStatus,omitempty"`

	// Content source type
	// Read Only: true
	ContentSourceType string `json:"contentSourceType,omitempty"`

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Blueprint description
	Description string `json:"description,omitempty"`

	// Object ID
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Blueprint name
	Name string `json:"name,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Project ID
	ProjectID string `json:"projectId,omitempty"`

	// Project Name
	// Read Only: true
	ProjectName string `json:"projectName,omitempty"`

	// Flag to indicate blueprint can be requested from any project in org
	RequestScopeOrg bool `json:"requestScopeOrg,omitempty"`

	// Blueprint self link
	// Read Only: true
	SelfLink string `json:"selfLink,omitempty"`

	// Blueprint status
	// Read Only: true
	// Enum: [DRAFT VERSIONED RELEASED]
	Status string `json:"status,omitempty"`

	// Total released versions
	// Read Only: true
	TotalReleasedVersions int32 `json:"totalReleasedVersions,omitempty"`

	// Total versions
	// Read Only: true
	TotalVersions int32 `json:"totalVersions,omitempty"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`

	// Validation result on update
	// Read Only: true
	Valid *bool `json:"valid,omitempty"`

	// Validation messages
	// Read Only: true
	ValidationMessages []*BlueprintValidationMessage `json:"validationMessages"`
}

Blueprint Blueprint

swagger:model Blueprint

func (*Blueprint) ContextValidate ¶ added in v0.2.20

func (m *Blueprint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint based on the context it is used

func (*Blueprint) MarshalBinary ¶

func (m *Blueprint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Blueprint) UnmarshalBinary ¶

func (m *Blueprint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Blueprint) Validate ¶

func (m *Blueprint) Validate(formats strfmt.Registry) error

Validate validates this blueprint

type BlueprintAbout ¶ added in v0.2.0

type BlueprintAbout struct {

	// Latest API Version
	// Read Only: true
	LatestAPIVersion string `json:"latestApiVersion,omitempty"`

	// Supported API's
	// Read Only: true
	SupportedApis []*SupportedAPI `json:"supportedApis"`
}

BlueprintAbout BlueprintAbout

swagger:model BlueprintAbout

func (*BlueprintAbout) ContextValidate ¶ added in v0.2.20

func (m *BlueprintAbout) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint about based on the context it is used

func (*BlueprintAbout) MarshalBinary ¶ added in v0.2.0

func (m *BlueprintAbout) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintAbout) UnmarshalBinary ¶ added in v0.2.0

func (m *BlueprintAbout) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintAbout) Validate ¶ added in v0.2.0

func (m *BlueprintAbout) Validate(formats strfmt.Registry) error

Validate validates this blueprint about

type BlueprintContentSource ¶ added in v0.2.18

type BlueprintContentSource struct {

	// config
	Config *BlueprintContentSourceConfig `json:"config,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// integration account name
	IntegrationAccountName string `json:"integrationAccountName,omitempty"`

	// is sync enabled
	IsSyncEnabled bool `json:"isSyncEnabled,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// type Id
	TypeID string `json:"typeId,omitempty"`
}

BlueprintContentSource ContentSource

swagger:model BlueprintContentSource

func (*BlueprintContentSource) ContextValidate ¶ added in v0.2.20

func (m *BlueprintContentSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint content source based on the context it is used

func (*BlueprintContentSource) MarshalBinary ¶ added in v0.2.18

func (m *BlueprintContentSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintContentSource) UnmarshalBinary ¶ added in v0.2.18

func (m *BlueprintContentSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintContentSource) Validate ¶ added in v0.2.18

func (m *BlueprintContentSource) Validate(formats strfmt.Registry) error

Validate validates this blueprint content source

type BlueprintContentSourceConfig ¶ added in v0.2.18

type BlueprintContentSourceConfig struct {

	// branch
	Branch string `json:"branch,omitempty"`

	// content type
	ContentType string `json:"contentType,omitempty"`

	// integration Id
	IntegrationID string `json:"integrationId,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// repository
	Repository string `json:"repository,omitempty"`
}

BlueprintContentSourceConfig ContentSourceConfig

swagger:model BlueprintContentSourceConfig

func (*BlueprintContentSourceConfig) ContextValidate ¶ added in v0.2.20

func (m *BlueprintContentSourceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blueprint content source config based on context it is used

func (*BlueprintContentSourceConfig) MarshalBinary ¶ added in v0.2.18

func (m *BlueprintContentSourceConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintContentSourceConfig) UnmarshalBinary ¶ added in v0.2.18

func (m *BlueprintContentSourceConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintContentSourceConfig) Validate ¶ added in v0.2.18

func (m *BlueprintContentSourceConfig) Validate(formats strfmt.Registry) error

Validate validates this blueprint content source config

type BlueprintPlan ¶

type BlueprintPlan struct {

	// Blueprint plan input properties
	// Read Only: true
	InputProperties interface{} `json:"inputProperties,omitempty"`

	// Blueprint plan output properties
	// Read Only: true
	OutputProperties interface{} `json:"outputProperties,omitempty"`

	// Blueprint plan tasks
	// Read Only: true
	Tasks []*BlueprintPlanTask `json:"tasks"`
}

BlueprintPlan BlueprintPlan

swagger:model BlueprintPlan

func (*BlueprintPlan) ContextValidate ¶ added in v0.2.20

func (m *BlueprintPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint plan based on the context it is used

func (*BlueprintPlan) MarshalBinary ¶

func (m *BlueprintPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintPlan) UnmarshalBinary ¶

func (m *BlueprintPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintPlan) Validate ¶

func (m *BlueprintPlan) Validate(formats strfmt.Registry) error

Validate validates this blueprint plan

type BlueprintPlanResource ¶

type BlueprintPlanResource struct {

	// Resource depends on other resources in the plan
	// Read Only: true
	DependsOnResources []string `json:"dependsOnResources"`

	// Resource new properties
	// Read Only: true
	NewProperties interface{} `json:"newProperties,omitempty"`

	// Resource old properties
	// Read Only: true
	OldProperties interface{} `json:"oldProperties,omitempty"`

	// Resource name
	// Read Only: true
	ResourceName string `json:"resourceName,omitempty"`

	// Resource reason
	// Read Only: true
	// Enum: [CREATE RECREATE UPDATE DELETE ACTION READ]
	ResourceReason string `json:"resourceReason,omitempty"`

	// Resource type
	// Read Only: true
	ResourceType string `json:"resourceType,omitempty"`

	// List of task names
	// Read Only: true
	TaskNames []string `json:"taskNames"`
}

BlueprintPlanResource BlueprintPlanResource

swagger:model BlueprintPlanResource

func (*BlueprintPlanResource) ContextValidate ¶ added in v0.2.20

func (m *BlueprintPlanResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint plan resource based on the context it is used

func (*BlueprintPlanResource) MarshalBinary ¶

func (m *BlueprintPlanResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintPlanResource) UnmarshalBinary ¶

func (m *BlueprintPlanResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintPlanResource) Validate ¶

func (m *BlueprintPlanResource) Validate(formats strfmt.Registry) error

Validate validates this blueprint plan resource

type BlueprintPlanTask ¶

type BlueprintPlanTask struct {

	// Tasks depends on other tasks
	// Read Only: true
	DependsOnTasks []string `json:"dependsOnTasks"`

	// Task input properties
	// Read Only: true
	InputProperties interface{} `json:"inputProperties,omitempty"`

	// Task name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Resource name
	// Read Only: true
	ResourceName string `json:"resourceName,omitempty"`

	// Resource reason
	// Read Only: true
	// Enum: [CREATE RECREATE UPDATE DELETE ACTION READ]
	ResourceReason string `json:"resourceReason,omitempty"`

	// Resource type
	// Read Only: true
	ResourceType string `json:"resourceType,omitempty"`
}

BlueprintPlanTask BlueprintPlanTask

swagger:model BlueprintPlanTask

func (*BlueprintPlanTask) ContextValidate ¶ added in v0.2.20

func (m *BlueprintPlanTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint plan task based on the context it is used

func (*BlueprintPlanTask) MarshalBinary ¶

func (m *BlueprintPlanTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintPlanTask) UnmarshalBinary ¶

func (m *BlueprintPlanTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintPlanTask) Validate ¶

func (m *BlueprintPlanTask) Validate(formats strfmt.Registry) error

Validate validates this blueprint plan task

type BlueprintRequest ¶

type BlueprintRequest struct {

	// Blueprint Id
	// Format: uuid
	BlueprintID strfmt.UUID `json:"blueprintId,omitempty"`

	// Blueprint version
	BlueprintVersion string `json:"blueprintVersion,omitempty"`

	// Cancel request time
	// Read Only: true
	// Format: date-time
	CancelRequestedAt strfmt.DateTime `json:"cancelRequestedAt,omitempty"`

	// Cancel requested by
	// Read Only: true
	CancelRequestedBy string `json:"cancelRequestedBy,omitempty"`

	// Blueprint YAML content
	Content string `json:"content,omitempty"`

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Existing deployment Id
	DeploymentID string `json:"deploymentId,omitempty"`

	// Name for the new deployment
	DeploymentName string `json:"deploymentName,omitempty"`

	// Description for the new request
	Description string `json:"description,omitempty"`

	// Destroy existing deployment
	Destroy bool `json:"destroy,omitempty"`

	// Failure message
	// Read Only: true
	FailureMessage string `json:"failureMessage,omitempty"`

	// Flow execution Id
	// Read Only: true
	FlowExecutionID string `json:"flowExecutionId,omitempty"`

	// Flow Id
	// Read Only: true
	FlowID string `json:"flowId,omitempty"`

	// Object ID
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Ignore delete failures in blueprint request
	IgnoreDeleteFailures bool `json:"ignoreDeleteFailures,omitempty"`

	// Blueprint request inputs
	Inputs interface{} `json:"inputs,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Plan only without affecting existing deployment
	Plan bool `json:"plan,omitempty"`

	// Project ID
	ProjectID string `json:"projectId,omitempty"`

	// Project Name
	// Read Only: true
	ProjectName string `json:"projectName,omitempty"`

	// Reason for requesting a blueprint
	Reason string `json:"reason,omitempty"`

	// Request tracker Id
	// Read Only: true
	RequestTrackerID string `json:"requestTrackerId,omitempty"`

	// Simulate blueprint request with providers
	Simulate bool `json:"simulate,omitempty"`

	// Status
	// Read Only: true
	// Enum: [CREATED STARTED FINISHED FAILED CANCELLED]
	Status string `json:"status,omitempty"`

	// Target resources
	// Read Only: true
	TargetResources []string `json:"targetResources"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`

	// Validation messages
	// Read Only: true
	ValidationMessages []*BlueprintValidationMessage `json:"validationMessages"`
}

BlueprintRequest BlueprintRequest

swagger:model BlueprintRequest

func (*BlueprintRequest) ContextValidate ¶ added in v0.2.20

func (m *BlueprintRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint request based on the context it is used

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

func (*BlueprintRequest) Validate ¶

func (m *BlueprintRequest) Validate(formats strfmt.Registry) error

Validate validates this blueprint request

type BlueprintResourcesPlan ¶

type BlueprintResourcesPlan struct {

	// Blueprint plan tasks
	// Read Only: true
	Resources []*BlueprintPlanResource `json:"resources"`
}

BlueprintResourcesPlan BlueprintResourcesPlan

swagger:model BlueprintResourcesPlan

func (*BlueprintResourcesPlan) ContextValidate ¶ added in v0.2.20

func (m *BlueprintResourcesPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint resources plan based on the context it is used

func (*BlueprintResourcesPlan) MarshalBinary ¶

func (m *BlueprintResourcesPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintResourcesPlan) UnmarshalBinary ¶

func (m *BlueprintResourcesPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintResourcesPlan) Validate ¶

func (m *BlueprintResourcesPlan) Validate(formats strfmt.Registry) error

Validate validates this blueprint resources plan

type BlueprintValidationMessage ¶

type BlueprintValidationMessage struct {

	// Validation message
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Metadata
	// Read Only: true
	Metadata map[string]string `json:"metadata,omitempty"`

	// Validation path
	// Read Only: true
	Path string `json:"path,omitempty"`

	// Resource name
	// Read Only: true
	ResourceName string `json:"resourceName,omitempty"`

	// Message type
	// Read Only: true
	// Enum: [INFO WARNING ERROR]
	Type string `json:"type,omitempty"`
}

BlueprintValidationMessage BlueprintValidationMessage

swagger:model BlueprintValidationMessage

func (*BlueprintValidationMessage) ContextValidate ¶ added in v0.2.20

func (m *BlueprintValidationMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint validation message based on the context it is used

func (*BlueprintValidationMessage) MarshalBinary ¶

func (m *BlueprintValidationMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintValidationMessage) UnmarshalBinary ¶

func (m *BlueprintValidationMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintValidationMessage) Validate ¶

func (m *BlueprintValidationMessage) Validate(formats strfmt.Registry) error

Validate validates this blueprint validation message

type BlueprintValidationRequest ¶

type BlueprintValidationRequest struct {

	// Blueprint Id
	// Format: uuid
	BlueprintID strfmt.UUID `json:"blueprintId,omitempty"`

	// Blueprint Version
	BlueprintVersion string `json:"blueprintVersion,omitempty"`

	// Blueprint YAML content
	Content string `json:"content,omitempty"`

	// Blueprint request inputs
	Inputs interface{} `json:"inputs,omitempty"`

	// Project Id
	ProjectID string `json:"projectId,omitempty"`
}

BlueprintValidationRequest BlueprintValidationRequest

swagger:model BlueprintValidationRequest

func (*BlueprintValidationRequest) ContextValidate ¶ added in v0.2.20

func (m *BlueprintValidationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blueprint validation request based on context it is used

func (*BlueprintValidationRequest) MarshalBinary ¶

func (m *BlueprintValidationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintValidationRequest) UnmarshalBinary ¶

func (m *BlueprintValidationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintValidationRequest) Validate ¶

func (m *BlueprintValidationRequest) Validate(formats strfmt.Registry) error

Validate validates this blueprint validation request

type BlueprintValidationResponse ¶

type BlueprintValidationResponse struct {

	// Is blueprint valid
	// Read Only: true
	Valid *bool `json:"valid,omitempty"`

	// Validation messages
	// Read Only: true
	ValidationMessages []*BlueprintValidationMessage `json:"validationMessages"`
}

BlueprintValidationResponse BlueprintValidationResponse

swagger:model BlueprintValidationResponse

func (*BlueprintValidationResponse) ContextValidate ¶ added in v0.2.20

func (m *BlueprintValidationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint validation response based on the context it is used

func (*BlueprintValidationResponse) MarshalBinary ¶

func (m *BlueprintValidationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintValidationResponse) UnmarshalBinary ¶

func (m *BlueprintValidationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintValidationResponse) Validate ¶

func (m *BlueprintValidationResponse) Validate(formats strfmt.Registry) error

Validate validates this blueprint validation response

type BlueprintVersion ¶

type BlueprintVersion struct {

	// Draft blueprint ID
	// Read Only: true
	BlueprintID string `json:"blueprintId,omitempty"`

	// Blueprint YAML content
	// Read Only: true
	Content string `json:"content,omitempty"`

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Draft blueprint description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Object ID
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Blueprint name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Project ID
	ProjectID string `json:"projectId,omitempty"`

	// Project Name
	// Read Only: true
	ProjectName string `json:"projectName,omitempty"`

	// Blueprint version self link
	// Read Only: true
	SelfLink string `json:"selfLink,omitempty"`

	// Blueprint status
	// Read Only: true
	// Enum: [DRAFT VERSIONED RELEASED]
	Status string `json:"status,omitempty"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`

	// Validation result
	// Read Only: true
	Valid *bool `json:"valid,omitempty"`

	// Blueprint version
	// Read Only: true
	Version string `json:"version,omitempty"`

	// Blueprint version change log
	// Read Only: true
	VersionChangeLog string `json:"versionChangeLog,omitempty"`

	// Blueprint version description
	// Read Only: true
	VersionDescription string `json:"versionDescription,omitempty"`
}

BlueprintVersion BlueprintVersion

swagger:model BlueprintVersion

func (*BlueprintVersion) ContextValidate ¶ added in v0.2.20

func (m *BlueprintVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blueprint version based on the context it is used

func (*BlueprintVersion) MarshalBinary ¶

func (m *BlueprintVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintVersion) UnmarshalBinary ¶

func (m *BlueprintVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintVersion) Validate ¶

func (m *BlueprintVersion) Validate(formats strfmt.Registry) error

Validate validates this blueprint version

type BlueprintVersionRequest ¶

type BlueprintVersionRequest struct {

	// Blueprint version change log
	ChangeLog string `json:"changeLog,omitempty"`

	// Blueprint version description
	Description string `json:"description,omitempty"`

	// Flag indicating to release version
	Release bool `json:"release,omitempty"`

	// Blueprint version
	// Required: true
	Version *string `json:"version"`
}

BlueprintVersionRequest BlueprintVersionRequest

swagger:model BlueprintVersionRequest

func (*BlueprintVersionRequest) ContextValidate ¶ added in v0.2.20

func (m *BlueprintVersionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blueprint version request based on context it is used

func (*BlueprintVersionRequest) MarshalBinary ¶

func (m *BlueprintVersionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlueprintVersionRequest) UnmarshalBinary ¶

func (m *BlueprintVersionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlueprintVersionRequest) Validate ¶

func (m *BlueprintVersionRequest) Validate(formats strfmt.Registry) error

Validate validates this blueprint version request

type CatalogItem ¶

type CatalogItem struct {

	// Max number of instances that can be requested at a time
	// Maximum: 127
	// Minimum: -128
	BulkRequestLimit *int32 `json:"bulkRequestLimit,omitempty"`

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created By
	CreatedBy string `json:"createdBy,omitempty"`

	// CatalogItem description
	Description string `json:"description,omitempty"`

	// Form ID
	FormID string `json:"formId,omitempty"`

	// Icon ID
	// Format: uuid
	IconID strfmt.UUID `json:"iconId,omitempty"`

	// CatalogItem id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// Update time
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Updated By
	LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`

	// CatalogItem name
	// Required: true
	Name *string `json:"name"`

	// Associated project IDs that can be used for requesting
	// Required: true
	ProjectIds []string `json:"projectIds"`

	// Associated projects that can be used for requesting
	Projects []*ResourceReference `json:"projects"`

	// Json schema describing request parameters, a simplified version of http://json-schema.org/latest/json-schema-validation.html#rfc.section.5
	Schema interface{} `json:"schema,omitempty"`

	// LibraryItem source ID.
	// Format: uuid
	SourceID strfmt.UUID `json:"sourceId,omitempty"`

	// LibraryItem source name.
	SourceName string `json:"sourceName,omitempty"`

	// ResourceReference to type, e.g. blueprint, CFT... etc
	// Required: true
	Type *ResourceReference `json:"type"`
}

CatalogItem CatalogItem

Represents a Catalog Item that can eventually be requested by a consumer.

swagger:model CatalogItem

func (*CatalogItem) ContextValidate ¶ added in v0.2.20

func (m *CatalogItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this catalog item based on the context it is used

func (*CatalogItem) MarshalBinary ¶

func (m *CatalogItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItem) UnmarshalBinary ¶

func (m *CatalogItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItem) Validate ¶

func (m *CatalogItem) Validate(formats strfmt.Registry) error

Validate validates this catalog item

type CatalogItemRequest ¶

type CatalogItemRequest struct {

	// Deployment request count; defaults to 1 if not specified.
	// Maximum: 127
	// Minimum: -128
	BulkRequestCount *int32 `json:"bulkRequestCount,omitempty"`

	// Name of the requested deployment
	DeploymentName string `json:"deploymentName,omitempty"`

	// Input parameters for the request. These must be compliant with the schema of the corresponding catalog item
	Inputs interface{} `json:"inputs,omitempty"`

	// Project to be used for the request
	ProjectID string `json:"projectId,omitempty"`

	// Reason for request
	Reason string `json:"reason,omitempty"`

	// Version of the catalog item. e.g. v2.0
	Version string `json:"version,omitempty"`
}

CatalogItemRequest CatalogItemRequest

A request to create a deployment based on a catalog item ¶

swagger:model CatalogItemRequest

func (*CatalogItemRequest) ContextValidate ¶ added in v0.2.20

func (m *CatalogItemRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this catalog item request based on context it is used

func (*CatalogItemRequest) MarshalBinary ¶

func (m *CatalogItemRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItemRequest) UnmarshalBinary ¶

func (m *CatalogItemRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItemRequest) Validate ¶

func (m *CatalogItemRequest) Validate(formats strfmt.Registry) error

Validate validates this catalog item request

type CatalogItemRequestResponse ¶

type CatalogItemRequestResponse struct {

	// The created deployment's ID
	DeploymentID string `json:"deploymentId,omitempty"`

	// The created deployment's name
	DeploymentName string `json:"deploymentName,omitempty"`
}

CatalogItemRequestResponse CatalogItemRequestResponse

The blueprint service's response to a deployment request ¶

swagger:model CatalogItemRequestResponse

func (*CatalogItemRequestResponse) ContextValidate ¶ added in v0.2.20

func (m *CatalogItemRequestResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this catalog item request response based on context it is used

func (*CatalogItemRequestResponse) MarshalBinary ¶

func (m *CatalogItemRequestResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItemRequestResponse) UnmarshalBinary ¶

func (m *CatalogItemRequestResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItemRequestResponse) Validate ¶

func (m *CatalogItemRequestResponse) Validate(formats strfmt.Registry) error

Validate validates this catalog item request response

type CatalogItemResourceUpfrontPriceResponse ¶

type CatalogItemResourceUpfrontPriceResponse struct {

	// Additional Price incurred for the catalog.
	// Read Only: true
	DailyAdditionalPrice float64 `json:"dailyAdditionalPrice,omitempty"`

	// Compute Price of the catalog resource.
	// Read Only: true
	DailyComputePrice float64 `json:"dailyComputePrice,omitempty"`

	// Network Price of the catalog resource.
	// Read Only: true
	DailyNetworkPrice float64 `json:"dailyNetworkPrice,omitempty"`

	// Storage Price of the catalog resource.
	// Read Only: true
	DailyStoragePrice float64 `json:"dailyStoragePrice,omitempty"`

	// Total Price of the catalog resource.
	// Read Only: true
	DailyTotalPrice float64 `json:"dailyTotalPrice,omitempty"`

	// resource name
	ResourceName string `json:"resourceName,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// Id
	// Read Only: true
	ResourceUpfrontPriceID string `json:"resourceUpfrontPriceId,omitempty"`

	// Upfront price sync status
	// Read Only: true
	// Enum: [SUCCESS ERROR DATA_NOT_AVAILABLE CURRENCY_NOT_SET]
	Status string `json:"status,omitempty"`

	// Upfront price status detail.
	// Read Only: true
	StatusDetails string `json:"statusDetails,omitempty"`

	// Monetary unit.
	// Read Only: true
	Unit string `json:"unit,omitempty"`
}

CatalogItemResourceUpfrontPriceResponse CatalogItemResourceUpfrontPriceResponse

A response with upfront price for a resource in given catalog item ¶

swagger:model CatalogItemResourceUpfrontPriceResponse

func (*CatalogItemResourceUpfrontPriceResponse) ContextValidate ¶ added in v0.2.20

ContextValidate validate this catalog item resource upfront price response based on the context it is used

func (*CatalogItemResourceUpfrontPriceResponse) MarshalBinary ¶

func (m *CatalogItemResourceUpfrontPriceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItemResourceUpfrontPriceResponse) UnmarshalBinary ¶

func (m *CatalogItemResourceUpfrontPriceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItemResourceUpfrontPriceResponse) Validate ¶

Validate validates this catalog item resource upfront price response

type CatalogItemType ¶

type CatalogItemType struct {

	// Base callback URI for import operations
	BaseURI string `json:"baseUri,omitempty"`

	// Configuration schema for this type, requests to create a source of this type should have a compliant 'config' field
	ConfigSchema interface{} `json:"configSchema,omitempty"`

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Service that created this type
	CreatedBy string `json:"createdBy,omitempty"`

	// Default Icon Id
	// Format: uuid
	IconID strfmt.UUID `json:"iconId,omitempty"`

	// Human-readable unique ID containing only lowercase letters and periods, neither starting nor ending with a period, and never having two consecutive periods
	ID string `json:"id,omitempty"`

	// Unique Catalog Item Type name
	// Required: true
	Name *string `json:"name"`
}

CatalogItemType CatalogItemType

Represents a type of Catalog Item.

swagger:model CatalogItemType

func (*CatalogItemType) ContextValidate ¶ added in v0.2.20

func (m *CatalogItemType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this catalog item type based on context it is used

func (*CatalogItemType) MarshalBinary ¶

func (m *CatalogItemType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItemType) UnmarshalBinary ¶

func (m *CatalogItemType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItemType) Validate ¶

func (m *CatalogItemType) Validate(formats strfmt.Registry) error

Validate validates this catalog item type

type CatalogItemUpfrontPriceResponse ¶

type CatalogItemUpfrontPriceResponse struct {

	// Additional Price incurred for the catalog.
	// Read Only: true
	DailyAdditionalPrice float64 `json:"dailyAdditionalPrice,omitempty"`

	// Compute Price of the catalog.
	// Read Only: true
	DailyComputePrice float64 `json:"dailyComputePrice,omitempty"`

	// Network Price of the catalog.
	// Read Only: true
	DailyNetworkPrice float64 `json:"dailyNetworkPrice,omitempty"`

	// Storage Price of the catalog.
	// Read Only: true
	DailyStoragePrice float64 `json:"dailyStoragePrice,omitempty"`

	// Total Price of the catalog.
	// Read Only: true
	DailyTotalPrice float64 `json:"dailyTotalPrice,omitempty"`

	// resource price details
	ResourcePriceDetails []*CatalogItemResourceUpfrontPriceResponse `json:"resourcePriceDetails"`

	// Upfront price sync status
	// Read Only: true
	// Enum: [STARTED PREPARING_COST_ESTIMATION IN_PROGRESS SUCCESS ERROR DATA_NOT_AVAILABLE CURRENCY_NOT_SET PUBLIC_CLOUD_NOT_SUPPORTED]
	Status string `json:"status,omitempty"`

	// Upfront price status detail.
	// Read Only: true
	StatusDetails string `json:"statusDetails,omitempty"`

	// Monetary unit.
	// Read Only: true
	Unit string `json:"unit,omitempty"`

	// Id
	// Read Only: true
	UpfrontPriceID string `json:"upfrontPriceId,omitempty"`
}

CatalogItemUpfrontPriceResponse CatalogItemUpfrontPriceResponse

The response to a catalog item upfront price request ¶

swagger:model CatalogItemUpfrontPriceResponse

func (*CatalogItemUpfrontPriceResponse) ContextValidate ¶ added in v0.2.20

func (m *CatalogItemUpfrontPriceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this catalog item upfront price response based on the context it is used

func (*CatalogItemUpfrontPriceResponse) MarshalBinary ¶

func (m *CatalogItemUpfrontPriceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItemUpfrontPriceResponse) UnmarshalBinary ¶

func (m *CatalogItemUpfrontPriceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItemUpfrontPriceResponse) Validate ¶

Validate validates this catalog item upfront price response

type CatalogItemVersion ¶

type CatalogItemVersion struct {

	// Created At
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Description
	Description string `json:"description,omitempty"`

	// Form ID
	FormID string `json:"formId,omitempty"`

	// Version ID
	ID string `json:"id,omitempty"`

	// Input Schema
	Schema interface{} `json:"schema,omitempty"`
}

CatalogItemVersion CatalogItemVersion

Represents a version of a Catalog Item that can be requested by a consumer.

swagger:model CatalogItemVersion

func (*CatalogItemVersion) ContextValidate ¶ added in v0.2.20

func (m *CatalogItemVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this catalog item version based on context it is used

func (*CatalogItemVersion) MarshalBinary ¶

func (m *CatalogItemVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogItemVersion) UnmarshalBinary ¶

func (m *CatalogItemVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogItemVersion) Validate ¶

func (m *CatalogItemVersion) Validate(formats strfmt.Registry) error

Validate validates this catalog item version

type CatalogSource ¶

type CatalogSource struct {

	// Source custom configuration
	// Required: true
	Config interface{} `json:"config"`

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created By
	CreatedBy string `json:"createdBy,omitempty"`

	// Catalog Source description
	Description string `json:"description,omitempty"`

	// Global flag indicating that all the items can be requested across all projects.
	Global bool `json:"global,omitempty"`

	// Default Icon Id
	// Format: uuid
	IconID strfmt.UUID `json:"iconId,omitempty"`

	// Catalog Source id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// Number of items found
	ItemsFound int32 `json:"itemsFound,omitempty"`

	// Number of items imported.
	ItemsImported int32 `json:"itemsImported,omitempty"`

	// Last import completion time
	// Format: date-time
	LastImportCompletedAt strfmt.DateTime `json:"lastImportCompletedAt,omitempty"`

	// Last import error(s)
	LastImportErrors []string `json:"lastImportErrors"`

	// Last import start time
	// Format: date-time
	LastImportStartedAt strfmt.DateTime `json:"lastImportStartedAt,omitempty"`

	// Update time
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Updated By
	LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`

	// Catalog Source name
	// Required: true
	Name *string `json:"name"`

	// Project id where the source belongs
	ProjectID string `json:"projectId,omitempty"`

	// Type of source, e.g. blueprint, CFT... etc
	// Required: true
	TypeID *string `json:"typeId"`
}

CatalogSource CatalogSource

Represents a source of templates from which Catalog Items can be created ¶

swagger:model CatalogSource

func (*CatalogSource) ContextValidate ¶ added in v0.2.20

func (m *CatalogSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this catalog source based on context it is used

func (*CatalogSource) MarshalBinary ¶

func (m *CatalogSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogSource) UnmarshalBinary ¶

func (m *CatalogSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogSource) Validate ¶

func (m *CatalogSource) Validate(formats strfmt.Registry) error

Validate validates this catalog source

type CertificateFingerprint ¶ added in v0.2.22

type CertificateFingerprint interface {
	runtime.Validatable
	runtime.ContextValidatable

	// String representing the SHA-1 encoding of the Certificate.
	// Example: F38585A104F37726CFCCE5CEE223ED63A18F54DC
	SHA1() string
	SetSHA1(string)

	// String representing the SHA-256 encoding of the Certificate.
	// Example: 1E47299CCE0081B73FC6AEA3FD35BA2309A033A858EDD518789477C20C910CA4
	SHA256() string
	SetSHA256(string)
}

CertificateFingerprint CertificateFingerprint

Certificates are represented in cryptographic hash algorithms (such as SHA-256 and SHA-1). Used during Endpoint creation.

swagger:discriminator CertificateFingerprint Certificates are represented in cryptographic hash algorithms (such as SHA-256 and SHA-1). Used during Endpoint creation.

func UnmarshalCertificateFingerprint ¶ added in v0.2.22

func UnmarshalCertificateFingerprint(reader io.Reader, consumer runtime.Consumer) (CertificateFingerprint, error)

UnmarshalCertificateFingerprint unmarshals polymorphic CertificateFingerprint

func UnmarshalCertificateFingerprintSlice ¶ added in v0.2.22

func UnmarshalCertificateFingerprintSlice(reader io.Reader, consumer runtime.Consumer) ([]CertificateFingerprint, error)

UnmarshalCertificateFingerprintSlice unmarshals polymorphic slices of CertificateFingerprint

type CertificateIssuedTo ¶ added in v0.2.22

type CertificateIssuedTo interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A human-friendly name used as an identifier for the holding body.
	// Example: vmware.com
	CommonName() string
	SetCommonName(string)

	// Name of the organisation.
	// Example: VMware Inc.
	Organization() string
	SetOrganization(string)

	// Unique ID given to the issued organization.
	// Example: 2.7896956101890133e+38
	SerialNumber() string
	SetSerialNumber(string)
}

CertificateIssuedTo CertificateIssuedTo

Holding body of the Certificate.

swagger:discriminator CertificateIssuedTo Holding body of the Certificate.

func UnmarshalCertificateIssuedTo ¶ added in v0.2.22

func UnmarshalCertificateIssuedTo(reader io.Reader, consumer runtime.Consumer) (CertificateIssuedTo, error)

UnmarshalCertificateIssuedTo unmarshals polymorphic CertificateIssuedTo

func UnmarshalCertificateIssuedToSlice ¶ added in v0.2.22

func UnmarshalCertificateIssuedToSlice(reader io.Reader, consumer runtime.Consumer) ([]CertificateIssuedTo, error)

UnmarshalCertificateIssuedToSlice unmarshals polymorphic slices of CertificateIssuedTo

type CertificateIssuer ¶ added in v0.2.22

type CertificateIssuer struct {

	// A human-friendly name used as an identifier for the holding body.
	// Example: vmware.com
	CommonName string `json:"commonName,omitempty"`

	// Name of the organisation.
	// Example: VMware Inc.
	Organization string `json:"organization,omitempty"`
}

CertificateIssuer CertificateIssuer

swagger:model CertificateIssuer

func (*CertificateIssuer) ContextValidate ¶ added in v0.2.22

func (m *CertificateIssuer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this certificate issuer based on context it is used

func (*CertificateIssuer) MarshalBinary ¶ added in v0.2.22

func (m *CertificateIssuer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificateIssuer) UnmarshalBinary ¶ added in v0.2.22

func (m *CertificateIssuer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificateIssuer) Validate ¶ added in v0.2.22

func (m *CertificateIssuer) Validate(formats strfmt.Registry) error

Validate validates this certificate issuer

type CertificateValidity ¶ added in v0.2.22

type CertificateValidity interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A UNIX timestamp in microseconds represnting when the validaty of the Certificate begins.
	// Example: 1541116800000
	BeginsOn() int64
	SetBeginsOn(int64)

	// A UNIX timestamp in microseconds represnting when the validaty of the Certificate expires.
	// Example: 1924991999000
	ExpiresOn() int64
	SetExpiresOn(int64)
}

CertificateValidity CertificateValidity

Describes the validity of the Certificate in terms of dates.

swagger:discriminator CertificateValidity Describes the validity of the Certificate in terms of dates.

func UnmarshalCertificateValidity ¶ added in v0.2.22

func UnmarshalCertificateValidity(reader io.Reader, consumer runtime.Consumer) (CertificateValidity, error)

UnmarshalCertificateValidity unmarshals polymorphic CertificateValidity

func UnmarshalCertificateValiditySlice ¶ added in v0.2.22

func UnmarshalCertificateValiditySlice(reader io.Reader, consumer runtime.Consumer) ([]CertificateValidity, error)

UnmarshalCertificateValiditySlice unmarshals polymorphic slices of CertificateValidity

type ChangeSecurityGroupSpecification ¶ added in v0.2.14

type ChangeSecurityGroupSpecification struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// A set of network interface controller specifications for this machine. If not specified, then no reconfiguration will be performed.
	NetworkInterfaceSpecifications []*NetworkInterfaceSpecification `json:"networkInterfaceSpecifications"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

ChangeSecurityGroupSpecification Specification for a second day change security groups operation for a vsphere machine

swagger:model ChangeSecurityGroupSpecification

func (*ChangeSecurityGroupSpecification) ContextValidate ¶ added in v0.2.20

func (m *ChangeSecurityGroupSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this change security group specification based on the context it is used

func (*ChangeSecurityGroupSpecification) MarshalBinary ¶ added in v0.2.14

func (m *ChangeSecurityGroupSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChangeSecurityGroupSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *ChangeSecurityGroupSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChangeSecurityGroupSpecification) Validate ¶ added in v0.2.14

Validate validates this change security group specification

type Clause ¶ added in v0.2.0

type Clause interface{}

Clause Clause

swagger:model Clause

type CloudAccount ¶

type CloudAccount struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Cloud account specific properties
	// Example: { \"hostName\": \"vcenter.mycompany.com\" }
	// Required: true
	CloudAccountProperties map[string]string `json:"cloudAccountProperties"`

	// Cloud account type
	// Example: vsphere, aws, azure, nsxv, nsxt
	// Required: true
	CloudAccountType *string `json:"cloudAccountType"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// A set of region names to enable provisioning on.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	EnabledRegionIds []string `json:"enabledRegionIds"`

	// A list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

CloudAccount State object representing a cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**associated-cloud-accounts** - array[CloudAccount] - Cloud accounts associated to this cloud account. For example an NSX endpoint linked to a vSphere cloud account.<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccount - Self link to this cloud account

swagger:model CloudAccount

func (*CloudAccount) ContextValidate ¶ added in v0.2.20

func (m *CloudAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account based on the context it is used

func (*CloudAccount) MarshalBinary ¶

func (m *CloudAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccount) UnmarshalBinary ¶

func (m *CloudAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccount) Validate ¶

func (m *CloudAccount) Validate(formats strfmt.Registry) error

Validate validates this cloud account

type CloudAccountAws ¶

type CloudAccountAws struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Access key id for Aws.
	// Example: KLIKJ7EA4PPDZR7T7Z6K
	// Required: true
	AccessKeyID *string `json:"accessKeyId"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// A set of region names that are enabled for this  cloud account.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	EnabledRegionIds []string `json:"enabledRegionIds"`

	// A list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

CloudAccountAws State object representing a AWS cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccountAws - Self link to this cloud account

swagger:model CloudAccountAws

func (*CloudAccountAws) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountAws) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account aws based on the context it is used

func (*CloudAccountAws) MarshalBinary ¶

func (m *CloudAccountAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountAws) UnmarshalBinary ¶

func (m *CloudAccountAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountAws) Validate ¶

func (m *CloudAccountAws) Validate(formats strfmt.Registry) error

Validate validates this cloud account aws

type CloudAccountAwsResult ¶

type CloudAccountAwsResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountAws `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountAwsResult State object representing a query result of Aws cloud accounts.

swagger:model CloudAccountAwsResult

func (*CloudAccountAwsResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountAwsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account aws result based on the context it is used

func (*CloudAccountAwsResult) MarshalBinary ¶

func (m *CloudAccountAwsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountAwsResult) UnmarshalBinary ¶

func (m *CloudAccountAwsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountAwsResult) Validate ¶

func (m *CloudAccountAwsResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account aws result

type CloudAccountAwsSpecification ¶

type CloudAccountAwsSpecification struct {

	// Aws Access key ID
	// Example: ACDC55DB4MFH6ADG75KK
	// Required: true
	AccessKeyID *string `json:"accessKeyId"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"eu-west-1\",\"externalRegionId\": \"eu-west-1\"}]
	Regions []*RegionSpecification `json:"regions"`

	// Aws Secret Access Key
	// Example: gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS
	// Required: true
	SecretAccessKey *string `json:"secretAccessKey"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

CloudAccountAwsSpecification Specification for a Amazon cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountAwsSpecification

func (*CloudAccountAwsSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountAwsSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account aws specification based on the context it is used

func (*CloudAccountAwsSpecification) MarshalBinary ¶

func (m *CloudAccountAwsSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountAwsSpecification) UnmarshalBinary ¶

func (m *CloudAccountAwsSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountAwsSpecification) Validate ¶

func (m *CloudAccountAwsSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account aws specification

type CloudAccountAzure ¶

type CloudAccountAzure struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Azure Client Application IDaccount.
	// Example: 66f277f2-ff12-4c3a-a4c9-b13d131a9a4d
	// Required: true
	ClientApplicationID *string `json:"clientApplicationId"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// A set of region names that are enabled for this  cloud account.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	EnabledRegionIds []string `json:"enabledRegionIds"`

	// A list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Azure Subscription IDaccount.
	// Example: f3c86a85-e379-42ae-a8ba-7a51382d6dd7
	// Required: true
	SubscriptionID *string `json:"subscriptionId"`

	// A set of tag keys and optional values that were set on on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Azure Tenant Idaccount.
	// Example: 027f73d5-0a19-452e-9d45-775693421508
	// Required: true
	TenantID *string `json:"tenantId"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

CloudAccountAzure State object representing an Azure cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccountAzure - Self link to this cloud account

swagger:model CloudAccountAzure

func (*CloudAccountAzure) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountAzure) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account azure based on the context it is used

func (*CloudAccountAzure) MarshalBinary ¶

func (m *CloudAccountAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountAzure) UnmarshalBinary ¶

func (m *CloudAccountAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountAzure) Validate ¶

func (m *CloudAccountAzure) Validate(formats strfmt.Registry) error

Validate validates this cloud account azure

type CloudAccountAzureResult ¶

type CloudAccountAzureResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountAzure `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountAzureResult State object representing a query result of Azure cloud accounts.

swagger:model CloudAccountAzureResult

func (*CloudAccountAzureResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountAzureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account azure result based on the context it is used

func (*CloudAccountAzureResult) MarshalBinary ¶

func (m *CloudAccountAzureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountAzureResult) UnmarshalBinary ¶

func (m *CloudAccountAzureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountAzureResult) Validate ¶

func (m *CloudAccountAzureResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account azure result

type CloudAccountAzureSpecification ¶

type CloudAccountAzureSpecification struct {

	// Azure Client Application ID
	// Example: 3287dd6e-76d8-41b7-9856-2584969e7739
	// Required: true
	ClientApplicationID *string `json:"clientApplicationId"`

	// Azure Client Application Secret Key
	// Example: GDfdasDasdASFas321das32cas2x3dsXCSA76xdcasg=
	// Required: true
	ClientApplicationSecretKey *string `json:"clientApplicationSecretKey"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-azure/region-enumeration.Deprecated - use regions to define enabled regions.
	// Example: [ \"East US\", \"North Europe\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"East Asia\",\"externalRegionId\": \"eastasia\"}]
	Regions []*RegionSpecification `json:"regions"`

	// Azure Subscribtion ID
	// Example: 064865b2-e914-4717-b415-8806d17948f7
	// Required: true
	SubscriptionID *string `json:"subscriptionId"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Azure Tenant ID
	// Example: 9a13d920-4691-4e2d-b5d5-9c4c1279bc9a
	// Required: true
	TenantID *string `json:"tenantId"`
}

CloudAccountAzureSpecification Specification for a Azure cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountAzureSpecification

func (*CloudAccountAzureSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountAzureSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account azure specification based on the context it is used

func (*CloudAccountAzureSpecification) MarshalBinary ¶

func (m *CloudAccountAzureSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountAzureSpecification) UnmarshalBinary ¶

func (m *CloudAccountAzureSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountAzureSpecification) Validate ¶

func (m *CloudAccountAzureSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account azure specification

type CloudAccountGcp ¶

type CloudAccountGcp struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// GCP Client email
	// Example: 321743978432-compute@developer.gserviceaccount.com
	// Required: true
	ClientEmail *string `json:"clientEmail"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// A set of region names that are enabled for this
	// Example: [ \"us-east1\", \"northamerica-northeast1\" ]
	EnabledRegionIds []string `json:"enabledRegionIds"`

	// A list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// GCP Private key ID
	// Example: 027f73d50a19452eedf5775a9b42c5083678abdf
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// GCP Project ID
	// Example: example-gcp-project
	// Required: true
	ProjectID *string `json:"projectId"`

	// A set of tag keys and optional values that were set on on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

CloudAccountGcp State object representing a GCP cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccountGcp - Self link to this cloud account

swagger:model CloudAccountGcp

func (*CloudAccountGcp) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountGcp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account gcp based on the context it is used

func (*CloudAccountGcp) MarshalBinary ¶

func (m *CloudAccountGcp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountGcp) UnmarshalBinary ¶

func (m *CloudAccountGcp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountGcp) Validate ¶

func (m *CloudAccountGcp) Validate(formats strfmt.Registry) error

Validate validates this cloud account gcp

type CloudAccountGcpResult ¶

type CloudAccountGcpResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountGcp `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountGcpResult State object representing a query result of GCP cloud accounts.

swagger:model CloudAccountGcpResult

func (*CloudAccountGcpResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountGcpResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account gcp result based on the context it is used

func (*CloudAccountGcpResult) MarshalBinary ¶

func (m *CloudAccountGcpResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountGcpResult) UnmarshalBinary ¶

func (m *CloudAccountGcpResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountGcpResult) Validate ¶

func (m *CloudAccountGcpResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account gcp result

type CloudAccountGcpSpecification ¶

type CloudAccountGcpSpecification struct {

	// GCP Client email
	// Example: 321743978432-compute@developer.gserviceaccount.com
	// Required: true
	ClientEmail *string `json:"clientEmail"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// GCP Private key
	// Example: -----BEGIN PRIVATE KEY-----\nMIICXgIHAASBgSDHikastc8+I81zCg/qWW8dMr8mqvXQ3qbPAmu0RjxoZVI47tvs\nkYlFAXOf0sPrhO2nUuooJngnHV0639iTTEYG1vckNaW2R6U5QTdQ5Rq5u+uV3pMk\n7w7Vs4n3urQ4jnqt7rTXbC1DNa/PFeAZatbf7ffBBy0IGO0zc128IshYcwIDAQAB\nAoGBALTNl2JxTvq4SDW/3VH0fZkQXWH1MM10oeMbB2qO5beWb11FGaOO77nGKfWc\nbYgfp5Ogrql2yhBvLAXnxH8bcqqwORtFhlyV68U1y4R+8WxDNh0aevxH8hRS/1X5\n963DJm1JlU0E+vStiktN0tC3ebH5hE+1OxbIHSZ+WOWLYX7JAkEA5uigRgKp8ScG\nauUijvdOLZIhHWq9y5Wz+nOHUuDw8P7wOTKU34QJAoWEe771p9Pf/GTA/kr0BQnP\nQvWUDxGzJwJBAN05C6krwPeryFKrKtjOGJIbiIoY72wRnoNcdEEs3HDRhf48YWFo\nriRbZylzzzNFy/gmzT6XJQTfktGqq+FZD9UCQGIJaGrxHJgfmpDuAhMzGsUsYtTr\niRox0D1Iqa7dhE693t5aBG010OF6MLqdZA1CXrn5SRtuVVaCSLZEL/2J5UcCQQDA\nd3MXucNnN4NPuS/L9HMYJWD7lPoosaORcgyK77bSSNgk+u9WSjbH1uYIAIPSffUZ\nbti+jc2dUg5wb+aeZlgJAkEAurrpmpqj5vg087ZngKfFGR5rozDiTsK5DceTV97K\na1Y+Nzl+XWTxDBWk4YPh2ZlKv402hZEfWBYxUDn5ZkH/bw==\n-----END PRIVATE KEY-----\n
	// Required: true
	PrivateKey *string `json:"privateKey"`

	// GCP Private key ID
	// Example: 027f73d50a19452eedf5775a9b42c5083678abdf
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// GCP Project ID
	// Example: example-gcp-project
	// Required: true
	ProjectID *string `json:"projectId"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-gcp/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east1\", \"northamerica-northeast1\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"europe-west2\",\"externalRegionId\": \"europe-west2\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

CloudAccountGcpSpecification Specification for a GCP cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region where the associated cloud account resources are hosted.

swagger:model CloudAccountGcpSpecification

func (*CloudAccountGcpSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountGcpSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account gcp specification based on the context it is used

func (*CloudAccountGcpSpecification) MarshalBinary ¶

func (m *CloudAccountGcpSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountGcpSpecification) UnmarshalBinary ¶

func (m *CloudAccountGcpSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountGcpSpecification) Validate ¶

func (m *CloudAccountGcpSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account gcp specification

type CloudAccountNsxT ¶

type CloudAccountNsxT struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Identifier of a data collector vm deployed in the on premise infrastructure.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	Dcid string `json:"dcid,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// Host name for the NSX-T cloud account
	// Example: nsxt.vmware.com
	// Required: true
	HostName *string `json:"hostName"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Indicates whether this is an NSX-T Global Manager cloud account. NSX-T global manager cloud account can be associated with NSX-T local manager cloud accounts. It cannot be associated with vSphere cloud accounts. Default value: false.
	// Example: true
	IsGlobalManager bool `json:"isGlobalManager,omitempty"`

	// Indicates whether NSX-T cloud account was created in Manager (legacy) mode.
	// Example: true
	ManagerMode bool `json:"managerMode,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// Username to authenticate with the cloud account
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountNsxT State object representing an NSX-T cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**self** - CloudAccountNsxT - Self link to this cloud account

swagger:model CloudAccountNsxT

func (*CloudAccountNsxT) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountNsxT) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account nsx t based on the context it is used

func (*CloudAccountNsxT) MarshalBinary ¶

func (m *CloudAccountNsxT) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountNsxT) UnmarshalBinary ¶

func (m *CloudAccountNsxT) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountNsxT) Validate ¶

func (m *CloudAccountNsxT) Validate(formats strfmt.Registry) error

Validate validates this cloud account nsx t

type CloudAccountNsxTResult ¶

type CloudAccountNsxTResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountNsxT `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountNsxTResult State object representing a query result of Nsx-T cloud accounts.

swagger:model CloudAccountNsxTResult

func (*CloudAccountNsxTResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountNsxTResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account nsx t result based on the context it is used

func (*CloudAccountNsxTResult) MarshalBinary ¶

func (m *CloudAccountNsxTResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountNsxTResult) UnmarshalBinary ¶

func (m *CloudAccountNsxTResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountNsxTResult) Validate ¶

func (m *CloudAccountNsxTResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account nsx t result

type CloudAccountNsxTSpecification ¶

type CloudAccountNsxTSpecification struct {

	// Accept self signed certificate when connecting.
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// vSphere cloud accounts associated with this NSX-T cloud account.
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors.
	// Note: Data collector endpoints are not available in vRA on-prem release and hence the data collector Id is optional for vRA on-prem.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	// Required: true
	Dcid *string `json:"dcid"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Host name for the NSX-T endpoint
	// Example: nsxt.mycompany.com
	// Required: true
	HostName *string `json:"hostName"`

	// Indicates whether this is an NSX-T Global Manager cloud account. NSX-T Global Manager can only be associated with NSX-T cloud accounts. Default value: false.
	// Example: true
	IsGlobalManager bool `json:"isGlobalManager,omitempty"`

	// Create NSX-T cloud account in Manager (legacy) mode. When set to true, NSX-T cloud account in created in Manager mode. Mode cannot be changed after cloud account is created. Default value is false.
	// Example: true
	ManagerMode bool `json:"managerMode,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Password for the user used to authenticate with the cloud Account
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	Password *string `json:"password"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Username to authenticate with the cloud account
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountNsxTSpecification Specification for an NSX-T cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountNsxTSpecification

func (*CloudAccountNsxTSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountNsxTSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account nsx t specification based on the context it is used

func (*CloudAccountNsxTSpecification) MarshalBinary ¶

func (m *CloudAccountNsxTSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountNsxTSpecification) UnmarshalBinary ¶

func (m *CloudAccountNsxTSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountNsxTSpecification) Validate ¶

func (m *CloudAccountNsxTSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account nsx t specification

type CloudAccountNsxV ¶

type CloudAccountNsxV struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Identifier of a data collector vm deployed in the on premise infrastructure.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	Dcid string `json:"dcid,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// Host name for the Nsx-V cloud account
	// Example: nsxv.vmware.com
	// Required: true
	HostName *string `json:"hostName"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// Username to authenticate with the cloud account
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountNsxV State object representing an Nsx-V cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**self** - CloudAccountNsxV - Self link to this cloud account

swagger:model CloudAccountNsxV

func (*CloudAccountNsxV) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountNsxV) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account nsx v based on the context it is used

func (*CloudAccountNsxV) MarshalBinary ¶

func (m *CloudAccountNsxV) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountNsxV) UnmarshalBinary ¶

func (m *CloudAccountNsxV) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountNsxV) Validate ¶

func (m *CloudAccountNsxV) Validate(formats strfmt.Registry) error

Validate validates this cloud account nsx v

type CloudAccountNsxVResult ¶

type CloudAccountNsxVResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountNsxV `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountNsxVResult State object representing a query result of Nsx-V cloud accounts.

swagger:model CloudAccountNsxVResult

func (*CloudAccountNsxVResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountNsxVResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account nsx v result based on the context it is used

func (*CloudAccountNsxVResult) MarshalBinary ¶

func (m *CloudAccountNsxVResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountNsxVResult) UnmarshalBinary ¶

func (m *CloudAccountNsxVResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountNsxVResult) Validate ¶

func (m *CloudAccountNsxVResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account nsx v result

type CloudAccountNsxVSpecification ¶

type CloudAccountNsxVSpecification struct {

	// Accept self signed certificate when connecting.
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// vSphere cloud account associated with this NSX-V cloud account. NSX-V cloud account can be associated with a single vSphere cloud account.
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors.
	// Note: Data collector endpoints are not available in vRA on-prem release and hence the data collector Id is optional for vRA on-prem.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	// Required: true
	Dcid *string `json:"dcid"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Host name for the NSX-v endpoint
	// Example: nsxv.mycompany.com
	// Required: true
	HostName *string `json:"hostName"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Password for the user used to authenticate with the cloud Account
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	Password *string `json:"password"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Username to authenticate with the cloud account
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountNsxVSpecification Specification for an NSX-v cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountNsxVSpecification

func (*CloudAccountNsxVSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountNsxVSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account nsx v specification based on the context it is used

func (*CloudAccountNsxVSpecification) MarshalBinary ¶

func (m *CloudAccountNsxVSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountNsxVSpecification) UnmarshalBinary ¶

func (m *CloudAccountNsxVSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountNsxVSpecification) Validate ¶

func (m *CloudAccountNsxVSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account nsx v specification

type CloudAccountRegions ¶

type CloudAccountRegions struct {

	// A set of ids of regions that can be enabled for this cloud account. Deprecated - use externalRegions to obtain enumerated regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	ExternalRegionIds []string `json:"externalRegionIds"`

	// A set of regions that can be enabled for this cloud account.
	ExternalRegions []*RegionSpecification `json:"externalRegions"`
}

CloudAccountRegions State object representing cloud account region.<br><br>**externalRegions** - array[RegionSpecification] - Set of regions that can be enabled for this cloud account.<br>**externalRegionIds** - array[String] - Set of ids of regions that can be enabled for this cloud account.<br>

swagger:model CloudAccountRegions

func (*CloudAccountRegions) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountRegions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account regions based on the context it is used

func (*CloudAccountRegions) MarshalBinary ¶

func (m *CloudAccountRegions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountRegions) UnmarshalBinary ¶

func (m *CloudAccountRegions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountRegions) Validate ¶

func (m *CloudAccountRegions) Validate(formats strfmt.Registry) error

Validate validates this cloud account regions

type CloudAccountResult ¶

type CloudAccountResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccount `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountResult State object representing a query result of cloud accounts.

swagger:model CloudAccountResult

func (*CloudAccountResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account result based on the context it is used

func (*CloudAccountResult) MarshalBinary ¶

func (m *CloudAccountResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountResult) UnmarshalBinary ¶

func (m *CloudAccountResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountResult) Validate ¶

func (m *CloudAccountResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account result

type CloudAccountSpecification ¶

type CloudAccountSpecification struct {

	// Cloud accounts to associate with this cloud account
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Cloud Account specific properties supplied in as name value pairs
	// Example: {\"supportPublicImages\": \"true\", \"acceptSelfSignedCertificate\": \"true\" }
	// Required: true
	CloudAccountProperties map[string]string `json:"cloudAccountProperties"`

	// Cloud account type
	// Example: vsphere, aws, azure, nsxv, nsxt
	// Required: true
	CloudAccountType *string `json:"cloudAccountType"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// Additional custom properties that may be used to extend the Cloud Account.
	// Example: { \"sampleadapterProjectId\" : \"projectId\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Secret access key or password to be used to authenticate with the cloud account
	// Example: gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS
	// Required: true
	PrivateKey *string `json:"privateKey"`

	// Access key id or username to be used to authenticate with the cloud account
	// Example: ACDC55DB4MFH6ADG75KK
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// A set of Region names to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// 'regionIds' is not required parameter for NSX-T and NSX-V cloud account types. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// 'regions' is a required parameter for AWS, AZURE, GCP, VSPHERE, VMC, VCF cloud account types.
	// Example: [{ \"name\": \"East Asia\",\"externalRegionId\": \"eastasia\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

CloudAccountSpecification Specification for a generic cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountSpecification

func (*CloudAccountSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account specification based on the context it is used

func (*CloudAccountSpecification) MarshalBinary ¶

func (m *CloudAccountSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountSpecification) UnmarshalBinary ¶

func (m *CloudAccountSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountSpecification) Validate ¶

func (m *CloudAccountSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account specification

type CloudAccountVcf ¶ added in v0.2.14

type CloudAccountVcf struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// NSX Hostname in a workload domain
	// Example: nsx.mycompany.com
	// Required: true
	NsxHostName *string `json:"nsxHostName"`

	// Username to authenticate to NSX manager in workload domain
	// Example: administrator@mycompany.com
	// Required: true
	NsxUsername *string `json:"nsxUsername"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// SDDC Manager ID
	// Example: 2e5bb71d-0c14-4066-a999-2cb6c693654a
	// Required: true
	SddcManagerID *string `json:"sddcManagerId"`

	// A set of tag keys and optional values to set on the Cloud Account.Cloud account capability tags may enable different features.
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// vCenter Hostname in a workload domain
	// Example: vcenter.mycompany.com
	// Required: true
	VcenterHostName *string `json:"vcenterHostName"`

	// Username to authenticate to vCenter Server in workload domain
	// Example: administrator@mycompany.com
	// Required: true
	VcenterUsername *string `json:"vcenterUsername"`

	// Id of the VCF worload domain.
	// Example: 587db412-6037-43e4-8e1e-49ebbaf6cd35
	// Required: true
	VcfDomainID *string `json:"vcfDomainId"`

	// Name of the VCF worload domain.
	// Example: Workload Domain - 1
	// Required: true
	VcfDomainName *string `json:"vcfDomainName"`
}

CloudAccountVcf State object representing a VCF cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccountVcf - Self link to this cloud account

swagger:model CloudAccountVcf

func (*CloudAccountVcf) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVcf) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vcf based on the context it is used

func (*CloudAccountVcf) MarshalBinary ¶ added in v0.2.14

func (m *CloudAccountVcf) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVcf) UnmarshalBinary ¶ added in v0.2.14

func (m *CloudAccountVcf) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVcf) Validate ¶ added in v0.2.14

func (m *CloudAccountVcf) Validate(formats strfmt.Registry) error

Validate validates this cloud account vcf

type CloudAccountVcfResult ¶ added in v0.2.14

type CloudAccountVcfResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountVcf `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountVcfResult State object representing a query result of VCF cloud accounts.

swagger:model CloudAccountVcfResult

func (*CloudAccountVcfResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVcfResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vcf result based on the context it is used

func (*CloudAccountVcfResult) MarshalBinary ¶ added in v0.2.14

func (m *CloudAccountVcfResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVcfResult) UnmarshalBinary ¶ added in v0.2.14

func (m *CloudAccountVcfResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVcfResult) Validate ¶ added in v0.2.14

func (m *CloudAccountVcfResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account vcf result

type CloudAccountVcfSpecification ¶ added in v0.2.14

type CloudAccountVcfSpecification struct {

	// Accept self signed certificate when connecting to vSphere and NSX-T
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors.
	// Note: Data collector endpoints are not available in vRA on-prem release.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	DcID string `json:"dcId,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// NSX Certificate
	NsxCertificate string `json:"nsxCertificate,omitempty"`

	// Host name for the NSX endpoint from the specified workload domain.
	// Example: nsxt.mycompany.com
	// Required: true
	NsxHostName *string `json:"nsxHostName"`

	// Password for the user used to authenticate with the NSX-T manager in VCF cloud account
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	NsxPassword *string `json:"nsxPassword"`

	// User name for the NSX manager in the specified workload domain.
	// Example: administrator@mycompany.com
	// Required: true
	NsxUsername *string `json:"nsxUsername"`

	// A set of Region names to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"us-east-1\",\"externalRegionId\": \"us-east-1\"}]
	Regions []*RegionSpecification `json:"regions"`

	// SDDC manager integration id
	SddcManagerID string `json:"sddcManagerId,omitempty"`

	// A set of tag keys and optional values to set on the Cloud Account.Cloud account capability tags may enable different features.
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// vCenter Certificate
	VcenterCertificate string `json:"vcenterCertificate,omitempty"`

	// Host name for the vSphere from the specified workload domain.
	// Example: vc.mycompany.com
	// Required: true
	VcenterHostName *string `json:"vcenterHostName"`

	// Password for the user used to authenticate with the vCenter in VCF cloud account
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	VcenterPassword *string `json:"vcenterPassword"`

	// vCenter user name for the specified workload domain.The specified user requires CloudAdmin credentials. The user does not require CloudGlobalAdmin credentials.
	// Example: administrator@mycompany.com
	// Required: true
	VcenterUsername *string `json:"vcenterUsername"`

	// Id of the workload domain to add as VCF cloud account.
	// Required: true
	WorkloadDomainID *string `json:"workloadDomainId"`

	// Name of the workload domain to add as VCF cloud account.
	// Example: Management
	// Required: true
	WorkloadDomainName *string `json:"workloadDomainName"`
}

CloudAccountVcfSpecification Specification for a VCF cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountVcfSpecification

func (*CloudAccountVcfSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVcfSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vcf specification based on the context it is used

func (*CloudAccountVcfSpecification) MarshalBinary ¶ added in v0.2.14

func (m *CloudAccountVcfSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVcfSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *CloudAccountVcfSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVcfSpecification) Validate ¶ added in v0.2.14

func (m *CloudAccountVcfSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account vcf specification

type CloudAccountVmc ¶ added in v0.2.8

type CloudAccountVmc struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// SDDC environment.
	// Required: true
	Sddc *string `json:"sddc"`

	// A set of tag keys and optional values to set on the Cloud Account.Cloud account capability tags may enable different features.
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// Username to authenticate to vCenter
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountVmc State object representing a Vmc cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccountVmc - Self link to this cloud account

swagger:model CloudAccountVmc

func (*CloudAccountVmc) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVmc) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vmc based on the context it is used

func (*CloudAccountVmc) MarshalBinary ¶ added in v0.2.8

func (m *CloudAccountVmc) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVmc) UnmarshalBinary ¶ added in v0.2.8

func (m *CloudAccountVmc) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVmc) Validate ¶ added in v0.2.8

func (m *CloudAccountVmc) Validate(formats strfmt.Registry) error

Validate validates this cloud account vmc

type CloudAccountVmcResult ¶ added in v0.2.8

type CloudAccountVmcResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountVmc `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountVmcResult State object representing a query result of Vmc cloud accounts.

swagger:model CloudAccountVmcResult

func (*CloudAccountVmcResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVmcResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vmc result based on the context it is used

func (*CloudAccountVmcResult) MarshalBinary ¶ added in v0.2.8

func (m *CloudAccountVmcResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVmcResult) UnmarshalBinary ¶ added in v0.2.8

func (m *CloudAccountVmcResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVmcResult) Validate ¶ added in v0.2.8

func (m *CloudAccountVmcResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account vmc result

type CloudAccountVmcSpecification ¶ added in v0.2.8

type CloudAccountVmcSpecification struct {

	// Accept self signed certificate when connecting to vSphere
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// VMC API access key
	APIKey string `json:"apiKey,omitempty"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// The host name of the CSP service.
	// Example: console-stg.cloud.vmware.com
	CspHostName string `json:"cspHostName,omitempty"`

	// Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	DcID string `json:"dcId,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Enter the IP address or FQDN of the vCenter Server in the specified SDDC. The cloud proxy belongs on this vCenter.
	// Example: vc1.vmware.com
	// Required: true
	HostName *string `json:"hostName"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The IP address of the NSX Manager server in the specified SDDC / FQDN.
	// Example: nsxManager.sddc-52-12-8-145.vmwaretest.com
	// Required: true
	NsxHostName *string `json:"nsxHostName"`

	// Password for the user used to authenticate with the cloud Account
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	Password *string `json:"password"`

	// A set of Region names to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"Datacenter:datacenter-3\",\"externalRegionId\": \"Datacenter:datacenter-3\"}]
	Regions []*RegionSpecification `json:"regions"`

	// Identifier of the on-premise SDDC to be used by this cloud account. Note that NSX-V SDDCs are not supported.
	// Example: CMBU-PRD-NSXT-M8GA-090319
	SddcID string `json:"sddcId,omitempty"`

	// A set of tag keys and optional values to set on the Cloud Account.Cloud account capability tags may enable different features.
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// vCenter user name for the specified SDDC.The specified user requires CloudAdmin credentials. The user does not require CloudGlobalAdmin credentials.
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountVmcSpecification Specification for a VMC cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountVmcSpecification

func (*CloudAccountVmcSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVmcSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vmc specification based on the context it is used

func (*CloudAccountVmcSpecification) MarshalBinary ¶ added in v0.2.8

func (m *CloudAccountVmcSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVmcSpecification) UnmarshalBinary ¶ added in v0.2.8

func (m *CloudAccountVmcSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVmcSpecification) Validate ¶ added in v0.2.8

func (m *CloudAccountVmcSpecification) Validate(formats strfmt.Registry) error

Validate validates this cloud account vmc specification

type CloudAccountVsphere ¶

type CloudAccountVsphere struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"isExternal\" : \"false\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Identifier of a data collector vm deployed in the on premise infrastructure.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	Dcid string `json:"dcid,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// A set of region names that are enabled for this  cloud account.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	EnabledRegionIds []string `json:"enabledRegionIds"`

	// A list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// Host name for the vSphere cloud account
	// Example: vc1.vmware.com
	// Required: true
	HostName *string `json:"hostName"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// Username to authenticate with the cloud account
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountVsphere State object representing a vSphere cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.<br>**HATEOAS** links:<br>**regions** - array[Region] - List of regions that are enabled for this cloud account.<br>**self** - CloudAccountVsphere - Self link to this cloud account.

swagger:model CloudAccountVsphere

func (*CloudAccountVsphere) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVsphere) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vsphere based on the context it is used

func (*CloudAccountVsphere) MarshalBinary ¶

func (m *CloudAccountVsphere) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVsphere) UnmarshalBinary ¶

func (m *CloudAccountVsphere) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVsphere) Validate ¶

func (m *CloudAccountVsphere) Validate(formats strfmt.Registry) error

Validate validates this cloud account vsphere

type CloudAccountVsphereResult ¶

type CloudAccountVsphereResult struct {

	// List of content items
	// Read Only: true
	Content []*CloudAccountVsphere `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

CloudAccountVsphereResult State object representing a query result of vSphere cloud accounts.

swagger:model CloudAccountVsphereResult

func (*CloudAccountVsphereResult) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVsphereResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vsphere result based on the context it is used

func (*CloudAccountVsphereResult) MarshalBinary ¶

func (m *CloudAccountVsphereResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVsphereResult) UnmarshalBinary ¶

func (m *CloudAccountVsphereResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVsphereResult) Validate ¶

func (m *CloudAccountVsphereResult) Validate(formats strfmt.Registry) error

Validate validates this cloud account vsphere result

type CloudAccountVsphereSpecification ¶

type CloudAccountVsphereSpecification struct {

	// Accept self signed certificate when connecting to vSphere
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// NSX-V or NSX-T account to associate with this vSphere cloud account. vSphere cloud account can be a single NSX-V cloud account or a single NSX-T cloud account.
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors.
	// Note: Data collector endpoints are not available in vRA on-prem release.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	Dcid string `json:"dcid,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Host name for the vSphere endpoint
	// Example: vc.mycompany.com
	// Required: true
	HostName *string `json:"hostName"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Password for the user used to authenticate with the cloud Account
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	Password *string `json:"password"`

	// A set of datacenter managed object reference identifiers (MoRef) to enable provisioning on. Refer to /iaas/cloud-accounts-vsphere/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"Datacenter:datacenter-2\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"Datacenter:datacenter-3\",\"externalRegionId\": \"Datacenter:datacenter-3\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`

	// Username to authenticate with the cloud account
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

CloudAccountVsphereSpecification Specification for a vSphere cloud account.<br><br>A cloud account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted.

swagger:model CloudAccountVsphereSpecification

func (*CloudAccountVsphereSpecification) ContextValidate ¶ added in v0.2.20

func (m *CloudAccountVsphereSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud account vsphere specification based on the context it is used

func (*CloudAccountVsphereSpecification) MarshalBinary ¶

func (m *CloudAccountVsphereSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudAccountVsphereSpecification) UnmarshalBinary ¶

func (m *CloudAccountVsphereSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudAccountVsphereSpecification) Validate ¶

Validate validates this cloud account vsphere specification

type CommitDetails ¶ added in v0.2.18

type CommitDetails struct {

	// author name
	AuthorName string `json:"authorName,omitempty"`

	// comments
	Comments string `json:"comments,omitempty"`

	// commit Id
	CommitID string `json:"commitId,omitempty"`

	// committed date
	// Format: date-time
	CommittedDate strfmt.DateTime `json:"committedDate,omitempty"`

	// committer email
	CommitterEmail string `json:"committerEmail,omitempty"`

	// committer name
	CommitterName string `json:"committerName,omitempty"`
}

CommitDetails CommitDetails

swagger:model CommitDetails

func (*CommitDetails) ContextValidate ¶ added in v0.2.20

func (m *CommitDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this commit details based on context it is used

func (*CommitDetails) MarshalBinary ¶ added in v0.2.18

func (m *CommitDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommitDetails) UnmarshalBinary ¶ added in v0.2.18

func (m *CommitDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommitDetails) Validate ¶ added in v0.2.18

func (m *CommitDetails) Validate(formats strfmt.Registry) error

Validate validates this commit details

type ComputeGateway ¶ added in v0.2.14

type ComputeGateway struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// A list of NAT rule(s) to be created on the NSX network
	// Required: true
	NatRules []*NatRule `json:"natRules"`

	// A list of id(s) of the network(s) to which the compute gateway is attached
	// Required: true
	Networks []string `json:"networks"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

ComputeGateway The compute gateway object is a logical entity attached to a network. It is used to configure NAT rules on the Edge Gateway or Tier-1 logical router in NSX to enable port forwarding.<br>**HATEOAS** links:<br>**self** - Compute Gateway - Self link to this compute gateway

swagger:model ComputeGateway

func (*ComputeGateway) ContextValidate ¶ added in v0.2.20

func (m *ComputeGateway) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compute gateway based on the context it is used

func (*ComputeGateway) MarshalBinary ¶ added in v0.2.14

func (m *ComputeGateway) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComputeGateway) UnmarshalBinary ¶ added in v0.2.14

func (m *ComputeGateway) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComputeGateway) Validate ¶ added in v0.2.14

func (m *ComputeGateway) Validate(formats strfmt.Registry) error

Validate validates this compute gateway

type ComputeGatewayResult ¶ added in v0.2.14

type ComputeGatewayResult struct {

	// List of content items
	// Read Only: true
	Content []*ComputeGateway `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ComputeGatewayResult State object representing a query result of compute-gateways.

swagger:model ComputeGatewayResult

func (*ComputeGatewayResult) ContextValidate ¶ added in v0.2.20

func (m *ComputeGatewayResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compute gateway result based on the context it is used

func (*ComputeGatewayResult) MarshalBinary ¶ added in v0.2.14

func (m *ComputeGatewayResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComputeGatewayResult) UnmarshalBinary ¶ added in v0.2.14

func (m *ComputeGatewayResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComputeGatewayResult) Validate ¶ added in v0.2.14

func (m *ComputeGatewayResult) Validate(formats strfmt.Registry) error

Validate validates this compute gateway result

type ComputeGatewaySpecification ¶ added in v0.2.14

type ComputeGatewaySpecification struct {

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// List of NAT Rules
	// Required: true
	NatRules []*NatRule `json:"natRules"`

	// List of networks
	// Required: true
	Networks []string `json:"networks"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`
}

ComputeGatewaySpecification Compute Gateway Configuration. Applies to NSX cloud accounts only.

swagger:model ComputeGatewaySpecification

func (*ComputeGatewaySpecification) ContextValidate ¶ added in v0.2.20

func (m *ComputeGatewaySpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compute gateway specification based on the context it is used

func (*ComputeGatewaySpecification) MarshalBinary ¶ added in v0.2.14

func (m *ComputeGatewaySpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComputeGatewaySpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *ComputeGatewaySpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComputeGatewaySpecification) Validate ¶ added in v0.2.14

func (m *ComputeGatewaySpecification) Validate(formats strfmt.Registry) error

Validate validates this compute gateway specification

type ComputeNat ¶ added in v0.2.20

type ComputeNat struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The compute gateway to which the compute nat is attached
	// Required: true
	Gateway *string `json:"gateway"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// A list of NAT rule(s) to be created on the NSX network
	// Required: true
	NatRules []*NatRule `json:"natRules"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

ComputeNat The compute nat object is used to configure NAT rules on the Edge Gateway or Tier-1 logical router in NSX to enable port forwarding.<br>**HATEOAS** links:<br>**self** - Nat - Self link to this nat

swagger:model ComputeNat

func (*ComputeNat) ContextValidate ¶ added in v0.2.20

func (m *ComputeNat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compute nat based on the context it is used

func (*ComputeNat) MarshalBinary ¶ added in v0.2.20

func (m *ComputeNat) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComputeNat) UnmarshalBinary ¶ added in v0.2.20

func (m *ComputeNat) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComputeNat) Validate ¶ added in v0.2.20

func (m *ComputeNat) Validate(formats strfmt.Registry) error

Validate validates this compute nat

type ComputeNatResult ¶ added in v0.2.20

type ComputeNatResult struct {

	// List of content items
	// Read Only: true
	Content []*ComputeNat `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ComputeNatResult State object representing a query result of compute-nats.

swagger:model ComputeNatResult

func (*ComputeNatResult) ContextValidate ¶ added in v0.2.20

func (m *ComputeNatResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compute nat result based on the context it is used

func (*ComputeNatResult) MarshalBinary ¶ added in v0.2.20

func (m *ComputeNatResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComputeNatResult) UnmarshalBinary ¶ added in v0.2.20

func (m *ComputeNatResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComputeNatResult) Validate ¶ added in v0.2.20

func (m *ComputeNatResult) Validate(formats strfmt.Registry) error

Validate validates this compute nat result

type ComputeNatSpecification ¶ added in v0.2.20

type ComputeNatSpecification struct {

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// Id of the Compute Gateway to which the Compute Nat resource will be attached
	// Required: true
	Gateway *string `json:"gateway"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// List of NAT Rules
	// Required: true
	NatRules []*NatRule `json:"natRules"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`
}

ComputeNatSpecification compute nat specification

swagger:model ComputeNatSpecification

func (*ComputeNatSpecification) ContextValidate ¶ added in v0.2.20

func (m *ComputeNatSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compute nat specification based on the context it is used

func (*ComputeNatSpecification) MarshalBinary ¶ added in v0.2.20

func (m *ComputeNatSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComputeNatSpecification) UnmarshalBinary ¶ added in v0.2.20

func (m *ComputeNatSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComputeNatSpecification) Validate ¶ added in v0.2.20

func (m *ComputeNatSpecification) Validate(formats strfmt.Registry) error

Validate validates this compute nat specification

type Condition ¶ added in v0.2.22

type Condition interface {
	runtime.Validatable
	runtime.ContextValidatable

	// enforcement
	// Enum: [HARD SOFT]
	Enforcement() string
	SetEnforcement(string)

	// expression
	Expression() *Tag
	SetExpression(*Tag)

	// occurrence
	// Enum: [MUST_OCCUR MUST_NOT_OCCUR]
	Occurrence() string
	SetOccurrence(string)

	// type
	// Enum: [TAG]
	Type() string
	SetType(string)
}

Condition Condition

Definition of a condition a constraint may have.

swagger:discriminator Condition Definition of a condition a constraint may have.

func UnmarshalCondition ¶ added in v0.2.22

func UnmarshalCondition(reader io.Reader, consumer runtime.Consumer) (Condition, error)

UnmarshalCondition unmarshals polymorphic Condition

func UnmarshalConditionSlice ¶ added in v0.2.22

func UnmarshalConditionSlice(reader io.Reader, consumer runtime.Consumer) ([]Condition, error)

UnmarshalConditionSlice unmarshals polymorphic slices of Condition

type Constraint ¶

type Constraint struct {

	// An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
	//
	// Example: ha:strong
	// Required: true
	Expression *string `json:"expression"`

	// Indicates whether this constraint should be strictly enforced or not.
	// Required: true
	Mandatory *bool `json:"mandatory"`
}

Constraint A constraint that is conveyed to the policy engine.

swagger:model Constraint

func (*Constraint) ContextValidate ¶ added in v0.2.20

func (m *Constraint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this constraint based on context it is used

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

func (*Constraint) Validate ¶

func (m *Constraint) Validate(formats strfmt.Registry) error

Validate validates this constraint

type ContentAbout ¶ added in v0.2.7

type ContentAbout struct {

	// Latest API Version
	// Read Only: true
	LatestAPIVersion string `json:"latestApiVersion,omitempty"`

	// Supported APIs
	// Read Only: true
	SupportedApis []*SupportedAPI `json:"supportedApis"`
}

ContentAbout ContentAbout

swagger:model ContentAbout

func (*ContentAbout) ContextValidate ¶ added in v0.2.20

func (m *ContentAbout) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content about based on the context it is used

func (*ContentAbout) MarshalBinary ¶ added in v0.2.7

func (m *ContentAbout) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentAbout) UnmarshalBinary ¶ added in v0.2.7

func (m *ContentAbout) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentAbout) Validate ¶ added in v0.2.7

func (m *ContentAbout) Validate(formats strfmt.Registry) error

Validate validates this content about

type ContentDefinition ¶

type ContentDefinition struct {

	// Description of either the catalog item or the catalog source
	Description string `json:"description,omitempty"`

	// Icon id of associated catalog item (if association is with catalog item)
	// Format: uuid
	IconID strfmt.UUID `json:"iconId,omitempty"`

	// Id of either the catalog source or catalog item.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// Name of either the catalog item or the catalog source
	Name string `json:"name,omitempty"`

	// Number of items in the associated catalog source
	NumItems int32 `json:"numItems,omitempty"`

	// Catalog source name
	SourceName string `json:"sourceName,omitempty"`

	// Catalog source type
	SourceType string `json:"sourceType,omitempty"`

	// Content definition type
	// Required: true
	Type *string `json:"type"`
}

ContentDefinition ContentDefinition

Represents a catalog item or content source that is linked to a project via an entitlement.

swagger:model ContentDefinition

func (*ContentDefinition) ContextValidate ¶ added in v0.2.20

func (m *ContentDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this content definition based on context it is used

func (*ContentDefinition) MarshalBinary ¶

func (m *ContentDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentDefinition) UnmarshalBinary ¶

func (m *ContentDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentDefinition) Validate ¶

func (m *ContentDefinition) Validate(formats strfmt.Registry) error

Validate validates this content definition

type ContentSource ¶ added in v0.2.7

type ContentSource struct {

	// Source custom configuration
	// Example: {"branch":"string","contentType":"string","endpointId":"string","integrationId":"string","path":"string","repository":"string"}
	Config interface{} `json:"config,omitempty"`

	// Creation time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created By
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Content Source description
	Description string `json:"description,omitempty"`

	// Content Source id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// Update time
	// Read Only: true
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Updated By
	// Read Only: true
	LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`

	// Content Source name
	// Required: true
	Name *string `json:"name"`

	// Associated org
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Associated projects
	// Required: true
	ProjectID *string `json:"projectId"`

	// Is Sync Enabled
	// Example: false
	SyncEnabled bool `json:"syncEnabled,omitempty"`

	// Content Source type
	// Required: true
	// Enum: [com.github com.gitlab org.bitbucket com.vmware.marketplace]
	TypeID *string `json:"typeId"`
}

ContentSource ContentSource

swagger:model ContentSource

func (*ContentSource) ContextValidate ¶ added in v0.2.20

func (m *ContentSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content source based on the context it is used

func (*ContentSource) MarshalBinary ¶ added in v0.2.7

func (m *ContentSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentSource) UnmarshalBinary ¶ added in v0.2.7

func (m *ContentSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentSource) Validate ¶ added in v0.2.7

func (m *ContentSource) Validate(formats strfmt.Registry) error

Validate validates this content source

type ContentSources ¶ added in v0.2.7

type ContentSources struct {

	// content
	Content []*ContentSource `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

ContentSources ContentSources

swagger:model ContentSources

func (*ContentSources) ContextValidate ¶ added in v0.2.20

func (m *ContentSources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this content sources based on the context it is used

func (*ContentSources) MarshalBinary ¶ added in v0.2.7

func (m *ContentSources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentSources) UnmarshalBinary ¶ added in v0.2.7

func (m *ContentSources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentSources) Validate ¶ added in v0.2.7

func (m *ContentSources) Validate(formats strfmt.Registry) error

Validate validates this content sources

type Criteria ¶ added in v0.2.0

type Criteria struct {

	// match expression
	MatchExpression []Clause `json:"matchExpression"`
}

Criteria Criteria

swagger:model Criteria

func (*Criteria) ContextValidate ¶ added in v0.2.20

func (m *Criteria) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this criteria based on context it is used

func (*Criteria) MarshalBinary ¶ added in v0.2.0

func (m *Criteria) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Criteria) UnmarshalBinary ¶ added in v0.2.0

func (m *Criteria) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Criteria) Validate ¶ added in v0.2.0

func (m *Criteria) Validate(formats strfmt.Registry) error

Validate validates this criteria

type CspLoginSpecification ¶

type CspLoginSpecification struct {

	// Refresh token obtained from the UI
	// Example: 5e7c2c-9a9e-4b0-9339-a7f94
	// Required: true
	RefreshToken *string `json:"refreshToken"`
}

CspLoginSpecification Specification for token retrieval request.

swagger:model CspLoginSpecification

func (*CspLoginSpecification) ContextValidate ¶ added in v0.2.20

func (m *CspLoginSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this csp login specification based on context it is used

func (*CspLoginSpecification) MarshalBinary ¶

func (m *CspLoginSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CspLoginSpecification) UnmarshalBinary ¶

func (m *CspLoginSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CspLoginSpecification) Validate ¶

func (m *CspLoginSpecification) Validate(formats strfmt.Registry) error

Validate validates this csp login specification

type CustomIntegration ¶ added in v0.2.22

type CustomIntegration interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// Changes from the previous version.
	// Example: Modified input property.
	ChangeLog() string
	SetChangeLog(string)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The id of the parent of this resource.
	// Example: 1abd1fd6-ae2c-459c-ab75-8c595631a11f
	ParentID() string
	SetParentID(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Release status of the Custom Integration
	// Example: NONE/RELEASED/DEPRECATED
	Status() string
	SetStatus(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)

	// YAML describing Custom integration details.
	// Example: ---\nruntime: \"nodejs\"\ncode: |\n    var context = require(\"./context.js\")\n    var start = Date.now();\n    var message = context.getInput(\"message\");\n    console.log(\"starting timer is good \" + message);\n    \n    setTimeout(function() {\n      var millis = Date.now() - start;\n      console.log(\"seconds elapsed = \" + Math.floor(millis/1000));\n      context.setOutput(\"time\", millis);\n    }, 2000);\ninputProperties:\n  - name: message\n    type: text\n    title: Message\n    placeHolder: Time\n    defaultValue: \n    bindable: true\n    labelInfo: true\n    labelMessage: What is time\n    \noutputProperties:\n  - name: time\n    type: label\n    title: Time
	Yaml() string
	SetYaml(string)
}

CustomIntegration CustomIntegration

Represents a Custom Integration.

swagger:discriminator CustomIntegration Represents a Custom Integration.

func UnmarshalCustomIntegration ¶ added in v0.2.22

func UnmarshalCustomIntegration(reader io.Reader, consumer runtime.Consumer) (CustomIntegration, error)

UnmarshalCustomIntegration unmarshals polymorphic CustomIntegration

func UnmarshalCustomIntegrationSlice ¶ added in v0.2.22

func UnmarshalCustomIntegrationSlice(reader io.Reader, consumer runtime.Consumer) ([]CustomIntegration, error)

UnmarshalCustomIntegrationSlice unmarshals polymorphic slices of CustomIntegration

type CustomIntegrationSpec ¶ added in v0.2.22

type CustomIntegrationSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// YAML describing Custom integration details.
	// Example: ---\nruntime: \"nodejs\"\ncode: |\n    var context = require(\"./context.js\")\n    var start = Date.now();\n    var message = context.getInput(\"message\");\n    console.log(\"starting timer is good \" + message);\n    \n    setTimeout(function() {\n      var millis = Date.now() - start;\n      console.log(\"seconds elapsed = \" + Math.floor(millis/1000));\n      context.setOutput(\"time\", millis);\n    }, 2000);\ninputProperties:\n  - name: message\n    type: text\n    title: Message\n    placeHolder: Time\n    defaultValue: \n    bindable: true\n    labelInfo: true\n    labelMessage: What is time\n    \noutputProperties:\n  - name: time\n    type: label\n    title: Time
	Yaml() string
	SetYaml(string)
}

CustomIntegrationSpec CustomIntegrationSpec

Custom Integration specification.

swagger:discriminator CustomIntegrationSpec Custom Integration specification.

func UnmarshalCustomIntegrationSpec ¶ added in v0.2.22

func UnmarshalCustomIntegrationSpec(reader io.Reader, consumer runtime.Consumer) (CustomIntegrationSpec, error)

UnmarshalCustomIntegrationSpec unmarshals polymorphic CustomIntegrationSpec

func UnmarshalCustomIntegrationSpecSlice ¶ added in v0.2.22

func UnmarshalCustomIntegrationSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]CustomIntegrationSpec, error)

UnmarshalCustomIntegrationSpecSlice unmarshals polymorphic slices of CustomIntegrationSpec

type CustomIntegrations ¶ added in v0.2.22

type CustomIntegrations interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]CustomIntegration
	SetDocuments(map[string]CustomIntegration)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

CustomIntegrations CustomIntegrations

List of Custom Integration instances.

swagger:discriminator CustomIntegrations List of Custom Integration instances.

func UnmarshalCustomIntegrations ¶ added in v0.2.22

func UnmarshalCustomIntegrations(reader io.Reader, consumer runtime.Consumer) (CustomIntegrations, error)

UnmarshalCustomIntegrations unmarshals polymorphic CustomIntegrations

func UnmarshalCustomIntegrationsSlice ¶ added in v0.2.22

func UnmarshalCustomIntegrationsSlice(reader io.Reader, consumer runtime.Consumer) ([]CustomIntegrations, error)

UnmarshalCustomIntegrationsSlice unmarshals polymorphic slices of CustomIntegrations

type CustomProperties ¶ added in v0.2.18

type CustomProperties struct {

	// endpoint Id
	EndpointID string `json:"endpointId,omitempty"`

	// is external
	IsExternal bool `json:"isExternal,omitempty"`

	// service account Id
	ServiceAccountID string `json:"serviceAccountId,omitempty"`

	// service account name
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// vcf domain Id
	VcfDomainID string `json:"vcfDomainId,omitempty"`

	// vcf domain name
	VcfDomainName string `json:"vcfDomainName,omitempty"`
}

CustomProperties CustomProperties

swagger:model CustomProperties

func (*CustomProperties) ContextValidate ¶ added in v0.2.20

func (m *CustomProperties) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this custom properties based on context it is used

func (*CustomProperties) MarshalBinary ¶ added in v0.2.18

func (m *CustomProperties) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomProperties) UnmarshalBinary ¶ added in v0.2.18

func (m *CustomProperties) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomProperties) Validate ¶ added in v0.2.18

func (m *CustomProperties) Validate(formats strfmt.Registry) error

Validate validates this custom properties

type DataCollector ¶

type DataCollector struct {

	// Data collector identifier
	// Example: d5316b00-f3b8-4895-9e9a-c4b98649c2ca
	// Required: true
	DcID *string `json:"dcId"`

	// Data collector host name
	// Example: dc1-lnd.mycompany.com
	// Required: true
	HostName *string `json:"hostName"`

	// Ip Address of the data collector VM
	// Example: 10.0.0.1
	// Required: true
	IPAddress *string `json:"ipAddress"`

	// Data collector name
	// Example: Datacollector1
	// Required: true
	Name *string `json:"name"`

	// Current status of the data collector
	// Example: ACTIVE, INACTIVE
	// Required: true
	Status *string `json:"status"`
}

DataCollector State object representing a data collector.<br>The data collector is an OVA tool that contains the credentials and protocols needed to create a connection between a data collector appliance on a host vCenter and a vCenter-based cloud account.<br><br>Filtering is currently possible for some of the data collector fields via $filter.<br>Supported fields:<br>services<br>proxyId<br>creationTimeMicros<br>customProperties<br><br>Supported operators: eq, ne, lt, gt, and, or.<br><br>By default, the obtained list contains the enabled data collectors. A query parameter "disabled=true" can be added to obtain disabled data collectors.<br><br>Special case: If the user specifies $filter=((services.item ne 'cloud_assembly_extensibility') and (services.item ne 'cloud_assembly')), which is equivalent to disabled=true, and does not specify the "disabled" parameter, the resulting query will be equivalent to ((disabled=true) and (disabled=false)). This call will return an empty list.

swagger:model DataCollector

func (*DataCollector) ContextValidate ¶ added in v0.2.20

func (m *DataCollector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this data collector based on context it is used

func (*DataCollector) MarshalBinary ¶

func (m *DataCollector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCollector) UnmarshalBinary ¶

func (m *DataCollector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCollector) Validate ¶

func (m *DataCollector) Validate(formats strfmt.Registry) error

Validate validates this data collector

type DataCollectorRegistration ¶

type DataCollectorRegistration struct {

	// A registration key for the data collector
	// Example: eyJyZWdpc3RyYXRpb25VcmwiOiJodHRwczovL2Fw
	// Required: true
	Key *string `json:"key"`

	// Data collector OVA Link
	// Example: https://ci-data-collector.s3.amazonaws.com/VMware-Cloud-Services-Data-Collector.ova
	// Required: true
	OvaLink *string `json:"ovaLink"`
}

DataCollectorRegistration Data collector registration object.<br>The supplied data collector is an OVA tool that contains the credentials and protocols needed to create a connection between a data collector appliance on a host vCenter and a vCenter-based cloud account. . The process of deploying data collector is: <br> 1. Download the data collector ova from the "ovaLink".<br>2. Import the .ova file to the vCenter Server and start the installation.<br> 3. When asked for the key, copy and use the "key" provided.<br> 4. It takes a few minutes to detect your Data Collector after it is deployed and powered on in vCenter.

swagger:model DataCollectorRegistration

func (*DataCollectorRegistration) ContextValidate ¶ added in v0.2.20

func (m *DataCollectorRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this data collector registration based on context it is used

func (*DataCollectorRegistration) MarshalBinary ¶

func (m *DataCollectorRegistration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCollectorRegistration) UnmarshalBinary ¶

func (m *DataCollectorRegistration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCollectorRegistration) Validate ¶

func (m *DataCollectorRegistration) Validate(formats strfmt.Registry) error

Validate validates this data collector registration

type DataCollectorResult ¶

type DataCollectorResult struct {

	// List of content items
	// Read Only: true
	Content []*DataCollector `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

DataCollectorResult State object representing a query result of data collectors.

swagger:model DataCollectorResult

func (*DataCollectorResult) ContextValidate ¶ added in v0.2.20

func (m *DataCollectorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data collector result based on the context it is used

func (*DataCollectorResult) MarshalBinary ¶

func (m *DataCollectorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCollectorResult) UnmarshalBinary ¶

func (m *DataCollectorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCollectorResult) Validate ¶

func (m *DataCollectorResult) Validate(formats strfmt.Registry) error

Validate validates this data collector result

type DataElement ¶ added in v0.2.0

type DataElement struct {

	// description
	Description string `json:"description,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// properties
	Properties interface{} `json:"properties,omitempty"`
}

DataElement DataElement

swagger:model DataElement

func (*DataElement) ContextValidate ¶ added in v0.2.20

func (m *DataElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this data element based on context it is used

func (*DataElement) MarshalBinary ¶ added in v0.2.0

func (m *DataElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataElement) UnmarshalBinary ¶ added in v0.2.0

func (m *DataElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataElement) Validate ¶ added in v0.2.0

func (m *DataElement) Validate(formats strfmt.Registry) error

Validate validates this data element

type Deployment ¶

type Deployment struct {

	// Expanded deployment blueprint
	Blueprint *ResourceReference `json:"blueprint,omitempty"`

	// Deployment blueprint id
	BlueprintID string `json:"blueprintId,omitempty"`

	// Deployment blueprint version
	BlueprintVersion string `json:"blueprintVersion,omitempty"`

	// Expanded deployment catalog
	Catalog *ResourceReference `json:"catalog,omitempty"`

	// Deployment catalog item id
	CatalogItemID string `json:"catalogItemId,omitempty"`

	// Deployment catalog version
	CatalogItemVersion string `json:"catalogItemVersion,omitempty"`

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	CreatedBy string `json:"createdBy,omitempty"`

	// Indicates whether the deployment is deleted or not.
	Deleted bool `json:"deleted,omitempty"`

	// Description of the deployment
	Description string `json:"description,omitempty"`

	// Expense associated with the deployment.
	Expense *Expense `json:"expense,omitempty"`

	// Deployment icon id
	IconID string `json:"iconId,omitempty"`

	// Id of the deployment
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The inputs that were used to request this deployment
	Inputs interface{} `json:"inputs,omitempty"`

	// Last request
	LastRequest *Request `json:"lastRequest,omitempty"`

	// Update time
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Updated by
	LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`

	// Lease expiration time
	// Format: date-time
	LeaseExpireAt strfmt.DateTime `json:"leaseExpireAt,omitempty"`

	// Name of the deployment
	// Required: true
	Name *string `json:"name"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// Owned by
	OwnedBy string `json:"ownedBy,omitempty"`

	// Expanded deployment project
	Project *ResourceReference `json:"project,omitempty"`

	// Deployment project id
	ProjectID string `json:"projectId,omitempty"`

	// Expanded resources for the deployment. Content of this property will not be maintained backward compatible
	Resources []*DeploymentResource `json:"resources"`

	// Represents the status of deployment with respect to its life cycle operations - create/update/delete.
	// Enum: [CREATE_SUCCESSFUL CREATE_INPROGRESS CREATE_FAILED UPDATE_SUCCESSFUL UPDATE_INPROGRESS UPDATE_FAILED DELETE_SUCCESSFUL DELETE_INPROGRESS DELETE_FAILED]
	Status string `json:"status,omitempty"`
}

Deployment Deployment

A group of resources such as machines, network, software, etc... typically provisioned together to deliver a complete/workable application.

swagger:model Deployment

func (*Deployment) ContextValidate ¶ added in v0.2.20

func (m *Deployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment based on the context it is used

func (*Deployment) MarshalBinary ¶

func (m *Deployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Deployment) UnmarshalBinary ¶

func (m *Deployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Deployment) Validate ¶

func (m *Deployment) Validate(formats strfmt.Registry) error

Validate validates this deployment

type DeploymentExpenseHistory ¶ added in v0.2.8

type DeploymentExpenseHistory struct {

	// The currency code of the expense history.
	// Read Only: true
	Currency string `json:"currency,omitempty"`

	// The list of expense history metric.
	// Read Only: true
	Data []*TimeSeriesValue `json:"data"`

	// The requested interval type.
	// Read Only: true
	// Enum: [daily weekly monthly]
	Interval string `json:"interval,omitempty"`
}

DeploymentExpenseHistory DeploymentExpenseHistory

Expense history of a deployment.

swagger:model DeploymentExpenseHistory

func (*DeploymentExpenseHistory) ContextValidate ¶ added in v0.2.20

func (m *DeploymentExpenseHistory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment expense history based on the context it is used

func (*DeploymentExpenseHistory) MarshalBinary ¶ added in v0.2.8

func (m *DeploymentExpenseHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentExpenseHistory) UnmarshalBinary ¶ added in v0.2.8

func (m *DeploymentExpenseHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentExpenseHistory) Validate ¶ added in v0.2.8

func (m *DeploymentExpenseHistory) Validate(formats strfmt.Registry) error

Validate validates this deployment expense history

type DeploymentFilter ¶ added in v0.2.18

type DeploymentFilter struct {

	// content
	Content []*FilterEntry `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`

	// type
	// Enum: [MULTISELECT DATE_RANGE BOOLEAN]
	Type string `json:"type,omitempty"`
}

DeploymentFilter Filter

swagger:model DeploymentFilter

func (*DeploymentFilter) ContextValidate ¶ added in v0.2.20

func (m *DeploymentFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment filter based on the context it is used

func (*DeploymentFilter) MarshalBinary ¶ added in v0.2.18

func (m *DeploymentFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentFilter) UnmarshalBinary ¶ added in v0.2.18

func (m *DeploymentFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentFilter) Validate ¶ added in v0.2.18

func (m *DeploymentFilter) Validate(formats strfmt.Registry) error

Validate validates this deployment filter

type DeploymentFilterSchema ¶ added in v0.2.18

type DeploymentFilterSchema struct {

	// filters
	Filters []*DeploymentFilter `json:"filters"`
}

DeploymentFilterSchema FilterSchema

swagger:model DeploymentFilterSchema

func (*DeploymentFilterSchema) ContextValidate ¶ added in v0.2.20

func (m *DeploymentFilterSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment filter schema based on the context it is used

func (*DeploymentFilterSchema) MarshalBinary ¶ added in v0.2.18

func (m *DeploymentFilterSchema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentFilterSchema) UnmarshalBinary ¶ added in v0.2.18

func (m *DeploymentFilterSchema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentFilterSchema) Validate ¶ added in v0.2.18

func (m *DeploymentFilterSchema) Validate(formats strfmt.Registry) error

Validate validates this deployment filter schema

type DeploymentReference ¶ added in v0.2.21

type DeploymentReference struct {

	// description
	Description string `json:"description,omitempty"`

	// icon Id
	IconID string `json:"iconId,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// lease expire at
	// Format: date-time
	LeaseExpireAt strfmt.DateTime `json:"leaseExpireAt,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// owned by
	OwnedBy string `json:"ownedBy,omitempty"`
}

DeploymentReference DeploymentReference

swagger:model DeploymentReference

func (*DeploymentReference) ContextValidate ¶ added in v0.2.21

func (m *DeploymentReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment reference based on context it is used

func (*DeploymentReference) MarshalBinary ¶ added in v0.2.21

func (m *DeploymentReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentReference) UnmarshalBinary ¶ added in v0.2.21

func (m *DeploymentReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentReference) Validate ¶ added in v0.2.21

func (m *DeploymentReference) Validate(formats strfmt.Registry) error

Validate validates this deployment reference

type DeploymentResource ¶

type DeploymentResource struct {

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Current request
	CurrentRequest *Request `json:"currentRequest,omitempty"`

	// A list of other resources this resource depends on
	DependsOn []string `json:"dependsOn"`

	// A description of the resource
	Description string `json:"description,omitempty"`

	// Expense associated with the deployment.
	// Read Only: true
	Expense *Expense `json:"expense,omitempty"`

	// Unique identifier of the resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Name of the resource
	// Required: true
	Name *string `json:"name"`

	// Origin of the resource
	// Enum: [ONBOARDED MIGRATED]
	Origin string `json:"origin,omitempty"`

	// properties
	Properties interface{} `json:"properties,omitempty"`

	// The current state of the resource
	// Enum: [PARTIAL TAINTED OK]
	State string `json:"state,omitempty"`

	// The current sync status
	// Enum: [SUCCESS MISSING STALE]
	SyncStatus string `json:"syncStatus,omitempty"`

	// Type of the resource
	// Required: true
	Type *string `json:"type"`
}

DeploymentResource DeploymentResource

A resource part of a deployment.

swagger:model DeploymentResource

func (*DeploymentResource) ContextValidate ¶ added in v0.2.21

func (m *DeploymentResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment resource based on the context it is used

func (*DeploymentResource) MarshalBinary ¶

func (m *DeploymentResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResource) UnmarshalBinary ¶

func (m *DeploymentResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResource) Validate ¶

func (m *DeploymentResource) Validate(formats strfmt.Registry) error

Validate validates this deployment resource

type DeploymentResourceType ¶ added in v0.2.18

type DeploymentResourceType struct {

	// Optional. Account type to which the resource type belongs to. Example: AWS, Azure etc
	// Enum: [AWS Azure GCP vSphere vSphere-cloud Azure-EA NSX-V NSX-T NSX-P NSX-P-cloud vCloud Director VMC Puppet Ansible]
	AccountType string `json:"accountType,omitempty"`

	// Composable with other types or not
	Composable bool `json:"composable,omitempty"`

	// Time at which the resource type was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Name of the user who created the resource type.
	CreatedBy string `json:"createdBy,omitempty"`

	// Resource type description
	Description string `json:"description,omitempty"`

	// Resource display name
	DisplayName string `json:"displayName,omitempty"`

	// Resource type id
	ID string `json:"id,omitempty"`

	// Resource type name
	Name string `json:"name,omitempty"`

	// Org ID where resource type belongs
	OrgID string `json:"orgId,omitempty"`

	// Project ID where resource type belongs
	ProjectID string `json:"projectId,omitempty"`

	// Provider Id
	ProviderID string `json:"providerId,omitempty"`

	// Json schema that represents resource type, a simplified version of http://json-schema.org/latest/json-schema-validation.html#rfc.section.5
	Schema interface{} `json:"schema,omitempty"`

	// Time at which the resource type was updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Name of the user who updated the resource type.
	UpdatedBy string `json:"updatedBy,omitempty"`
}

DeploymentResourceType ResourceType

swagger:model DeploymentResourceType

func (*DeploymentResourceType) ContextValidate ¶ added in v0.2.20

func (m *DeploymentResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment resource type based on context it is used

func (*DeploymentResourceType) MarshalBinary ¶ added in v0.2.18

func (m *DeploymentResourceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResourceType) UnmarshalBinary ¶ added in v0.2.18

func (m *DeploymentResourceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResourceType) Validate ¶ added in v0.2.18

func (m *DeploymentResourceType) Validate(formats strfmt.Registry) error

Validate validates this deployment resource type

type DeploymentResult ¶ added in v0.2.21

type DeploymentResult struct {

	// List of content items
	// Read Only: true
	Content []*IaaSDeployment `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

DeploymentResult State object representing a query result of deployments.

swagger:model DeploymentResult

func (*DeploymentResult) ContextValidate ¶ added in v0.2.21

func (m *DeploymentResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment result based on the context it is used

func (*DeploymentResult) MarshalBinary ¶ added in v0.2.21

func (m *DeploymentResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResult) UnmarshalBinary ¶ added in v0.2.21

func (m *DeploymentResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResult) Validate ¶ added in v0.2.21

func (m *DeploymentResult) Validate(formats strfmt.Registry) error

Validate validates this deployment result

type DeploymentSpecification ¶ added in v0.2.3

type DeploymentSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`
}

DeploymentSpecification deployment specification

swagger:model DeploymentSpecification

func (*DeploymentSpecification) ContextValidate ¶ added in v0.2.20

func (m *DeploymentSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment specification based on context it is used

func (*DeploymentSpecification) MarshalBinary ¶ added in v0.2.3

func (m *DeploymentSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentSpecification) UnmarshalBinary ¶ added in v0.2.3

func (m *DeploymentSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentSpecification) Validate ¶ added in v0.2.3

func (m *DeploymentSpecification) Validate(formats strfmt.Registry) error

Validate validates this deployment specification

type DeploymentUpdate ¶

type DeploymentUpdate struct {

	// New description of the deployment
	Description string `json:"description,omitempty"`

	// New name of the deployment
	Name string `json:"name,omitempty"`
}

DeploymentUpdate DeploymentUpdate

A deployment update request ¶

swagger:model DeploymentUpdate

func (*DeploymentUpdate) ContextValidate ¶ added in v0.2.20

func (m *DeploymentUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment update based on context it is used

func (*DeploymentUpdate) MarshalBinary ¶

func (m *DeploymentUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpdate) UnmarshalBinary ¶

func (m *DeploymentUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpdate) Validate ¶

func (m *DeploymentUpdate) Validate(formats strfmt.Registry) error

Validate validates this deployment update

type DeprecationPolicy ¶

type DeprecationPolicy struct {

	// The date the api was deprecated in yyyy-MM-dd format (UTC). Could be empty if the api is not deprecated.
	DeprecatedAt string `json:"deprecatedAt,omitempty"`

	// A free text description that contains information about why this api is deprecated and how to migrate to a newer version.
	Description string `json:"description,omitempty"`

	// The date the api support will be dropped in yyyy-MM-dd format (UTC). The api may still be available for use after that date but this is not guaranteed.
	ExpiresAt string `json:"expiresAt,omitempty"`
}

DeprecationPolicy deprecation policy

swagger:model DeprecationPolicy

func (*DeprecationPolicy) ContextValidate ¶ added in v0.2.20

func (m *DeprecationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deprecation policy based on context it is used

func (*DeprecationPolicy) MarshalBinary ¶

func (m *DeprecationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeprecationPolicy) UnmarshalBinary ¶

func (m *DeprecationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeprecationPolicy) Validate ¶

func (m *DeprecationPolicy) Validate(formats strfmt.Registry) error

Validate validates this deprecation policy

type DiskAttachmentSpecification ¶

type DiskAttachmentSpecification struct {

	// The id of the existing block device
	// Example: 1298765
	// Required: true
	BlockDeviceID *string `json:"blockDeviceId"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// The SCSI controller to be assigned
	// Example: SCSI_Controller_0, SCSI_Controller_1, SCSI_Controller_2, SCSI_Controller_3
	ScsiController string `json:"scsiController,omitempty"`

	// The Unit Number to be assigned
	// Example: 0
	UnitNumber string `json:"unitNumber,omitempty"`
}

DiskAttachmentSpecification Specification for attaching disk to a machine

swagger:model DiskAttachmentSpecification

func (*DiskAttachmentSpecification) ContextValidate ¶ added in v0.2.20

func (m *DiskAttachmentSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disk attachment specification based on context it is used

func (*DiskAttachmentSpecification) MarshalBinary ¶

func (m *DiskAttachmentSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiskAttachmentSpecification) UnmarshalBinary ¶

func (m *DiskAttachmentSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiskAttachmentSpecification) Validate ¶

func (m *DiskAttachmentSpecification) Validate(formats strfmt.Registry) error

Validate validates this disk attachment specification

type DiskSnapshot ¶ added in v0.2.14

type DiskSnapshot struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Desc string `json:"desc,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Specifies if the snapshot is the current snapshot for the block device. Valid only for vSphere First Class Disks
	// Example: false
	IsCurrent bool `json:"isCurrent,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Snapshot specific properties
	// Example: { \"incremental\": \"false\" }
	SnapshotProperties map[string]string `json:"snapshotProperties,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

DiskSnapshot Represents a disk snapshot

swagger:model DiskSnapshot

func (*DiskSnapshot) ContextValidate ¶ added in v0.2.20

func (m *DiskSnapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this disk snapshot based on the context it is used

func (*DiskSnapshot) MarshalBinary ¶ added in v0.2.14

func (m *DiskSnapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiskSnapshot) UnmarshalBinary ¶ added in v0.2.14

func (m *DiskSnapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiskSnapshot) Validate ¶ added in v0.2.14

func (m *DiskSnapshot) Validate(formats strfmt.Registry) error

Validate validates this disk snapshot

type DiskSnapshotSpecification ¶ added in v0.2.14

type DiskSnapshotSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// Cloud specific snapshot properties supplied in as name value pairs
	// Example: {\"incremental\": \"true\",
	SnapshotProperties map[string]string `json:"snapshotProperties,omitempty"`
}

DiskSnapshotSpecification Specification for Disk Snapshot creation request.

swagger:model DiskSnapshotSpecification

func (*DiskSnapshotSpecification) ContextValidate ¶ added in v0.2.20

func (m *DiskSnapshotSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disk snapshot specification based on context it is used

func (*DiskSnapshotSpecification) MarshalBinary ¶ added in v0.2.14

func (m *DiskSnapshotSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiskSnapshotSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *DiskSnapshotSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiskSnapshotSpecification) Validate ¶ added in v0.2.14

func (m *DiskSnapshotSpecification) Validate(formats strfmt.Registry) error

Validate validates this disk snapshot specification

type DockerRegistryEvent ¶ added in v0.2.22

type DockerRegistryEvent interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Pipeline execution index.
	// Example: 2
	ExecutionIndex() int64
	SetExecutionIndex(int64)

	// Pipeline execution link.
	// Example: codestream/api/execution/sdscfvefw34rfrdsvdsat43erwfdf
	ExecutionLink() string
	SetExecutionLink(string)

	// Pipeline execution status.
	// Example: STARTED
	ExecutionStatus() string
	SetExecutionStatus(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// Name of the image.
	// Example: fedora
	ImageName() string
	SetImageName(string)

	// Message is populated when an error occurs.
	// Example: Invalid Oauth Refresh token. Verify webhook configuration.
	Message() string
	SetMessage(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Owner Name who triggered the event.
	// Example: username
	Owner() string
	SetOwner(string)

	// Pipeline to be executed when event is triggered.
	// Example: MyPipeline
	Pipeline() string
	SetPipeline(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// RepoName corresponding to the event.
	// Example: MyRepository
	Repo() string
	SetRepo(string)

	// Namespace inside the Docker Repository.
	// Example: MyNamespace
	RepoNamespace() string
	SetRepoNamespace(string)

	// Tag name associated with the image.
	// Example: latest
	Tag() string
	SetTag(string)

	// Commit Time for the event.
	// Example: 2019-09-18T07:38:25.907+0000
	TimeStampInMicros() int64
	SetTimeStampInMicros(int64)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

DockerRegistryEvent DockerRegistryEvent

Docker Registry Event details.

swagger:discriminator DockerRegistryEvent Docker Registry Event details.

func UnmarshalDockerRegistryEvent ¶ added in v0.2.22

func UnmarshalDockerRegistryEvent(reader io.Reader, consumer runtime.Consumer) (DockerRegistryEvent, error)

UnmarshalDockerRegistryEvent unmarshals polymorphic DockerRegistryEvent

func UnmarshalDockerRegistryEventSlice ¶ added in v0.2.22

func UnmarshalDockerRegistryEventSlice(reader io.Reader, consumer runtime.Consumer) ([]DockerRegistryEvent, error)

UnmarshalDockerRegistryEventSlice unmarshals polymorphic slices of DockerRegistryEvent

type DockerRegistryEvents ¶ added in v0.2.22

type DockerRegistryEvents interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]DockerRegistryEvent
	SetDocuments(map[string]DockerRegistryEvent)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

DockerRegistryEvents DockerRegistryEvents

List of Docker Registry Events.

swagger:discriminator DockerRegistryEvents List of Docker Registry Events.

func UnmarshalDockerRegistryEvents ¶ added in v0.2.22

func UnmarshalDockerRegistryEvents(reader io.Reader, consumer runtime.Consumer) (DockerRegistryEvents, error)

UnmarshalDockerRegistryEvents unmarshals polymorphic DockerRegistryEvents

func UnmarshalDockerRegistryEventsSlice ¶ added in v0.2.22

func UnmarshalDockerRegistryEventsSlice(reader io.Reader, consumer runtime.Consumer) ([]DockerRegistryEvents, error)

UnmarshalDockerRegistryEventsSlice unmarshals polymorphic slices of DockerRegistryEvents

type DockerRegistryWebHook ¶ added in v0.2.22

type DockerRegistryWebHook interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Indicates whether Docker webhook is enabled or not.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// Name of the Docker Endpoint.
	// Example: Docker Endpoint
	Endpoint() string
	SetEndpoint(string)

	// Docker webhook listener link.
	// Example: codestream/api/registry-webhooks/sdscfvefw34rfrdsvdsat43erwfdf
	ExternalListenerLink() string
	SetExternalListenerLink(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// If provided then the pipeline execution is triggered only when the given image name regex matches the image name in the received payload.
	// Example: admin/wordpress
	ImageNameRegExPattern() string
	SetImageNameRegExPattern(string)

	// Pipeline execution input properties.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input() interface{}
	SetInput(interface{})

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Pipeline name which is meant to be triggered when a docker event occur.
	// Example: DemoPipeline
	Pipeline() string
	SetPipeline(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// This token is used to authenticate when calling VMware Cloud Services APIs. These tokens are scoped within the organization.
	// Example: cKNNVCSHijnaxlrfnVsxUYr6wM2g5Bg11tfnotmWb9XdA5kpUCvI2ubJojTIGp9g
	RefreshToken() string
	SetRefreshToken(string)

	// Docker Repo Name.
	// Example: MyRepository
	RepoName() string
	SetRepoName(string)

	// Secret token to validate received payloads.
	// Example: dvcdefrffsdvdfvfdgfdvbfdbvrefg3ff=
	SecretToken() string
	SetSecretToken(string)

	// Docker server type.
	// Example: DockerHub/Docker_Trusted_Registry
	ServerType() string
	SetServerType(string)

	// Docker webhook name.
	// Example: docker-webhook
	Slug() string
	SetSlug(string)

	// If provided then the pipeline execution is triggered only when the given tag name regex matches the tag name(s) in the received payload.
	// Example: tag1
	TagNamePattern() string
	SetTagNamePattern(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

DockerRegistryWebHook DockerRegistryWebHook

Docker Registry Webhook details.

swagger:discriminator DockerRegistryWebHook Docker Registry Webhook details.

func UnmarshalDockerRegistryWebHook ¶ added in v0.2.22

func UnmarshalDockerRegistryWebHook(reader io.Reader, consumer runtime.Consumer) (DockerRegistryWebHook, error)

UnmarshalDockerRegistryWebHook unmarshals polymorphic DockerRegistryWebHook

func UnmarshalDockerRegistryWebHookSlice ¶ added in v0.2.22

func UnmarshalDockerRegistryWebHookSlice(reader io.Reader, consumer runtime.Consumer) ([]DockerRegistryWebHook, error)

UnmarshalDockerRegistryWebHookSlice unmarshals polymorphic slices of DockerRegistryWebHook

type DockerRegistryWebHookSpec ¶ added in v0.2.22

type DockerRegistryWebHookSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Docker webhook description.
	// Example: It is a docker saas webhook
	Description() string
	SetDescription(string)

	// Indicates whether Docker webhook is enabled or not.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// Docker endpoint.
	// Example: Dcocker-SaaS
	Endpoint() string
	SetEndpoint(string)

	// Docker webhook listener link.
	// Example: /codestream/api/registry-webhook-listeners/412aa461-6d46-47d6-af93-152bb0d88682
	ExternalListenerLink() string
	SetExternalListenerLink(string)

	// If provided then the pipeline execution is triggered only when the given image name regex matches the image name in the received payload.
	// Example: admin/wordpress
	ImageNameRegExPattern() string
	SetImageNameRegExPattern(string)

	// Pipeline Execution input properties.
	// Example: {"test":{"description":"test-value","mandatory":false}}
	Input() interface{}
	SetInput(interface{})

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Pipeline name which is meant to be triggered when a docker event occur.
	// Example: CD-Pipeline
	Pipeline() string
	SetPipeline(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Codestream API token.
	// Example: I5FLA8iQhlZwoos6OL3goKciAF5e
	RefreshToken() string
	SetRefreshToken(string)

	// Docker Repo Name.
	// Example: codestream
	RepoName() string
	SetRepoName(string)

	// Secret token to validate received payloads.
	// Example: DSkUyJJ8KA8rOSk=Ci
	SecretToken() string
	SetSecretToken(string)

	// Docker server type.
	// Example: DockerHub/Docker_Trusted_Registry
	ServerType() string
	SetServerType(string)

	// Docker webhook name.
	// Example: docker-webhook
	Slug() string
	SetSlug(string)

	// If provided then the pipeline execution is triggered only when the given tag name regex matches the tag name(s) in the received payload.
	// Example: tag1
	TagNamePattern() string
	SetTagNamePattern(string)
}

DockerRegistryWebHookSpec DockerRegistryWebHookSpec

Docker Registry Webhook specification.

swagger:discriminator DockerRegistryWebHookSpec Docker Registry Webhook specification.

func UnmarshalDockerRegistryWebHookSpec ¶ added in v0.2.22

func UnmarshalDockerRegistryWebHookSpec(reader io.Reader, consumer runtime.Consumer) (DockerRegistryWebHookSpec, error)

UnmarshalDockerRegistryWebHookSpec unmarshals polymorphic DockerRegistryWebHookSpec

func UnmarshalDockerRegistryWebHookSpecSlice ¶ added in v0.2.22

func UnmarshalDockerRegistryWebHookSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]DockerRegistryWebHookSpec, error)

UnmarshalDockerRegistryWebHookSpecSlice unmarshals polymorphic slices of DockerRegistryWebHookSpec

type DockerRegistryWebhookPatch ¶ added in v0.2.22

type DockerRegistryWebhookPatch interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Indicates whether Docker webhook is enabled or not.
	// Example: true
	Enabled() bool
	SetEnabled(bool)
}

DockerRegistryWebhookPatch DockerRegistryWebhookPatch

Docker Registry Webhook Patch details.

swagger:discriminator DockerRegistryWebhookPatch Docker Registry Webhook Patch details.

func UnmarshalDockerRegistryWebhookPatch ¶ added in v0.2.22

func UnmarshalDockerRegistryWebhookPatch(reader io.Reader, consumer runtime.Consumer) (DockerRegistryWebhookPatch, error)

UnmarshalDockerRegistryWebhookPatch unmarshals polymorphic DockerRegistryWebhookPatch

func UnmarshalDockerRegistryWebhookPatchSlice ¶ added in v0.2.22

func UnmarshalDockerRegistryWebhookPatchSlice(reader io.Reader, consumer runtime.Consumer) ([]DockerRegistryWebhookPatch, error)

UnmarshalDockerRegistryWebhookPatchSlice unmarshals polymorphic slices of DockerRegistryWebhookPatch

type DockerRegistryWebhooks ¶ added in v0.2.22

type DockerRegistryWebhooks interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]DockerRegistryWebHook
	SetDocuments(map[string]DockerRegistryWebHook)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

DockerRegistryWebhooks DockerRegistryWebhooks

List of Docker Registry Webhooks.

swagger:discriminator DockerRegistryWebhooks List of Docker Registry Webhooks.

func UnmarshalDockerRegistryWebhooks ¶ added in v0.2.22

func UnmarshalDockerRegistryWebhooks(reader io.Reader, consumer runtime.Consumer) (DockerRegistryWebhooks, error)

UnmarshalDockerRegistryWebhooks unmarshals polymorphic DockerRegistryWebhooks

func UnmarshalDockerRegistryWebhooksSlice ¶ added in v0.2.22

func UnmarshalDockerRegistryWebhooksSlice(reader io.Reader, consumer runtime.Consumer) ([]DockerRegistryWebhooks, error)

UnmarshalDockerRegistryWebhooksSlice unmarshals polymorphic slices of DockerRegistryWebhooks

type Document ¶ added in v0.2.7

type Document struct {

	// Document Link
	DownloadURL string `json:"downloadUrl,omitempty"`

	// Document Title
	Title string `json:"title,omitempty"`

	// Document Type
	Type string `json:"type,omitempty"`
}

Document Document

swagger:model Document

func (*Document) ContextValidate ¶ added in v0.2.20

func (m *Document) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this document based on context it is used

func (*Document) MarshalBinary ¶ added in v0.2.7

func (m *Document) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Document) UnmarshalBinary ¶ added in v0.2.7

func (m *Document) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Document) Validate ¶ added in v0.2.7

func (m *Document) Validate(formats strfmt.Registry) error

Validate validates this document

type EmailEventConfig ¶ added in v0.2.22

type EmailEventConfig interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Email Body.
	// Example: Pipeline-1 execution was successful
	Body() string
	SetBody(string)

	// endpoint
	Endpoint() string
	SetEndpoint(string)

	// event
	// Enum: [SUCCESS FAILURE WAITING CANCELED STARTED]
	Event() string
	SetEvent(string)

	// stage
	Stage() string
	SetStage(string)

	// Subject for the email notification.
	// Example: Pipeline-1 execution notification
	Subject() string
	SetSubject(string)

	// task
	Task() string
	SetTask(string)

	// List of Email IDs of the recipients.
	// Example: ["abc@vmware.com","def@vmware.com"]
	To() []string
	SetTo([]string)
}

EmailEventConfig EmailEventConfig

Represents an Email Event configuration.

swagger:discriminator EmailEventConfig Represents an Email Event configuration.

func UnmarshalEmailEventConfig ¶ added in v0.2.22

func UnmarshalEmailEventConfig(reader io.Reader, consumer runtime.Consumer) (EmailEventConfig, error)

UnmarshalEmailEventConfig unmarshals polymorphic EmailEventConfig

func UnmarshalEmailEventConfigSlice ¶ added in v0.2.22

func UnmarshalEmailEventConfigSlice(reader io.Reader, consumer runtime.Consumer) ([]EmailEventConfig, error)

UnmarshalEmailEventConfigSlice unmarshals polymorphic slices of EmailEventConfig

type Endpoint ¶ added in v0.2.22

type Endpoint interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// The id of the Cloud Proxy. It is required to connect with Endpoint servers hosted on different network (on-prem). In case of cloud-based Endpoint servers, set the cloud proxy to "Default".
	// Example: c3f5037c-0c94-466d-9220-b7429fa07f50
	CloudProxyID() string
	SetCloudProxyID(string)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// This type of Endpoint can be created, updated or deleted by admin only. If a restricted Endpoint is consumed in a Pipeline, and that Pipeline is executed by a non-admin user, then the execution will fail at the task which is consuming this restricted Endpoint. Only admin can then resume this Pipeline to make it progress.
	// Example: false
	IsRestricted() bool
	SetIsRestricted(bool)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Endpoint specific properties.
	Properties() interface{}
	SetProperties(interface{})

	// The type of this Endpoint instance.
	// Example: jenkins
	Type() string
	SetType(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Stores the vaidation errors.
	ValidationOutput() interface{}
	SetValidationOutput(interface{})

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

Endpoint Endpoint

An Endpoint is an instance of a DevOps application that connects to Code Stream to provide data for your Pipelines to run, such as a data source, repository, or notification system. Endpoints can be cloud-based or on-premises.

swagger:discriminator Endpoint An Endpoint is an instance of a DevOps application that connects to Code Stream to provide data for your Pipelines to run, such as a data source, repository, or notification system. Endpoints can be cloud-based or on-premises.

func UnmarshalEndpoint ¶ added in v0.2.22

func UnmarshalEndpoint(reader io.Reader, consumer runtime.Consumer) (Endpoint, error)

UnmarshalEndpoint unmarshals polymorphic Endpoint

func UnmarshalEndpointSlice ¶ added in v0.2.22

func UnmarshalEndpointSlice(reader io.Reader, consumer runtime.Consumer) ([]Endpoint, error)

UnmarshalEndpointSlice unmarshals polymorphic slices of Endpoint

type EndpointCertificate ¶ added in v0.2.22

type EndpointCertificate interface {
	runtime.Validatable
	runtime.ContextValidatable

	Fingerprints() CertificateFingerprint
	SetFingerprints(CertificateFingerprint)

	// Represents the entity issuing the Certificate to the holding body.
	IssuedBy() *CertificateIssuer
	SetIssuedBy(*CertificateIssuer)

	IssuedTo() CertificateIssuedTo
	SetIssuedTo(CertificateIssuedTo)

	PeriodOfValidity() CertificateValidity
	SetPeriodOfValidity(CertificateValidity)
}

EndpointCertificate EndpointCertificate

Represents the complete SSL Certificate information of a FQDN.

swagger:discriminator EndpointCertificate Represents the complete SSL Certificate information of a FQDN.

func UnmarshalEndpointCertificate ¶ added in v0.2.22

func UnmarshalEndpointCertificate(reader io.Reader, consumer runtime.Consumer) (EndpointCertificate, error)

UnmarshalEndpointCertificate unmarshals polymorphic EndpointCertificate

func UnmarshalEndpointCertificateSlice ¶ added in v0.2.22

func UnmarshalEndpointCertificateSlice(reader io.Reader, consumer runtime.Consumer) ([]EndpointCertificate, error)

UnmarshalEndpointCertificateSlice unmarshals polymorphic slices of EndpointCertificate

type EndpointCertificateChain ¶ added in v0.2.22

type EndpointCertificateChain interface {
	runtime.Validatable
	runtime.ContextValidatable

	Certificates() []EndpointCertificate
	SetCertificates([]EndpointCertificate)
}

EndpointCertificateChain EndpointCertificateChain

EndpointCertificateChain is a tree of SSL Certificates.

swagger:discriminator EndpointCertificateChain EndpointCertificateChain is a tree of SSL Certificates.

func UnmarshalEndpointCertificateChain ¶ added in v0.2.22

func UnmarshalEndpointCertificateChain(reader io.Reader, consumer runtime.Consumer) (EndpointCertificateChain, error)

UnmarshalEndpointCertificateChain unmarshals polymorphic EndpointCertificateChain

func UnmarshalEndpointCertificateChainSlice ¶ added in v0.2.22

func UnmarshalEndpointCertificateChainSlice(reader io.Reader, consumer runtime.Consumer) ([]EndpointCertificateChain, error)

UnmarshalEndpointCertificateChainSlice unmarshals polymorphic slices of EndpointCertificateChain

type EndpointProperties ¶ added in v0.2.18

type EndpointProperties struct {

	// accept self signed certificate
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// certificate
	Certificate string `json:"certificate,omitempty"`

	// dc Id
	DcID string `json:"dcId,omitempty"`

	// endpoint Id
	EndpointID string `json:"endpointId,omitempty"`

	// host name
	HostName string `json:"hostName,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// private key Id
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// server
	Server string `json:"server,omitempty"`

	// service account Id
	ServiceAccountID string `json:"serviceAccountId,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

EndpointProperties EndpointProperties

swagger:model EndpointProperties

func (*EndpointProperties) ContextValidate ¶ added in v0.2.20

func (m *EndpointProperties) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoint properties based on context it is used

func (*EndpointProperties) MarshalBinary ¶ added in v0.2.18

func (m *EndpointProperties) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointProperties) UnmarshalBinary ¶ added in v0.2.18

func (m *EndpointProperties) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointProperties) Validate ¶ added in v0.2.18

func (m *EndpointProperties) Validate(formats strfmt.Registry) error

Validate validates this endpoint properties

type EndpointSpec ¶ added in v0.2.22

type EndpointSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// This type of Endpoint can be created, updated or deleted by admin only. If a restricted Endpoint is consumed in a pipeline, and that pipeline is executed by a non-admin user, then the execution will fail at the task which is consuming this restricted Endpoint. Only admin can then resume this pipeline to make it progress.
	// Example: false
	IsRestricted() bool
	SetIsRestricted(bool)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Endpoint specific properties
	// Required: true
	Properties() interface{}
	SetProperties(interface{})

	// The type of this Endpoint instance.
	// Example: jenkins
	// Required: true
	Type() *string
	SetType(*string)
}

EndpointSpec EndpointSpec

An Endpoint is an instance of a DevOps application that connects to Code Stream to provide data for your Pipelines to run, such as a data source, repository, or notification system. Endpoints can be cloud-based or on-premises.

swagger:discriminator EndpointSpec An Endpoint is an instance of a DevOps application that connects to Code Stream to provide data for your Pipelines to run, such as a data source, repository, or notification system. Endpoints can be cloud-based or on-premises.

func UnmarshalEndpointSpec ¶ added in v0.2.22

func UnmarshalEndpointSpec(reader io.Reader, consumer runtime.Consumer) (EndpointSpec, error)

UnmarshalEndpointSpec unmarshals polymorphic EndpointSpec

func UnmarshalEndpointSpecSlice ¶ added in v0.2.22

func UnmarshalEndpointSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]EndpointSpec, error)

UnmarshalEndpointSpecSlice unmarshals polymorphic slices of EndpointSpec

type EndpointValidationSpec ¶ added in v0.2.22

type EndpointValidationSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// id of the endpoint, if already present
	ID() string
	SetID(string)

	// This type of Endpoint can be created, updated or deleted by admin only. If a restricted Endpoint is consumed in a pipeline, and that pipeline is executed by a non-admin user, then the execution will fail at the task which is consuming this restricted Endpoint. Only admin can then resume this pipeline to make it progress.
	// Example: false
	IsRestricted() bool
	SetIsRestricted(bool)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Endpoint specific properties
	// Required: true
	Properties() interface{}
	SetProperties(interface{})

	// The type of this Endpoint instance.
	// Example: jenkins
	// Required: true
	Type() *string
	SetType(*string)
}

EndpointValidationSpec EndpointValidationSpec

Endpoint validation specification ¶

swagger:discriminator EndpointValidationSpec Endpoint validation specification

func UnmarshalEndpointValidationSpec ¶ added in v0.2.22

func UnmarshalEndpointValidationSpec(reader io.Reader, consumer runtime.Consumer) (EndpointValidationSpec, error)

UnmarshalEndpointValidationSpec unmarshals polymorphic EndpointValidationSpec

func UnmarshalEndpointValidationSpecSlice ¶ added in v0.2.22

func UnmarshalEndpointValidationSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]EndpointValidationSpec, error)

UnmarshalEndpointValidationSpecSlice unmarshals polymorphic slices of EndpointValidationSpec

type Endpoints ¶ added in v0.2.22

type Endpoints struct {

	// Number of resources within the current page.
	Count int64 `json:"count,omitempty"`

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents map[string]Endpoint `json:"documents,omitempty"`

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links []string `json:"links"`

	// Number of resources across all pages.
	TotalCount int64 `json:"totalCount,omitempty"`
}

Endpoints Endpoints

swagger:model Endpoints

func (*Endpoints) ContextValidate ¶ added in v0.2.22

func (m *Endpoints) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoints based on the context it is used

func (*Endpoints) MarshalBinary ¶ added in v0.2.22

func (m *Endpoints) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Endpoints) UnmarshalBinary ¶ added in v0.2.22

func (m *Endpoints) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Endpoints) Validate ¶ added in v0.2.22

func (m *Endpoints) Validate(formats strfmt.Registry) error

Validate validates this endpoints

type Entitlement ¶

type Entitlement struct {

	// Entitlement definition that contains the Catalog Item or Catalog Source data.
	// Required: true
	Definition *ContentDefinition `json:"definition"`

	// Entitlement id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// Project id
	// Required: true
	ProjectID *string `json:"projectId"`
}

Entitlement Entitlement

Represents an entitlement that is configured by admins to enforce user access to catalog items, services, etc., within their own organizations.

swagger:model Entitlement

func (*Entitlement) ContextValidate ¶ added in v0.2.20

func (m *Entitlement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this entitlement based on the context it is used

func (*Entitlement) MarshalBinary ¶

func (m *Entitlement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Entitlement) UnmarshalBinary ¶

func (m *Entitlement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Entitlement) Validate ¶

func (m *Entitlement) Validate(formats strfmt.Registry) error

Validate validates this entitlement

type Error ¶ added in v0.2.9

type Error struct {

	// Error message
	// Example: Failed to validate credentials.
	Message string `json:"message,omitempty"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`
}

Error Error

Specification for a vRA API error.

swagger:model Error

func (*Error) ContextValidate ¶ added in v0.2.20

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary ¶ added in v0.2.9

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary ¶ added in v0.2.9

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate ¶ added in v0.2.9

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Event ¶ added in v0.2.18

type Event struct {

	// Longer user-friendly details of the event.
	Details string `json:"details,omitempty"`

	// Indicates whether the event has logs or not.
	HasLogs bool `json:"hasLogs,omitempty"`

	// Event identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Short user-friendly label of the event (e.g. 'shutting down myVM')
	// Required: true
	Name *string `json:"name"`

	// Optional resource name to which the event applies to
	ResourceName string `json:"resourceName,omitempty"`

	// Optional resource type to which the event applies to
	ResourceType string `json:"resourceType,omitempty"`

	// Timestamp of the Event (e.g. date format '2019-07-13T23:16:49.310Z').
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

Event Event

Represents request events.

swagger:model Event

func (*Event) ContextValidate ¶ added in v0.2.20

func (m *Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event based on context it is used

func (*Event) MarshalBinary ¶ added in v0.2.18

func (m *Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Event) UnmarshalBinary ¶ added in v0.2.18

func (m *Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Event) Validate ¶ added in v0.2.18

func (m *Event) Validate(formats strfmt.Registry) error

Validate validates this event

type EventLog ¶ added in v0.2.18

type EventLog struct {

	// Indicates whether this is the last log entry.
	EOF bool `json:"eof,omitempty"`

	// Event Log identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Message of the event log
	// Required: true
	Message *string `json:"message"`

	// Row number of the Event Log.
	Rownum int32 `json:"rownum,omitempty"`

	// Timestamp of the Event log (e.g. date format '2019-07-13T23:16:49.310Z').
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

EventLog EventLog

Represents a event log.

swagger:model EventLog

func (*EventLog) ContextValidate ¶ added in v0.2.20

func (m *EventLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event log based on context it is used

func (*EventLog) MarshalBinary ¶ added in v0.2.18

func (m *EventLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventLog) UnmarshalBinary ¶ added in v0.2.18

func (m *EventLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventLog) Validate ¶ added in v0.2.18

func (m *EventLog) Validate(formats strfmt.Registry) error

Validate validates this event log

type Execution ¶ added in v0.2.22

type Execution interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// duration in micros
	DurationInMicros() int64
	SetDurationInMicros(int64)

	// executed by
	ExecutedBy() string
	SetExecutedBy(string)

	// input meta
	InputMeta() map[string]PropertyMetaData
	SetInputMeta(map[string]PropertyMetaData)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// nested
	Nested() bool
	SetNested(bool)

	// output meta
	OutputMeta() map[string]PropertyMetaData
	SetOutputMeta(map[string]PropertyMetaData)

	// pipeline link
	PipelineLink() string
	SetPipelineLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// request time in micros
	RequestTimeInMicros() int64
	SetRequestTimeInMicros(int64)

	// rollback
	Rollback() bool
	SetRollback(bool)

	// source
	Source() string
	SetSource(string)

	// total duration in micros
	TotalDurationInMicros() int64
	SetTotalDurationInMicros(int64)

	// triggered by
	TriggeredBy() string
	SetTriggeredBy(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// comments
	Comments() string
	SetComments(string)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// icon
	Icon() string
	SetIcon(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// index
	Index() int64
	SetIndex(int64)

	// input
	Input() interface{}
	SetInput(interface{})

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	Notifications() []Notification
	SetNotifications([]Notification)

	// output
	Output() interface{}
	SetOutput(interface{})

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// reason
	Reason() string
	SetReason(string)

	// resumed at
	ResumedAt() string
	SetResumedAt(string)

	// stage order
	StageOrder() []string
	SetStageOrder([]string)

	// stages
	Stages() map[string]StageExecution
	SetStages(map[string]StageExecution)

	Starred() PipelineStarredProperty
	SetStarred(PipelineStarredProperty)

	// status
	// Enum: [NOT_STARTED STARTED RUNNING CANCELING WAITING RESUMING PAUSING PAUSED CANCELED COMPLETED FAILED SKIPPED QUEUED FAILED_CONTINUE ROLLING_BACK ROLLBACK_FAILED PREPARING_WORKSPACE ROLLBACK_COMPLETED]
	Status() string
	SetStatus(string)

	// status message
	StatusMessage() string
	SetStatusMessage(string)

	// A set of tag keys and optional values that were set on on the resource.
	// Example: [{"key":"env","value":"dev"}]
	Tags() []string
	SetTags([]string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)

	// workspace results
	WorkspaceResults() []*WorkspaceResult
	SetWorkspaceResults([]*WorkspaceResult)
}

Execution Execution

Execution ¶

swagger:discriminator Execution Execution

func UnmarshalExecution ¶ added in v0.2.22

func UnmarshalExecution(reader io.Reader, consumer runtime.Consumer) (Execution, error)

UnmarshalExecution unmarshals polymorphic Execution

func UnmarshalExecutionSlice ¶ added in v0.2.22

func UnmarshalExecutionSlice(reader io.Reader, consumer runtime.Consumer) ([]Execution, error)

UnmarshalExecutionSlice unmarshals polymorphic slices of Execution

type ExecutionActionRequest ¶ added in v0.2.22

type ExecutionActionRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Reason for performing the action on the given Execution.
	// Example: Pipeline cancelled due to infra issues.
	Reason() string
	SetReason(string)

	// A set of tag keys and optional values that were set on on the resource.
	// Example: [{"key":"env","value":"dev"}]
	Tags() []string
	SetTags([]string)
}

ExecutionActionRequest ExecutionActionRequest

Request body for acting on an Execution.

swagger:discriminator ExecutionActionRequest Request body for acting on an Execution.

func UnmarshalExecutionActionRequest ¶ added in v0.2.22

func UnmarshalExecutionActionRequest(reader io.Reader, consumer runtime.Consumer) (ExecutionActionRequest, error)

UnmarshalExecutionActionRequest unmarshals polymorphic ExecutionActionRequest

func UnmarshalExecutionActionRequestSlice ¶ added in v0.2.22

func UnmarshalExecutionActionRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]ExecutionActionRequest, error)

UnmarshalExecutionActionRequestSlice unmarshals polymorphic slices of ExecutionActionRequest

type ExecutionMessage ¶ added in v0.2.7

type ExecutionMessage struct {

	// Execution Message
	// Read Only: true
	Message string `json:"message,omitempty"`
}

ExecutionMessage ExecutionMessage

swagger:model ExecutionMessage

func (*ExecutionMessage) ContextValidate ¶ added in v0.2.20

func (m *ExecutionMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this execution message based on the context it is used

func (*ExecutionMessage) MarshalBinary ¶ added in v0.2.7

func (m *ExecutionMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExecutionMessage) UnmarshalBinary ¶ added in v0.2.7

func (m *ExecutionMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExecutionMessage) Validate ¶ added in v0.2.7

func (m *ExecutionMessage) Validate(formats strfmt.Registry) error

Validate validates this execution message

type ExecutionRequest ¶ added in v0.2.22

type ExecutionRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// comments
	Comments() string
	SetComments(string)

	// execution Id
	ExecutionID() string
	SetExecutionID(string)

	// execution link
	ExecutionLink() string
	SetExecutionLink(string)

	// input
	Input() interface{}
	SetInput(interface{})

	// source
	Source() string
	SetSource(string)

	// tags
	Tags() []string
	SetTags([]string)
}

ExecutionRequest ExecutionRequest

Execution Request for a pipeline ¶

swagger:discriminator ExecutionRequest Execution Request for a pipeline

func UnmarshalExecutionRequest ¶ added in v0.2.22

func UnmarshalExecutionRequest(reader io.Reader, consumer runtime.Consumer) (ExecutionRequest, error)

UnmarshalExecutionRequest unmarshals polymorphic ExecutionRequest

func UnmarshalExecutionRequestSlice ¶ added in v0.2.22

func UnmarshalExecutionRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]ExecutionRequest, error)

UnmarshalExecutionRequestSlice unmarshals polymorphic slices of ExecutionRequest

type ExecutionResponse ¶ added in v0.2.22

type ExecutionResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Id of the Execution.
	// Example: b80254a7-fcff-4918-ad88-501d08096337
	ExecutionID() string
	SetExecutionID(string)

	// Index of the Execution.
	// Example: 3
	ExecutionIndex() int64
	SetExecutionIndex(int64)

	// Link of the Execution.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	ExecutionLink() string
	SetExecutionLink(string)
}

ExecutionResponse ExecutionResponse

Represents the response object for when a Pipeline is executed.

swagger:discriminator ExecutionResponse Represents the response object for when a Pipeline is executed.

func UnmarshalExecutionResponse ¶ added in v0.2.22

func UnmarshalExecutionResponse(reader io.Reader, consumer runtime.Consumer) (ExecutionResponse, error)

UnmarshalExecutionResponse unmarshals polymorphic ExecutionResponse

func UnmarshalExecutionResponseSlice ¶ added in v0.2.22

func UnmarshalExecutionResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]ExecutionResponse, error)

UnmarshalExecutionResponseSlice unmarshals polymorphic slices of ExecutionResponse

type Executions ¶ added in v0.2.22

type Executions interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]Execution
	SetDocuments(map[string]Execution)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

Executions Executions

A list of Pipeline Executions.

swagger:discriminator Executions A list of Pipeline Executions.

func UnmarshalExecutions ¶ added in v0.2.22

func UnmarshalExecutions(reader io.Reader, consumer runtime.Consumer) (Executions, error)

UnmarshalExecutions unmarshals polymorphic Executions

func UnmarshalExecutionsSlice ¶ added in v0.2.22

func UnmarshalExecutionsSlice(reader io.Reader, consumer runtime.Consumer) ([]Executions, error)

UnmarshalExecutionsSlice unmarshals polymorphic slices of Executions

type Expense ¶

type Expense struct {

	// Additional expense incurred for the resource.
	// Read Only: true
	AdditionalExpense float64 `json:"additionalExpense,omitempty"`

	// Expense sync message code if any.
	// Read Only: true
	Code string `json:"code,omitempty"`

	// Compute expense of the resource.
	// Read Only: true
	ComputeExpense float64 `json:"computeExpense,omitempty"`

	// Last expense sync time.
	// Read Only: true
	// Format: date-time
	LastUpdatedTime strfmt.DateTime `json:"lastUpdatedTime,omitempty"`

	// Expense sync message if any.
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Network expense of the resource.
	// Read Only: true
	NetworkExpense float64 `json:"networkExpense,omitempty"`

	// Storage expense of the resource.
	// Read Only: true
	StorageExpense float64 `json:"storageExpense,omitempty"`

	// Total expense of the resource.
	// Read Only: true
	TotalExpense float64 `json:"totalExpense,omitempty"`

	// Monetary unit.
	// Read Only: true
	Unit string `json:"unit,omitempty"`
}

Expense Expense

swagger:model Expense

func (*Expense) ContextValidate ¶ added in v0.2.20

func (m *Expense) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this expense based on the context it is used

func (*Expense) MarshalBinary ¶

func (m *Expense) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Expense) UnmarshalBinary ¶

func (m *Expense) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Expense) Validate ¶

func (m *Expense) Validate(formats strfmt.Registry) error

Validate validates this expense

type ExternalNetworkIPRange ¶ added in v0.2.8

type ExternalNetworkIPRange struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Address space that the range belongs to
	AddressSpaceID string `json:"addressSpaceId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// DNS domain search (in order)
	DNSSearchDomains []string `json:"dnsSearchDomains"`

	// DNS IP addresses of the range.
	DNSServerAddresses []string `json:"dnsServerAddresses"`

	// DNS domain of the range.
	Domain string `json:"domain,omitempty"`

	// End IP address of the range.
	// Required: true
	EndIPAddress *string `json:"endIPAddress"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The gateway address of the range
	GatewayAddress string `json:"gatewayAddress,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// IP address version: IPv4 or IPv6. Default: IPv4.
	// Enum: [IPv4 IPv6]
	IPVersion string `json:"ipVersion,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Start IP address of the range.
	// Required: true
	StartIPAddress *string `json:"startIPAddress"`

	// Subnet prefix length (synonymous with "netmask")
	// Required: true
	SubnetPrefixLength *int32 `json:"subnetPrefixLength"`

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"ipv6-range\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

ExternalNetworkIPRange State object representing an external IP address range for a Fabric Network.<br>**HATEOAS** links:<br>**region** - Region - Region for the network.<br>**self** - NetworkIPRange - Self link to this IP address range

swagger:model ExternalNetworkIPRange

func (*ExternalNetworkIPRange) ContextValidate ¶ added in v0.2.20

func (m *ExternalNetworkIPRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external network IP range based on the context it is used

func (*ExternalNetworkIPRange) MarshalBinary ¶ added in v0.2.8

func (m *ExternalNetworkIPRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalNetworkIPRange) UnmarshalBinary ¶ added in v0.2.8

func (m *ExternalNetworkIPRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalNetworkIPRange) Validate ¶ added in v0.2.8

func (m *ExternalNetworkIPRange) Validate(formats strfmt.Registry) error

Validate validates this external network IP range

type ExternalNetworkIPRangeResult ¶ added in v0.2.8

type ExternalNetworkIPRangeResult struct {

	// List of content items
	// Read Only: true
	Content []*ExternalNetworkIPRange `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ExternalNetworkIPRangeResult State object representing a query result of external IPAM network IP range.

swagger:model ExternalNetworkIPRangeResult

func (*ExternalNetworkIPRangeResult) ContextValidate ¶ added in v0.2.20

func (m *ExternalNetworkIPRangeResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external network IP range result based on the context it is used

func (*ExternalNetworkIPRangeResult) MarshalBinary ¶ added in v0.2.8

func (m *ExternalNetworkIPRangeResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalNetworkIPRangeResult) UnmarshalBinary ¶ added in v0.2.8

func (m *ExternalNetworkIPRangeResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalNetworkIPRangeResult) Validate ¶ added in v0.2.8

func (m *ExternalNetworkIPRangeResult) Validate(formats strfmt.Registry) error

Validate validates this external network IP range result

type FabricAzureStorageAccount ¶

type FabricAzureStorageAccount struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// Indicates the ID of region.
	// Example: westus
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
	// Example: Standard_LRS / Premium_LRS
	Type string `json:"type,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricAzureStorageAccount Represents a structure that holds details of Azure endpoint's storage account.<br>**HATEOAS** links:<br>**region** - Region - Region for the storage account.<br>**self** - FabricAzureStorageAccount - Self link to this storage account

swagger:model FabricAzureStorageAccount

func (*FabricAzureStorageAccount) ContextValidate ¶ added in v0.2.20

func (m *FabricAzureStorageAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric azure storage account based on the context it is used

func (*FabricAzureStorageAccount) MarshalBinary ¶

func (m *FabricAzureStorageAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricAzureStorageAccount) UnmarshalBinary ¶

func (m *FabricAzureStorageAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricAzureStorageAccount) Validate ¶

func (m *FabricAzureStorageAccount) Validate(formats strfmt.Registry) error

Validate validates this fabric azure storage account

type FabricAzureStorageAccountResult ¶

type FabricAzureStorageAccountResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricAzureStorageAccount `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricAzureStorageAccountResult State object representing a query result of Azure storage accounts.

swagger:model FabricAzureStorageAccountResult

func (*FabricAzureStorageAccountResult) ContextValidate ¶ added in v0.2.20

func (m *FabricAzureStorageAccountResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric azure storage account result based on the context it is used

func (*FabricAzureStorageAccountResult) MarshalBinary ¶

func (m *FabricAzureStorageAccountResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricAzureStorageAccountResult) UnmarshalBinary ¶

func (m *FabricAzureStorageAccountResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricAzureStorageAccountResult) Validate ¶

Validate validates this fabric azure storage account result

type FabricCompute ¶ added in v0.2.8

type FabricCompute struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Custom properties of the compute instance
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the compute
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the compute.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Lifecycle status of the compute instance
	// Example: PROVISIONING, READY, SUSPEND, STOPPED, RETIRED
	LifecycleState string `json:"lifecycleState,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Power state of compute instance
	// Example: ON, OFF, GUEST_OFF, UNKNOWN, SUSPEND
	PowerState string `json:"powerState,omitempty"`

	// A set of tag keys and optional values that were set on this resource instance.
	Tags []*Tag `json:"tags"`

	// Type of the compute instance
	// Example: Availability Zone
	Type string `json:"type,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricCompute Represents a compute which is an entity on the cloud provider side that can be used to provision resources in. It could be an availability zone in a public cloud, cluster, host or resource pool in vSphere

swagger:model FabricCompute

func (*FabricCompute) ContextValidate ¶ added in v0.2.20

func (m *FabricCompute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric compute based on the context it is used

func (*FabricCompute) MarshalBinary ¶ added in v0.2.8

func (m *FabricCompute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricCompute) UnmarshalBinary ¶ added in v0.2.8

func (m *FabricCompute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricCompute) Validate ¶ added in v0.2.8

func (m *FabricCompute) Validate(formats strfmt.Registry) error

Validate validates this fabric compute

type FabricComputeResult ¶ added in v0.2.8

type FabricComputeResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricCompute `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricComputeResult State object representing a query result of cloud zone's computes.

swagger:model FabricComputeResult

func (*FabricComputeResult) ContextValidate ¶ added in v0.2.20

func (m *FabricComputeResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric compute result based on the context it is used

func (*FabricComputeResult) MarshalBinary ¶ added in v0.2.8

func (m *FabricComputeResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricComputeResult) UnmarshalBinary ¶ added in v0.2.8

func (m *FabricComputeResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricComputeResult) Validate ¶ added in v0.2.8

func (m *FabricComputeResult) Validate(formats strfmt.Registry) error

Validate validates this fabric compute result

type FabricComputeSpecification ¶ added in v0.2.8

type FabricComputeSpecification struct {

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"?\", \"value\": \"Environment\" } ]
	Tags []*Tag `json:"tags"`
}

FabricComputeSpecification Specification for updating a FabricCompute

swagger:model FabricComputeSpecification

func (*FabricComputeSpecification) ContextValidate ¶ added in v0.2.20

func (m *FabricComputeSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric compute specification based on the context it is used

func (*FabricComputeSpecification) MarshalBinary ¶ added in v0.2.8

func (m *FabricComputeSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricComputeSpecification) UnmarshalBinary ¶ added in v0.2.8

func (m *FabricComputeSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricComputeSpecification) Validate ¶ added in v0.2.8

func (m *FabricComputeSpecification) Validate(formats strfmt.Registry) error

Validate validates this fabric compute specification

type FabricFlavor ¶

type FabricFlavor struct {

	// Size of the boot disk (in megabytes). Not populated when inapplicable.
	// Example: 486400
	BootDiskSizeInMB int32 `json:"bootDiskSizeInMB,omitempty"`

	// Number of CPU cores. Not populated when inapplicable.
	// Example: 2
	CPUCount int32 `json:"cpuCount,omitempty"`

	// Number of data disks. Not populated when inapplicable.
	// Example: 1
	DataDiskMaxCount int32 `json:"dataDiskMaxCount,omitempty"`

	// Size of the data disks (in megabytes). Not populated when inapplicable.
	// Example: 486400
	DataDiskSizeInMB int32 `json:"dataDiskSizeInMB,omitempty"`

	// The internal identification used by the corresponding cloud end-point
	// Example: i3.large
	ID string `json:"id,omitempty"`

	// Total amount of memory (in megabytes). Not populated when inapplicable.
	// Example: 15616
	MemoryInMB int64 `json:"memoryInMB,omitempty"`

	// The value of the instance type in the corresponding cloud.
	// Example: i3.large
	// Required: true
	Name *string `json:"name"`

	// The type of network supported by this instance type. Not populated when inapplicable.
	// Example: Up to 10 Gigabit
	NetworkType string `json:"networkType,omitempty"`

	// The type of storage supported by this instance type. Not populated when inapplicable.
	// Example: NVMe_SSD
	StorageType string `json:"storageType,omitempty"`
}

FabricFlavor Represents a fabric flavor from the corresponding cloud end-point

swagger:model FabricFlavor

func (*FabricFlavor) ContextValidate ¶ added in v0.2.20

func (m *FabricFlavor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fabric flavor based on context it is used

func (*FabricFlavor) MarshalBinary ¶

func (m *FabricFlavor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricFlavor) UnmarshalBinary ¶

func (m *FabricFlavor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricFlavor) Validate ¶

func (m *FabricFlavor) Validate(formats strfmt.Registry) error

Validate validates this fabric flavor

type FabricFlavorDescription ¶

type FabricFlavorDescription struct {

	// Number of CPU cores. Mandatory for private clouds such as vSphere. Not populated when inapplicable.
	// Example: 4
	CPUCount int32 `json:"cpuCount,omitempty"`

	// Total amount of memory (in megabytes). Mandatory for private clouds such as vSphere. Not populated when inapplicable.
	// Example: 4096
	MemoryInMB int64 `json:"memoryInMB,omitempty"`

	// The value of the instance type in the corresponding cloud. Valid and mandatory for public clouds
	// Example: t2.small, t2.medium
	Name string `json:"name,omitempty"`
}

FabricFlavorDescription Represents fabric flavor instance type description. Used when creating flavor profiles.

swagger:model FabricFlavorDescription

func (*FabricFlavorDescription) ContextValidate ¶ added in v0.2.20

func (m *FabricFlavorDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fabric flavor description based on context it is used

func (*FabricFlavorDescription) MarshalBinary ¶

func (m *FabricFlavorDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricFlavorDescription) UnmarshalBinary ¶

func (m *FabricFlavorDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricFlavorDescription) Validate ¶

func (m *FabricFlavorDescription) Validate(formats strfmt.Registry) error

Validate validates this fabric flavor description

type FabricFlavorResult ¶

type FabricFlavorResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricFlavor `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricFlavorResult State object representing a query result of fabric flavors.

swagger:model FabricFlavorResult

func (*FabricFlavorResult) ContextValidate ¶ added in v0.2.20

func (m *FabricFlavorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric flavor result based on the context it is used

func (*FabricFlavorResult) MarshalBinary ¶

func (m *FabricFlavorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricFlavorResult) UnmarshalBinary ¶

func (m *FabricFlavorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricFlavorResult) Validate ¶

func (m *FabricFlavorResult) Validate(formats strfmt.Registry) error

Validate validates this fabric flavor result

type FabricImage ¶

type FabricImage struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"prop1\" : \"value1\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The regionId of the image
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Indicates whether this fabric image is private. For vSphere, private images are considered to be templates and snapshots and public are Content Library Items
	// Example: true
	IsPrivate bool `json:"isPrivate,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Operating System family of the image.
	// Example: linux, win
	OsFamily string `json:"osFamily,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricImage Represents a fabric image from the corresponding cloud end-point.<br>**HATEOAS** links:<br>**region** - Region - Region for the image.<br>**self** - FabricImage - Self link to this image

swagger:model FabricImage

func (*FabricImage) ContextValidate ¶ added in v0.2.20

func (m *FabricImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric image based on the context it is used

func (*FabricImage) MarshalBinary ¶

func (m *FabricImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricImage) UnmarshalBinary ¶

func (m *FabricImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricImage) Validate ¶

func (m *FabricImage) Validate(formats strfmt.Registry) error

Validate validates this fabric image

type FabricImageDescription ¶

type FabricImageDescription struct {

	// Cloud config for this image. This cloud config will be merged during provisioning with other cloud configurations such as the bootConfig provided in MachineSpecification.
	// Example: runcmd:\n  - [\"mkdir\", \"/imageFolder\"]
	CloudConfig string `json:"cloudConfig,omitempty"`

	// Constraints that are used to drive placement policies for the image that is produced from this mapping.Constraint expressions are matched against tags on existing placement targets.
	// Example: [{\"mandatory\" : \"true\", \"expression\": \"environment\":\"prod\"}, {\"mandatory\" : \"false\", \"expression\": \"pci\"}]
	Constraints []*Constraint `json:"constraints"`

	// The id of the fabric image
	// Example: 9e49
	ID string `json:"id,omitempty"`

	// Fabric image name. Valid if id not provided.
	// Example: ami-ubuntu-16.04-1.9.1-00-1516139717
	Name string `json:"name,omitempty"`
}

FabricImageDescription Represents fabric image description. Used when creating image profiles.

swagger:model FabricImageDescription

func (*FabricImageDescription) ContextValidate ¶ added in v0.2.20

func (m *FabricImageDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric image description based on the context it is used

func (*FabricImageDescription) MarshalBinary ¶

func (m *FabricImageDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricImageDescription) UnmarshalBinary ¶

func (m *FabricImageDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricImageDescription) Validate ¶

func (m *FabricImageDescription) Validate(formats strfmt.Registry) error

Validate validates this fabric image description

type FabricImageResult ¶

type FabricImageResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricImage `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricImageResult State object representing a query result of fabric images.

swagger:model FabricImageResult

func (*FabricImageResult) ContextValidate ¶ added in v0.2.20

func (m *FabricImageResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric image result based on the context it is used

func (*FabricImageResult) MarshalBinary ¶

func (m *FabricImageResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricImageResult) UnmarshalBinary ¶

func (m *FabricImageResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricImageResult) Validate ¶

func (m *FabricImageResult) Validate(formats strfmt.Registry) error

Validate validates this fabric image result

type FabricNetwork ¶

type FabricNetwork struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Network CIDR to be used.
	// Example: 10.1.2.0/24
	Cidr string `json:"cidr,omitempty"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Custom properties of the fabric network instance
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The id of the region for which this network is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Network IPv6 CIDR to be used.
	// Example: 2001:eeee:6bd:2a::1/64
	IPV6Cidr string `json:"ipv6Cidr,omitempty"`

	// Indicates whether this is the default subnet for the zone.
	IsDefault bool `json:"isDefault,omitempty"`

	// Indicates whether the sub-network supports public IP assignment.
	IsPublic bool `json:"isPublic,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"fast-network\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricNetwork State object representing a network on a external cloud provider.<br>**HATEOAS** links:<br>**region** - Region - Region for the network.<br>**self** - FabricNetwork - Self link to this network

swagger:model FabricNetwork

func (*FabricNetwork) ContextValidate ¶ added in v0.2.20

func (m *FabricNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric network based on the context it is used

func (*FabricNetwork) MarshalBinary ¶

func (m *FabricNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricNetwork) UnmarshalBinary ¶

func (m *FabricNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricNetwork) Validate ¶

func (m *FabricNetwork) Validate(formats strfmt.Registry) error

Validate validates this fabric network

type FabricNetworkResult ¶

type FabricNetworkResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricNetwork `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricNetworkResult State object representing a query result of fabric networks.

swagger:model FabricNetworkResult

func (*FabricNetworkResult) ContextValidate ¶ added in v0.2.20

func (m *FabricNetworkResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric network result based on the context it is used

func (*FabricNetworkResult) MarshalBinary ¶

func (m *FabricNetworkResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricNetworkResult) UnmarshalBinary ¶

func (m *FabricNetworkResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricNetworkResult) Validate ¶

func (m *FabricNetworkResult) Validate(formats strfmt.Registry) error

Validate validates this fabric network result

type FabricNetworkSpecification ¶

type FabricNetworkSpecification struct {

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"fast-network\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`
}

FabricNetworkSpecification Specification for updating a FabricNetwork

swagger:model FabricNetworkSpecification

func (*FabricNetworkSpecification) ContextValidate ¶ added in v0.2.20

func (m *FabricNetworkSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric network specification based on the context it is used

func (*FabricNetworkSpecification) MarshalBinary ¶

func (m *FabricNetworkSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricNetworkSpecification) UnmarshalBinary ¶

func (m *FabricNetworkSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricNetworkSpecification) Validate ¶

func (m *FabricNetworkSpecification) Validate(formats strfmt.Registry) error

Validate validates this fabric network specification

type FabricNetworkVsphere ¶ added in v0.2.3

type FabricNetworkVsphere struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Network CIDR to be used.
	// Example: 10.1.2.0/24
	Cidr string `json:"cidr,omitempty"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Custom properties of the fabric network instance
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// IPv4 default gateway to be used.
	// Example: 10.1.2.1
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// IPv6 default gateway to be used.
	// Example: 2001:eeee:6bd:2a::1
	DefaultIPV6Gateway string `json:"defaultIpv6Gateway,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// A list of DNS search domains that were set on this resource instance.
	// Example: [vmware.com]
	DNSSearchDomains []string `json:"dnsSearchDomains"`

	// A list of DNS server addresses that were set on this resource instance.
	// Example: [1.1.1.1]
	DNSServerAddresses []string `json:"dnsServerAddresses"`

	// Domain value.
	// Example: sqa.local
	Domain string `json:"domain,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The id of the region for which this network is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Network IPv6 CIDR to be used.
	// Example: 2001:eeee:6bd:2a::1/64
	IPV6Cidr string `json:"ipv6Cidr,omitempty"`

	// Indicates whether this is the default subnet for the zone.
	IsDefault bool `json:"isDefault,omitempty"`

	// Indicates whether the sub-network supports public IP assignment.
	IsPublic bool `json:"isPublic,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"fast-network\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricNetworkVsphere State object representing a vSphere network on a external cloud provider.<br>**domain** - domain for the vSphere network.<br>**defaultGateway** - default IPv4 gateway for the vSphere network.<br>**defaultIPv6Gateway** - default IPv6 gateway for the vSphere network.<br>**dnsServerAddresses** - list of dns server address for the vSphere network.<br>**dnsSearchDomains** - ist of dns search domains for the vSphere network

swagger:model FabricNetworkVsphere

func (*FabricNetworkVsphere) ContextValidate ¶ added in v0.2.20

func (m *FabricNetworkVsphere) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric network vsphere based on the context it is used

func (*FabricNetworkVsphere) MarshalBinary ¶ added in v0.2.3

func (m *FabricNetworkVsphere) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricNetworkVsphere) UnmarshalBinary ¶ added in v0.2.3

func (m *FabricNetworkVsphere) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricNetworkVsphere) Validate ¶ added in v0.2.3

func (m *FabricNetworkVsphere) Validate(formats strfmt.Registry) error

Validate validates this fabric network vsphere

type FabricNetworkVsphereResult ¶ added in v0.2.3

type FabricNetworkVsphereResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricNetworkVsphere `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricNetworkVsphereResult State object representing a query result of fabric networks.

swagger:model FabricNetworkVsphereResult

func (*FabricNetworkVsphereResult) ContextValidate ¶ added in v0.2.20

func (m *FabricNetworkVsphereResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric network vsphere result based on the context it is used

func (*FabricNetworkVsphereResult) MarshalBinary ¶ added in v0.2.3

func (m *FabricNetworkVsphereResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricNetworkVsphereResult) UnmarshalBinary ¶ added in v0.2.3

func (m *FabricNetworkVsphereResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricNetworkVsphereResult) Validate ¶ added in v0.2.3

func (m *FabricNetworkVsphereResult) Validate(formats strfmt.Registry) error

Validate validates this fabric network vsphere result

type FabricNetworkVsphereSpecification ¶ added in v0.2.3

type FabricNetworkVsphereSpecification struct {

	// Network CIDR to be used.
	// Example: 10.1.2.0/24
	Cidr string `json:"cidr,omitempty"`

	// IPv4 default gateway to be used.
	// Example: 10.1.2.1
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// IPv6 default gateway to be used.
	// Example: 2001:eeee:6bd:2a::1
	DefaultIPV6Gateway string `json:"defaultIpv6Gateway,omitempty"`

	// A list of DNS search domains that were set on this resource instance.
	// Example: [vmware.com]
	DNSSearchDomains []string `json:"dnsSearchDomains"`

	// A list of DNS server addresses that were set on this resource instance.
	// Example: [1.1.1.1]
	DNSServerAddresses []string `json:"dnsServerAddresses"`

	// Domain value.
	// Example: sqa.local
	Domain string `json:"domain,omitempty"`

	// Network IPv6 CIDR to be used.
	// Example: 2001:eeee:6bd:2a::1/64
	IPV6Cidr string `json:"ipv6Cidr,omitempty"`

	// Indicates whether this is the default subnet for the zone.
	IsDefault *bool `json:"isDefault,omitempty"`

	// Indicates whether the sub-network supports public IP assignment.
	IsPublic *bool `json:"isPublic,omitempty"`

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"fast-network\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`
}

FabricNetworkVsphereSpecification Specification for updating a Vsphere FabricNetwork

swagger:model FabricNetworkVsphereSpecification

func (*FabricNetworkVsphereSpecification) ContextValidate ¶ added in v0.2.20

func (m *FabricNetworkVsphereSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric network vsphere specification based on the context it is used

func (*FabricNetworkVsphereSpecification) MarshalBinary ¶ added in v0.2.3

func (m *FabricNetworkVsphereSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricNetworkVsphereSpecification) UnmarshalBinary ¶ added in v0.2.3

func (m *FabricNetworkVsphereSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricNetworkVsphereSpecification) Validate ¶ added in v0.2.3

Validate validates this fabric network vsphere specification

type FabricVsphereDatastore ¶

type FabricVsphereDatastore struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// Id of datacenter in which the datastore is present.
	// Example: Datacenter:datacenter-2
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// Indicates free size available in datastore.
	// Example: 20
	FreeSizeGB string `json:"freeSizeGB,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on this datastore / datastore cluster.
	// Example: [ { \"key\" : \"vsan\", \"value\": \" \" } ]
	Tags []*Tag `json:"tags"`

	// Type of datastore.
	// Example: VMFS / NFS / StoragePod
	Type string `json:"type,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricVsphereDatastore Represents a structure that holds details of vSphere datastore.<br>**HATEOAS** links:<br>**self** - FabricVsphereDatastore - Self link to this data store

swagger:model FabricVsphereDatastore

func (*FabricVsphereDatastore) ContextValidate ¶ added in v0.2.20

func (m *FabricVsphereDatastore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric vsphere datastore based on the context it is used

func (*FabricVsphereDatastore) MarshalBinary ¶

func (m *FabricVsphereDatastore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricVsphereDatastore) UnmarshalBinary ¶

func (m *FabricVsphereDatastore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricVsphereDatastore) Validate ¶

func (m *FabricVsphereDatastore) Validate(formats strfmt.Registry) error

Validate validates this fabric vsphere datastore

type FabricVsphereDatastoreResult ¶

type FabricVsphereDatastoreResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricVsphereDatastore `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricVsphereDatastoreResult State object representing a query result of vSphere datastores.

swagger:model FabricVsphereDatastoreResult

func (*FabricVsphereDatastoreResult) ContextValidate ¶ added in v0.2.20

func (m *FabricVsphereDatastoreResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric vsphere datastore result based on the context it is used

func (*FabricVsphereDatastoreResult) MarshalBinary ¶

func (m *FabricVsphereDatastoreResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricVsphereDatastoreResult) UnmarshalBinary ¶

func (m *FabricVsphereDatastoreResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricVsphereDatastoreResult) Validate ¶

func (m *FabricVsphereDatastoreResult) Validate(formats strfmt.Registry) error

Validate validates this fabric vsphere datastore result

type FabricVsphereStoragePolicy ¶

type FabricVsphereStoragePolicy struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// Id of datacenter in which the storage policy is present.
	// Example: Datacenter:datacenter-2
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on this storage policy.
	// Example: [ { \"key\" : \"vmencryption\", \"value\": \" \" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FabricVsphereStoragePolicy Represents a structure that holds details of vSphere storage policy.**HATEOAS** links:<br>**self** - FabricVsphereStoragePolicy - Self link to this storage policy

swagger:model FabricVsphereStoragePolicy

func (*FabricVsphereStoragePolicy) ContextValidate ¶ added in v0.2.20

func (m *FabricVsphereStoragePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric vsphere storage policy based on the context it is used

func (*FabricVsphereStoragePolicy) MarshalBinary ¶

func (m *FabricVsphereStoragePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricVsphereStoragePolicy) UnmarshalBinary ¶

func (m *FabricVsphereStoragePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricVsphereStoragePolicy) Validate ¶

func (m *FabricVsphereStoragePolicy) Validate(formats strfmt.Registry) error

Validate validates this fabric vsphere storage policy

type FabricVsphereStoragePolicyResult ¶

type FabricVsphereStoragePolicyResult struct {

	// List of content items
	// Read Only: true
	Content []*FabricVsphereStoragePolicy `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FabricVsphereStoragePolicyResult State object representing a query result of vSphere storage policies.

swagger:model FabricVsphereStoragePolicyResult

func (*FabricVsphereStoragePolicyResult) ContextValidate ¶ added in v0.2.20

func (m *FabricVsphereStoragePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fabric vsphere storage policy result based on the context it is used

func (*FabricVsphereStoragePolicyResult) MarshalBinary ¶

func (m *FabricVsphereStoragePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FabricVsphereStoragePolicyResult) UnmarshalBinary ¶

func (m *FabricVsphereStoragePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FabricVsphereStoragePolicyResult) Validate ¶

Validate validates this fabric vsphere storage policy result

type FileTree ¶ added in v0.2.18

type FileTree struct {

	// The ID of a content source
	// Format: uuid
	RepositoryID strfmt.UUID `json:"repositoryId,omitempty"`

	// A list of directories
	Tree []*FileTreeDirectory `json:"tree"`
}

FileTree FileTree

A list of directories found in a remote repository.

swagger:model FileTree

func (*FileTree) ContextValidate ¶ added in v0.2.20

func (m *FileTree) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this file tree based on the context it is used

func (*FileTree) MarshalBinary ¶ added in v0.2.18

func (m *FileTree) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FileTree) UnmarshalBinary ¶ added in v0.2.18

func (m *FileTree) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FileTree) Validate ¶ added in v0.2.18

func (m *FileTree) Validate(formats strfmt.Registry) error

Validate validates this file tree

type FileTreeDirectory ¶ added in v0.2.18

type FileTreeDirectory struct {

	// name
	Name string `json:"name,omitempty"`
}

FileTreeDirectory FileTreeDirectory

swagger:model FileTreeDirectory

func (*FileTreeDirectory) ContextValidate ¶ added in v0.2.20

func (m *FileTreeDirectory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this file tree directory based on context it is used

func (*FileTreeDirectory) MarshalBinary ¶ added in v0.2.18

func (m *FileTreeDirectory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FileTreeDirectory) UnmarshalBinary ¶ added in v0.2.18

func (m *FileTreeDirectory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FileTreeDirectory) Validate ¶ added in v0.2.18

func (m *FileTreeDirectory) Validate(formats strfmt.Registry) error

Validate validates this file tree directory

type FilterEntry ¶

type FilterEntry struct {

	// count
	Count int64 `json:"count,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

FilterEntry FilterEntry

swagger:model FilterEntry

func (*FilterEntry) ContextValidate ¶ added in v0.2.20

func (m *FilterEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this filter entry based on context it is used

func (*FilterEntry) MarshalBinary ¶

func (m *FilterEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FilterEntry) UnmarshalBinary ¶

func (m *FilterEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FilterEntry) Validate ¶

func (m *FilterEntry) Validate(formats strfmt.Registry) error

Validate validates this filter entry

type FixedPrice ¶ added in v0.2.8

type FixedPrice struct {

	// charge period
	// Enum: [HOURLY DAILY WEEKLY MONTHLY]
	ChargePeriod string `json:"chargePeriod,omitempty"`

	// rate
	Rate float64 `json:"rate,omitempty"`
}

FixedPrice FixedPrice

swagger:model FixedPrice

func (*FixedPrice) ContextValidate ¶ added in v0.2.20

func (m *FixedPrice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fixed price based on context it is used

func (*FixedPrice) MarshalBinary ¶ added in v0.2.8

func (m *FixedPrice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FixedPrice) UnmarshalBinary ¶ added in v0.2.8

func (m *FixedPrice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FixedPrice) Validate ¶ added in v0.2.8

func (m *FixedPrice) Validate(formats strfmt.Registry) error

Validate validates this fixed price

type FlavorMapping ¶

type FlavorMapping struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// The id of the region for which this mapping is defined.
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// Flavors defined for the particular region. Keyed by global flavor key.
	// Example: { \"small\": { \"name\": \"t2.small\", \"cpuCount\": \"1\", \"MemoryInMB\": \"2048\", \"storageType\": \"EBS\", \"networkType\": \"Low to Moderate\"} }
	// Required: true
	Mapping map[string]FabricFlavor `json:"mapping"`
}

FlavorMapping Describes a flavor mapping between a global fabric flavor key and fabric flavor.<br>**HATEOAS** links:<br>**region** - Region - Region for the mapping.

swagger:model FlavorMapping

func (*FlavorMapping) ContextValidate ¶ added in v0.2.20

func (m *FlavorMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this flavor mapping based on the context it is used

func (*FlavorMapping) MarshalBinary ¶

func (m *FlavorMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FlavorMapping) UnmarshalBinary ¶

func (m *FlavorMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FlavorMapping) Validate ¶

func (m *FlavorMapping) Validate(formats strfmt.Registry) error

Validate validates this flavor mapping

type FlavorProfile ¶

type FlavorProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this flavor profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of the region for which this profile is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// A list of the flavor mappings defined for the corresponding cloud end-point region
	// Required: true
	FlavorMappings *FlavorMapping `json:"flavorMappings"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

FlavorProfile Represents a structure that holds flavor mappings defined for the corresponding cloud end-point region.<br>**HATEOAS** links:<br>**region** - Region - Region for the profile.<br>**self** - FlavorProfile - Self link to this flavor profile

swagger:model FlavorProfile

func (*FlavorProfile) ContextValidate ¶ added in v0.2.20

func (m *FlavorProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this flavor profile based on the context it is used

func (*FlavorProfile) MarshalBinary ¶

func (m *FlavorProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FlavorProfile) UnmarshalBinary ¶

func (m *FlavorProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FlavorProfile) Validate ¶

func (m *FlavorProfile) Validate(formats strfmt.Registry) error

Validate validates this flavor profile

type FlavorProfileResult ¶

type FlavorProfileResult struct {

	// List of content items
	// Read Only: true
	Content []*FlavorProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FlavorProfileResult State object representing a query result of flavor profiles.

swagger:model FlavorProfileResult

func (*FlavorProfileResult) ContextValidate ¶ added in v0.2.20

func (m *FlavorProfileResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this flavor profile result based on the context it is used

func (*FlavorProfileResult) MarshalBinary ¶

func (m *FlavorProfileResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FlavorProfileResult) UnmarshalBinary ¶

func (m *FlavorProfileResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FlavorProfileResult) Validate ¶

func (m *FlavorProfileResult) Validate(formats strfmt.Registry) error

Validate validates this flavor profile result

type FlavorProfileSpecification ¶

type FlavorProfileSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Map between global fabric flavor keys <String> and fabric flavor descriptions <FabricFlavorDescription>
	// Example: { \"small\": { \"name\": \"t2.small\" }, \"medium\": { \"name\": \"t2.medium\"}}, \"vSphere_small\": { \"cpuCount\": \"2\", \"memoryInMB\": \"2048\"}, \"vSphere_medium\": { \"cpuCount\": \"4\", \"memoryInMB\": \"4096\"}}
	// Required: true
	FlavorMapping map[string]FabricFlavorDescription `json:"flavorMapping"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The id of the region for which this profile is created
	// Example: 9e49
	// Required: true
	RegionID *string `json:"regionId"`
}

FlavorProfileSpecification Specification for flavor profile

swagger:model FlavorProfileSpecification

func (*FlavorProfileSpecification) ContextValidate ¶ added in v0.2.20

func (m *FlavorProfileSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this flavor profile specification based on the context it is used

func (*FlavorProfileSpecification) MarshalBinary ¶

func (m *FlavorProfileSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FlavorProfileSpecification) UnmarshalBinary ¶

func (m *FlavorProfileSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FlavorProfileSpecification) Validate ¶

func (m *FlavorProfileSpecification) Validate(formats strfmt.Registry) error

Validate validates this flavor profile specification

type FlavorResult ¶

type FlavorResult struct {

	// List of content items
	// Read Only: true
	Content []*FlavorMapping `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

FlavorResult State object representing a query result of falvor mappings.

swagger:model FlavorResult

func (*FlavorResult) ContextValidate ¶ added in v0.2.20

func (m *FlavorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this flavor result based on the context it is used

func (*FlavorResult) MarshalBinary ¶

func (m *FlavorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FlavorResult) UnmarshalBinary ¶

func (m *FlavorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FlavorResult) Validate ¶

func (m *FlavorResult) Validate(formats strfmt.Registry) error

Validate validates this flavor result

type FormDefinition ¶

type FormDefinition struct {

	// form URI
	FormURI string `json:"formURI,omitempty"`

	// track progress in modal
	TrackProgressInModal bool `json:"trackProgressInModal,omitempty"`
}

FormDefinition FormDefinition

swagger:model FormDefinition

func (*FormDefinition) ContextValidate ¶ added in v0.2.20

func (m *FormDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this form definition based on context it is used

func (*FormDefinition) MarshalBinary ¶

func (m *FormDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FormDefinition) UnmarshalBinary ¶

func (m *FormDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FormDefinition) Validate ¶

func (m *FormDefinition) Validate(formats strfmt.Registry) error

Validate validates this form definition

type GerritEvent ¶ added in v0.2.22

type GerritEvent interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// Verified Label value along with the action posted to the gerrit server.
	// Example: Verified +1
	ActionTaken() string
	SetActionTaken(string)

	// Gerrit Project branch on which the change has happened.
	// Example: master
	Branch() string
	SetBranch(string)

	// Gerrit ChangeSet Number provided by Gerrit Server in the event.
	// Example: 18823
	ChangeNumber() int64
	SetChangeNumber(int64)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// Date and time on which this event is created.
	// Example: 2019-09-18T07:38:25.907+0000
	CreatedOn() int64
	SetCreatedOn(int64)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Index of the Execution.
	// Example: 1
	ExecutionIndex() int64
	SetExecutionIndex(int64)

	// Link of the execution.
	// Example: /codestream/api/executions/08c20cb8-17b6-4d9c-9f15-c77cf4913bc5
	ExecutionLink() string
	SetExecutionLink(string)

	// Indicates the current status of the Execution.
	// Example: STARTED
	ExecutionStatus() string
	SetExecutionStatus(string)

	// Gerrit Project on which the change has happened.
	// Example: TestGerritProject
	GerritProject() string
	SetGerritProject(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// Name of the Gerrit Listener which contains details of the Gerrit Server which has sent this event.
	// Example: Demo-Listener
	Listener() string
	SetListener(string)

	// This includes detailed message regarding state of the execution.
	// Example: Execution Completed
	Message() string
	SetMessage(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Name and Email details of ChangeSet Owner.
	// Example: Dummy User
	Owner() string
	SetOwner(string)

	// Patch number of the ChangeSet provided by Gerrit Server in the event.
	// Example: 32
	PatchSetNumber() int64
	SetPatchSetNumber(int64)

	// Name of the pipeline which got triggered.
	// Example: DemoPipeline
	Pipeline() string
	SetPipeline(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Map containing all ChangeSet related details.
	// Example: {"GERRIT_BRANCH":"master","GERRIT_CHANGE_COMMIT_MESSAGE":"1sdfsf\n\nChange-Id: I522eab3b678dedd68dad3e2c04d3cccc0eb9fa00\n","GERRIT_CHANGE_FILELIST":"[/COMMIT_MSG, file.txt]","GERRIT_CHANGE_ID":"I522eab3b678dedd68dad3e2c04d3cccc0eb9fa00","GERRIT_CHANGE_NUMBER":"18868","GERRIT_CHANGE_OWNER":"Demo User \n demouser@vmware.com","GERRIT_CHANGE_OWNER_EMAIL":"demouser@vmware.com","GERRIT_CHANGE_OWNER_NAME":"Demo User","GERRIT_CHANGE_OWNER_USERNAME":"demouser","GERRIT_CHANGE_SUBJECT":"1sdfsf","GERRIT_CHANGE_URL":"https://gerrit.eng.vmware.com/18868","GERRIT_EVENT_ACCOUNT":"Demo User \n demouser@vmware.com","GERRIT_EVENT_ACCOUNT_EMAIL":"demouser@vmware.com","GERRIT_EVENT_ACCOUNT_NAME":"Demo User","GERRIT_EVENT_ACCOUNT_USERNAME":"demouser","GERRIT_EVENT_CREATED_ON":"1568792304","GERRIT_EVENT_TYPE":"patchset-created","GERRIT_HOST":"gerrit.eng.vmware.com","GERRIT_NAME":"gerrit-listener","GERRIT_PATCHSET_NUMBER":"32","GERRIT_PATCHSET_REVISION":"8a3edf15d36d0fe8026ffefbd58bafdb77b4ab80","GERRIT_PATCHSET_UPLOADER":"Demo User demouser@vmware.com","GERRIT_PATCHSET_UPLOADER_EMAIL":"demouser@vmware.com","GERRIT_PATCHSET_UPLOADER_NAME":"Demo User","GERRIT_PATCHSET_UPLOADER_USERNAME":"demouser","GERRIT_PORT":"29418","GERRIT_PROJECT":"TestProjectForCodestream","GERRIT_REFSPEC":"refs/changes/68/18868/32","GERRIT_SCHEME":"ssh","GERRIT_TOPIC":"branch","GERRIT_URL":"http://gerrit.eng.vmware.com:8080","GERRIT_VERSION":"Not supported"}
	Properties() map[string]string
	SetProperties(map[string]string)

	// Contains the commit message.
	// Example: Demo Commit Message
	Subject() string
	SetSubject(string)

	// Name of the Gerrit Trigger which contains the configuration leading to this event.
	// Example: Demo-Trigger
	Trigger() string
	SetTrigger(string)

	// Indicates whether it was a manual trigger or not.
	// Example: AUTOMATIC
	TriggerType() string
	SetTriggerType(string)

	// Type of the gerrit event.
	// Example: patchset-created
	Type() string
	SetType(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

GerritEvent GerritEvent

Contains all the details of a Gerrit Event.

swagger:discriminator GerritEvent Contains all the details of a Gerrit Event.

func UnmarshalGerritEvent ¶ added in v0.2.22

func UnmarshalGerritEvent(reader io.Reader, consumer runtime.Consumer) (GerritEvent, error)

UnmarshalGerritEvent unmarshals polymorphic GerritEvent

func UnmarshalGerritEventSlice ¶ added in v0.2.22

func UnmarshalGerritEventSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritEvent, error)

UnmarshalGerritEventSlice unmarshals polymorphic slices of GerritEvent

type GerritEvents ¶ added in v0.2.22

type GerritEvents interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]GerritEvent
	SetDocuments(map[string]GerritEvent)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

GerritEvents GerritEvents

A list of Gerrit Event instances.

swagger:discriminator GerritEvents A list of Gerrit Event instances.

func UnmarshalGerritEvents ¶ added in v0.2.22

func UnmarshalGerritEvents(reader io.Reader, consumer runtime.Consumer) (GerritEvents, error)

UnmarshalGerritEvents unmarshals polymorphic GerritEvents

func UnmarshalGerritEventsSlice ¶ added in v0.2.22

func UnmarshalGerritEventsSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritEvents, error)

UnmarshalGerritEventsSlice unmarshals polymorphic slices of GerritEvents

type GerritListener ¶ added in v0.2.22

type GerritListener interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Date when the API token will expire.
	// Example: 2019-09-16 09:25:38.065065+00
	ExpiresAt() string
	SetExpiresAt(string)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// Contains reasons for validation failure.
	// Example: Validation Failed due to invalid credentials
	Reason() string
	SetReason(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// This token is used to authenticate when calling VMware Cloud Services APIs. These tokens are scoped within the organization.
	// Example: cKNNVCSHijnaxlrfnVsxUYr6wM2g5Bg11tfnotmWb9XdA5kpUCvI2ubJojTIGp9g
	APIToken() string
	SetAPIToken(string)

	// Indicates whether the connection with the Gerrit Server to start receiving events is created or not.
	// Example: true
	Connected() bool
	SetConnected(bool)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// The name of the Gerrit Endpoint.
	// Example: Gerrit-Endpoint
	Endpoint() string
	SetEndpoint(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

GerritListener GerritListener

A Gerrit Listener streams for events on the Gerrit server.

swagger:discriminator GerritListener A Gerrit Listener streams for events on the Gerrit server.

func UnmarshalGerritListener ¶ added in v0.2.22

func UnmarshalGerritListener(reader io.Reader, consumer runtime.Consumer) (GerritListener, error)

UnmarshalGerritListener unmarshals polymorphic GerritListener

func UnmarshalGerritListenerSlice ¶ added in v0.2.22

func UnmarshalGerritListenerSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritListener, error)

UnmarshalGerritListenerSlice unmarshals polymorphic slices of GerritListener

type GerritListenerPatch ¶ added in v0.2.22

type GerritListenerPatch interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Connect/Disconnect a Gerrit Listener.
	// Example: true
	// Required: true
	Connected() *bool
	SetConnected(*bool)
}

GerritListenerPatch GerritListenerPatch

Contains the flag to connect or disconnect a Gerrit Listener.

swagger:discriminator GerritListenerPatch Contains the flag to connect or disconnect a Gerrit Listener.

func UnmarshalGerritListenerPatch ¶ added in v0.2.22

func UnmarshalGerritListenerPatch(reader io.Reader, consumer runtime.Consumer) (GerritListenerPatch, error)

UnmarshalGerritListenerPatch unmarshals polymorphic GerritListenerPatch

func UnmarshalGerritListenerPatchSlice ¶ added in v0.2.22

func UnmarshalGerritListenerPatchSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritListenerPatch, error)

UnmarshalGerritListenerPatchSlice unmarshals polymorphic slices of GerritListenerPatch

type GerritListenerSpec ¶ added in v0.2.22

type GerritListenerSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This token is used to authenticate when calling VMware Cloud Services APIs. These tokens are scoped within the organization.
	// Example: cKNNVCSHijnaxlrfnVsxUYr6wM2g5Bg11tfnotmWb9XdA5kpUCvI2ubJojTIGp9g
	// Required: true
	APIToken() *string
	SetAPIToken(*string)

	// Indicates whether the connection with the Gerrit Server to start receiving events is created or not.
	// Example: true
	Connected() bool
	SetConnected(bool)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// The name of the Gerrit Endpoint.
	// Example: Gerrit-Endpoint
	// Required: true
	Endpoint() *string
	SetEndpoint(*string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)
}

GerritListenerSpec GerritListenerSpec

A Gerrit Listener streams for events on the Gerrit server.

swagger:discriminator GerritListenerSpec A Gerrit Listener streams for events on the Gerrit server.

func UnmarshalGerritListenerSpec ¶ added in v0.2.22

func UnmarshalGerritListenerSpec(reader io.Reader, consumer runtime.Consumer) (GerritListenerSpec, error)

UnmarshalGerritListenerSpec unmarshals polymorphic GerritListenerSpec

func UnmarshalGerritListenerSpecSlice ¶ added in v0.2.22

func UnmarshalGerritListenerSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritListenerSpec, error)

UnmarshalGerritListenerSpecSlice unmarshals polymorphic slices of GerritListenerSpec

type GerritListeners ¶ added in v0.2.22

type GerritListeners interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]GerritListener
	SetDocuments(map[string]GerritListener)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

GerritListeners GerritListeners

A list of Gerrit Listener instances.

swagger:discriminator GerritListeners A list of Gerrit Listener instances.

func UnmarshalGerritListeners ¶ added in v0.2.22

func UnmarshalGerritListeners(reader io.Reader, consumer runtime.Consumer) (GerritListeners, error)

UnmarshalGerritListeners unmarshals polymorphic GerritListeners

func UnmarshalGerritListenersSlice ¶ added in v0.2.22

func UnmarshalGerritListenersSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritListeners, error)

UnmarshalGerritListenersSlice unmarshals polymorphic slices of GerritListeners

type GerritManualTrigger ¶ added in v0.2.22

type GerritManualTrigger interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The ChangeSet Id corresponding to which the manual trigger has to be performed.
	// Example: I522eab3b678dedd68dad3e2c04d3cccc0eb9fa00
	// Required: true
	ChangeID() *string
	SetChangeID(*string)

	// The tango project to which Gerrit Trigger belongs to.
	// Example: Gerrit-Trigger-Project
	// Required: true
	Project() *string
	SetProject(*string)

	// Name of the Gerrit Trigger for which event has to be analysed.
	// Example: Gerrit-Trigger
	// Required: true
	Trigger() *string
	SetTrigger(*string)
}

GerritManualTrigger GerritManualTrigger

Gerrit Manual Trigger feature is used to simulate an event corresponding to a change-id and match it against a Gerrit Trigger configuration to trigger pipeline(s) manually.

swagger:discriminator GerritManualTrigger Gerrit Manual Trigger feature is used to simulate an event corresponding to a change-id and match it against a Gerrit Trigger configuration to trigger pipeline(s) manually.

func UnmarshalGerritManualTrigger ¶ added in v0.2.22

func UnmarshalGerritManualTrigger(reader io.Reader, consumer runtime.Consumer) (GerritManualTrigger, error)

UnmarshalGerritManualTrigger unmarshals polymorphic GerritManualTrigger

func UnmarshalGerritManualTriggerSlice ¶ added in v0.2.22

func UnmarshalGerritManualTriggerSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritManualTrigger, error)

UnmarshalGerritManualTriggerSlice unmarshals polymorphic slices of GerritManualTrigger

type GerritTrigger ¶ added in v0.2.22

type GerritTrigger interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// Gerrit Project Branch on which the change has to be monitored.
	// Example: master
	Branch() string
	SetBranch(string)

	// The configuration of an Gerrit Event.
	// Example: [{"eventType":"change-merged","failureComment":"Pipeline Execution Failed","input":{},"pipeline":"rest_pipeline","successComment":"Pipeline Execution Successful"},{"eventType":"patchset-created","failureComment":"Pipeline Failed","input":{},"pipeline":"rest_pipeline","successComment":"Pipeline Completed","verifiedLabel":"Verified"}]
	Configurations() []*GerritTriggerGerritEventConfiguration
	SetConfigurations([]*GerritTriggerGerritEventConfiguration)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Indicates that this trigger will be addressed on receiving respective events.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// Provide file exclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Exclusions() []*GerritTriggerFileFilter
	SetExclusions([]*GerritTriggerFileFilter)

	// Gerrit Project which is to be monitored for the change.
	// Example: TestGerritProject
	GerritProject() string
	SetGerritProject(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// Provide file inclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Inclusions() []*GerritTriggerFileFilter
	SetInclusions([]*GerritTriggerFileFilter)

	// Gerrit Listener which will receive the events for this trigger.
	// Example: Gerrit-Listener
	Listener() string
	SetListener(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Prioritize Exclusion ensures that Pipelines are not triggered even if any of the files in a commit match the specified files in the exclusion paths or regex.
	// Example: true
	PrioritizeExclusion() bool
	SetPrioritizeExclusion(bool)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

GerritTrigger GerritTrigger

The configurations of a Gerrit Trigger decides which pipeline is required to be triggered depending on kind of event received.

swagger:discriminator GerritTrigger The configurations of a Gerrit Trigger decides which pipeline is required to be triggered depending on kind of event received.

func UnmarshalGerritTrigger ¶ added in v0.2.22

func UnmarshalGerritTrigger(reader io.Reader, consumer runtime.Consumer) (GerritTrigger, error)

UnmarshalGerritTrigger unmarshals polymorphic GerritTrigger

func UnmarshalGerritTriggerSlice ¶ added in v0.2.22

func UnmarshalGerritTriggerSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritTrigger, error)

UnmarshalGerritTriggerSlice unmarshals polymorphic slices of GerritTrigger

type GerritTriggerFileFilter ¶ added in v0.2.22

type GerritTriggerFileFilter struct {

	// Identifies the type of File Filter, that can be REGEX or PLAIN.
	// Example: PLAIN
	// Enum: [REGEX PLAIN]
	Type string `json:"type,omitempty"`

	// The value can be either plain text or a regex.
	// Example: example.txt
	Value string `json:"value,omitempty"`
}

GerritTriggerFileFilter GerritTrigger$FileFilter

swagger:model GerritTriggerFileFilter

func (*GerritTriggerFileFilter) ContextValidate ¶ added in v0.2.22

func (m *GerritTriggerFileFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gerrit trigger file filter based on context it is used

func (*GerritTriggerFileFilter) MarshalBinary ¶ added in v0.2.22

func (m *GerritTriggerFileFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GerritTriggerFileFilter) UnmarshalBinary ¶ added in v0.2.22

func (m *GerritTriggerFileFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GerritTriggerFileFilter) Validate ¶ added in v0.2.22

func (m *GerritTriggerFileFilter) Validate(formats strfmt.Registry) error

Validate validates this gerrit trigger file filter

type GerritTriggerGerritEventConfiguration ¶ added in v0.2.22

type GerritTriggerGerritEventConfiguration struct {

	// Type of the gerrit event.
	// Example: patchset-created
	EventType string `json:"eventType,omitempty"`

	// Comment to be posted to the ChangeSet on execution termination.
	// Example: Pipeline Execution Failed
	FailureComment string `json:"failureComment,omitempty"`

	// Map representing the Input properties for the Pipeline.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input map[string]string `json:"input,omitempty"`

	// Pipeline that needs to be triggered on receiving this event.
	// Example: DemoPipeline
	Pipeline string `json:"pipeline,omitempty"`

	// Comment to be posted to the ChangeSet on execution termination.
	// Example: Pipeline Execution Completed
	SuccessComment string `json:"successComment,omitempty"`

	// The label to be posted on Gerrit Server to perform actions.
	// Example: Verified +1
	VerifiedLabel string `json:"verifiedLabel,omitempty"`
}

GerritTriggerGerritEventConfiguration GerritTrigger$GerritEventConfiguration

swagger:model GerritTriggerGerritEventConfiguration

func (*GerritTriggerGerritEventConfiguration) ContextValidate ¶ added in v0.2.22

func (m *GerritTriggerGerritEventConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gerrit trigger gerrit event configuration based on context it is used

func (*GerritTriggerGerritEventConfiguration) MarshalBinary ¶ added in v0.2.22

func (m *GerritTriggerGerritEventConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GerritTriggerGerritEventConfiguration) UnmarshalBinary ¶ added in v0.2.22

func (m *GerritTriggerGerritEventConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GerritTriggerGerritEventConfiguration) Validate ¶ added in v0.2.22

Validate validates this gerrit trigger gerrit event configuration

type GerritTriggerPatch ¶ added in v0.2.22

type GerritTriggerPatch interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Enable/Disable a Gerrit Trigger.
	// Example: true
	// Required: true
	Enabled() *bool
	SetEnabled(*bool)
}

GerritTriggerPatch GerritTriggerPatch

Contains the flag to enable or disable a Gerrit Trigger.

swagger:discriminator GerritTriggerPatch Contains the flag to enable or disable a Gerrit Trigger.

func UnmarshalGerritTriggerPatch ¶ added in v0.2.22

func UnmarshalGerritTriggerPatch(reader io.Reader, consumer runtime.Consumer) (GerritTriggerPatch, error)

UnmarshalGerritTriggerPatch unmarshals polymorphic GerritTriggerPatch

func UnmarshalGerritTriggerPatchSlice ¶ added in v0.2.22

func UnmarshalGerritTriggerPatchSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritTriggerPatch, error)

UnmarshalGerritTriggerPatchSlice unmarshals polymorphic slices of GerritTriggerPatch

type GerritTriggerSpec ¶ added in v0.2.22

type GerritTriggerSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Gerrit Project Branch on which the change has to be monitored.
	// Example: master
	// Required: true
	Branch() *string
	SetBranch(*string)

	// The configuration of an Gerrit Event.
	// Example: [{"eventType":"change-merged","failureComment":"Pipeline Execution Failed","input":{},"pipeline":"rest_pipeline","successComment":"Pipeline Execution Successful"},{"eventType":"patchset-created","failureComment":"Pipeline Failed","input":{},"pipeline":"rest_pipeline","successComment":"Pipeline Completed","verifiedLabel":"Verified"}]
	Configurations() []*GerritTriggerSpecGerritEventConfiguration
	SetConfigurations([]*GerritTriggerSpecGerritEventConfiguration)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Indicates that this trigger will be addressed on receiving respective events.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// Provide file exclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Exclusions() []*GerritTriggerFileFilter
	SetExclusions([]*GerritTriggerFileFilter)

	// Gerrit Project which is to be monitored for the change.
	// Example: TestGerritProject
	// Required: true
	GerritProject() *string
	SetGerritProject(*string)

	// Provide file inclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Inclusions() []*GerritTriggerFileFilter
	SetInclusions([]*GerritTriggerFileFilter)

	// Gerrit Listener which will receive the events for this trigger.
	// Example: Gerrit-Listener
	// Required: true
	Listener() *string
	SetListener(*string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Prioritize Exclusion ensures that pipelines are not triggered even if any of the files in a commit match the specified files in the exclusion paths or regex.
	// Example: true
	PrioritizeExclusion() bool
	SetPrioritizeExclusion(bool)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)
}

GerritTriggerSpec GerritTriggerSpec

The configurations of a Gerrit Trigger decides which pipeline is required to be triggered depending on kind of event received.

swagger:discriminator GerritTriggerSpec The configurations of a Gerrit Trigger decides which pipeline is required to be triggered depending on kind of event received.

func UnmarshalGerritTriggerSpec ¶ added in v0.2.22

func UnmarshalGerritTriggerSpec(reader io.Reader, consumer runtime.Consumer) (GerritTriggerSpec, error)

UnmarshalGerritTriggerSpec unmarshals polymorphic GerritTriggerSpec

func UnmarshalGerritTriggerSpecSlice ¶ added in v0.2.22

func UnmarshalGerritTriggerSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritTriggerSpec, error)

UnmarshalGerritTriggerSpecSlice unmarshals polymorphic slices of GerritTriggerSpec

type GerritTriggerSpecGerritEventConfiguration ¶ added in v0.2.22

type GerritTriggerSpecGerritEventConfiguration struct {

	// Type of the gerrit event.
	// Example: patchset-created
	// Required: true
	EventType *string `json:"eventType"`

	// Comment to be posted to the ChangeSet on execution termination.
	// Example: Pipeline Execution Failed
	FailureComment string `json:"failureComment,omitempty"`

	// Map representing the Input properties for the Pipeline.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input map[string]string `json:"input,omitempty"`

	// Pipeline that needs to be triggered on receiving this event.
	// Example: DemoPipeline
	// Required: true
	Pipeline *string `json:"pipeline"`

	// Comment to be posted to the ChangeSet on execution termination.
	// Example: Pipeline Execution Completed
	SuccessComment string `json:"successComment,omitempty"`

	// The label to be posted on Gerrit Server to perform actions.
	// Example: Verified +1
	VerifiedLabel string `json:"verifiedLabel,omitempty"`
}

GerritTriggerSpecGerritEventConfiguration GerritTriggerSpec$GerritEventConfiguration

swagger:model GerritTriggerSpecGerritEventConfiguration

func (*GerritTriggerSpecGerritEventConfiguration) ContextValidate ¶ added in v0.2.22

ContextValidate validates this gerrit trigger spec gerrit event configuration based on context it is used

func (*GerritTriggerSpecGerritEventConfiguration) MarshalBinary ¶ added in v0.2.22

func (m *GerritTriggerSpecGerritEventConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GerritTriggerSpecGerritEventConfiguration) UnmarshalBinary ¶ added in v0.2.22

func (m *GerritTriggerSpecGerritEventConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GerritTriggerSpecGerritEventConfiguration) Validate ¶ added in v0.2.22

Validate validates this gerrit trigger spec gerrit event configuration

type GerritTriggers ¶ added in v0.2.22

type GerritTriggers interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]GerritTrigger
	SetDocuments(map[string]GerritTrigger)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

GerritTriggers GerritTriggers

A list of Gerrit Trigger instances.

swagger:discriminator GerritTriggers A list of Gerrit Trigger instances.

func UnmarshalGerritTriggers ¶ added in v0.2.22

func UnmarshalGerritTriggers(reader io.Reader, consumer runtime.Consumer) (GerritTriggers, error)

UnmarshalGerritTriggers unmarshals polymorphic GerritTriggers

func UnmarshalGerritTriggersSlice ¶ added in v0.2.22

func UnmarshalGerritTriggersSlice(reader io.Reader, consumer runtime.Consumer) ([]GerritTriggers, error)

UnmarshalGerritTriggersSlice unmarshals polymorphic slices of GerritTriggers

type GitEvent ¶ added in v0.2.22

type GitEvent interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// CommitId of the event triggered.
	// Example: dvdsasfvaesvvffvgfbrrgeaerfare34fdgrt43
	CommitID() string
	SetCommitID(string)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Pipeline execution index.
	// Example: 2
	ExecutionIndex() int64
	SetExecutionIndex(int64)

	// Pipeline execution link.
	// Example: /codestream/api/executions/08c20cb8-17b6-4d9c-9f15-c77cf4913bc5
	ExecutionLink() string
	SetExecutionLink(string)

	// Pipeline execution status.
	// Example: STARTED
	ExecutionStatus() string
	SetExecutionStatus(string)

	// Url of the Git Repository.
	// Example: https://\u003cgit-server-url\u003e/\u003cusername\u003e/\u003crepo-name\u003e
	HTTPURL() string
	SetHTTPURL(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// Message is populated when an error occurs.
	// Example: Invalid Oauth Refresh token. Verify webhook configuration.
	Message() string
	SetMessage(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Owner Name who triggered the event.
	// Example: Demo User
	Owner() string
	SetOwner(string)

	// Pipeline to be executed when event is triggered.
	// Example: Demo Pipeline
	Pipeline() string
	SetPipeline(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// RepoName corresponding to the event.
	// Example: MyRepository
	Repo() string
	SetRepo(string)

	// Url of the Git server.
	// Example: https://\u003cgit-server-url\u003e
	ServerURL() *URI
	SetServerURL(*URI)

	// Git webhook id.
	// Example: dvcsdweivcioekcxjhwiu4jd823idjekx
	ServerWebhookID() string
	SetServerWebhookID(string)

	// Subject for the commit.
	// Example: Updating codestream-service.yaml
	Subject() string
	SetSubject(string)

	// Branch name for which event is triggered.
	// Example: master
	TargetBranch() string
	SetTargetBranch(string)

	// Commit Time for the event.
	// Example: 2019-09-18T07:38:25.907+0000
	TimeStampInMicros() int64
	SetTimeStampInMicros(int64)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

GitEvent GitEvent

Git Event Model.

swagger:discriminator GitEvent Git Event Model.

func UnmarshalGitEvent ¶ added in v0.2.22

func UnmarshalGitEvent(reader io.Reader, consumer runtime.Consumer) (GitEvent, error)

UnmarshalGitEvent unmarshals polymorphic GitEvent

func UnmarshalGitEventSlice ¶ added in v0.2.22

func UnmarshalGitEventSlice(reader io.Reader, consumer runtime.Consumer) ([]GitEvent, error)

UnmarshalGitEventSlice unmarshals polymorphic slices of GitEvent

type GitEvents ¶ added in v0.2.22

type GitEvents interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]GitEvent
	SetDocuments(map[string]GitEvent)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

GitEvents GitEvents

A list of Git Event instances.

swagger:discriminator GitEvents A list of Git Event instances.

func UnmarshalGitEvents ¶ added in v0.2.22

func UnmarshalGitEvents(reader io.Reader, consumer runtime.Consumer) (GitEvents, error)

UnmarshalGitEvents unmarshals polymorphic GitEvents

func UnmarshalGitEventsSlice ¶ added in v0.2.22

func UnmarshalGitEventsSlice(reader io.Reader, consumer runtime.Consumer) ([]GitEvents, error)

UnmarshalGitEventsSlice unmarshals polymorphic slices of GitEvents

type GitWebhook ¶ added in v0.2.22

type GitWebhook interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// Branch name for which the webhook has been configured.
	// Example: master
	BranchName() string
	SetBranchName(string)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// Delay time after which the Pipeline Execution is triggered.
	// Example: 2
	DelayTimeInMins() int32
	SetDelayTimeInMins(int32)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Git endpoint.
	// Example: GitHub-SaaS
	Endpoint() string
	SetEndpoint(string)

	// Git event type.
	// Example: PUSH
	EventCategory() string
	SetEventCategory(string)

	// Provide file exclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Exclusions() []*GitWebhookFileFilter
	SetExclusions([]*GitWebhookFileFilter)

	// Git webhook listener link.
	// Example: codestream/api/git-webhook-listeners/173f5ed5-2197-4975-b782-a8679b2e4cd3
	ExternalListenerLink() string
	SetExternalListenerLink(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// Provide file inclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Inclusions() []*GitWebhookFileFilter
	SetInclusions([]*GitWebhookFileFilter)

	// Pipeline Execution input properties.
	// Example: {"test":{"description":"test-value","mandatory":false}}
	Input() interface{}
	SetInput(interface{})

	// verify SSL certificates when delivering payloads
	// Example: true
	InsecureSsl() bool
	SetInsecureSsl(bool)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Pipeline name which is meant to be triggered when a git event occur.
	// Example: Git-Pipeline
	Pipeline() string
	SetPipeline(string)

	// Prioritize Exclusion ensures that pipelines are not triggered even if any of the files in a commit match the specified files in the exclusion paths or regex.
	// Example: true
	PrioritizeExclusion() bool
	SetPrioritizeExclusion(bool)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Codestream API token.
	// Example: I5FLA8iQhlZwoos6OL3goKciAF5e
	RefreshToken() string
	SetRefreshToken(string)

	// Repo name for which the webhook has been configured.
	// Example: codestream
	RepoName() string
	SetRepoName(string)

	// Secret token to validate received payloads.
	// Example: DSkUyJJ8KA8rOSk=Ci
	SecretToken() string
	SetSecretToken(string)

	// Git Server Type.
	// Example: GITHUB/GITLAB/BITBUCKET
	ServerType() string
	SetServerType(string)

	// Git webhook id.
	// Example: 192837465
	ServerWebhookID() string
	SetServerWebhookID(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

GitWebhook GitWebhook

Git Webhook details.

swagger:discriminator GitWebhook Git Webhook details.

func UnmarshalGitWebhook ¶ added in v0.2.22

func UnmarshalGitWebhook(reader io.Reader, consumer runtime.Consumer) (GitWebhook, error)

UnmarshalGitWebhook unmarshals polymorphic GitWebhook

func UnmarshalGitWebhookSlice ¶ added in v0.2.22

func UnmarshalGitWebhookSlice(reader io.Reader, consumer runtime.Consumer) ([]GitWebhook, error)

UnmarshalGitWebhookSlice unmarshals polymorphic slices of GitWebhook

type GitWebhookFileFilter ¶ added in v0.2.22

type GitWebhookFileFilter struct {

	// Identifies the type of File Filter, that can be REGEX or PLAIN.
	// Example: PLAIN
	// Enum: [REGEX PLAIN]
	Type string `json:"type,omitempty"`

	// The value can be either plain text or a regex.
	// Example: example.txt
	Value string `json:"value,omitempty"`
}

GitWebhookFileFilter GitWebhook$FileFilter

swagger:model GitWebhookFileFilter

func (*GitWebhookFileFilter) ContextValidate ¶ added in v0.2.22

func (m *GitWebhookFileFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this git webhook file filter based on context it is used

func (*GitWebhookFileFilter) MarshalBinary ¶ added in v0.2.22

func (m *GitWebhookFileFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitWebhookFileFilter) UnmarshalBinary ¶ added in v0.2.22

func (m *GitWebhookFileFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitWebhookFileFilter) Validate ¶ added in v0.2.22

func (m *GitWebhookFileFilter) Validate(formats strfmt.Registry) error

Validate validates this git webhook file filter

type GitWebhookSpec ¶ added in v0.2.22

type GitWebhookSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Branch name for which the webhook has been configured.
	// Example: master
	BranchName() string
	SetBranchName(string)

	// Delay time after which the pipeline execution is triggered.
	// Example: 2
	DelayTimeInMins() int32
	SetDelayTimeInMins(int32)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Git endpoint.
	// Example: GitHub-SaaS
	Endpoint() string
	SetEndpoint(string)

	// Git event type.
	// Example: PUSH
	EventCategory() string
	SetEventCategory(string)

	// Provide file exclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Exclusions() []*GitWebhookFileFilter
	SetExclusions([]*GitWebhookFileFilter)

	// Git webhook listener link.
	// Example: codestream/api/git-webhook-listeners/173f5ed5-2197-4975-b782-a8679b2e4cd3
	ExternalListenerLink() string
	SetExternalListenerLink(string)

	// Provide file inclusions as conditions for the trigger.
	// Example: [{"type":"PLAIN","value":"example.txt"}]
	Inclusions() []*GitWebhookFileFilter
	SetInclusions([]*GitWebhookFileFilter)

	// Pipeline Execution input properties.
	// Example: {"test":{"description":"test-value","mandatory":false}}
	Input() interface{}
	SetInput(interface{})

	// verify SSL certificates when delivering payloads
	// Example: true
	InsecureSsl() bool
	SetInsecureSsl(bool)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// Pipeline name which is meant to be triggered when a git event occur.
	// Example: CICD-Pipeline
	Pipeline() string
	SetPipeline(string)

	// Prioritize Exclusion ensures that pipelines are not triggered even if any of the files in a commit match the specified files in the exclusion paths or regex.
	// Example: true
	PrioritizeExclusion() bool
	SetPrioritizeExclusion(bool)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// Codestream API token.
	// Example: I5FLA8iQhlZwoos6OL3goKciAF5e
	RefreshToken() string
	SetRefreshToken(string)

	// Repo name for which the webhook has been configured.
	// Example: Codestream
	RepoName() string
	SetRepoName(string)

	// Secret token to validate received payloads.
	// Example: DSkUyJJ8KA8rOSk=Ci
	SecretToken() string
	SetSecretToken(string)

	// Git Server Type.
	// Example: GITHUB/GITLAB/BITBUCKET
	ServerType() string
	SetServerType(string)

	// Git webhook id.
	// Example: serverWebhookId\": \"12678345
	ServerWebhookID() string
	SetServerWebhookID(string)
}

GitWebhookSpec GitWebhookSpec

Git Webhook specification.

swagger:discriminator GitWebhookSpec Git Webhook specification.

func UnmarshalGitWebhookSpec ¶ added in v0.2.22

func UnmarshalGitWebhookSpec(reader io.Reader, consumer runtime.Consumer) (GitWebhookSpec, error)

UnmarshalGitWebhookSpec unmarshals polymorphic GitWebhookSpec

func UnmarshalGitWebhookSpecSlice ¶ added in v0.2.22

func UnmarshalGitWebhookSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]GitWebhookSpec, error)

UnmarshalGitWebhookSpecSlice unmarshals polymorphic slices of GitWebhookSpec

type GitWebhooks ¶ added in v0.2.22

type GitWebhooks interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]GitWebhook
	SetDocuments(map[string]GitWebhook)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

GitWebhooks GitWebhooks

A list of Git Webhook instances.

swagger:discriminator GitWebhooks A list of Git Webhook instances.

func UnmarshalGitWebhooks ¶ added in v0.2.22

func UnmarshalGitWebhooks(reader io.Reader, consumer runtime.Consumer) (GitWebhooks, error)

UnmarshalGitWebhooks unmarshals polymorphic GitWebhooks

func UnmarshalGitWebhooksSlice ¶ added in v0.2.22

func UnmarshalGitWebhooksSlice(reader io.Reader, consumer runtime.Consumer) ([]GitWebhooks, error)

UnmarshalGitWebhooksSlice unmarshals polymorphic slices of GitWebhooks

type HealthCheckConfiguration ¶

type HealthCheckConfiguration struct {

	// Number of consecutive successful checks before considering a particular back-end instance as healthy.
	// Example: 2
	HealthyThreshold int32 `json:"healthyThreshold,omitempty"`

	// HTTP or HTTPS method to use when sending a health check request.
	// Example: GET, OPTIONS, POST, HEAD, PUT
	HTTPMethod string `json:"httpMethod,omitempty"`

	// Interval (in seconds) at which the health checks will be performed.
	// Example: 60
	IntervalSeconds int32 `json:"intervalSeconds,omitempty"`

	// Enable passive monitor mode. This setting only applies to NSX-T.
	// Example: false
	PassiveMonitor bool `json:"passiveMonitor,omitempty"`

	// Port on the back-end instance machine to use for the health check.
	// Example: 80
	Port string `json:"port,omitempty"`

	// The protocol used for the health check.
	// Example: HTTP, HTTPS
	Protocol string `json:"protocol,omitempty"`

	// Request body. Used by HTTP, HTTPS, TCP, UDP.
	// Example: http_request.body
	RequestBody string `json:"requestBody,omitempty"`

	// Expected response body. Used by HTTP, HTTPS, TCP, UDP.
	// Example: http_response.body
	ResponseBody string `json:"responseBody,omitempty"`

	// Timeout (in seconds) to wait for a response from the back-end instance.
	// Example: 5
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`

	// Number of consecutive check failures before considering a particular back-end instance as unhealthy.
	// Example: 5
	UnhealthyThreshold int32 `json:"unhealthyThreshold,omitempty"`

	// URL path on the back-end instance against which a request will be performed for the health check. Useful when the health check protocol is HTTP/HTTPS.
	// Example: /index.html
	URLPath string `json:"urlPath,omitempty"`
}

HealthCheckConfiguration Load balancer health check configuration.

swagger:model HealthCheckConfiguration

func (*HealthCheckConfiguration) ContextValidate ¶ added in v0.2.20

func (m *HealthCheckConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this health check configuration based on context it is used

func (*HealthCheckConfiguration) MarshalBinary ¶

func (m *HealthCheckConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HealthCheckConfiguration) UnmarshalBinary ¶

func (m *HealthCheckConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HealthCheckConfiguration) Validate ¶

func (m *HealthCheckConfiguration) Validate(formats strfmt.Registry) error

Validate validates this health check configuration

type Href ¶

type Href struct {

	// href
	Href string `json:"href,omitempty"`

	// hrefs
	Hrefs []string `json:"hrefs"`
}

Href href

swagger:model Href

func (*Href) ContextValidate ¶ added in v0.2.20

func (m *Href) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this href based on context it is used

func (*Href) MarshalBinary ¶

func (m *Href) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Href) UnmarshalBinary ¶

func (m *Href) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Href) Validate ¶

func (m *Href) Validate(formats strfmt.Registry) error

Validate validates this href

type IaaSAbout ¶ added in v0.2.18

type IaaSAbout struct {

	// The latest version of the API in yyyy-MM-dd format (UTC).
	// Required: true
	LatestAPIVersion *string `json:"latestApiVersion"`

	// A collection of all currently supported api versions.
	// Required: true
	SupportedApis []*APIDescription `json:"supportedApis"`
}

IaaSAbout State object representing an about page that includes api versioning information

swagger:model IaaSAbout

func (*IaaSAbout) ContextValidate ¶ added in v0.2.20

func (m *IaaSAbout) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this iaas about based on the context it is used

func (*IaaSAbout) MarshalBinary ¶ added in v0.2.18

func (m *IaaSAbout) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IaaSAbout) UnmarshalBinary ¶ added in v0.2.18

func (m *IaaSAbout) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IaaSAbout) Validate ¶ added in v0.2.18

func (m *IaaSAbout) Validate(formats strfmt.Registry) error

Validate validates this iaas about

type IaaSDeployment ¶ added in v0.2.3

type IaaSDeployment struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

IaaSDeployment State object representing a deployment.<br>**HATEOAS** links:<br>**self** - Deployment - Self link to this deployment

swagger:model IaaSDeployment

func (*IaaSDeployment) ContextValidate ¶ added in v0.2.20

func (m *IaaSDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this iaas deployment based on the context it is used

func (*IaaSDeployment) MarshalBinary ¶ added in v0.2.3

func (m *IaaSDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IaaSDeployment) UnmarshalBinary ¶ added in v0.2.3

func (m *IaaSDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IaaSDeployment) Validate ¶ added in v0.2.3

func (m *IaaSDeployment) Validate(formats strfmt.Registry) error

Validate validates this iaas deployment

type IaaSProject ¶ added in v0.3.0

type IaaSProject struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// List of administrator users associated with the project. Only administrators can manage project's configuration.
	// Example: [ { \"email\":\"administrator@vmware.com\" } ]
	Administrators []*User `json:"administrators"`

	// List of storage, network and extensibility constraints to be applied when provisioning through this project.
	// Example: {\"network\":[{\"mandatory\": \"true\", \"expression\": \"env:dev\"}],\"storage\":[{\"mandatory\": \"false\", \"expression\": \"gold\"}],\"extensibility\":[{\"mandatory\": \"false\", \"expression\": \"key:value\"}]}
	Constraints map[string][]Constraint `json:"constraints,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// The project custom properties which are added to all requests in this project
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// The naming template to be used for machines provisioned in this project
	// Example: ${project.name}-test-${####}
	MachineNamingTemplate string `json:"machineNamingTemplate,omitempty"`

	// List of member users associated with the project.
	// Example: [ { \"email\":\"member@vmware.com\" } ]
	Members []*User `json:"members"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds
	OperationTimeout int64 `json:"operationTimeout,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Placement policy for the project. Determines how a zone will be selected for provisioning. DEFAULT or SPREAD.
	// Example: DEFAULT
	PlacementPolicy string `json:"placementPolicy,omitempty"`

	// Specifies whether the resources in this projects are shared or not.
	SharedResources bool `json:"sharedResources,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`

	// List of viewer users associated with the project.
	// Example: [ { \"email\":\"viewer@vmware.com\" } ]
	Viewers []*User `json:"viewers"`

	// List of Cloud Zones assigned to this project. You can limit deployment to a single region or allow multi-region placement by adding more than one cloud zone to a project. A cloud zone lists available resources. Use tags on resources to control workload placement.
	Zones []*ZoneAssignment `json:"zones"`
}

IaaSProject Projects link users and cloud zones, thus controlling who can use what cloud resources.<br>**HATEOAS** links:<br>**self** - Project - Self link to this project

swagger:model IaaSProject

func (*IaaSProject) ContextValidate ¶ added in v0.3.0

func (m *IaaSProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this iaas project based on the context it is used

func (*IaaSProject) MarshalBinary ¶ added in v0.3.0

func (m *IaaSProject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IaaSProject) UnmarshalBinary ¶ added in v0.3.0

func (m *IaaSProject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IaaSProject) Validate ¶ added in v0.3.0

func (m *IaaSProject) Validate(formats strfmt.Registry) error

Validate validates this iaas project

type IaaSProjectResourceMetadata ¶ added in v0.3.0

type IaaSProjectResourceMetadata struct {

	// A list of keys and optional values to be applied to compute resources provisioned in a project
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

IaaSProjectResourceMetadata Represents the resource metadata associated with a project

swagger:model IaaSProjectResourceMetadata

func (*IaaSProjectResourceMetadata) ContextValidate ¶ added in v0.3.0

func (m *IaaSProjectResourceMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this iaas project resource metadata based on the context it is used

func (*IaaSProjectResourceMetadata) MarshalBinary ¶ added in v0.3.0

func (m *IaaSProjectResourceMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IaaSProjectResourceMetadata) UnmarshalBinary ¶ added in v0.3.0

func (m *IaaSProjectResourceMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IaaSProjectResourceMetadata) Validate ¶ added in v0.3.0

func (m *IaaSProjectResourceMetadata) Validate(formats strfmt.Registry) error

Validate validates this iaas project resource metadata

type IaaSProjectSpecification ¶ added in v0.3.0

type IaaSProjectSpecification struct {

	// List of administrator users associated with the project. Only administrators can manage project's configuration.
	// Example: [{ \"email\":\"administrator@vmware.com\" }]
	Administrators []*User `json:"administrators"`

	// List of storage, network and extensibility constraints to be applied when provisioning through this project.
	// Example: {\"network\":[{\"mandatory\": \"true\", \"expression\": \"env:dev\"}],\"storage\":[{\"mandatory\": \"false\", \"expression\": \"gold\"}],\"extensibility\":[{\"mandatory\": \"false\", \"expression\": \"key:value\"}]}
	Constraints map[string][]Constraint `json:"constraints,omitempty"`

	// The project custom properties which are added to all requests in this project
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// The naming template to be used for machines provisioned in this project
	// Example: ${project.name}-test-${####}
	MachineNamingTemplate string `json:"machineNamingTemplate,omitempty"`

	// List of member users associated with the project.
	// Example: [{ \"email\":\"member@vmware.com\" }]
	Members []*User `json:"members"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds
	// Example: 30
	OperationTimeout *int64 `json:"operationTimeout,omitempty"`

	// Placement policy for the project. Determines how a zone will be selected for provisioning. DEFAULT or SPREAD.
	// Example: DEFAULT
	PlacementPolicy string `json:"placementPolicy,omitempty"`

	// Specifies whether the resources in this projects are shared or not. If not set default will be used.
	// Example: true
	SharedResources bool `json:"sharedResources,omitempty"`

	// List of viewer users associated with the project.
	// Example: [{ \"email\":\"viewer@vmware.com\" }]
	Viewers []*User `json:"viewers"`

	// List of configurations for zone assignment to a project.
	ZoneAssignmentConfigurations []*ZoneAssignmentSpecification `json:"zoneAssignmentConfigurations"`
}

IaaSProjectSpecification Represents a specification for a project.

swagger:model IaaSProjectSpecification

func (*IaaSProjectSpecification) ContextValidate ¶ added in v0.3.0

func (m *IaaSProjectSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this iaas project specification based on the context it is used

func (*IaaSProjectSpecification) MarshalBinary ¶ added in v0.3.0

func (m *IaaSProjectSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IaaSProjectSpecification) UnmarshalBinary ¶ added in v0.3.0

func (m *IaaSProjectSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IaaSProjectSpecification) Validate ¶ added in v0.3.0

func (m *IaaSProjectSpecification) Validate(formats strfmt.Registry) error

Validate validates this iaas project specification

type ImageMapping ¶

type ImageMapping struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// The id of the region for which this mapping is defined.
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// Image mapping defined for the particular region.
	// Example: { \"ubuntu\" : {\"externalRegionId\": \"us-east-1\", \"externalId\": \"ami-2c7b5656\", \"name\": \"ami-ubuntu-16.04\", \"description\": \"instance-store - HVM - supports - UTF-8 - tools\"} }
	// Required: true
	Mapping map[string]ImageMappingDescription `json:"mapping"`
}

ImageMapping Describes an image mapping between image key and fabric image.<br>**HATEOAS** links:<br>**region** - Region - Region for the mapping.

swagger:model ImageMapping

func (*ImageMapping) ContextValidate ¶ added in v0.2.20

func (m *ImageMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image mapping based on the context it is used

func (*ImageMapping) MarshalBinary ¶

func (m *ImageMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageMapping) UnmarshalBinary ¶

func (m *ImageMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageMapping) Validate ¶

func (m *ImageMapping) Validate(formats strfmt.Registry) error

Validate validates this image mapping

type ImageMappingDescription ¶

type ImageMappingDescription struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Cloud config for this image. This cloud config will be merged during provisioning with other cloud configurations such as the bootConfig provided in MachineSpecification.
	// Example: runcmd:\n  - [\"mkdir\", \"/imageFolder\"]
	CloudConfig string `json:"cloudConfig,omitempty"`

	// Constraints that are used to drive placement policies for the image that is produced from this mapping.Constraint expressions are matched against tags on existing placement targets.
	// Example: [{\"mandatory\" : \"true\", \"expression\": \"environment\":\"prod\"}, {\"mandatory\" : \"false\", \"expression\": \"pci\"}]
	Constraints []*Constraint `json:"constraints"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"prop1\" : \"value1\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The regionId of the image
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Indicates whether this fabric image is private. For vSphere, private images are considered to be templates and snapshots and public are Content Library Items
	// Example: true
	IsPrivate bool `json:"isPrivate,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Operating System family of the image.
	// Example: linux, win
	OsFamily string `json:"osFamily,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

ImageMappingDescription Represents a fabric image from the corresponding cloud end-point with additional cloud configuration script that will be executed on provisioning

swagger:model ImageMappingDescription

func (*ImageMappingDescription) ContextValidate ¶ added in v0.2.20

func (m *ImageMappingDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image mapping description based on the context it is used

func (*ImageMappingDescription) MarshalBinary ¶

func (m *ImageMappingDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageMappingDescription) UnmarshalBinary ¶

func (m *ImageMappingDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageMappingDescription) Validate ¶

func (m *ImageMappingDescription) Validate(formats strfmt.Registry) error

Validate validates this image mapping description

type ImageProfile ¶

type ImageProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this image profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of the region for which this profile is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A list of the image mappings defined for the particular region
	// Required: true
	ImageMappings *ImageMapping `json:"imageMappings"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

ImageProfile Represents a structure that holds a list of image mappings defined for the particular region.<br>**HATEOAS** links:<br>**region** - Region - Region for the profile.<br>**self** - ImageProfile - Self link to this image profile

swagger:model ImageProfile

func (*ImageProfile) ContextValidate ¶ added in v0.2.20

func (m *ImageProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image profile based on the context it is used

func (*ImageProfile) MarshalBinary ¶

func (m *ImageProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageProfile) UnmarshalBinary ¶

func (m *ImageProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageProfile) Validate ¶

func (m *ImageProfile) Validate(formats strfmt.Registry) error

Validate validates this image profile

type ImageProfileResult ¶

type ImageProfileResult struct {

	// List of content items
	// Read Only: true
	Content []*ImageProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ImageProfileResult State object representing a query result of image profiles.

swagger:model ImageProfileResult

func (*ImageProfileResult) ContextValidate ¶ added in v0.2.20

func (m *ImageProfileResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image profile result based on the context it is used

func (*ImageProfileResult) MarshalBinary ¶

func (m *ImageProfileResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageProfileResult) UnmarshalBinary ¶

func (m *ImageProfileResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageProfileResult) Validate ¶

func (m *ImageProfileResult) Validate(formats strfmt.Registry) error

Validate validates this image profile result

type ImageProfileSpecification ¶

type ImageProfileSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Image mapping defined for the corresponding region.
	// Example: { \"ubuntu\": { \"id\": \"9e49\", \"name\": \"ami-ubuntu-16.04-1.9.1-00-1516139717\"}, \"centos\": { \"id\": \"9e50\", \"name\": \"ami-centos-7-1.13.0-00-1543963388\"}}
	// Required: true
	ImageMapping map[string]FabricImageDescription `json:"imageMapping"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The id of the region for which this profile is created
	// Example: 9e49
	// Required: true
	RegionID *string `json:"regionId"`
}

ImageProfileSpecification Specification for image profile.

swagger:model ImageProfileSpecification

func (*ImageProfileSpecification) ContextValidate ¶ added in v0.2.20

func (m *ImageProfileSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image profile specification based on the context it is used

func (*ImageProfileSpecification) MarshalBinary ¶

func (m *ImageProfileSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageProfileSpecification) UnmarshalBinary ¶

func (m *ImageProfileSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageProfileSpecification) Validate ¶

func (m *ImageProfileSpecification) Validate(formats strfmt.Registry) error

Validate validates this image profile specification

type ImageResult ¶

type ImageResult struct {

	// List of content items
	// Read Only: true
	Content []*ImageMapping `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ImageResult State object representing a query result of image mappings.

swagger:model ImageResult

func (*ImageResult) ContextValidate ¶ added in v0.2.20

func (m *ImageResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image result based on the context it is used

func (*ImageResult) MarshalBinary ¶

func (m *ImageResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageResult) UnmarshalBinary ¶

func (m *ImageResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageResult) Validate ¶

func (m *ImageResult) Validate(formats strfmt.Registry) error

Validate validates this image result

type JiraEventConfig ¶ added in v0.2.22

type JiraEventConfig interface {
	runtime.Validatable
	runtime.ContextValidatable

	// User to whom the Jira will be assigned.
	// Example: jason@vmware.com
	Assignee() string
	SetAssignee(string)

	// Description for the Jira ticket.
	// Example: Details about the issue being reported
	Description() string
	SetDescription(string)

	// endpoint
	Endpoint() string
	SetEndpoint(string)

	// event
	// Enum: [SUCCESS FAILURE WAITING CANCELED STARTED]
	Event() string
	SetEvent(string)

	// Jira Issue Type.
	// Example: Bug/Story
	Issuetype() string
	SetIssuetype(string)

	// Jira Project Name.
	// Example: VRCS
	Project() string
	SetProject(string)

	// stage
	Stage() string
	SetStage(string)

	// Summary for the Jira ticket.
	// Example: Pipeline-1 execution failed
	Summary() string
	SetSummary(string)

	// task
	Task() string
	SetTask(string)
}

JiraEventConfig JiraEventConfig

Represents a Jira Event configuration.

swagger:discriminator JiraEventConfig Represents a Jira Event configuration.

func UnmarshalJiraEventConfig ¶ added in v0.2.22

func UnmarshalJiraEventConfig(reader io.Reader, consumer runtime.Consumer) (JiraEventConfig, error)

UnmarshalJiraEventConfig unmarshals polymorphic JiraEventConfig

func UnmarshalJiraEventConfigSlice ¶ added in v0.2.22

func UnmarshalJiraEventConfigSlice(reader io.Reader, consumer runtime.Consumer) ([]JiraEventConfig, error)

UnmarshalJiraEventConfigSlice unmarshals polymorphic slices of JiraEventConfig

type Link struct {

	// href
	Href string `json:"href,omitempty"`

	// rel
	Rel string `json:"rel,omitempty"`
}

Link Link

swagger:model Link

func (*Link) ContextValidate ¶ added in v0.2.20

func (m *Link) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this link based on context it is used

func (*Link) MarshalBinary ¶ added in v0.2.7

func (m *Link) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Link) UnmarshalBinary ¶ added in v0.2.7

func (m *Link) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Link) Validate ¶ added in v0.2.7

func (m *Link) Validate(formats strfmt.Registry) error

Validate validates this link

type LoadBalancer ¶

type LoadBalancer struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Primary address allocated or in use by this load balancer. The address could be an in the form of a publicly resolvable DNS name or an IP address.
	// Example: lb-123456789.eu-west-1.elb.amazonaws.com
	Address string `json:"address,omitempty"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Defines logging level for collecting load balancer traffic logs.
	// Example: ERROR, WARNING, INFO, DEBUG
	LoggingLevel string `json:"loggingLevel,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// The load balancer route configuration regarding ports and protocols.
	// Required: true
	Routes []*RouteConfiguration `json:"routes"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Define the type/variant of load balancer numbers e.g.for NSX the number virtual servers and pool members load balancer can host
	// Example: Azure: BASIC, or STANDARD, AWS: Application, Network, or Classic, NSX: SMALL, MEDIUM, LARGE, EXTRA_LARGE
	Type string `json:"type,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

LoadBalancer Represents a load balancer.<br>**HATEOAS** links:<br>**load-balancer-targets** - array[Machine] - List of load balancer target machines.<br>**cloud-account** - CloudAccount - Cloud account where this LB is deployed.<br>**self** - LoadBalancer - Self link to this load balancer

swagger:model LoadBalancer

func (*LoadBalancer) ContextValidate ¶ added in v0.2.20

func (m *LoadBalancer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this load balancer based on the context it is used

func (*LoadBalancer) MarshalBinary ¶

func (m *LoadBalancer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoadBalancer) UnmarshalBinary ¶

func (m *LoadBalancer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoadBalancer) Validate ¶

func (m *LoadBalancer) Validate(formats strfmt.Registry) error

Validate validates this load balancer

type LoadBalancerResult ¶

type LoadBalancerResult struct {

	// List of content items
	// Read Only: true
	Content []*LoadBalancer `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

LoadBalancerResult State object representing a query result of load balancecrs.

swagger:model LoadBalancerResult

func (*LoadBalancerResult) ContextValidate ¶ added in v0.2.20

func (m *LoadBalancerResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this load balancer result based on the context it is used

func (*LoadBalancerResult) MarshalBinary ¶

func (m *LoadBalancerResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoadBalancerResult) UnmarshalBinary ¶

func (m *LoadBalancerResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoadBalancerResult) Validate ¶

func (m *LoadBalancerResult) Validate(formats strfmt.Registry) error

Validate validates this load balancer result

type LoadBalancerSpecification ¶

type LoadBalancerSpecification struct {

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// An Internet-facing load balancer has a publicly resolvable DNS name, so it can route requests from clients over the Internet to the instances that are registered with the load balancer.
	InternetFacing bool `json:"internetFacing,omitempty"`

	// Defines logging level for collecting load balancer traffic logs.
	// Example: ERROR, WARNING, INFO, DEBUG
	LoggingLevel string `json:"loggingLevel,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// A set of network interface specifications for this load balancer.
	// Required: true
	Nics []*NetworkInterfaceSpecification `json:"nics"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`

	// The load balancer route configuration regarding ports and protocols.
	// Required: true
	Routes []*RouteConfiguration `json:"routes"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// A list of links to target load balancer pool members. Links can be to either a machine or a machine's network interface.
	// Example: [ \"/iaas/machines/eac3d\" ]
	TargetLinks []string `json:"targetLinks"`

	// Define the type/variant of load balancer numbers e.g.for NSX the number virtual servers and pool members load balancer can host
	// Example: SMALL, MEDIUM, LARGE
	Type string `json:"type,omitempty"`
}

LoadBalancerSpecification Load balancer configuration.

swagger:model LoadBalancerSpecification

func (*LoadBalancerSpecification) ContextValidate ¶ added in v0.2.20

func (m *LoadBalancerSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this load balancer specification based on the context it is used

func (*LoadBalancerSpecification) MarshalBinary ¶

func (m *LoadBalancerSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoadBalancerSpecification) UnmarshalBinary ¶

func (m *LoadBalancerSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoadBalancerSpecification) Validate ¶

func (m *LoadBalancerSpecification) Validate(formats strfmt.Registry) error

Validate validates this load balancer specification

type LockRequest ¶ added in v0.2.22

type LockRequest struct {

	// service name
	ServiceName string `json:"serviceName,omitempty"`
}

LockRequest LockRequest

swagger:model LockRequest

func (*LockRequest) ContextValidate ¶ added in v0.2.22

func (m *LockRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this lock request based on context it is used

func (*LockRequest) MarshalBinary ¶ added in v0.2.22

func (m *LockRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockRequest) UnmarshalBinary ¶ added in v0.2.22

func (m *LockRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockRequest) Validate ¶ added in v0.2.22

func (m *LockRequest) Validate(formats strfmt.Registry) error

Validate validates this lock request

type Machine ¶

type Machine struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Primary address allocated or in use by this machine. The actual type of the address depends on the adapter type. Typically it is either the public or the external IP address.
	// Example: 34.242.21.5
	Address string `json:"address,omitempty"`

	// The cloud config data in json-escaped yaml syntax
	BootConfig *MachineBootConfig `json:"bootConfig,omitempty"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// Hostname associated with this machine instance.
	Hostname string `json:"hostname,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Power state of machine.
	// Example: ON, OFF
	// Required: true
	// Enum: [ON OFF GUEST_OFF UNKNOWN SUSPEND]
	PowerState *string `json:"powerState"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// Settings to apply salt configuration on the provisioned machine.
	SaltConfiguration *SaltConfiguration `json:"saltConfiguration,omitempty"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Machine Represents a cloud agnostic machine.<br>**HATEOAS** links:<br>**operations** - array[String] - Supported operations for the machine.<br>**network-interfaces** - array[NetworkInterface] - Network interfaces for the machine.<br>**disks** - array[MachineDisk] - disks for the machine.<br>**deployment** - Deployment - Deployment that this machine is part of.<br>**cloud-accounts** - array[CloudAccount] - Cloud accounts where this machine is provisioned.<br>**self** - Machine - Self link to this machine

swagger:model Machine

func (*Machine) ContextValidate ¶ added in v0.2.20

func (m *Machine) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this machine based on the context it is used

func (*Machine) MarshalBinary ¶

func (m *Machine) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Machine) UnmarshalBinary ¶

func (m *Machine) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Machine) Validate ¶

func (m *Machine) Validate(formats strfmt.Registry) error

Validate validates this machine

type MachineBootConfig ¶

type MachineBootConfig struct {

	// A valid cloud config data in json-escaped yaml syntax
	// Example: #cloud-config\nrepo_update: true\nrepo_upgrade: all\n\npackages:\n - mysql-server\n\nruncmd:\n - sed -e '/bind-address/ s/^#*/#/' -i /etc/mysql/mysql.conf.d/mysqld.cnf\n - service mysql restart\n - mysql -e \"GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mysqlpassword';\"\n - mysql -e \"FLUSH PRIVILEGES;\"\n
	Content string `json:"content,omitempty"`
}

MachineBootConfig Machine boot config that will be passed to the instance that can be used to perform common automated configuration tasks and even run scripts after the instance starts.

swagger:model MachineBootConfig

func (*MachineBootConfig) ContextValidate ¶ added in v0.2.20

func (m *MachineBootConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this machine boot config based on context it is used

func (*MachineBootConfig) MarshalBinary ¶

func (m *MachineBootConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MachineBootConfig) UnmarshalBinary ¶

func (m *MachineBootConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MachineBootConfig) Validate ¶

func (m *MachineBootConfig) Validate(formats strfmt.Registry) error

Validate validates this machine boot config

type MachineBootConfigSettings ¶ added in v0.2.8

type MachineBootConfigSettings struct {

	// In case a timeout occurs whether the provisioning process should fail or continue.
	// Example: false
	PhoneHomeFailOnTimeout bool `json:"phoneHomeFailOnTimeout,omitempty"`

	// A phone_home module will be added to the Cloud Config and the provisioning will wait on a callback prior proceeding
	// Example: true
	PhoneHomeShouldWait bool `json:"phoneHomeShouldWait,omitempty"`

	// The period of time to wait for the phone_home module callback to occur
	// Example: 100
	PhoneHomeTimeoutSeconds int32 `json:"phoneHomeTimeoutSeconds,omitempty"`
}

MachineBootConfigSettings Machine boot config settings that will define how the provisioning will handle the boot config script execution.

swagger:model MachineBootConfigSettings

func (*MachineBootConfigSettings) ContextValidate ¶ added in v0.2.20

func (m *MachineBootConfigSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this machine boot config settings based on context it is used

func (*MachineBootConfigSettings) MarshalBinary ¶ added in v0.2.8

func (m *MachineBootConfigSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MachineBootConfigSettings) UnmarshalBinary ¶ added in v0.2.8

func (m *MachineBootConfigSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MachineBootConfigSettings) Validate ¶ added in v0.2.8

func (m *MachineBootConfigSettings) Validate(formats strfmt.Registry) error

Validate validates this machine boot config settings

type MachineResult ¶

type MachineResult struct {

	// List of content items
	// Read Only: true
	Content []*Machine `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

MachineResult State object representing a query result of machines.

swagger:model MachineResult

func (*MachineResult) ContextValidate ¶ added in v0.2.20

func (m *MachineResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this machine result based on the context it is used

func (*MachineResult) MarshalBinary ¶

func (m *MachineResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MachineResult) UnmarshalBinary ¶

func (m *MachineResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MachineResult) Validate ¶

func (m *MachineResult) Validate(formats strfmt.Registry) error

Validate validates this machine result

type MachineSpecification ¶

type MachineSpecification struct {

	// A valid cloud config data in json-escaped yaml syntax
	BootConfig *MachineBootConfig `json:"bootConfig,omitempty"`

	// A set of settings that specify how the provided Boot Config should be handled
	BootConfigSettings *MachineBootConfigSettings `json:"bootConfigSettings,omitempty"`

	// Constraints that are used to drive placement policies for the virtual machine that is produced from this specification. Constraint expressions are matched against tags on existing placement targets.
	// Example: [{\"mandatory\" : \"true\", \"expression\": \"environment\":\"prod\"}, {\"mandatory\" : \"false\", \"expression\": \"pci\"}]
	Constraints []*Constraint `json:"constraints"`

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// Describes machine within the scope of your organization and is not propagated to the cloud
	Description string `json:"description,omitempty"`

	// A set of disk specifications for this machine.
	Disks []*DiskAttachmentSpecification `json:"disks"`

	// Flavor of machine instance.
	// Example: small, medium, large
	// Required: true
	Flavor *string `json:"flavor"`

	// Type of image used for this machine.
	// Example: vmware-gold-master, ubuntu-latest, rhel-compliant, windows
	// Required: true
	Image *string `json:"image"`

	// Constraints that are used to drive placement policies for the image disk. Constraint expressions are matched against tags on existing placement targets.
	// Example: [{\"mandatory\" : \"true\", \"expression\": \"environment:prod\"}, {\"mandatory\" : \"false\", \"expression\": \"pci\"}]
	ImageDiskConstraints []*Constraint `json:"imageDiskConstraints"`

	// Direct image reference used for this machine (name, path, location, uri, etc.). Valid if no image property is provided
	// Example: ami-f6795a8c
	// Required: true
	ImageRef *string `json:"imageRef"`

	// Number of machines to provision - default 1.
	// Example: 3
	MachineCount int32 `json:"machineCount,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// A set of network interface controller specifications for this machine. If not specified, then a default network connection will be created.
	Nics []*NetworkInterfaceSpecification `json:"nics"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`

	// Settings to remotely connect to the provisioned machine, by public/private key pair or username/password authentication. AWS and vSphere support key pair. Azure supports key pair or username/password.
	RemoteAccess *RemoteAccessSpecification `json:"remoteAccess,omitempty"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`
}

MachineSpecification Specification for a cloud agnostic machine.

swagger:model MachineSpecification

func (*MachineSpecification) ContextValidate ¶ added in v0.2.20

func (m *MachineSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this machine specification based on the context it is used

func (*MachineSpecification) MarshalBinary ¶

func (m *MachineSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MachineSpecification) UnmarshalBinary ¶

func (m *MachineSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MachineSpecification) Validate ¶

func (m *MachineSpecification) Validate(formats strfmt.Registry) error

Validate validates this machine specification

type ManualTriggerResponse ¶ added in v0.2.22

type ManualTriggerResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Message to acknowledge success or failure of action.
	// Example: Manual Trigger Successful
	Message() string
	SetMessage(string)

	// List of pipeline which got manually triggered.
	// Example: ["Pipeline-1","Pipeline-2"]
	PipelinesTriggered() []string
	SetPipelinesTriggered([]string)
}

ManualTriggerResponse ManualTriggerResponse

Gerrit Manual Trigger response acknowledges the success or failure and in case of success, it lists the the pipelines which got triggered.

swagger:discriminator ManualTriggerResponse Gerrit Manual Trigger response acknowledges the success or failure and in case of success, it lists the the pipelines which got triggered.

func UnmarshalManualTriggerResponse ¶ added in v0.2.22

func UnmarshalManualTriggerResponse(reader io.Reader, consumer runtime.Consumer) (ManualTriggerResponse, error)

UnmarshalManualTriggerResponse unmarshals polymorphic ManualTriggerResponse

func UnmarshalManualTriggerResponseSlice ¶ added in v0.2.22

func UnmarshalManualTriggerResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]ManualTriggerResponse, error)

UnmarshalManualTriggerResponseSlice unmarshals polymorphic slices of ManualTriggerResponse

type MarketplaceContent ¶ added in v0.2.7

type MarketplaceContent struct {

	// Description
	Description string `json:"description,omitempty"`

	// Developer
	Developer string `json:"developer,omitempty"`

	// Display Name
	DisplayName string `json:"displayName,omitempty"`

	// Documents
	Documents []*Document `json:"documents"`

	// EULA
	Eula string `json:"eula,omitempty"`

	// Highlights
	Highlights []string `json:"highlights"`

	// Icon
	Icon string `json:"icon,omitempty"`

	// ID
	ID string `json:"id,omitempty"`

	// Overview
	Overview string `json:"overview,omitempty"`

	// Rating
	Rating string `json:"rating,omitempty"`

	// Screenshots
	Screenshots []string `json:"screenshots"`

	// support
	Support *Support `json:"support,omitempty"`

	// Tech Specs
	TechSpecs string `json:"techSpecs,omitempty"`

	// Total Reviews
	TotalReviews int32 `json:"totalReviews,omitempty"`

	// Updated Date
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Version
	Version string `json:"version,omitempty"`

	// Video
	Video string `json:"video,omitempty"`
}

MarketplaceContent MarketplaceContent

swagger:model MarketplaceContent

func (*MarketplaceContent) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace content based on the context it is used

func (*MarketplaceContent) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceContent) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceContent) Validate ¶ added in v0.2.7

func (m *MarketplaceContent) Validate(formats strfmt.Registry) error

Validate validates this marketplace content

type MarketplaceContentDownloadRequest ¶ added in v0.2.7

type MarketplaceContentDownloadRequest struct {

	// Content Id
	// Required: true
	ContentID *string `json:"contentId"`

	// Content Name
	// Required: true
	ContentName *string `json:"contentName"`

	// Content Type
	// Required: true
	// Enum: [BLUEPRINT IMAGE ABX_SCRIPTS TERRAFORM_CONFIGURATION]
	ContentType *string `json:"contentType"`

	// Request Created Time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Downloaded Content Id
	// Read Only: true
	DownloadedContentID string `json:"downloadedContentId,omitempty"`

	// Execution Messages
	// Read Only: true
	ExecutionMessages []*ExecutionMessage `json:"executionMessages"`

	// Request Id
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Request Last Updated Time
	// Read Only: true
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Content Source Id
	// Required: true
	// Format: uuid
	SourceID *strfmt.UUID `json:"sourceId"`

	// Request Status
	// Read Only: true
	Status string `json:"status,omitempty"`

	// Target Id
	// Required: true
	TargetID *string `json:"targetId"`

	// Target Type
	// Required: true
	// Enum: [PROJECT]
	TargetType *string `json:"targetType"`
}

MarketplaceContentDownloadRequest MarketplaceContentDownloadRequest

swagger:model MarketplaceContentDownloadRequest

func (*MarketplaceContentDownloadRequest) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceContentDownloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace content download request based on the context it is used

func (*MarketplaceContentDownloadRequest) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentDownloadRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceContentDownloadRequest) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentDownloadRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceContentDownloadRequest) Validate ¶ added in v0.2.7

Validate validates this marketplace content download request

type MarketplaceContentLink struct {

	// Content Id
	ID string `json:"id,omitempty"`

	// Content Link
	Link string `json:"link,omitempty"`
}

MarketplaceContentLink MarketplaceContentLink

swagger:model MarketplaceContentLink

func (*MarketplaceContentLink) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceContentLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this marketplace content link based on context it is used

func (*MarketplaceContentLink) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceContentLink) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceContentLink) Validate ¶ added in v0.2.7

func (m *MarketplaceContentLink) Validate(formats strfmt.Registry) error

Validate validates this marketplace content link

type MarketplaceContentReview ¶ added in v0.2.7

type MarketplaceContentReview struct {

	// Comment
	Comment string `json:"comment,omitempty"`

	// Content ID
	ContentID string `json:"contentId,omitempty"`

	// Review ID
	ID string `json:"id,omitempty"`

	// Rating
	Rating string `json:"rating,omitempty"`

	// Title
	Title string `json:"title,omitempty"`

	// User
	User string `json:"user,omitempty"`
}

MarketplaceContentReview MarketplaceContentReview

swagger:model MarketplaceContentReview

func (*MarketplaceContentReview) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceContentReview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this marketplace content review based on context it is used

func (*MarketplaceContentReview) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentReview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceContentReview) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentReview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceContentReview) Validate ¶ added in v0.2.7

func (m *MarketplaceContentReview) Validate(formats strfmt.Registry) error

Validate validates this marketplace content review

type MarketplaceContentReviews ¶ added in v0.2.7

type MarketplaceContentReviews struct {

	// content
	Content []*MarketplaceContentReview `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

MarketplaceContentReviews MarketplaceContentReviews

swagger:model MarketplaceContentReviews

func (*MarketplaceContentReviews) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceContentReviews) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace content reviews based on the context it is used

func (*MarketplaceContentReviews) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentReviews) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceContentReviews) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContentReviews) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceContentReviews) Validate ¶ added in v0.2.7

func (m *MarketplaceContentReviews) Validate(formats strfmt.Registry) error

Validate validates this marketplace content reviews

type MarketplaceContents ¶ added in v0.2.7

type MarketplaceContents struct {

	// content
	Content []*MarketplaceContent `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

MarketplaceContents MarketplaceContents

swagger:model MarketplaceContents

func (*MarketplaceContents) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceContents) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace contents based on the context it is used

func (*MarketplaceContents) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceContents) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceContents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceContents) Validate ¶ added in v0.2.7

func (m *MarketplaceContents) Validate(formats strfmt.Registry) error

Validate validates this marketplace contents

type MarketplaceDownloadHistory ¶ added in v0.2.7

type MarketplaceDownloadHistory struct {

	// content
	Content []*MarketplaceDownloadHistoryItem `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

MarketplaceDownloadHistory MarketplaceDownloadHistory

swagger:model MarketplaceDownloadHistory

func (*MarketplaceDownloadHistory) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceDownloadHistory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace download history based on the context it is used

func (*MarketplaceDownloadHistory) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceDownloadHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceDownloadHistory) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceDownloadHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceDownloadHistory) Validate ¶ added in v0.2.7

func (m *MarketplaceDownloadHistory) Validate(formats strfmt.Registry) error

Validate validates this marketplace download history

type MarketplaceDownloadHistoryItem ¶ added in v0.2.7

type MarketplaceDownloadHistoryItem struct {

	// Downloaded Content Id
	ContentID string `json:"contentId,omitempty"`

	// Downloaded Content Name
	ContentName string `json:"contentName,omitempty"`

	// Downloaded Content Type
	// Enum: [BLUEPRINT IMAGE ABX_SCRIPTS TERRAFORM_CONFIGURATION]
	ContentType string `json:"contentType,omitempty"`

	// Downloaded On
	// Format: date-time
	DownloadedOn strfmt.DateTime `json:"downloadedOn,omitempty"`

	// History Id
	ID string `json:"id,omitempty"`

	// Download Status
	// Enum: [FAILED ADDED]
	Status string `json:"status,omitempty"`

	// Target Id
	TargetID string `json:"targetId,omitempty"`

	// Target Name
	TargetName string `json:"targetName,omitempty"`

	// Target Type
	// Enum: [PROJECT]
	TargetType string `json:"targetType,omitempty"`

	// Updated On
	// Format: date-time
	UpdatedOn strfmt.DateTime `json:"updatedOn,omitempty"`

	// Username
	Username string `json:"username,omitempty"`
}

MarketplaceDownloadHistoryItem MarketplaceDownloadHistoryItem

swagger:model MarketplaceDownloadHistoryItem

func (*MarketplaceDownloadHistoryItem) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceDownloadHistoryItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this marketplace download history item based on context it is used

func (*MarketplaceDownloadHistoryItem) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceDownloadHistoryItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceDownloadHistoryItem) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceDownloadHistoryItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceDownloadHistoryItem) Validate ¶ added in v0.2.7

func (m *MarketplaceDownloadHistoryItem) Validate(formats strfmt.Registry) error

Validate validates this marketplace download history item

type MarketplaceFilter ¶ added in v0.2.7

type MarketplaceFilter struct {

	// entries
	Entries *MarketplaceFilterEntries `json:"entries,omitempty"`

	// Filter Id
	ID string `json:"id,omitempty"`

	// Filter Display Name
	Name string `json:"name,omitempty"`

	// Filter Type
	// Enum: [COLLECTION DATE NUMBER]
	Type string `json:"type,omitempty"`

	// Filter Value Type
	// Enum: [RANGE SINGLE MULTIPLE]
	ValueType string `json:"valueType,omitempty"`
}

MarketplaceFilter MarketplaceFilter

swagger:model MarketplaceFilter

func (*MarketplaceFilter) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace filter based on the context it is used

func (*MarketplaceFilter) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceFilter) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceFilter) Validate ¶ added in v0.2.7

func (m *MarketplaceFilter) Validate(formats strfmt.Registry) error

Validate validates this marketplace filter

type MarketplaceFilterEntries ¶ added in v0.2.7

type MarketplaceFilterEntries struct {

	// content
	Content []*MarketplaceFilterEntry `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

MarketplaceFilterEntries MarketplaceFilterEntries

swagger:model MarketplaceFilterEntries

func (*MarketplaceFilterEntries) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceFilterEntries) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace filter entries based on the context it is used

func (*MarketplaceFilterEntries) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilterEntries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceFilterEntries) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilterEntries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceFilterEntries) Validate ¶ added in v0.2.7

func (m *MarketplaceFilterEntries) Validate(formats strfmt.Registry) error

Validate validates this marketplace filter entries

type MarketplaceFilterEntry ¶ added in v0.2.7

type MarketplaceFilterEntry struct {

	// Entry count for this filter
	// Example: 0
	Count int64 `json:"count,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Filter Entry Display Name
	Name string `json:"name,omitempty"`
}

MarketplaceFilterEntry MarketplaceFilterEntry

swagger:model MarketplaceFilterEntry

func (*MarketplaceFilterEntry) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceFilterEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this marketplace filter entry based on context it is used

func (*MarketplaceFilterEntry) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilterEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceFilterEntry) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilterEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceFilterEntry) Validate ¶ added in v0.2.7

func (m *MarketplaceFilterEntry) Validate(formats strfmt.Registry) error

Validate validates this marketplace filter entry

type MarketplaceFilterSchema ¶ added in v0.2.7

type MarketplaceFilterSchema struct {

	// filters
	Filters []*MarketplaceFilter `json:"filters"`
}

MarketplaceFilterSchema MarketplaceFilterSchema

swagger:model MarketplaceFilterSchema

func (*MarketplaceFilterSchema) ContextValidate ¶ added in v0.2.20

func (m *MarketplaceFilterSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this marketplace filter schema based on the context it is used

func (*MarketplaceFilterSchema) MarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilterSchema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MarketplaceFilterSchema) UnmarshalBinary ¶ added in v0.2.7

func (m *MarketplaceFilterSchema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MarketplaceFilterSchema) Validate ¶ added in v0.2.7

func (m *MarketplaceFilterSchema) Validate(formats strfmt.Registry) error

Validate validates this marketplace filter schema

type Metering ¶ added in v0.2.8

type Metering struct {

	// base rate
	BaseRate float64 `json:"baseRate,omitempty"`

	// charge based on
	// Enum: [USAGE]
	ChargeBasedOn string `json:"chargeBasedOn,omitempty"`

	// charge on power state
	// Enum: [ALWAYS ONLY_WHEN_POWERED_ON POWERED_ON_AT_LEAST_ONCE]
	ChargeOnPowerState string `json:"chargeOnPowerState,omitempty"`

	// charge period
	// Enum: [HOURLY DAILY WEEKLY MONTHLY]
	ChargePeriod string `json:"chargePeriod,omitempty"`

	// fixed price
	FixedPrice float64 `json:"fixedPrice,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`
}

Metering Metering

swagger:model Metering

func (*Metering) ContextValidate ¶ added in v0.2.20

func (m *Metering) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metering based on context it is used

func (*Metering) MarshalBinary ¶ added in v0.2.8

func (m *Metering) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Metering) UnmarshalBinary ¶ added in v0.2.8

func (m *Metering) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Metering) Validate ¶ added in v0.2.8

func (m *Metering) Validate(formats strfmt.Registry) error

Validate validates this metering

type MeteringAssignmentStrategy ¶ added in v0.2.8

type MeteringAssignmentStrategy struct {

	// Metering Policy Assignment entityType(Strategy)
	// Enum: [ALL PROJECT CLOUDZONE]
	EntityType string `json:"entityType,omitempty"`
}

MeteringAssignmentStrategy MeteringAssignmentStrategy

Metering Assignment Strategy ¶

swagger:model MeteringAssignmentStrategy

func (*MeteringAssignmentStrategy) ContextValidate ¶ added in v0.2.20

func (m *MeteringAssignmentStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metering assignment strategy based on context it is used

func (*MeteringAssignmentStrategy) MarshalBinary ¶ added in v0.2.8

func (m *MeteringAssignmentStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MeteringAssignmentStrategy) UnmarshalBinary ¶ added in v0.2.8

func (m *MeteringAssignmentStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MeteringAssignmentStrategy) Validate ¶ added in v0.2.8

func (m *MeteringAssignmentStrategy) Validate(formats strfmt.Registry) error

Validate validates this metering assignment strategy

type MeteringItem ¶ added in v0.2.8

type MeteringItem struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// metering
	Metering *Metering `json:"metering,omitempty"`
}

MeteringItem MeteringItem

swagger:model MeteringItem

func (*MeteringItem) ContextValidate ¶ added in v0.2.20

func (m *MeteringItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metering item based on the context it is used

func (*MeteringItem) MarshalBinary ¶ added in v0.2.8

func (m *MeteringItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MeteringItem) UnmarshalBinary ¶ added in v0.2.8

func (m *MeteringItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MeteringItem) Validate ¶ added in v0.2.8

func (m *MeteringItem) Validate(formats strfmt.Registry) error

Validate validates this metering item

type MeteringPolicy ¶ added in v0.2.8

type MeteringPolicy struct {

	// charge model
	// Enum: [PAY_AS_YOU_GO]
	ChargeModel string `json:"chargeModel,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// created by
	CreatedBy string `json:"createdBy,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// fixed price
	FixedPrice *FixedPrice `json:"fixedPrice,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// last updated at
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// metering items
	MeteringItems []*MeteringItem `json:"meteringItems"`

	// name
	Name string `json:"name,omitempty"`

	// named metering items
	NamedMeteringItems []*NamedMeteringItem `json:"namedMeteringItems"`

	// one time metering items
	OneTimeMeteringItems []*OneTimeMeteringItem `json:"oneTimeMeteringItems"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// Assignment count, assignment entity type
	PricingCardAssignmentInfo *MeteringPolicyAssignmentInfo `json:"pricingCardAssignmentInfo,omitempty"`

	// tag based metering items
	TagBasedMeteringItems []*TagBasedMeteringItem `json:"tagBasedMeteringItems"`

	// tag based one time metering items
	TagBasedOneTimeMeteringItems []*TagBasedOneTimeMeteringItem `json:"tagBasedOneTimeMeteringItems"`

	// tag based rate factor items
	TagBasedRateFactorItems []*TagBasedRateFactorItem `json:"tagBasedRateFactorItems"`
}

MeteringPolicy MeteringPolicy

swagger:model MeteringPolicy

func (*MeteringPolicy) ContextValidate ¶ added in v0.2.20

func (m *MeteringPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metering policy based on the context it is used

func (*MeteringPolicy) MarshalBinary ¶ added in v0.2.8

func (m *MeteringPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MeteringPolicy) UnmarshalBinary ¶ added in v0.2.8

func (m *MeteringPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MeteringPolicy) Validate ¶ added in v0.2.8

func (m *MeteringPolicy) Validate(formats strfmt.Registry) error

Validate validates this metering policy

type MeteringPolicyAssignment ¶ added in v0.2.8

type MeteringPolicyAssignment struct {

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Pricing card assigned entity id
	EntityID string `json:"entityId,omitempty"`

	// Pricing card assigned entity name
	EntityName string `json:"entityName,omitempty"`

	// Pricing card assigned entity type
	// Enum: [ALL PROJECT CLOUDZONE]
	EntityType string `json:"entityType,omitempty"`

	// Id of the pricingCardAssignment
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Updated time
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// OrgId of the pricingCardAssignment
	OrgID string `json:"orgId,omitempty"`

	// Pricing card id
	// Format: uuid
	PricingCardID strfmt.UUID `json:"pricingCardId,omitempty"`

	// Pricing card name
	PricingCardName string `json:"pricingCardName,omitempty"`
}

MeteringPolicyAssignment MeteringPolicyAssignment

Pricing card assignment for project/cloud zone

swagger:model MeteringPolicyAssignment

func (*MeteringPolicyAssignment) ContextValidate ¶ added in v0.2.20

func (m *MeteringPolicyAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metering policy assignment based on context it is used

func (*MeteringPolicyAssignment) MarshalBinary ¶ added in v0.2.8

func (m *MeteringPolicyAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MeteringPolicyAssignment) UnmarshalBinary ¶ added in v0.2.8

func (m *MeteringPolicyAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MeteringPolicyAssignment) Validate ¶ added in v0.2.8

func (m *MeteringPolicyAssignment) Validate(formats strfmt.Registry) error

Validate validates this metering policy assignment

type MeteringPolicyAssignmentInfo ¶ added in v0.2.8

type MeteringPolicyAssignmentInfo struct {

	// count
	Count int32 `json:"count,omitempty"`

	// entity type
	// Enum: [ALL PROJECT CLOUDZONE]
	EntityType string `json:"entityType,omitempty"`
}

MeteringPolicyAssignmentInfo MeteringPolicyAssignmentInfo

swagger:model MeteringPolicyAssignmentInfo

func (*MeteringPolicyAssignmentInfo) ContextValidate ¶ added in v0.2.20

func (m *MeteringPolicyAssignmentInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metering policy assignment info based on context it is used

func (*MeteringPolicyAssignmentInfo) MarshalBinary ¶ added in v0.2.8

func (m *MeteringPolicyAssignmentInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MeteringPolicyAssignmentInfo) UnmarshalBinary ¶ added in v0.2.8

func (m *MeteringPolicyAssignmentInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MeteringPolicyAssignmentInfo) Validate ¶ added in v0.2.8

func (m *MeteringPolicyAssignmentInfo) Validate(formats strfmt.Registry) error

Validate validates this metering policy assignment info

type NamedMetering ¶ added in v0.2.8

type NamedMetering struct {

	// metering
	Metering *Metering `json:"metering,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

NamedMetering NamedMetering

swagger:model NamedMetering

func (*NamedMetering) ContextValidate ¶ added in v0.2.20

func (m *NamedMetering) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this named metering based on the context it is used

func (*NamedMetering) MarshalBinary ¶ added in v0.2.8

func (m *NamedMetering) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NamedMetering) UnmarshalBinary ¶ added in v0.2.8

func (m *NamedMetering) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NamedMetering) Validate ¶ added in v0.2.8

func (m *NamedMetering) Validate(formats strfmt.Registry) error

Validate validates this named metering

type NamedMeteringItem ¶ added in v0.2.8

type NamedMeteringItem struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// named meterings
	NamedMeterings []*NamedMetering `json:"namedMeterings"`
}

NamedMeteringItem NamedMeteringItem

swagger:model NamedMeteringItem

func (*NamedMeteringItem) ContextValidate ¶ added in v0.2.20

func (m *NamedMeteringItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this named metering item based on the context it is used

func (*NamedMeteringItem) MarshalBinary ¶ added in v0.2.8

func (m *NamedMeteringItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NamedMeteringItem) UnmarshalBinary ¶ added in v0.2.8

func (m *NamedMeteringItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NamedMeteringItem) Validate ¶ added in v0.2.8

func (m *NamedMeteringItem) Validate(formats strfmt.Registry) error

Validate validates this named metering item

type NatRule ¶ added in v0.2.14

type NatRule struct {

	// Description of the NAT rule.
	Description string `json:"description,omitempty"`

	// The external IP address of the outbound or routed network
	// Example: any, 10.20.156.101
	// Read Only: true
	DestinationAddress string `json:"destinationAddress,omitempty"`

	// The edge gateway port. Default is `any`
	// Example: any, 80, 5000-5100
	DestinationPorts string `json:"destinationPorts,omitempty"`

	// Index in which the rule must be applied
	// Required: true
	Index *int32 `json:"index"`

	// Kind of NAT: NAT44/NAT64/NAT66. Only NAT44 is supported currently and it is the default value
	// Example: NAT44
	Kind string `json:"kind,omitempty"`

	// The protocol of the incoming requests. Default is TCP.
	// Example: TCP, UDP
	Protocol string `json:"protocol,omitempty"`

	// Unique ID of the NAT Rule
	// Read Only: true
	RuleID string `json:"ruleId,omitempty"`

	// The IP of the external source. Default is `any`
	// Example: any, 10.20.156.101
	SourceIPs string `json:"sourceIPs,omitempty"`

	// Ports from where the request is originating. Default is `any`
	// Example: any, 80, 5000-5100
	SourcePorts string `json:"sourcePorts,omitempty"`

	// A links to target load balancer or a machine's network interface where the request will be forwarded.
	// Example: /iaas/api/load-balancers/try6-45ef, /iaas/api/machines/ht54-a472/network-interfaces/dyd6-d67e
	// Required: true
	TargetLink *string `json:"targetLink"`

	// The machine port where the request will be forwarded. Default is `any`
	// Example: any, 80, 5000-5100
	TranslatedPorts string `json:"translatedPorts,omitempty"`

	// Type of the NAT rule. Only DNAT is supported currently.
	// Example: DNAT
	Type string `json:"type,omitempty"`
}

NatRule NAT Rule

swagger:model NatRule

func (*NatRule) ContextValidate ¶ added in v0.2.20

func (m *NatRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nat rule based on the context it is used

func (*NatRule) MarshalBinary ¶ added in v0.2.14

func (m *NatRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NatRule) UnmarshalBinary ¶ added in v0.2.14

func (m *NatRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NatRule) Validate ¶ added in v0.2.14

func (m *NatRule) Validate(formats strfmt.Registry) error

Validate validates this nat rule

type Network ¶

type Network struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// IPv4 address range of the network in CIDR format
	// Example: 10.10.0.0/16
	// Required: true
	Cidr *string `json:"cidr"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Network The network object is an opaque reference to a logical network that network interfaces are attached to.<br> Based on settings specified by your cloud administrator, it may be a reference to an existing network, or be backed by an on-demand network created for isolation, or a security group that will be attached to machines as part of provisioning.<br> Networks are a limited resource, when it is not needed it should be deleted.<br>**HATEOAS** links:<br>**self** - Network - Self link to this network

swagger:model Network

func (*Network) ContextValidate ¶ added in v0.2.20

func (m *Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network based on the context it is used

func (*Network) MarshalBinary ¶

func (m *Network) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Network) UnmarshalBinary ¶

func (m *Network) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Network) Validate ¶

func (m *Network) Validate(formats strfmt.Registry) error

Validate validates this network

type NetworkDomain ¶

type NetworkDomain struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// IPv4 address range of the network domain in CIDR format
	// Example: 10.0.0.0/8
	// Required: true
	Cidr *string `json:"cidr"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"awsGatewayID\" : \"igw-f9539691\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the network domain.
	// Example: ap-northeast-2
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on this network domain.
	// Example: [ { \"key\" : \"vmware.enumeration.type\", \"value\": \"nec2_vpc\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

NetworkDomain The network domain object is the parent of related subnets that are configured together. Subnets within a domain must have non-overlapping address spaces.<br>**HATEOAS** links:<br>**cloud-accounts** - array[CloudAccount] - List of cloud accounts where this network domain exists.<br>**self** - NetworkDomain - Self link to this network domain

swagger:model NetworkDomain

func (*NetworkDomain) ContextValidate ¶ added in v0.2.20

func (m *NetworkDomain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network domain based on the context it is used

func (*NetworkDomain) MarshalBinary ¶

func (m *NetworkDomain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkDomain) UnmarshalBinary ¶

func (m *NetworkDomain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkDomain) Validate ¶

func (m *NetworkDomain) Validate(formats strfmt.Registry) error

Validate validates this network domain

type NetworkDomainResult ¶

type NetworkDomainResult struct {

	// List of content items
	// Read Only: true
	Content []*NetworkDomain `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

NetworkDomainResult State object representing a query result of network domains.

swagger:model NetworkDomainResult

func (*NetworkDomainResult) ContextValidate ¶ added in v0.2.20

func (m *NetworkDomainResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network domain result based on the context it is used

func (*NetworkDomainResult) MarshalBinary ¶

func (m *NetworkDomainResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkDomainResult) UnmarshalBinary ¶

func (m *NetworkDomainResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkDomainResult) Validate ¶

func (m *NetworkDomainResult) Validate(formats strfmt.Registry) error

Validate validates this network domain result

type NetworkIPRange ¶ added in v0.2.2

type NetworkIPRange struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// End IP address of the range.
	// Required: true
	EndIPAddress *string `json:"endIPAddress"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// IP address version: IPv4 or IPv6. Default: IPv4.
	// Enum: [IPv4 IPv6]
	IPVersion string `json:"ipVersion,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Start IP address of the range.
	// Required: true
	StartIPAddress *string `json:"startIPAddress"`

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"ipv6-range\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

NetworkIPRange State object representing an IP address range for a Fabric Network.<br>**HATEOAS** links:<br>**region** - Region - Region for the network.<br>**self** - NetworkIPRange - Self link to this IP address range

swagger:model NetworkIPRange

func (*NetworkIPRange) ContextValidate ¶ added in v0.2.20

func (m *NetworkIPRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network IP range based on the context it is used

func (*NetworkIPRange) MarshalBinary ¶ added in v0.2.2

func (m *NetworkIPRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkIPRange) UnmarshalBinary ¶ added in v0.2.2

func (m *NetworkIPRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkIPRange) Validate ¶ added in v0.2.2

func (m *NetworkIPRange) Validate(formats strfmt.Registry) error

Validate validates this network IP range

type NetworkIPRangeResult ¶ added in v0.2.2

type NetworkIPRangeResult struct {

	// List of content items
	// Read Only: true
	Content []*NetworkIPRange `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

NetworkIPRangeResult State object representing a query result of network IP range.

swagger:model NetworkIPRangeResult

func (*NetworkIPRangeResult) ContextValidate ¶ added in v0.2.20

func (m *NetworkIPRangeResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network IP range result based on the context it is used

func (*NetworkIPRangeResult) MarshalBinary ¶ added in v0.2.2

func (m *NetworkIPRangeResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkIPRangeResult) UnmarshalBinary ¶ added in v0.2.2

func (m *NetworkIPRangeResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkIPRangeResult) Validate ¶ added in v0.2.2

func (m *NetworkIPRangeResult) Validate(formats strfmt.Registry) error

Validate validates this network IP range result

type NetworkIPRangeSpecification ¶ added in v0.2.2

type NetworkIPRangeSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// End IP address of the range.
	// Required: true
	EndIPAddress *string `json:"endIPAddress"`

	// Deprecated. Use 'fabricNetworkIds'.
	FabricNetworkID string `json:"fabricNetworkId,omitempty"`

	// A list of fabric network Ids that this IP range should be associated with.
	FabricNetworkIds []string `json:"fabricNetworkIds"`

	// IP address version: IPv4 or IPv6. Default: IPv4.
	// Enum: [IPv4 IPv6]
	IPVersion string `json:"ipVersion,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Start IP address of the range.
	// Required: true
	StartIPAddress *string `json:"startIPAddress"`

	// A set of tag keys and optional values that were set on this resource instance.
	// Example: [ { \"key\" : \"fast-network\", \"value\": \"true\" } ]
	Tags []*Tag `json:"tags"`
}

NetworkIPRangeSpecification Specification for creating or updating a NetworkIPRange

swagger:model NetworkIPRangeSpecification

func (*NetworkIPRangeSpecification) ContextValidate ¶ added in v0.2.20

func (m *NetworkIPRangeSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network IP range specification based on the context it is used

func (*NetworkIPRangeSpecification) MarshalBinary ¶ added in v0.2.2

func (m *NetworkIPRangeSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkIPRangeSpecification) UnmarshalBinary ¶ added in v0.2.2

func (m *NetworkIPRangeSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkIPRangeSpecification) Validate ¶ added in v0.2.2

func (m *NetworkIPRangeSpecification) Validate(formats strfmt.Registry) error

Validate validates this network IP range specification

type NetworkInterface ¶

type NetworkInterface struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// A list of IP addresses allocated or in use by this network interface.
	// Example: [ \"10.1.2.190\" ]
	Addresses []string `json:"addresses"`

	// Set of ids of the cloud accounts this entity belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"awaitIp\" : \"true\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The device index of this network interface.
	// Example: 1
	DeviceIndex int32 `json:"deviceIndex,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the network interface.
	// Example: ap-northeast-2
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A list of security group ids this network interface is associated with
	SecurityGroupIds []string `json:"securityGroupIds"`

	// A set of tag keys and optional values that were set on this network interface.
	// Example: [ { \"key\" : \"vmware.enumeration.type\", \"value\": \"nec2_net_interface\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

NetworkInterface Represents a network interface.<br>**HATEOAS** links:<br>**cloud-accounts** - array[CloudAccount] - List of cloud accounts where this network domain exists.<br>**security-groups** - array[SecurityGroup] - List of security groups for this network interface.<br>**self** - NetworkInterface - Self link to this network interface

swagger:model NetworkInterface

func (*NetworkInterface) ContextValidate ¶ added in v0.2.20

func (m *NetworkInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network interface based on the context it is used

func (*NetworkInterface) MarshalBinary ¶

func (m *NetworkInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterface) UnmarshalBinary ¶

func (m *NetworkInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterface) Validate ¶

func (m *NetworkInterface) Validate(formats strfmt.Registry) error

Validate validates this network interface

type NetworkInterfaceSpecification ¶

type NetworkInterfaceSpecification struct {

	// A list of IP addresses allocated or in use by this network interface.
	// Example: [ \"10.1.2.190\" ]
	Addresses []string `json:"addresses"`

	// Additional properties that may be used to extend the base type.
	// Example: { \"awaitIp\" : \"true\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// The device index of this network interface.
	// Example: 1
	DeviceIndex int32 `json:"deviceIndex,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// Id of the network instance that this network interface plugs into.
	// Example: dcd9
	// Required: true
	NetworkID *string `json:"networkId"`

	// A list of security group ids which this network interface will be assigned to.
	SecurityGroupIds []string `json:"securityGroupIds"`
}

NetworkInterfaceSpecification Specification for attaching nic to machine

swagger:model NetworkInterfaceSpecification

func (*NetworkInterfaceSpecification) ContextValidate ¶ added in v0.2.20

func (m *NetworkInterfaceSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network interface specification based on context it is used

func (*NetworkInterfaceSpecification) MarshalBinary ¶

func (m *NetworkInterfaceSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInterfaceSpecification) UnmarshalBinary ¶

func (m *NetworkInterfaceSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInterfaceSpecification) Validate ¶

func (m *NetworkInterfaceSpecification) Validate(formats strfmt.Registry) error

Validate validates this network interface specification

type NetworkProfile ¶

type NetworkProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the Network Profile object that is produced from this specification.  For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router.  onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
	// Example: { \"resourcePoolId\" : \"resource-pool-1\", \"datastoreId\" : \"StoragePod:group-p87839\", \"computeCluster\" : \"/resources/compute/1234\", \"distributedLogicalRouterStateLink\" : \"/resources/routers/1234\", \"onDemandNetworkIPAssignmentType\" : \"dynamic\"}
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of the region for which this profile is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// The CIDR prefix length to be used for the isolated networks that are created with the network profile.
	IsolatedNetworkCIDRPrefix int32 `json:"isolatedNetworkCIDRPrefix,omitempty"`

	// CIDR of the isolation network domain.
	IsolationNetworkDomainCIDR string `json:"isolationNetworkDomainCIDR,omitempty"`

	// Specifies the isolation type e.g. none, subnet or security group
	// Enum: [NONE SUBNET SECURITY_GROUP]
	IsolationType string `json:"isolationType,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// A set of tag keys and optional values that were set on this Network Profile.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

NetworkProfile Represents a network Profile.<br>**HATEOAS** links:<br>**fabric-networks** - array[FabricNetwork] - Fabric networks defined in this profile.<br>**security-groups** - array[SecurityGroup] - List of security groups for this profile.<br>**network-domains** - array[NetworkDomain] - List of network domains for this profile.<br>**isolated-external-fabric-networks** - array[FabricNetwork] - Isolated external fabric networks in this profile.<br>**self** - NetowrkProfile - Self link to this network profile

swagger:model NetworkProfile

func (*NetworkProfile) ContextValidate ¶ added in v0.2.20

func (m *NetworkProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network profile based on the context it is used

func (*NetworkProfile) MarshalBinary ¶

func (m *NetworkProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkProfile) UnmarshalBinary ¶

func (m *NetworkProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkProfile) Validate ¶

func (m *NetworkProfile) Validate(formats strfmt.Registry) error

Validate validates this network profile

type NetworkProfileResult ¶

type NetworkProfileResult struct {

	// List of content items
	// Read Only: true
	Content []*NetworkProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

NetworkProfileResult State object representing a query result of network profiles.

swagger:model NetworkProfileResult

func (*NetworkProfileResult) ContextValidate ¶ added in v0.2.20

func (m *NetworkProfileResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network profile result based on the context it is used

func (*NetworkProfileResult) MarshalBinary ¶

func (m *NetworkProfileResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkProfileResult) UnmarshalBinary ¶

func (m *NetworkProfileResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkProfileResult) Validate ¶

func (m *NetworkProfileResult) Validate(formats strfmt.Registry) error

Validate validates this network profile result

type NetworkProfileSpecification ¶

type NetworkProfileSpecification struct {

	// Additional properties that may be used to extend the Network Profile object that is produced from this specification.  For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router.  onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
	// Example: { \"resourcePoolId\" : \"resource-pool-1\", \"datastoreId\" : \"StoragePod:group-p87839\", \"computeCluster\" : \"/resources/compute/1234\", \"distributedLogicalRouterStateLink\" : \"/resources/routers/1234\", \"onDemandNetworkIPAssignmentType\" : \"dynamic\"}
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// List of external IP blocks coming from an external IPAM provider that can be used to create subnetworks inside them
	// Example: [\"3e2bb9bc-6a6a-11ea-bc55-0242ac130003\"]
	ExternalIPBlockIds []string `json:"externalIpBlockIds"`

	// A list of fabric network Ids which are assigned to the network profile.
	// Example: [ \"6543\" ]
	FabricNetworkIds []string `json:"fabricNetworkIds"`

	// The CIDR prefix length to be used for the isolated networks that are created with the network profile.
	// Example: 24
	IsolatedNetworkCIDRPrefix int32 `json:"isolatedNetworkCIDRPrefix,omitempty"`

	// The Id of the fabric network used for outbound access.
	// Example: 1234
	IsolationExternalFabricNetworkID string `json:"isolationExternalFabricNetworkId,omitempty"`

	// CIDR of the isolation network domain.
	// Example: 10.10.10.0/24
	IsolationNetworkDomainCIDR string `json:"isolationNetworkDomainCIDR,omitempty"`

	// The Id of the network domain used for creating isolated networks.
	// Example: 1234
	IsolationNetworkDomainID string `json:"isolationNetworkDomainId,omitempty"`

	// Specifies the isolation type e.g. none, subnet or security group
	// Example: SUBNET
	// Enum: [NONE SUBNET SECURITY_GROUP]
	IsolationType string `json:"isolationType,omitempty"`

	// A list of load balancers which are assigned to the network profile.
	// Example: [ \"6545\" ]
	LoadBalancerIds []string `json:"loadBalancerIds"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The Id of the region for which this profile is created
	// Example: 9e49
	// Required: true
	RegionID *string `json:"regionId"`

	// A list of security group Ids which are assigned to the network profile.
	// Example: [ \"6545\" ]
	SecurityGroupIds []string `json:"securityGroupIds"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"dev\", \"value\": \"hard\" } ]
	Tags []*Tag `json:"tags"`
}

NetworkProfileSpecification network profile specification

swagger:model NetworkProfileSpecification

func (*NetworkProfileSpecification) ContextValidate ¶ added in v0.2.20

func (m *NetworkProfileSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network profile specification based on the context it is used

func (*NetworkProfileSpecification) MarshalBinary ¶

func (m *NetworkProfileSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkProfileSpecification) UnmarshalBinary ¶

func (m *NetworkProfileSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkProfileSpecification) Validate ¶

func (m *NetworkProfileSpecification) Validate(formats strfmt.Registry) error

Validate validates this network profile specification

type NetworkResult ¶

type NetworkResult struct {

	// List of content items
	// Read Only: true
	Content []*Network `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

NetworkResult State object representing a query result of networks.

swagger:model NetworkResult

func (*NetworkResult) ContextValidate ¶ added in v0.2.20

func (m *NetworkResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network result based on the context it is used

func (*NetworkResult) MarshalBinary ¶

func (m *NetworkResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkResult) UnmarshalBinary ¶

func (m *NetworkResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkResult) Validate ¶

func (m *NetworkResult) Validate(formats strfmt.Registry) error

Validate validates this network result

type NetworkSpecification ¶

type NetworkSpecification struct {

	// Constraints that are used to drive placement policies for the network that is produced from this specification, related with the network profile. Constraint expressions are matched against tags on existing placement targets.
	// Example: [{\"mandatory\" : \"true\", \"expression\": \"environment\":\"prod\"}, {\"mandatory\" : \"false\", \"expression\": \"pci\"}]
	Constraints []*Constraint `json:"constraints"`

	// Flag to indicate if the network creation should create a gateway. Default is true.
	// Example: true
	CreateGateway bool `json:"createGateway,omitempty"`

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Flag to indicate if the network needs to have outbound access or not. Default is true. This field will be ignored if there is proper input for networkType customProperty
	// Example: true
	OutboundAccess bool `json:"outboundAccess,omitempty"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"vmware.enumeration.type\", \"value\": \"nec2_vpc\" } ]
	Tags []*Tag `json:"tags"`
}

NetworkSpecification Specification for a cloud network

swagger:model NetworkSpecification

func (*NetworkSpecification) ContextValidate ¶ added in v0.2.20

func (m *NetworkSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network specification based on the context it is used

func (*NetworkSpecification) MarshalBinary ¶

func (m *NetworkSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkSpecification) UnmarshalBinary ¶

func (m *NetworkSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkSpecification) Validate ¶

func (m *NetworkSpecification) Validate(formats strfmt.Registry) error

Validate validates this network specification

type Notification ¶ added in v0.2.22

type Notification interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The event on which this Notification is triggered.
	// Example: COMPLETED
	EventGroup() string
	SetEventGroup(string)

	// Only for Jira. Contains the Jira issue ID for creating a ticket.
	// Example: {"ID":"VRCS-23","link":"/link/to/Jira/issue/VRCS-23"}
	JiraResponse() map[string]string
	SetJiraResponse(map[string]string)

	// Mode of transmission of this Notification.
	// Example: Email/Slack/Jira
	ProviderType() string
	SetProviderType(string)

	// Only for Jira/Webhook. Specifies any HTTP response code received from any REST calls related to the Notification.
	// Example: 200
	ResponseCode() string
	SetResponseCode(string)

	// Only for Jira/Webhook. Specifies any HTTP response message received from any REST calls related to the Notification.
	// Example: 200
	ResponseMessage() string
	SetResponseMessage(string)

	// Stage that this Notification belongs to.
	Stage() string
	SetStage(string)

	// Flag that represents if the Notification was successfully posted or not.
	// Example: true
	Success() bool
	SetSuccess(bool)

	// Task that this Notification belongs to.
	Task() string
	SetTask(string)
}

Notification Notification

Notifications are ways to communicate with your teams and let them know the status of your Pipelines in Code Stream.

swagger:discriminator Notification Notifications are ways to communicate with your teams and let them know the status of your Pipelines in Code Stream.

func UnmarshalNotification ¶ added in v0.2.22

func UnmarshalNotification(reader io.Reader, consumer runtime.Consumer) (Notification, error)

UnmarshalNotification unmarshals polymorphic Notification

func UnmarshalNotificationSlice ¶ added in v0.2.22

func UnmarshalNotificationSlice(reader io.Reader, consumer runtime.Consumer) ([]Notification, error)

UnmarshalNotificationSlice unmarshals polymorphic slices of Notification

type NotificationConfiguration ¶ added in v0.2.22

type NotificationConfiguration interface {
	runtime.Validatable
	runtime.ContextValidatable

	Email() []EmailEventConfig
	SetEmail([]EmailEventConfig)

	Jira() []JiraEventConfig
	SetJira([]JiraEventConfig)

	Webhook() []WebhookEventConfig
	SetWebhook([]WebhookEventConfig)
}

NotificationConfiguration NotificationConfiguration

Represents collection of different Event configurations.

swagger:discriminator NotificationConfiguration Represents collection of different Event configurations.

func UnmarshalNotificationConfiguration ¶ added in v0.2.22

func UnmarshalNotificationConfiguration(reader io.Reader, consumer runtime.Consumer) (NotificationConfiguration, error)

UnmarshalNotificationConfiguration unmarshals polymorphic NotificationConfiguration

func UnmarshalNotificationConfigurationSlice ¶ added in v0.2.22

func UnmarshalNotificationConfigurationSlice(reader io.Reader, consumer runtime.Consumer) ([]NotificationConfiguration, error)

UnmarshalNotificationConfigurationSlice unmarshals polymorphic slices of NotificationConfiguration

type NsxAccount ¶ added in v0.2.18

type NsxAccount struct {

	// host name
	HostName string `json:"hostName,omitempty"`

	// id
	ID string `json:"id,omitempty"`
}

NsxAccount NsxAccount

swagger:model NsxAccount

func (*NsxAccount) ContextValidate ¶ added in v0.2.20

func (m *NsxAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nsx account based on context it is used

func (*NsxAccount) MarshalBinary ¶ added in v0.2.18

func (m *NsxAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NsxAccount) UnmarshalBinary ¶ added in v0.2.18

func (m *NsxAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NsxAccount) Validate ¶ added in v0.2.18

func (m *NsxAccount) Validate(formats strfmt.Registry) error

Validate validates this nsx account

type OneTimeMetering ¶ added in v0.2.8

type OneTimeMetering struct {

	// one time fixed price
	OneTimeFixedPrice float64 `json:"oneTimeFixedPrice,omitempty"`
}

OneTimeMetering OneTimeMetering

swagger:model OneTimeMetering

func (*OneTimeMetering) ContextValidate ¶ added in v0.2.20

func (m *OneTimeMetering) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this one time metering based on context it is used

func (*OneTimeMetering) MarshalBinary ¶ added in v0.2.8

func (m *OneTimeMetering) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OneTimeMetering) UnmarshalBinary ¶ added in v0.2.8

func (m *OneTimeMetering) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OneTimeMetering) Validate ¶ added in v0.2.8

func (m *OneTimeMetering) Validate(formats strfmt.Registry) error

Validate validates this one time metering

type OneTimeMeteringItem ¶ added in v0.2.8

type OneTimeMeteringItem struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// one time metering
	OneTimeMetering *OneTimeMetering `json:"oneTimeMetering,omitempty"`
}

OneTimeMeteringItem OneTimeMeteringItem

swagger:model OneTimeMeteringItem

func (*OneTimeMeteringItem) ContextValidate ¶ added in v0.2.20

func (m *OneTimeMeteringItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this one time metering item based on the context it is used

func (*OneTimeMeteringItem) MarshalBinary ¶ added in v0.2.8

func (m *OneTimeMeteringItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OneTimeMeteringItem) UnmarshalBinary ¶ added in v0.2.8

func (m *OneTimeMeteringItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OneTimeMeteringItem) Validate ¶ added in v0.2.8

func (m *OneTimeMeteringItem) Validate(formats strfmt.Registry) error

Validate validates this one time metering item

type OutputValue ¶ added in v0.2.18

type OutputValue struct {

	// The description of the output value in the Terraform configuration.
	Description string `json:"description,omitempty"`

	// The name of the output value in the Terraform configuration.
	Name string `json:"name,omitempty"`

	// A flag indicating that the field should be obscured because of security concerns.
	Sensitive bool `json:"sensitive,omitempty"`
}

OutputValue OutputValue

swagger:model OutputValue

func (*OutputValue) ContextValidate ¶ added in v0.2.20

func (m *OutputValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this output value based on context it is used

func (*OutputValue) MarshalBinary ¶ added in v0.2.18

func (m *OutputValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OutputValue) UnmarshalBinary ¶ added in v0.2.18

func (m *OutputValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OutputValue) Validate ¶ added in v0.2.18

func (m *OutputValue) Validate(formats strfmt.Registry) error

Validate validates this output value

type Page ¶

type Page struct {

	// Count of the deployments
	TotalElements int64 `json:"totalElements,omitempty"`
}

Page Page

Project callback response containing count of deployments ¶

swagger:model Page

func (*Page) ContextValidate ¶ added in v0.2.20

func (m *Page) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this page based on context it is used

func (*Page) MarshalBinary ¶

func (m *Page) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Page) UnmarshalBinary ¶

func (m *Page) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Page) Validate ¶

func (m *Page) Validate(formats strfmt.Registry) error

Validate validates this page

type PageMetadata ¶ added in v0.2.7

type PageMetadata struct {

	// number
	Number int64 `json:"number,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int64 `json:"totalPages,omitempty"`
}

PageMetadata PageMetadata

swagger:model PageMetadata

func (*PageMetadata) ContextValidate ¶ added in v0.2.20

func (m *PageMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this page metadata based on context it is used

func (*PageMetadata) MarshalBinary ¶ added in v0.2.7

func (m *PageMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageMetadata) UnmarshalBinary ¶ added in v0.2.7

func (m *PageMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageMetadata) Validate ¶ added in v0.2.7

func (m *PageMetadata) Validate(formats strfmt.Registry) error

Validate validates this page metadata

type PageOfBlueprint ¶ added in v0.2.0

type PageOfBlueprint struct {

	// content
	Content []*Blueprint `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfBlueprint PageOfBlueprint

swagger:model PageOfBlueprint

func (*PageOfBlueprint) ContextValidate ¶ added in v0.2.20

func (m *PageOfBlueprint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of blueprint based on the context it is used

func (*PageOfBlueprint) MarshalBinary ¶ added in v0.2.0

func (m *PageOfBlueprint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfBlueprint) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfBlueprint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfBlueprint) Validate ¶ added in v0.2.0

func (m *PageOfBlueprint) Validate(formats strfmt.Registry) error

Validate validates this page of blueprint

type PageOfBlueprintContentSource ¶ added in v0.2.18

type PageOfBlueprintContentSource struct {

	// content
	Content []*BlueprintContentSource `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfBlueprintContentSource PageOfContentSource

swagger:model PageOfBlueprintContentSource

func (*PageOfBlueprintContentSource) ContextValidate ¶ added in v0.2.20

func (m *PageOfBlueprintContentSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of blueprint content source based on the context it is used

func (*PageOfBlueprintContentSource) MarshalBinary ¶ added in v0.2.18

func (m *PageOfBlueprintContentSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfBlueprintContentSource) UnmarshalBinary ¶ added in v0.2.18

func (m *PageOfBlueprintContentSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfBlueprintContentSource) Validate ¶ added in v0.2.18

func (m *PageOfBlueprintContentSource) Validate(formats strfmt.Registry) error

Validate validates this page of blueprint content source

type PageOfBlueprintRequest ¶ added in v0.2.0

type PageOfBlueprintRequest struct {

	// content
	Content []*BlueprintRequest `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfBlueprintRequest PageOfBlueprintRequest

swagger:model PageOfBlueprintRequest

func (*PageOfBlueprintRequest) ContextValidate ¶ added in v0.2.20

func (m *PageOfBlueprintRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of blueprint request based on the context it is used

func (*PageOfBlueprintRequest) MarshalBinary ¶ added in v0.2.0

func (m *PageOfBlueprintRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfBlueprintRequest) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfBlueprintRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfBlueprintRequest) Validate ¶ added in v0.2.0

func (m *PageOfBlueprintRequest) Validate(formats strfmt.Registry) error

Validate validates this page of blueprint request

type PageOfBlueprintVersion ¶ added in v0.2.0

type PageOfBlueprintVersion struct {

	// content
	Content []*BlueprintVersion `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfBlueprintVersion PageOfBlueprintVersion

swagger:model PageOfBlueprintVersion

func (*PageOfBlueprintVersion) ContextValidate ¶ added in v0.2.20

func (m *PageOfBlueprintVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of blueprint version based on the context it is used

func (*PageOfBlueprintVersion) MarshalBinary ¶ added in v0.2.0

func (m *PageOfBlueprintVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfBlueprintVersion) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfBlueprintVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfBlueprintVersion) Validate ¶ added in v0.2.0

func (m *PageOfBlueprintVersion) Validate(formats strfmt.Registry) error

Validate validates this page of blueprint version

type PageOfCatalogItem ¶ added in v0.2.0

type PageOfCatalogItem struct {

	// content
	Content []*CatalogItem `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfCatalogItem PageOfCatalogItem

swagger:model PageOfCatalogItem

func (*PageOfCatalogItem) ContextValidate ¶ added in v0.2.20

func (m *PageOfCatalogItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of catalog item based on the context it is used

func (*PageOfCatalogItem) MarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfCatalogItem) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfCatalogItem) Validate ¶ added in v0.2.0

func (m *PageOfCatalogItem) Validate(formats strfmt.Registry) error

Validate validates this page of catalog item

type PageOfCatalogItemType ¶ added in v0.2.0

type PageOfCatalogItemType struct {

	// content
	Content []*CatalogItemType `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfCatalogItemType PageOfCatalogItemType

swagger:model PageOfCatalogItemType

func (*PageOfCatalogItemType) ContextValidate ¶ added in v0.2.20

func (m *PageOfCatalogItemType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of catalog item type based on the context it is used

func (*PageOfCatalogItemType) MarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogItemType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfCatalogItemType) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogItemType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfCatalogItemType) Validate ¶ added in v0.2.0

func (m *PageOfCatalogItemType) Validate(formats strfmt.Registry) error

Validate validates this page of catalog item type

type PageOfCatalogItemVersion ¶ added in v0.2.0

type PageOfCatalogItemVersion struct {

	// content
	Content []*CatalogItemVersion `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfCatalogItemVersion PageOfCatalogItemVersion

swagger:model PageOfCatalogItemVersion

func (*PageOfCatalogItemVersion) ContextValidate ¶ added in v0.2.20

func (m *PageOfCatalogItemVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of catalog item version based on the context it is used

func (*PageOfCatalogItemVersion) MarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogItemVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfCatalogItemVersion) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogItemVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfCatalogItemVersion) Validate ¶ added in v0.2.0

func (m *PageOfCatalogItemVersion) Validate(formats strfmt.Registry) error

Validate validates this page of catalog item version

type PageOfCatalogSource ¶ added in v0.2.0

type PageOfCatalogSource struct {

	// content
	Content []*CatalogSource `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfCatalogSource PageOfCatalogSource

swagger:model PageOfCatalogSource

func (*PageOfCatalogSource) ContextValidate ¶ added in v0.2.20

func (m *PageOfCatalogSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of catalog source based on the context it is used

func (*PageOfCatalogSource) MarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfCatalogSource) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfCatalogSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfCatalogSource) Validate ¶ added in v0.2.0

func (m *PageOfCatalogSource) Validate(formats strfmt.Registry) error

Validate validates this page of catalog source

type PageOfCommitDetails ¶ added in v0.2.18

type PageOfCommitDetails struct {

	// content
	Content []*CommitDetails `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfCommitDetails PageOfCommitDetails

swagger:model PageOfCommitDetails

func (*PageOfCommitDetails) ContextValidate ¶ added in v0.2.20

func (m *PageOfCommitDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of commit details based on the context it is used

func (*PageOfCommitDetails) MarshalBinary ¶ added in v0.2.18

func (m *PageOfCommitDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfCommitDetails) UnmarshalBinary ¶ added in v0.2.18

func (m *PageOfCommitDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfCommitDetails) Validate ¶ added in v0.2.18

func (m *PageOfCommitDetails) Validate(formats strfmt.Registry) error

Validate validates this page of commit details

type PageOfDeployment ¶

type PageOfDeployment struct {

	// content
	Content []*Deployment `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfDeployment PageOfDeployment

swagger:model PageOfDeployment

func (*PageOfDeployment) ContextValidate ¶ added in v0.2.20

func (m *PageOfDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of deployment based on the context it is used

func (*PageOfDeployment) MarshalBinary ¶

func (m *PageOfDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfDeployment) UnmarshalBinary ¶

func (m *PageOfDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfDeployment) Validate ¶

func (m *PageOfDeployment) Validate(formats strfmt.Registry) error

Validate validates this page of deployment

type PageOfDeploymentResource ¶ added in v0.2.21

type PageOfDeploymentResource struct {

	// content
	Content []*DeploymentResource `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfDeploymentResource PageOfDeploymentResource

swagger:model PageOfDeploymentResource

func (*PageOfDeploymentResource) ContextValidate ¶ added in v0.2.21

func (m *PageOfDeploymentResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of deployment resource based on the context it is used

func (*PageOfDeploymentResource) MarshalBinary ¶ added in v0.2.21

func (m *PageOfDeploymentResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfDeploymentResource) UnmarshalBinary ¶ added in v0.2.21

func (m *PageOfDeploymentResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfDeploymentResource) Validate ¶ added in v0.2.21

func (m *PageOfDeploymentResource) Validate(formats strfmt.Registry) error

Validate validates this page of deployment resource

type PageOfDeploymentResourceType ¶ added in v0.2.18

type PageOfDeploymentResourceType struct {

	// content
	Content []*DeploymentResourceType `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfDeploymentResourceType PageOfResourceType

swagger:model PageOfDeploymentResourceType

func (*PageOfDeploymentResourceType) ContextValidate ¶ added in v0.2.20

func (m *PageOfDeploymentResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of deployment resource type based on the context it is used

func (*PageOfDeploymentResourceType) MarshalBinary ¶ added in v0.2.18

func (m *PageOfDeploymentResourceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfDeploymentResourceType) UnmarshalBinary ¶ added in v0.2.18

func (m *PageOfDeploymentResourceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfDeploymentResourceType) Validate ¶ added in v0.2.18

func (m *PageOfDeploymentResourceType) Validate(formats strfmt.Registry) error

Validate validates this page of deployment resource type

type PageOfEvent ¶ added in v0.2.18

type PageOfEvent struct {

	// content
	Content []*Event `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfEvent PageOfEvent

swagger:model PageOfEvent

func (*PageOfEvent) ContextValidate ¶ added in v0.2.20

func (m *PageOfEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of event based on the context it is used

func (*PageOfEvent) MarshalBinary ¶ added in v0.2.18

func (m *PageOfEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfEvent) UnmarshalBinary ¶ added in v0.2.18

func (m *PageOfEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfEvent) Validate ¶ added in v0.2.18

func (m *PageOfEvent) Validate(formats strfmt.Registry) error

Validate validates this page of event

type PageOfFilterEntry ¶

type PageOfFilterEntry struct {

	// content
	Content []*FilterEntry `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfFilterEntry PageOfFilterEntry

swagger:model PageOfFilterEntry

func (*PageOfFilterEntry) ContextValidate ¶ added in v0.2.20

func (m *PageOfFilterEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of filter entry based on the context it is used

func (*PageOfFilterEntry) MarshalBinary ¶

func (m *PageOfFilterEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfFilterEntry) UnmarshalBinary ¶

func (m *PageOfFilterEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfFilterEntry) Validate ¶

func (m *PageOfFilterEntry) Validate(formats strfmt.Registry) error

Validate validates this page of filter entry

type PageOfMeteringPolicy ¶ added in v0.2.8

type PageOfMeteringPolicy struct {

	// content
	Content []*MeteringPolicy `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfMeteringPolicy PageOfMeteringPolicy

swagger:model PageOfMeteringPolicy

func (*PageOfMeteringPolicy) ContextValidate ¶ added in v0.2.20

func (m *PageOfMeteringPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of metering policy based on the context it is used

func (*PageOfMeteringPolicy) MarshalBinary ¶ added in v0.2.8

func (m *PageOfMeteringPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfMeteringPolicy) UnmarshalBinary ¶ added in v0.2.8

func (m *PageOfMeteringPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfMeteringPolicy) Validate ¶ added in v0.2.8

func (m *PageOfMeteringPolicy) Validate(formats strfmt.Registry) error

Validate validates this page of metering policy

type PageOfMeteringPolicyAssignment ¶ added in v0.2.8

type PageOfMeteringPolicyAssignment struct {

	// content
	Content []*MeteringPolicyAssignment `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfMeteringPolicyAssignment PageOfMeteringPolicyAssignment

swagger:model PageOfMeteringPolicyAssignment

func (*PageOfMeteringPolicyAssignment) ContextValidate ¶ added in v0.2.20

func (m *PageOfMeteringPolicyAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of metering policy assignment based on the context it is used

func (*PageOfMeteringPolicyAssignment) MarshalBinary ¶ added in v0.2.8

func (m *PageOfMeteringPolicyAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfMeteringPolicyAssignment) UnmarshalBinary ¶ added in v0.2.8

func (m *PageOfMeteringPolicyAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfMeteringPolicyAssignment) Validate ¶ added in v0.2.8

func (m *PageOfMeteringPolicyAssignment) Validate(formats strfmt.Registry) error

Validate validates this page of metering policy assignment

type PageOfPolicy ¶ added in v0.2.0

type PageOfPolicy struct {

	// content
	Content []*Policy `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfPolicy PageOfPolicy

swagger:model PageOfPolicy

func (*PageOfPolicy) ContextValidate ¶ added in v0.2.20

func (m *PageOfPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of policy based on the context it is used

func (*PageOfPolicy) MarshalBinary ¶ added in v0.2.0

func (m *PageOfPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfPolicy) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfPolicy) Validate ¶ added in v0.2.0

func (m *PageOfPolicy) Validate(formats strfmt.Registry) error

Validate validates this page of policy

type PageOfPolicyDecisionOfObjectNode ¶ added in v0.2.0

type PageOfPolicyDecisionOfObjectNode struct {

	// content
	Content []*PolicyDecisionOfObjectNode `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfPolicyDecisionOfObjectNode PageOfPolicyDecisionOfObjectNode

swagger:model PageOfPolicyDecisionOfObjectNode

func (*PageOfPolicyDecisionOfObjectNode) ContextValidate ¶ added in v0.2.20

func (m *PageOfPolicyDecisionOfObjectNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of policy decision of object node based on the context it is used

func (*PageOfPolicyDecisionOfObjectNode) MarshalBinary ¶ added in v0.2.0

func (m *PageOfPolicyDecisionOfObjectNode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfPolicyDecisionOfObjectNode) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfPolicyDecisionOfObjectNode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfPolicyDecisionOfObjectNode) Validate ¶ added in v0.2.0

Validate validates this page of policy decision of object node

type PageOfPolicyType ¶ added in v0.2.0

type PageOfPolicyType struct {

	// content
	Content []*PolicyType `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfPolicyType PageOfPolicyType

swagger:model PageOfPolicyType

func (*PageOfPolicyType) ContextValidate ¶ added in v0.2.20

func (m *PageOfPolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of policy type based on the context it is used

func (*PageOfPolicyType) MarshalBinary ¶ added in v0.2.0

func (m *PageOfPolicyType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfPolicyType) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfPolicyType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfPolicyType) Validate ¶ added in v0.2.0

func (m *PageOfPolicyType) Validate(formats strfmt.Registry) error

Validate validates this page of policy type

type PageOfProjects ¶ added in v0.2.22

type PageOfProjects struct {

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// pageable
	Pageable *Pageable `json:"pageable,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
	// contains filtered or unexported fields
}

PageOfProjects PageOfProjects

swagger:model PageOfProjects

func (*PageOfProjects) Content ¶ added in v0.2.22

func (m *PageOfProjects) Content() []Project

Content gets the content of this base type

func (*PageOfProjects) ContextValidate ¶ added in v0.2.22

func (m *PageOfProjects) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of projects based on the context it is used

func (*PageOfProjects) MarshalBinary ¶ added in v0.2.22

func (m *PageOfProjects) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (PageOfProjects) MarshalJSON ¶ added in v0.3.0

func (m PageOfProjects) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*PageOfProjects) SetContent ¶ added in v0.3.0

func (m *PageOfProjects) SetContent(val []Project)

SetContent sets the content of this base type

func (*PageOfProjects) UnmarshalBinary ¶ added in v0.2.22

func (m *PageOfProjects) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfProjects) UnmarshalJSON ¶ added in v0.3.0

func (m *PageOfProjects) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*PageOfProjects) Validate ¶ added in v0.2.22

func (m *PageOfProjects) Validate(formats strfmt.Registry) error

Validate validates this page of projects

type PageOfPropertyGroup ¶ added in v0.2.21

type PageOfPropertyGroup struct {

	// content
	Content []*PropertyGroup `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfPropertyGroup PageOfPropertyGroup

swagger:model PageOfPropertyGroup

func (*PageOfPropertyGroup) ContextValidate ¶ added in v0.2.21

func (m *PageOfPropertyGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of property group based on the context it is used

func (*PageOfPropertyGroup) MarshalBinary ¶ added in v0.2.21

func (m *PageOfPropertyGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfPropertyGroup) UnmarshalBinary ¶ added in v0.2.21

func (m *PageOfPropertyGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfPropertyGroup) Validate ¶ added in v0.2.21

func (m *PageOfPropertyGroup) Validate(formats strfmt.Registry) error

Validate validates this page of property group

type PageOfRequest ¶ added in v0.2.18

type PageOfRequest struct {

	// content
	Content []*Request `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfRequest PageOfRequest

swagger:model PageOfRequest

func (*PageOfRequest) ContextValidate ¶ added in v0.2.20

func (m *PageOfRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of request based on the context it is used

func (*PageOfRequest) MarshalBinary ¶ added in v0.2.18

func (m *PageOfRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfRequest) UnmarshalBinary ¶ added in v0.2.18

func (m *PageOfRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfRequest) Validate ¶ added in v0.2.18

func (m *PageOfRequest) Validate(formats strfmt.Registry) error

Validate validates this page of request

type PageOfResource ¶

type PageOfResource struct {

	// content
	Content []*Resource `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfResource PageOfResource

swagger:model PageOfResource

func (*PageOfResource) ContextValidate ¶ added in v0.2.20

func (m *PageOfResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of resource based on the context it is used

func (*PageOfResource) MarshalBinary ¶

func (m *PageOfResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfResource) UnmarshalBinary ¶

func (m *PageOfResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfResource) Validate ¶

func (m *PageOfResource) Validate(formats strfmt.Registry) error

Validate validates this page of resource

type PageOfResourceType ¶ added in v0.2.0

type PageOfResourceType struct {

	// content
	Content []*ResourceType `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfResourceType PageOfResourceType

swagger:model PageOfResourceType

func (*PageOfResourceType) ContextValidate ¶ added in v0.2.20

func (m *PageOfResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of resource type based on the context it is used

func (*PageOfResourceType) MarshalBinary ¶ added in v0.2.0

func (m *PageOfResourceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfResourceType) UnmarshalBinary ¶ added in v0.2.0

func (m *PageOfResourceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfResourceType) Validate ¶ added in v0.2.0

func (m *PageOfResourceType) Validate(formats strfmt.Registry) error

Validate validates this page of resource type

type PageOfTerraformVersion ¶ added in v0.2.18

type PageOfTerraformVersion struct {

	// content
	Content []*TerraformVersion `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// total elements
	TotalElements int64 `json:"totalElements,omitempty"`

	// total pages
	TotalPages int32 `json:"totalPages,omitempty"`
}

PageOfTerraformVersion PageOfTerraformVersion

swagger:model PageOfTerraformVersion

func (*PageOfTerraformVersion) ContextValidate ¶ added in v0.2.20

func (m *PageOfTerraformVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page of terraform version based on the context it is used

func (*PageOfTerraformVersion) MarshalBinary ¶ added in v0.2.18

func (m *PageOfTerraformVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageOfTerraformVersion) UnmarshalBinary ¶ added in v0.2.18

func (m *PageOfTerraformVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageOfTerraformVersion) Validate ¶ added in v0.2.18

func (m *PageOfTerraformVersion) Validate(formats strfmt.Registry) error

Validate validates this page of terraform version

type Pageable ¶ added in v0.2.22

type Pageable struct {

	// offset
	Offset int64 `json:"offset,omitempty"`

	// page number
	PageNumber int32 `json:"pageNumber,omitempty"`

	// page size
	PageSize int32 `json:"pageSize,omitempty"`

	// paged
	Paged bool `json:"paged,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`

	// unpaged
	Unpaged bool `json:"unpaged,omitempty"`
}

Pageable Pageable

swagger:model Pageable

func (*Pageable) ContextValidate ¶ added in v0.2.22

func (m *Pageable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pageable based on the context it is used

func (*Pageable) MarshalBinary ¶ added in v0.2.22

func (m *Pageable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pageable) UnmarshalBinary ¶ added in v0.2.22

func (m *Pageable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pageable) Validate ¶ added in v0.2.22

func (m *Pageable) Validate(formats strfmt.Registry) error

Validate validates this pageable

type PhotonModelEndpointConfigRequest ¶ added in v0.2.18

type PhotonModelEndpointConfigRequest struct {

	// associated endpoint links
	AssociatedEndpointLinks []string `json:"associatedEndpointLinks"`

	// auth credentials link
	AuthCredentialsLink string `json:"authCredentialsLink,omitempty"`

	// check for endpoint uniqueness
	CheckForEndpointUniqueness bool `json:"checkForEndpointUniqueness,omitempty"`

	// custom properties
	CustomProperties *CustomProperties `json:"customProperties,omitempty"`

	// endpoint properties
	EndpointProperties *EndpointProperties `json:"endpointProperties,omitempty"`

	// endpoint type
	EndpointType string `json:"endpointType,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// request type
	// Enum: [VALIDATE ENHANCE CHECK_IF_ACCOUNT_EXISTS VALIDATE_REMOVAL]
	RequestType string `json:"requestType,omitempty"`

	// resource link
	ResourceLink string `json:"resourceLink,omitempty"`

	// resource reference
	ResourceReference *URI `json:"resourceReference,omitempty"`

	// task reference
	TaskReference *URI `json:"taskReference,omitempty"`
}

PhotonModelEndpointConfigRequest PhotonModelEndpointConfigRequest

swagger:model PhotonModelEndpointConfigRequest

func (*PhotonModelEndpointConfigRequest) ContextValidate ¶ added in v0.2.20

func (m *PhotonModelEndpointConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this photon model endpoint config request based on the context it is used

func (*PhotonModelEndpointConfigRequest) MarshalBinary ¶ added in v0.2.18

func (m *PhotonModelEndpointConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PhotonModelEndpointConfigRequest) UnmarshalBinary ¶ added in v0.2.18

func (m *PhotonModelEndpointConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PhotonModelEndpointConfigRequest) Validate ¶ added in v0.2.18

Validate validates this photon model endpoint config request

type Pipeline ¶ added in v0.2.22

type Pipeline interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// Additional information about Input Properties
	// Example: {"test":{"description":"test-value","mandatory":false}}
	InputMeta() map[string]PropertyMetaData
	SetInputMeta(map[string]PropertyMetaData)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	Warnings() []ValidatorResponse
	SetWarnings([]ValidatorResponse)

	// Number of Executions of the Pipeline that can run concurrently.
	// Example: 10
	Concurrency() int32
	SetConcurrency(int32)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Indicates if the Pipeline is in enabled state.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// String description of the icon used for this Pipeline.
	// Example: tools,,is-success is-solid
	Icon() string
	SetIcon(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// Map representing the Input properties for the Pipeline.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input() interface{}
	SetInput(interface{})

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	Notifications() NotificationConfiguration
	SetNotifications(NotificationConfiguration)

	// Represents the different options to trigger a Pipeline. Selecting an option auto injects the Input properties needed to execute a Pipeline with that trigger.
	// Example: ["DOCKER_TRIGGER"]
	Options() []string
	SetOptions([]string)

	// Map representing the Output properties for the Pipeline.
	// Example: [{"deployedMachineIP":"10.108.35.54","result":"true"}]
	Output() interface{}
	SetOutput(interface{})

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	Rollbacks() []RollbackConfiguration
	SetRollbacks([]RollbackConfiguration)

	// Represents the order in which Stages will be executed.
	// Example: ["AcquireToken","Upgrade","E2E"]
	StageOrder() []string
	SetStageOrder([]string)

	// Map representing the details of the various Stages of the Pipeline.
	Stages() map[string]Stage
	SetStages(map[string]Stage)

	Starred() PipelineStarredProperty
	SetStarred(PipelineStarredProperty)

	// Indicates if the Pipeline is enabled/disabled/released to catalog.
	// Example: RELEASED
	State() string
	SetState(string)

	// A set of tag keys and optional values that were set on on the resource.
	// Example: [{"key":"env","value":"dev"}]
	Tags() []string
	SetTags([]string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)

	Workspace() Workspace
	SetWorkspace(Workspace)
}

Pipeline Pipeline

A pipeline is a continuous integration and delivery model of your software release process, from your source code, through testing, to production. It includes a sequence of stages with tasks that represent the activities in your software release cycle. Your software application flows from one stage to the next through the pipeline.

swagger:discriminator Pipeline A pipeline is a continuous integration and delivery model of your software release process, from your source code, through testing, to production. It includes a sequence of stages with tasks that represent the activities in your software release cycle. Your software application flows from one stage to the next through the pipeline.

func UnmarshalPipeline ¶ added in v0.2.22

func UnmarshalPipeline(reader io.Reader, consumer runtime.Consumer) (Pipeline, error)

UnmarshalPipeline unmarshals polymorphic Pipeline

func UnmarshalPipelineSlice ¶ added in v0.2.22

func UnmarshalPipelineSlice(reader io.Reader, consumer runtime.Consumer) ([]Pipeline, error)

UnmarshalPipelineSlice unmarshals polymorphic slices of Pipeline

type PipelinePatchRequest ¶ added in v0.2.22

type PipelinePatchRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A human-friendly description for the Pipeline.
	// Example: My description for the Pipeline
	Description() string
	SetDescription(string)

	// Indicates if the Pipeline is in enabled state.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// A human-friendly name used as an identifier for the Pipeline.
	// Example: My name
	Name() string
	SetName(string)

	// Indicates if the Pipeline is enabled/disabled/released to catalog.
	// Example: RELEASED
	State() string
	SetState(string)

	// A set of tag keys and optional values that need to be set on the Pipeline.
	// Example: [{"key":"env","value":"dev"}]
	Tags() []string
	SetTags([]string)
}

PipelinePatchRequest PipelinePatchRequest

Patch Request for a Pipeline ¶

swagger:discriminator PipelinePatchRequest Patch Request for a Pipeline

func UnmarshalPipelinePatchRequest ¶ added in v0.2.22

func UnmarshalPipelinePatchRequest(reader io.Reader, consumer runtime.Consumer) (PipelinePatchRequest, error)

UnmarshalPipelinePatchRequest unmarshals polymorphic PipelinePatchRequest

func UnmarshalPipelinePatchRequestSlice ¶ added in v0.2.22

func UnmarshalPipelinePatchRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]PipelinePatchRequest, error)

UnmarshalPipelinePatchRequestSlice unmarshals polymorphic slices of PipelinePatchRequest

type PipelineSpec ¶ added in v0.2.22

type PipelineSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Additional information about Input Properties
	// Example: {"test":{"description":"test-value","mandatory":false}}
	InputMeta() map[string]PropertyMetaData
	SetInputMeta(map[string]PropertyMetaData)

	// Number of Executions of the Pipeline that can run concurrently.
	// Example: 10
	Concurrency() int32
	SetConcurrency(int32)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// Indicates if the Pipeline is in enabled state.
	// Example: true
	Enabled() bool
	SetEnabled(bool)

	// String description of the icon used for this Pipeline.
	// Example: tools,,is-success is-solid
	Icon() string
	SetIcon(string)

	// Map representing the Input properties for the Pipeline.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input() interface{}
	SetInput(interface{})

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	Notifications() NotificationConfiguration
	SetNotifications(NotificationConfiguration)

	// Represents the different options to trigger a Pipeline. Selecting an option auto injects the Input properties needed to execute a Pipeline with that trigger.
	// Example: ["DOCKER_TRIGGER"]
	Options() []string
	SetOptions([]string)

	// Map representing the Output properties for the Pipeline.
	// Example: [{"deployedMachineIP":"10.108.35.54","result":"true"}]
	Output() interface{}
	SetOutput(interface{})

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	Rollbacks() []RollbackConfiguration
	SetRollbacks([]RollbackConfiguration)

	// Represents the order in which Stages will be executed.
	// Example: ["AcquireToken","Upgrade","E2E"]
	StageOrder() []string
	SetStageOrder([]string)

	// Map representing the details of the various Stages of the Pipeline.
	Stages() map[string]Stage
	SetStages(map[string]Stage)

	Starred() PipelineStarredProperty
	SetStarred(PipelineStarredProperty)

	// Indicates if the Pipeline is enabled/disabled/released to catalog.
	// Example: RELEASED
	State() string
	SetState(string)

	// A set of tag keys and optional values that were set on on the resource.
	// Example: [{"key":"env","value":"dev"}]
	Tags() []string
	SetTags([]string)

	Workspace() Workspace
	SetWorkspace(Workspace)
}

PipelineSpec PipelineSpec

Pipeline Specification ¶

swagger:discriminator PipelineSpec Pipeline Specification

func UnmarshalPipelineSpec ¶ added in v0.2.22

func UnmarshalPipelineSpec(reader io.Reader, consumer runtime.Consumer) (PipelineSpec, error)

UnmarshalPipelineSpec unmarshals polymorphic PipelineSpec

func UnmarshalPipelineSpecSlice ¶ added in v0.2.22

func UnmarshalPipelineSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]PipelineSpec, error)

UnmarshalPipelineSpecSlice unmarshals polymorphic slices of PipelineSpec

type PipelineStarredProperty ¶ added in v0.2.22

type PipelineStarredProperty interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Contains the starred input parameter
	// Example: {"input":"commitId"}
	Input() string
	SetInput(string)

	// Contains the starred output parameter
	// Example: {"output":"owner"}
	Output() string
	SetOutput(string)
}

PipelineStarredProperty Pipeline$StarredProperty

Represents properties that user can favourite or 'star' for convenience.

swagger:discriminator PipelineStarredProperty Represents properties that user can favourite or 'star' for convenience.

func UnmarshalPipelineStarredProperty ¶ added in v0.2.22

func UnmarshalPipelineStarredProperty(reader io.Reader, consumer runtime.Consumer) (PipelineStarredProperty, error)

UnmarshalPipelineStarredProperty unmarshals polymorphic PipelineStarredProperty

func UnmarshalPipelineStarredPropertySlice ¶ added in v0.2.22

func UnmarshalPipelineStarredPropertySlice(reader io.Reader, consumer runtime.Consumer) ([]PipelineStarredProperty, error)

UnmarshalPipelineStarredPropertySlice unmarshals polymorphic slices of PipelineStarredProperty

type Pipelines ¶ added in v0.2.22

type Pipelines interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]Pipeline
	SetDocuments(map[string]Pipeline)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

Pipelines Pipelines

A list of Pipeline instances.

swagger:discriminator Pipelines A list of Pipeline instances.

func UnmarshalPipelines ¶ added in v0.2.22

func UnmarshalPipelines(reader io.Reader, consumer runtime.Consumer) (Pipelines, error)

UnmarshalPipelines unmarshals polymorphic Pipelines

func UnmarshalPipelinesSlice ¶ added in v0.2.22

func UnmarshalPipelinesSlice(reader io.Reader, consumer runtime.Consumer) ([]Pipelines, error)

UnmarshalPipelinesSlice unmarshals polymorphic slices of Pipelines

type Policy ¶ added in v0.2.0

type Policy struct {

	// Policy creation timestamp.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Policy author.
	CreatedBy string `json:"createdBy,omitempty"`

	// Policy-type-specific target object filter criteria applied during enforcement.
	Criteria *Criteria `json:"criteria,omitempty"`

	// Policy-type-specific settings such as lease limits for lease policies.
	Definition interface{} `json:"definition,omitempty"`

	// definition legend
	DefinitionLegend map[string]DataElement `json:"definitionLegend,omitempty"`

	// The policy description.
	Description string `json:"description,omitempty"`

	// Defines enforcement type for policy. Default enforcement type is HARD.
	// Enum: [SOFT HARD]
	EnforcementType string `json:"enforcementType,omitempty"`

	// The policy ID.
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Most recent policy update timestamp.
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Most recent policy editor.
	LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`

	// The policy name.
	Name string `json:"name,omitempty"`

	// The ID of the organization to which the policy belongs.
	OrgID string `json:"orgId,omitempty"`

	// For project-scoped policies, the ID of the project to which the policy belongs.
	ProjectID string `json:"projectId,omitempty"`

	// Project-based scope criteria to apply policy to multiple projects in the organization. Not allowed for project-scoped policies.
	ScopeCriteria *Criteria `json:"scopeCriteria,omitempty"`

	// statistics
	Statistics *PolicyStats `json:"statistics,omitempty"`

	// The policy type ID.
	// Required: true
	TypeID *string `json:"typeId"`
}

Policy Policy

A policy such as lease policy that will be enforced.

swagger:model Policy

func (*Policy) ContextValidate ¶ added in v0.2.20

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy based on the context it is used

func (*Policy) MarshalBinary ¶ added in v0.2.0

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary ¶ added in v0.2.0

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate ¶ added in v0.2.0

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PolicyDecisionOfObjectNode ¶ added in v0.2.0

type PolicyDecisionOfObjectNode struct {

	// description
	Description string `json:"description,omitempty"`

	// dry run Id
	// Format: uuid
	DryRunID strfmt.UUID `json:"dryRunId,omitempty"`

	// dry run sub task Id
	// Format: uuid
	DryRunSubTaskID strfmt.UUID `json:"dryRunSubTaskId,omitempty"`

	// effective policy definition
	EffectivePolicyDefinition interface{} `json:"effectivePolicyDefinition,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// policies
	Policies []*PolicyDecisionPolicy `json:"policies"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// target Id
	TargetID string `json:"targetId,omitempty"`

	// target name
	TargetName string `json:"targetName,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// type Id
	TypeID string `json:"typeId,omitempty"`
}

PolicyDecisionOfObjectNode PolicyDecisionOfObjectNode

A decision made to enforce policies.

swagger:model PolicyDecisionOfObjectNode

func (*PolicyDecisionOfObjectNode) ContextValidate ¶ added in v0.2.20

func (m *PolicyDecisionOfObjectNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy decision of object node based on the context it is used

func (*PolicyDecisionOfObjectNode) MarshalBinary ¶ added in v0.2.0

func (m *PolicyDecisionOfObjectNode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyDecisionOfObjectNode) UnmarshalBinary ¶ added in v0.2.0

func (m *PolicyDecisionOfObjectNode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyDecisionOfObjectNode) Validate ¶ added in v0.2.0

func (m *PolicyDecisionOfObjectNode) Validate(formats strfmt.Registry) error

Validate validates this policy decision of object node

type PolicyDecisionPolicy ¶ added in v0.2.0

type PolicyDecisionPolicy struct {

	// enforcement type
	// Enum: [SOFT HARD]
	EnforcementType string `json:"enforcementType,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// rank
	Rank int32 `json:"rank,omitempty"`

	// status
	// Enum: [NOT_ENFORCED ENFORCED CONFLICT]
	Status string `json:"status,omitempty"`
}

PolicyDecisionPolicy PolicyDecisionPolicy

Element of a decision.

swagger:model PolicyDecisionPolicy

func (*PolicyDecisionPolicy) ContextValidate ¶ added in v0.2.20

func (m *PolicyDecisionPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy decision policy based on context it is used

func (*PolicyDecisionPolicy) MarshalBinary ¶ added in v0.2.0

func (m *PolicyDecisionPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyDecisionPolicy) UnmarshalBinary ¶ added in v0.2.0

func (m *PolicyDecisionPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyDecisionPolicy) Validate ¶ added in v0.2.0

func (m *PolicyDecisionPolicy) Validate(formats strfmt.Registry) error

Validate validates this policy decision policy

type PolicyFeatureConfig ¶ added in v0.2.8

type PolicyFeatureConfig struct {

	// enable dry run
	EnableDryRun bool `json:"enableDryRun,omitempty"`

	// enable enforcement type
	EnableEnforcementType bool `json:"enableEnforcementType,omitempty"`

	// enable update notification
	EnableUpdateNotification bool `json:"enableUpdateNotification,omitempty"`
}

PolicyFeatureConfig PolicyFeatureConfig

swagger:model PolicyFeatureConfig

func (*PolicyFeatureConfig) ContextValidate ¶ added in v0.2.20

func (m *PolicyFeatureConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy feature config based on context it is used

func (*PolicyFeatureConfig) MarshalBinary ¶ added in v0.2.8

func (m *PolicyFeatureConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyFeatureConfig) UnmarshalBinary ¶ added in v0.2.8

func (m *PolicyFeatureConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyFeatureConfig) Validate ¶ added in v0.2.8

func (m *PolicyFeatureConfig) Validate(formats strfmt.Registry) error

Validate validates this policy feature config

type PolicyStats ¶ added in v0.2.0

type PolicyStats struct {

	// conflict count
	ConflictCount int64 `json:"conflictCount,omitempty"`

	// enforced count
	EnforcedCount int64 `json:"enforcedCount,omitempty"`

	// not enforced count
	NotEnforcedCount int64 `json:"notEnforcedCount,omitempty"`
}

PolicyStats PolicyStats

swagger:model PolicyStats

func (*PolicyStats) ContextValidate ¶ added in v0.2.20

func (m *PolicyStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy stats based on context it is used

func (*PolicyStats) MarshalBinary ¶ added in v0.2.0

func (m *PolicyStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyStats) UnmarshalBinary ¶ added in v0.2.0

func (m *PolicyStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyStats) Validate ¶ added in v0.2.0

func (m *PolicyStats) Validate(formats strfmt.Registry) error

Validate validates this policy stats

type PolicyType ¶ added in v0.2.0

type PolicyType struct {

	// Defines configuration options for policy type
	Config *PolicyFeatureConfig `json:"config,omitempty"`

	// Schema describing a policy object of this type
	// Required: true
	DefinitionSchema interface{} `json:"definitionSchema"`

	// Policy type display-name/label
	// Required: true
	DisplayName *string `json:"displayName"`

	// Policy type ID
	// Required: true
	ID *string `json:"id"`

	// Policy type name
	// Required: true
	Name *string `json:"name"`

	// Schema describing objects that can be affected by this policy
	// Required: true
	TargetSchema interface{} `json:"targetSchema"`
}

PolicyType PolicyType

A type of policy that includes the schema of the policy itself and the schema of the objects affected by the policy ¶

swagger:model PolicyType

func (*PolicyType) ContextValidate ¶ added in v0.2.20

func (m *PolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy type based on the context it is used

func (*PolicyType) MarshalBinary ¶ added in v0.2.0

func (m *PolicyType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyType) UnmarshalBinary ¶ added in v0.2.0

func (m *PolicyType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyType) Validate ¶ added in v0.2.0

func (m *PolicyType) Validate(formats strfmt.Registry) error

Validate validates this policy type

type Principal ¶ added in v0.2.22

type Principal interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The email of the user or name of the group.
	// Example: administrator@vmware.com
	// Required: true
	Email() *string
	SetEmail(*string)

	// Type of the principal. Currently supported 'user' (default) and 'group'.
	// Example: user
	Type() string
	SetType(string)
}

Principal Principal

A representation of a user or group.

swagger:discriminator Principal A representation of a user or group.

func UnmarshalPrincipal ¶ added in v0.2.22

func UnmarshalPrincipal(reader io.Reader, consumer runtime.Consumer) (Principal, error)

UnmarshalPrincipal unmarshals polymorphic Principal

func UnmarshalPrincipalSlice ¶ added in v0.2.22

func UnmarshalPrincipalSlice(reader io.Reader, consumer runtime.Consumer) ([]Principal, error)

UnmarshalPrincipalSlice unmarshals polymorphic slices of Principal

type PrincipalRole ¶ added in v0.2.22

type PrincipalRole interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The email of the user or name of the group.
	// Example: administrator@vmware.com
	// Required: true
	Email() *string
	SetEmail(*string)

	// Role of this member. Currently supported 'member', 'viewer' and 'administrator'.
	// Example: member
	Role() string
	SetRole(string)

	// Type of the principal. Currently supported 'user' (default) and 'group'.
	// Example: user
	Type() string
	SetType(string)
}

PrincipalRole PrincipalRole

A representation of a user or group.

swagger:discriminator PrincipalRole A representation of a user or group.

func UnmarshalPrincipalRole ¶ added in v0.2.22

func UnmarshalPrincipalRole(reader io.Reader, consumer runtime.Consumer) (PrincipalRole, error)

UnmarshalPrincipalRole unmarshals polymorphic PrincipalRole

func UnmarshalPrincipalRoleSlice ¶ added in v0.2.22

func UnmarshalPrincipalRoleSlice(reader io.Reader, consumer runtime.Consumer) ([]PrincipalRole, error)

UnmarshalPrincipalRoleSlice unmarshals polymorphic slices of PrincipalRole

type PrincipalRoleAssignment ¶ added in v0.2.22

type PrincipalRoleAssignment interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Ids of users to add
	Add() []string
	SetAdd([]string)

	// Ids of users to remove
	Remove() []string
	SetRemove([]string)
}

PrincipalRoleAssignment PrincipalRoleAssignment

List of user ids to add and remove from a project ¶

swagger:discriminator PrincipalRoleAssignment List of user ids to add and remove from a project

func UnmarshalPrincipalRoleAssignment ¶ added in v0.2.22

func UnmarshalPrincipalRoleAssignment(reader io.Reader, consumer runtime.Consumer) (PrincipalRoleAssignment, error)

UnmarshalPrincipalRoleAssignment unmarshals polymorphic PrincipalRoleAssignment

func UnmarshalPrincipalRoleAssignmentSlice ¶ added in v0.2.22

func UnmarshalPrincipalRoleAssignmentSlice(reader io.Reader, consumer runtime.Consumer) ([]PrincipalRoleAssignment, error)

UnmarshalPrincipalRoleAssignmentSlice unmarshals polymorphic slices of PrincipalRoleAssignment

type Project ¶

type Project interface {
	runtime.Validatable
	runtime.ContextValidatable

	Administrators() []Principal
	SetAdministrators([]Principal)

	// List of constraints of the project.
	// Example: {"network":{"conditions":[{"enforcement":"HARD","expression":{"key":"key","value":"value"},"occurrence":"MUST_OCCUR","type":"TAG"}]}}
	Constraints() map[string]ProjectConstraint
	SetConstraints(map[string]ProjectConstraint)

	Cost() ProjectCost
	SetCost(ProjectCost)

	// A human-friendly description.
	// Example: my-description
	Description() string
	SetDescription(string)

	// Id of the project.
	ID() string
	SetID(string)

	Members() []Principal
	SetMembers([]Principal)

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name() string
	SetName(string)

	// The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
	OperationTimeout() int64
	SetOperationTimeout(int64)

	// The id of the org this project belongs to.
	OrgID() string
	SetOrgID(string)

	// List of properties of the project, to be applied to any resource provisioned within the project.
	//
	// The property with key __projectPlacementPolicy shows what is the placement policy for the resources provisioned in this project, which can be 1 of only 2 possible values DEFAULT or SPREAD. If not specified, it is set as DEFAULT.
	//
	// The property with key __namingTemplate specifies a custom naming template for resources provisioned in this project.
	//
	// The property with key __allowTerraformCloudzoneMapping shows if the project allows Terraform cloudzone mapping. It can be set to either true or false. By default, it is set to false.
	// Example: {"__allowTerraformCloudzoneMapping":"true","__namingTemplate":"my-resource-template","__projectPlacementPolicy":"SPREAD","myproperty":"enforcement"}
	Properties() map[string]string
	SetProperties(map[string]string)

	// Specifies whether the resources in this projects are shared or not.
	SharedResources() bool
	SetSharedResources(bool)

	Viewers() []Principal
	SetViewers([]Principal)
}

Project Project

A Project is a group of users.

swagger:discriminator Project A Project is a group of users.

func UnmarshalProject ¶ added in v0.3.0

func UnmarshalProject(reader io.Reader, consumer runtime.Consumer) (Project, error)

UnmarshalProject unmarshals polymorphic Project

func UnmarshalProjectSlice ¶ added in v0.3.0

func UnmarshalProjectSlice(reader io.Reader, consumer runtime.Consumer) ([]Project, error)

UnmarshalProjectSlice unmarshals polymorphic slices of Project

type ProjectConstraint ¶ added in v0.3.0

type ProjectConstraint interface {
	runtime.Validatable
	runtime.ContextValidatable

	Conditions() []Condition
	SetConditions([]Condition)
}

ProjectConstraint Constraint

Definition of a constraint that one resource may have.

swagger:discriminator ProjectConstraint Definition of a constraint that one resource may have.

func UnmarshalProjectConstraint ¶ added in v0.3.0

func UnmarshalProjectConstraint(reader io.Reader, consumer runtime.Consumer) (ProjectConstraint, error)

UnmarshalProjectConstraint unmarshals polymorphic ProjectConstraint

func UnmarshalProjectConstraintSlice ¶ added in v0.3.0

func UnmarshalProjectConstraintSlice(reader io.Reader, consumer runtime.Consumer) ([]ProjectConstraint, error)

UnmarshalProjectConstraintSlice unmarshals polymorphic slices of ProjectConstraint

type ProjectCost ¶ added in v0.2.22

type ProjectCost interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The unique code for the message.
	Code() string
	SetCode(string)

	// The cost of project.
	Cost() float64
	SetCost(float64)

	// The date as of which project cost is calculated. Timestamp format: YYYY-MM-DDThh:mm:ss.SSSZ
	// Example: 2011-12-03T10:15:30Z
	CostSyncTime() string
	SetCostSyncTime(string)

	// The unit of cost of project. This is a 3 letter currency code.
	// Example: USD
	CostUnit() string
	SetCostUnit(string)

	// The message regarding the project cost.
	Message() string
	SetMessage(string)
}

ProjectCost ProjectCost

A representation of a project cost.

swagger:discriminator ProjectCost A representation of a project cost.

func UnmarshalProjectCost ¶ added in v0.2.22

func UnmarshalProjectCost(reader io.Reader, consumer runtime.Consumer) (ProjectCost, error)

UnmarshalProjectCost unmarshals polymorphic ProjectCost

func UnmarshalProjectCostSlice ¶ added in v0.2.22

func UnmarshalProjectCostSlice(reader io.Reader, consumer runtime.Consumer) ([]ProjectCost, error)

UnmarshalProjectCostSlice unmarshals polymorphic slices of ProjectCost

type ProjectPrincipalsAssignment ¶ added in v0.2.22

type ProjectPrincipalsAssignment struct {
	// contains filtered or unexported fields
}

ProjectPrincipalsAssignment ProjectPrincipalsAssignment

swagger:model ProjectPrincipalsAssignment

func (*ProjectPrincipalsAssignment) ContextValidate ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project principals assignment based on the context it is used

func (*ProjectPrincipalsAssignment) MarshalBinary ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectPrincipalsAssignment) MarshalJSON ¶ added in v0.2.22

func (m ProjectPrincipalsAssignment) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ProjectPrincipalsAssignment) Modify ¶ added in v0.2.22

Modify gets the modify of this base type

func (*ProjectPrincipalsAssignment) Remove ¶ added in v0.2.22

Remove gets the remove of this base type

func (*ProjectPrincipalsAssignment) SetModify ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) SetModify(val []PrincipalRole)

SetModify sets the modify of this base type

func (*ProjectPrincipalsAssignment) SetRemove ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) SetRemove(val []PrincipalRole)

SetRemove sets the remove of this base type

func (*ProjectPrincipalsAssignment) UnmarshalBinary ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectPrincipalsAssignment) UnmarshalJSON ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ProjectPrincipalsAssignment) Validate ¶ added in v0.2.22

func (m *ProjectPrincipalsAssignment) Validate(formats strfmt.Registry) error

Validate validates this project principals assignment

type ProjectResourceMetadata ¶

type ProjectResourceMetadata interface {
	runtime.Validatable
	runtime.ContextValidatable

	// List of tags to be applied to any Compute resource provisioned within the project.
	// Example: [{"key":"key1","value":"value1"},{"key":"key1"}]
	Tags() []*Tag
	SetTags([]*Tag)
}

ProjectResourceMetadata ProjectResourceMetadata

Metadata related to resources provisioned within a project.

swagger:discriminator ProjectResourceMetadata Metadata related to resources provisioned within a project.

func UnmarshalProjectResourceMetadata ¶ added in v0.3.0

func UnmarshalProjectResourceMetadata(reader io.Reader, consumer runtime.Consumer) (ProjectResourceMetadata, error)

UnmarshalProjectResourceMetadata unmarshals polymorphic ProjectResourceMetadata

func UnmarshalProjectResourceMetadataSlice ¶ added in v0.3.0

func UnmarshalProjectResourceMetadataSlice(reader io.Reader, consumer runtime.Consumer) ([]ProjectResourceMetadata, error)

UnmarshalProjectResourceMetadataSlice unmarshals polymorphic slices of ProjectResourceMetadata

type ProjectResourceMetadataSpecification ¶

type ProjectResourceMetadataSpecification struct {

	// A list of keys and optional values to be applied to compute resources provisioned in a project
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

ProjectResourceMetadataSpecification Specification for resource metadata associated with a project

swagger:model ProjectResourceMetadataSpecification

func (*ProjectResourceMetadataSpecification) ContextValidate ¶ added in v0.2.20

func (m *ProjectResourceMetadataSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project resource metadata specification based on the context it is used

func (*ProjectResourceMetadataSpecification) MarshalBinary ¶

func (m *ProjectResourceMetadataSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectResourceMetadataSpecification) UnmarshalBinary ¶

func (m *ProjectResourceMetadataSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectResourceMetadataSpecification) Validate ¶

Validate validates this project resource metadata specification

type ProjectResult ¶

type ProjectResult struct {

	// List of content items
	// Read Only: true
	Content []*IaaSProject `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ProjectResult State object representing a query result of projects.

swagger:model ProjectResult

func (*ProjectResult) ContextValidate ¶ added in v0.2.20

func (m *ProjectResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project result based on the context it is used

func (*ProjectResult) MarshalBinary ¶

func (m *ProjectResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectResult) UnmarshalBinary ¶

func (m *ProjectResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectResult) Validate ¶

func (m *ProjectResult) Validate(formats strfmt.Registry) error

Validate validates this project result

type ProjectRoles ¶ added in v0.2.22

type ProjectRoles struct {
	// contains filtered or unexported fields
}

ProjectRoles ProjectRoles

swagger:model ProjectRoles

func (*ProjectRoles) Administrators ¶ added in v0.2.22

func (m *ProjectRoles) Administrators() PrincipalRoleAssignment

Administrators gets the administrators of this base type

func (*ProjectRoles) ContextValidate ¶ added in v0.2.22

func (m *ProjectRoles) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project roles based on the context it is used

func (*ProjectRoles) MarshalBinary ¶ added in v0.2.22

func (m *ProjectRoles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectRoles) MarshalJSON ¶ added in v0.2.22

func (m ProjectRoles) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ProjectRoles) Members ¶ added in v0.2.22

Members gets the members of this base type

func (*ProjectRoles) SetAdministrators ¶ added in v0.2.22

func (m *ProjectRoles) SetAdministrators(val PrincipalRoleAssignment)

SetAdministrators sets the administrators of this base type

func (*ProjectRoles) SetMembers ¶ added in v0.2.22

func (m *ProjectRoles) SetMembers(val PrincipalRoleAssignment)

SetMembers sets the members of this base type

func (*ProjectRoles) SetViewers ¶ added in v0.2.22

func (m *ProjectRoles) SetViewers(val PrincipalRoleAssignment)

SetViewers sets the viewers of this base type

func (*ProjectRoles) UnmarshalBinary ¶ added in v0.2.22

func (m *ProjectRoles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectRoles) UnmarshalJSON ¶ added in v0.2.22

func (m *ProjectRoles) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ProjectRoles) Validate ¶ added in v0.2.22

func (m *ProjectRoles) Validate(formats strfmt.Registry) error

Validate validates this project roles

func (*ProjectRoles) Viewers ¶ added in v0.2.22

Viewers gets the viewers of this base type

type ProjectSpecification ¶

type ProjectSpecification interface {
	runtime.Validatable
	runtime.ContextValidatable

	Administrators() []Principal
	SetAdministrators([]Principal)

	// List of constraints of the project.
	// Example: {"network":{"conditions":[{"enforcement":"HARD","expression":{"key":"key","value":"value"},"occurrence":"MUST_OCCUR","type":"TAG"}]}}
	Constraints() map[string]ProjectConstraint
	SetConstraints(map[string]ProjectConstraint)

	Cost() ProjectCost
	SetCost(ProjectCost)

	// A human-friendly description.
	// Example: my-description
	Description() string
	SetDescription(string)

	Members() []Principal
	SetMembers([]Principal)

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	// Required: true
	Name() *string
	SetName(*string)

	// The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
	OperationTimeout() *int64
	SetOperationTimeout(*int64)

	// List of properties of the project, to be applied to any resource provisioned within the project.
	//
	// The project placement policy is set through the property with key: __projectPlacementPolicy, which can take 1 of only 2 possible values DEFAULT or SPREAD. If not specified, it is set as DEFAULT.
	//
	// The naming template of resources provisioned in this project can be specified through the property with key: __namingTemplate.
	// Hint: Avoid conflicting names by generating digits in names with ${######}
	//
	// You can allow Terraform cloudzone mapping through the property with key: __allowTerraformCloudzoneMapping. It can be set to either true or false. By default, it is set to false.
	// Example: {"__allowTerraformCloudzoneMapping":"true","__namingTemplate":"my-resource-template-${######}","__projectPlacementPolicy":"SPREAD","myproperty":"enforcement"}
	Properties() map[string]string
	SetProperties(map[string]string)

	// Specifies whether the resources in this projects are shared or not.
	SharedResources() *bool
	SetSharedResources(*bool)

	Viewers() []Principal
	SetViewers([]Principal)
}

ProjectSpecification ProjectSpecification

Represents a specification for a project. A Project is a group of users.

swagger:discriminator ProjectSpecification Represents a specification for a project. A Project is a group of users.

func UnmarshalProjectSpecification ¶ added in v0.3.0

func UnmarshalProjectSpecification(reader io.Reader, consumer runtime.Consumer) (ProjectSpecification, error)

UnmarshalProjectSpecification unmarshals polymorphic ProjectSpecification

func UnmarshalProjectSpecificationSlice ¶ added in v0.3.0

func UnmarshalProjectSpecificationSlice(reader io.Reader, consumer runtime.Consumer) ([]ProjectSpecification, error)

UnmarshalProjectSpecificationSlice unmarshals polymorphic slices of ProjectSpecification

type Property ¶ added in v0.2.21

type Property struct {

	// Path that can be used to retrieve permissible values
	DollarData string `json:"$data,omitempty"`

	// Path that can be used to retrieve single permissible default value
	DollarDynamicDefault string `json:"$dynamicDefault,omitempty"`

	// Constant value for the property
	Const interface{} `json:"const,omitempty"`

	// Default value for the property
	Default interface{} `json:"default,omitempty"`

	// Property description
	Description string `json:"description,omitempty"`

	// Flag indicating if property is encrypted
	Encrypted bool `json:"encrypted,omitempty"`

	// Restrict a value to a fixed set of values for the property
	Enum []interface{} `json:"enum"`

	// The expected (and pre-defined) format to be used for string validations. Supported format values include: date-time, email, ip-address, alphanumeric, phone, etc.
	Format string `json:"format,omitempty"`

	// Property items defines a schema for the contents of an array
	Items *Property `json:"items,omitempty"`

	// Maximum number of items for the property
	MaxItems int64 `json:"maxItems,omitempty"`

	// String instance is validated against this keyword for its maximum length
	MaxLength int32 `json:"maxLength,omitempty"`

	// Maximum value for the property
	Maximum int64 `json:"maximum,omitempty"`

	// Minimum number of items for the property
	MinItems int64 `json:"minItems,omitempty"`

	// String instance is validated against this keyword for its minimum length
	MinLength int32 `json:"minLength,omitempty"`

	// Minimum value for the property
	Minimum int64 `json:"minimum,omitempty"`

	// Ensures the given data is valid against only one of the specified schemas
	OneOf []*Property `json:"oneOf"`

	// Regular expression to express constraint for the property
	Pattern string `json:"pattern,omitempty"`

	// Properties within the property
	Properties map[string]Property `json:"properties,omitempty"`

	// Flag indicating if property is read only
	ReadOnly bool `json:"readOnly,omitempty"`

	// Property title
	Title string `json:"title,omitempty"`

	// Property type should be among valid types (number, integer, string, array, boolean, object)
	Type string `json:"type,omitempty"`
}

Property Property

swagger:model Property

func (*Property) ContextValidate ¶ added in v0.2.21

func (m *Property) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this property based on the context it is used

func (*Property) MarshalBinary ¶ added in v0.2.21

func (m *Property) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Property) UnmarshalBinary ¶ added in v0.2.21

func (m *Property) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Property) Validate ¶ added in v0.2.21

func (m *Property) Validate(formats strfmt.Registry) error

Validate validates this property

type PropertyDefinition ¶

type PropertyDefinition struct {

	// dollar data
	DollarData string `json:"$data,omitempty"`

	// dollar dynamic default
	DollarDynamicDefault string `json:"$dynamicDefault,omitempty"`

	// dollar ref
	DollarRef string `json:"$ref,omitempty"`

	// additional properties
	AdditionalProperties bool `json:"additionalProperties,omitempty"`

	// all of
	AllOf []*PropertyDefinition `json:"allOf"`

	// any of
	AnyOf []*PropertyDefinition `json:"anyOf"`

	// computed
	Computed bool `json:"computed,omitempty"`

	// const
	Const interface{} `json:"const,omitempty"`

	// default
	Default interface{} `json:"default,omitempty"`

	// dependencies
	Dependencies map[string][]string `json:"dependencies,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// encrypted
	Encrypted bool `json:"encrypted,omitempty"`

	// enum
	Enum []interface{} `json:"enum"`

	// format
	Format string `json:"format,omitempty"`

	// ignore case on diff
	IgnoreCaseOnDiff bool `json:"ignoreCaseOnDiff,omitempty"`

	// ignore on update
	IgnoreOnUpdate bool `json:"ignoreOnUpdate,omitempty"`

	// items
	Items *PropertyDefinition `json:"items,omitempty"`

	// max items
	MaxItems int64 `json:"maxItems,omitempty"`

	// max length
	MaxLength int32 `json:"maxLength,omitempty"`

	// max properties
	MaxProperties int32 `json:"maxProperties,omitempty"`

	// maximum
	Maximum int64 `json:"maximum,omitempty"`

	// min items
	MinItems int64 `json:"minItems,omitempty"`

	// min length
	MinLength int32 `json:"minLength,omitempty"`

	// min properties
	MinProperties int32 `json:"minProperties,omitempty"`

	// minimum
	Minimum int64 `json:"minimum,omitempty"`

	// not
	Not *PropertyDefinition `json:"not,omitempty"`

	// one of
	OneOf []*PropertyDefinition `json:"oneOf"`

	// pattern
	Pattern string `json:"pattern,omitempty"`

	// properties
	Properties map[string]PropertyDefinition `json:"properties,omitempty"`

	// read only
	ReadOnly bool `json:"readOnly,omitempty"`

	// recreate on update
	RecreateOnUpdate bool `json:"recreateOnUpdate,omitempty"`

	// required
	Required []string `json:"required"`

	// title
	Title string `json:"title,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// unique items
	UniqueItems bool `json:"uniqueItems,omitempty"`

	// write only
	WriteOnly bool `json:"writeOnly,omitempty"`
}

PropertyDefinition PropertyDefinition

swagger:model PropertyDefinition

func (*PropertyDefinition) ContextValidate ¶ added in v0.2.20

func (m *PropertyDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this property definition based on the context it is used

func (*PropertyDefinition) MarshalBinary ¶

func (m *PropertyDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PropertyDefinition) UnmarshalBinary ¶

func (m *PropertyDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PropertyDefinition) Validate ¶

func (m *PropertyDefinition) Validate(formats strfmt.Registry) error

Validate validates this property definition

type PropertyGroup ¶ added in v0.2.21

type PropertyGroup struct {

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Property group description
	Description string `json:"description,omitempty"`

	// Property group display name
	DisplayName string `json:"displayName,omitempty"`

	// Object ID
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Property group name
	Name string `json:"name,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Project ID
	ProjectID string `json:"projectId,omitempty"`

	// Project Name
	// Read Only: true
	ProjectName string `json:"projectName,omitempty"`

	// Properties
	Properties map[string]Property `json:"properties,omitempty"`

	// Property group type
	// Enum: [INPUT CONSTANT]
	Type string `json:"type,omitempty"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`
}

PropertyGroup PropertyGroup

swagger:model PropertyGroup

func (*PropertyGroup) ContextValidate ¶ added in v0.2.21

func (m *PropertyGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this property group based on the context it is used

func (*PropertyGroup) MarshalBinary ¶ added in v0.2.21

func (m *PropertyGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PropertyGroup) UnmarshalBinary ¶ added in v0.2.21

func (m *PropertyGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PropertyGroup) Validate ¶ added in v0.2.21

func (m *PropertyGroup) Validate(formats strfmt.Registry) error

Validate validates this property group

type PropertyMetaData ¶ added in v0.2.22

type PropertyMetaData interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Description for the input/output property.
	// Example: Repo Url
	Description() string
	SetDescription(string)
}

PropertyMetaData PropertyMetaData

Model for input/output properties.

swagger:discriminator PropertyMetaData Model for input/output properties.

func UnmarshalPropertyMetaData ¶ added in v0.2.22

func UnmarshalPropertyMetaData(reader io.Reader, consumer runtime.Consumer) (PropertyMetaData, error)

UnmarshalPropertyMetaData unmarshals polymorphic PropertyMetaData

func UnmarshalPropertyMetaDataSlice ¶ added in v0.2.22

func UnmarshalPropertyMetaDataSlice(reader io.Reader, consumer runtime.Consumer) ([]PropertyMetaData, error)

UnmarshalPropertyMetaDataSlice unmarshals polymorphic slices of PropertyMetaData

type Provider ¶ added in v0.2.18

type Provider struct {

	// The Terraform provider's statically configured attributes.
	Attributes map[string]string `json:"attributes,omitempty"`

	// The Terraform provider's type.
	Type string `json:"type,omitempty"`
}

Provider Provider

swagger:model Provider

func (*Provider) ContextValidate ¶ added in v0.2.20

func (m *Provider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this provider based on context it is used

func (*Provider) MarshalBinary ¶ added in v0.2.18

func (m *Provider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Provider) UnmarshalBinary ¶ added in v0.2.18

func (m *Provider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Provider) Validate ¶ added in v0.2.18

func (m *Provider) Validate(formats strfmt.Registry) error

Validate validates this provider

type RateFactor ¶ added in v0.2.8

type RateFactor struct {

	// context metering item
	ContextMeteringItem string `json:"contextMeteringItem,omitempty"`

	// rate factor
	RateFactor float64 `json:"rateFactor,omitempty"`
}

RateFactor RateFactor

swagger:model RateFactor

func (*RateFactor) ContextValidate ¶ added in v0.2.20

func (m *RateFactor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rate factor based on context it is used

func (*RateFactor) MarshalBinary ¶ added in v0.2.8

func (m *RateFactor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RateFactor) UnmarshalBinary ¶ added in v0.2.8

func (m *RateFactor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RateFactor) Validate ¶ added in v0.2.8

func (m *RateFactor) Validate(formats strfmt.Registry) error

Validate validates this rate factor

type RateFactorItem ¶ added in v0.2.8

type RateFactorItem struct {

	// key
	Key string `json:"key,omitempty"`

	// rate factor
	RateFactor *RateFactor `json:"rateFactor,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

RateFactorItem RateFactorItem

swagger:model RateFactorItem

func (*RateFactorItem) ContextValidate ¶ added in v0.2.20

func (m *RateFactorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rate factor item based on the context it is used

func (*RateFactorItem) MarshalBinary ¶ added in v0.2.8

func (m *RateFactorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RateFactorItem) UnmarshalBinary ¶ added in v0.2.8

func (m *RateFactorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RateFactorItem) Validate ¶ added in v0.2.8

func (m *RateFactorItem) Validate(formats strfmt.Registry) error

Validate validates this rate factor item

type ReconfigureComputeGatewaySpecification ¶ added in v0.2.20

type ReconfigureComputeGatewaySpecification struct {

	// List of NAT rules to be applied on this Compute Gateway.
	// Required: true
	NatRules []*NatRule `json:"natRules"`
}

ReconfigureComputeGatewaySpecification Specification for a Compute Gateway Reconfigure operation for NAT rules

swagger:model ReconfigureComputeGatewaySpecification

func (*ReconfigureComputeGatewaySpecification) ContextValidate ¶ added in v0.2.20

ContextValidate validate this reconfigure compute gateway specification based on the context it is used

func (*ReconfigureComputeGatewaySpecification) MarshalBinary ¶ added in v0.2.20

func (m *ReconfigureComputeGatewaySpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReconfigureComputeGatewaySpecification) UnmarshalBinary ¶ added in v0.2.20

func (m *ReconfigureComputeGatewaySpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReconfigureComputeGatewaySpecification) Validate ¶ added in v0.2.20

Validate validates this reconfigure compute gateway specification

type ReconfigureComputeNatSpecification ¶ added in v0.2.20

type ReconfigureComputeNatSpecification struct {

	// List of NAT rules to be applied on this Compute Nat.
	// Required: true
	NatRules []*NatRule `json:"natRules"`
}

ReconfigureComputeNatSpecification Specification for a Compute Nat Reconfigure operation for NAT rules

swagger:model ReconfigureComputeNatSpecification

func (*ReconfigureComputeNatSpecification) ContextValidate ¶ added in v0.2.20

func (m *ReconfigureComputeNatSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reconfigure compute nat specification based on the context it is used

func (*ReconfigureComputeNatSpecification) MarshalBinary ¶ added in v0.2.20

func (m *ReconfigureComputeNatSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReconfigureComputeNatSpecification) UnmarshalBinary ¶ added in v0.2.20

func (m *ReconfigureComputeNatSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReconfigureComputeNatSpecification) Validate ¶ added in v0.2.20

Validate validates this reconfigure compute nat specification

type Region ¶

type Region struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// The id of the cloud account this region belongs to.
	// Example: 9e49
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Unique identifier of region on the provider side.
	// Example: us-west
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Name of region on the provider side. In vSphere, the name of the region is different from its id.
	// Example: us-west
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Region State object representing a region in a cloud account.<br>**HATEOAS** links:<br>**cloud-account** - CloudAccount - Cloud account for the region.**self** - Region - Self link to this region

swagger:model Region

func (*Region) ContextValidate ¶ added in v0.2.20

func (m *Region) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this region based on the context it is used

func (*Region) MarshalBinary ¶

func (m *Region) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Region) UnmarshalBinary ¶

func (m *Region) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Region) Validate ¶

func (m *Region) Validate(formats strfmt.Registry) error

Validate validates this region

type RegionResult ¶

type RegionResult struct {

	// List of content items
	// Read Only: true
	Content []*Region `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

RegionResult State object representing a query result of regions.

swagger:model RegionResult

func (*RegionResult) ContextValidate ¶ added in v0.2.20

func (m *RegionResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this region result based on the context it is used

func (*RegionResult) MarshalBinary ¶

func (m *RegionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegionResult) UnmarshalBinary ¶

func (m *RegionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegionResult) Validate ¶

func (m *RegionResult) Validate(formats strfmt.Registry) error

Validate validates this region result

type RegionSpecification ¶ added in v0.2.21

type RegionSpecification struct {

	// Unique identifier of region on the provider side.
	// Example: us-west
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// Name of region on the provider side. In vSphere, the name of the region is different from its id.
	// Example: us-west
	// Required: true
	Name *string `json:"name"`
}

RegionSpecification Specification for a region in a cloud account.

swagger:model RegionSpecification

func (*RegionSpecification) ContextValidate ¶ added in v0.2.21

func (m *RegionSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this region specification based on context it is used

func (*RegionSpecification) MarshalBinary ¶ added in v0.2.21

func (m *RegionSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegionSpecification) UnmarshalBinary ¶ added in v0.2.21

func (m *RegionSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegionSpecification) Validate ¶ added in v0.2.21

func (m *RegionSpecification) Validate(formats strfmt.Registry) error

Validate validates this region specification

type RemoteAccessSpecification ¶ added in v0.2.8

type RemoteAccessSpecification struct {

	// One of four authentication types.
	// `generatedPublicPrivateKey`: The provisioned machine generates the public/private key pair and enables SSH to use them without user input.
	// `publicPrivateKey`: The user enters the private key in the SSH command. See remoteAccess.sshKey.
	// `usernamePassword`: The user enters a username and password for remote access.
	// `keyPairName`: The user enters an already existing keyPair name. See remoteAccess.keyPair
	// Example: publicPrivateKey
	// Required: true
	Authentication *string `json:"authentication"`

	// Key Pair Name.
	KeyPair string `json:"keyPair,omitempty"`

	// Remote access password for the Azure machine.
	Password string `json:"password,omitempty"`

	// In key pair authentication, the public key on the provisioned machine. Users are expected to log in with their private key and a default username from the cloud provider. An AWS Ubuntu image comes with default user ubuntu, and Azure comes with default user azureuser. To log in by SSH:
	// `ssh -i <private-key-path> ubuntu@52.90.80.153`
	// `ssh -i <private-key-path> azureuser@40.76.14.255`
	// Example: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCu74dLkAGGYIgNuszEAM0HaS2Y6boTPw+HqsFmtPSOpxPQoosws/OWGZlW1uue6Y4lIvdRqZOaLK+2di5512etY67ZwFHc5h1kx4az433DsnoZhIzXEKKI+EXfH/w72CIyG/uVhIzmA4FvRVQKXinE1vaVen6v1CBQEZibx9RXrVRP1VRibsKFRXYxywNEl1VtPK7KaxCEYO9IXi4SKVulSAhOVequwjlo5E8bKNT61/g/YyMvwCbaTTPPeCpS/7i+JHYY3QZ8fQY/Syn+bOFpKCCHl+7VpsL8gjWe6fI4bUp6KUiW7ZkQpL/47rxawKnRMKKEU9P0ICp3RRB39lXT
	SSHKey string `json:"sshKey,omitempty"`

	// Remote access username for the Azure machine.
	Username string `json:"username,omitempty"`
}

RemoteAccessSpecification Represents a specification for machine's remote access settings.

swagger:model RemoteAccessSpecification

func (*RemoteAccessSpecification) ContextValidate ¶ added in v0.2.20

func (m *RemoteAccessSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote access specification based on context it is used

func (*RemoteAccessSpecification) MarshalBinary ¶ added in v0.2.8

func (m *RemoteAccessSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteAccessSpecification) UnmarshalBinary ¶ added in v0.2.8

func (m *RemoteAccessSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteAccessSpecification) Validate ¶ added in v0.2.8

func (m *RemoteAccessSpecification) Validate(formats strfmt.Registry) error

Validate validates this remote access specification

type Request ¶ added in v0.2.18

type Request struct {

	// Identifier of the requested action
	ActionID string `json:"actionId,omitempty"`

	// Time at which the request was approved.
	// Format: date-time
	ApprovedAt strfmt.DateTime `json:"approvedAt,omitempty"`

	// Identifier of the requested blueprint in the form 'UUID:version'
	BlueprintID string `json:"blueprintId,omitempty"`

	// Indicates whether request can be canceled or not.
	Cancelable bool `json:"cancelable,omitempty"`

	// Identifier of the requested catalog item in the form 'UUID:version'
	CatalogItemID string `json:"catalogItemId,omitempty"`

	// Time at which the request completed.
	// Format: date-time
	CompletedAt strfmt.DateTime `json:"completedAt,omitempty"`

	// The number of tasks completed while fulfilling this request.
	// Required: true
	CompletedTasks *int32 `json:"completedTasks"`

	// Creation time (e.g. date format '2019-07-13T23:16:49.310Z').
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Identifier of the requested deployment id to which the request applies to
	// Format: uuid
	DeploymentID strfmt.UUID `json:"deploymentId,omitempty"`

	// Longer user-friendly details of the request.
	Details string `json:"details,omitempty"`

	// Indicates whether request is in dismissed state.
	Dismissed bool `json:"dismissed,omitempty"`

	// Request identifier
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Time at which the request was initialized.
	// Format: date-time
	InitializedAt strfmt.DateTime `json:"initializedAt,omitempty"`

	// Request inputs
	Inputs interface{} `json:"inputs,omitempty"`

	// Short user-friendly label of the request (e.g. 'shuting down myVM')
	// Required: true
	Name *string `json:"name"`

	// Request outputs
	Outputs interface{} `json:"outputs,omitempty"`

	// User that initiated the request
	// Required: true
	RequestedBy *string `json:"requestedBy"`

	// Optional resource ids to which the request applies to
	ResourceIds []strfmt.UUID `json:"resourceIds"`

	// Request overall execution status.
	// Enum: [CREATED PENDING INITIALIZATION CHECKING_APPROVAL APPROVAL_PENDING INPROGRESS COMPLETION APPROVAL_REJECTED ABORTED SUCCESSFUL FAILED]
	Status string `json:"status,omitempty"`

	// The total number of tasks need to be completed to fulfil this request.
	// Required: true
	TotalTasks *int32 `json:"totalTasks"`

	// Last update time (e.g. date format '2019-07-13T23:16:49.310Z').
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

Request Request

Represents deployment requests.

swagger:model Request

func (*Request) ContextValidate ¶ added in v0.2.20

func (m *Request) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request based on context it is used

func (*Request) MarshalBinary ¶ added in v0.2.18

func (m *Request) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Request) UnmarshalBinary ¶ added in v0.2.18

func (m *Request) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Request) Validate ¶ added in v0.2.18

func (m *Request) Validate(formats strfmt.Registry) error

Validate validates this request

type RequestTracker ¶

type RequestTracker struct {

	// ID of the deployment, this request is connected to.
	// Example: 123e4567-e89b-12d3-a456-426614174000
	DeploymentID string `json:"deploymentId,omitempty"`

	// ID of this request.
	// Example: we655aew4e8e
	// Required: true
	ID *string `json:"id"`

	// Status message of the request.
	// Example: In Progress
	Message string `json:"message,omitempty"`

	// Name of the operation.
	// Example: Power-off
	Name string `json:"name,omitempty"`

	// Progress of the request as percentage.
	// Example: 90
	// Required: true
	Progress *int32 `json:"progress"`

	// Collection of resources.
	// Example: [\"/resources/i-0be3655a12fd28e8e\", \"/resources/i-0be234a15ft8det3\"]
	Resources []string `json:"resources"`

	// Self link of this request.
	// Example: /.../request-tracker/we655aew4e8e
	// Required: true
	SelfLink *string `json:"selfLink"`

	// Status of the request.
	// Example: FINISHED
	// Required: true
	// Enum: [FINISHED INPROGRESS FAILED]
	Status *string `json:"status"`
}

RequestTracker An object used to track long-running operations.

swagger:model RequestTracker

func (*RequestTracker) ContextValidate ¶ added in v0.2.20

func (m *RequestTracker) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request tracker based on context it is used

func (*RequestTracker) MarshalBinary ¶

func (m *RequestTracker) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestTracker) UnmarshalBinary ¶

func (m *RequestTracker) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestTracker) Validate ¶

func (m *RequestTracker) Validate(formats strfmt.Registry) error

Validate validates this request tracker

type RequestTrackerResult ¶

type RequestTrackerResult struct {

	// List of content items
	// Read Only: true
	Content []*RequestTracker `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

RequestTrackerResult State object representing a query result of request tracker objects.

swagger:model RequestTrackerResult

func (*RequestTrackerResult) ContextValidate ¶ added in v0.2.20

func (m *RequestTrackerResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this request tracker result based on the context it is used

func (*RequestTrackerResult) MarshalBinary ¶

func (m *RequestTrackerResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestTrackerResult) UnmarshalBinary ¶

func (m *RequestTrackerResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestTrackerResult) Validate ¶

func (m *RequestTrackerResult) Validate(formats strfmt.Registry) error

Validate validates this request tracker result

type Resource ¶

type Resource struct {

	// Creation time
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Current ongoing request on the resource
	CurrentRequest *Request `json:"currentRequest,omitempty"`

	// Deployment to which resource belongs
	Deployment *DeploymentReference `json:"deployment,omitempty"`

	// Resource deployment id
	DeploymentID string `json:"deploymentId,omitempty"`

	// A description of the resource
	Description string `json:"description,omitempty"`

	// Expense associated with the deployment.
	// Read Only: true
	Expense *Expense `json:"expense,omitempty"`

	// Unique identifier of the resource
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Name of the resource
	// Required: true
	Name *string `json:"name"`

	// Resource org id
	OrgID string `json:"orgId,omitempty"`

	// Origin of the resource
	// Enum: [ONBOARDED MIGRATED]
	Origin string `json:"origin,omitempty"`

	// Project to which resource's deployment belongs
	Project *ResourceReference `json:"project,omitempty"`

	// Resource project id
	ProjectID string `json:"projectId,omitempty"`

	// properties
	Properties interface{} `json:"properties,omitempty"`

	// The current sync status
	// Enum: [SUCCESS MISSING STALE]
	SyncStatus string `json:"syncStatus,omitempty"`

	// Type of the resource
	// Required: true
	Type *string `json:"type"`
}

Resource Resource

A resource ¶

swagger:model Resource

func (*Resource) ContextValidate ¶ added in v0.2.20

func (m *Resource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource based on the context it is used

func (*Resource) MarshalBinary ¶

func (m *Resource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary ¶

func (m *Resource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resource) Validate ¶

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type ResourceAction ¶

type ResourceAction struct {

	// Resource action type
	// Enum: [RESOURCE_ACTION RESOURCE_EXTENSION]
	ActionType string `json:"actionType,omitempty"`

	// Dependent resources
	Dependents []string `json:"dependents"`

	// Resource action description
	Description string `json:"description,omitempty"`

	// Resource action display name
	DisplayName string `json:"displayName,omitempty"`

	// Resource action custom UI definition. Optional
	FormDefinition *FormDefinition `json:"formDefinition,omitempty"`

	// Resource action id
	ID string `json:"id,omitempty"`

	// Resource action name
	Name string `json:"name,omitempty"`

	// Resource action org ID
	OrgID string `json:"orgId,omitempty"`

	// Resource action project ID
	ProjectID string `json:"projectId,omitempty"`

	// Resource action input schema
	Schema interface{} `json:"schema,omitempty"`

	// Resource action is valid for current state
	Valid bool `json:"valid,omitempty"`
}

ResourceAction ResourceAction

swagger:model ResourceAction

func (*ResourceAction) ContextValidate ¶ added in v0.2.20

func (m *ResourceAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource action based on the context it is used

func (*ResourceAction) MarshalBinary ¶

func (m *ResourceAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceAction) UnmarshalBinary ¶

func (m *ResourceAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceAction) Validate ¶

func (m *ResourceAction) Validate(formats strfmt.Registry) error

Validate validates this resource action

type ResourceActionRequest ¶

type ResourceActionRequest struct {

	// The id of the action to perform.
	ActionID string `json:"actionId,omitempty"`

	// Resource action request inputs
	Inputs interface{} `json:"inputs,omitempty"`

	// Reason for requesting a day2 operation
	Reason string `json:"reason,omitempty"`
}

ResourceActionRequest ResourceActionRequest

Represents a resource day-two request ¶

swagger:model ResourceActionRequest

func (*ResourceActionRequest) ContextValidate ¶ added in v0.2.20

func (m *ResourceActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource action request based on context it is used

func (*ResourceActionRequest) MarshalBinary ¶

func (m *ResourceActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceActionRequest) UnmarshalBinary ¶

func (m *ResourceActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceActionRequest) Validate ¶

func (m *ResourceActionRequest) Validate(formats strfmt.Registry) error

Validate validates this resource action request

type ResourceReference ¶

type ResourceReference struct {

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ResourceReference ResourceReference

swagger:model ResourceReference

func (*ResourceReference) ContextValidate ¶ added in v0.2.20

func (m *ResourceReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource reference based on context it is used

func (*ResourceReference) MarshalBinary ¶

func (m *ResourceReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceReference) UnmarshalBinary ¶

func (m *ResourceReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceReference) Validate ¶

func (m *ResourceReference) Validate(formats strfmt.Registry) error

Validate validates this resource reference

type ResourceType ¶ added in v0.2.0

type ResourceType struct {

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Resource type description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Resource type display name
	// Read Only: true
	DisplayName string `json:"displayName,omitempty"`

	// Endpoint type
	// Read Only: true
	EndpointType string `json:"endpointType,omitempty"`

	// Object ID
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Resource type name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// Provider resource operations
	// Read Only: true
	Operations map[string]string `json:"operations,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Provider Id
	// Read Only: true
	ProviderID string `json:"providerId,omitempty"`

	// Provider name
	// Read Only: true
	ProviderName string `json:"providerName,omitempty"`

	// Provider version
	// Read Only: true
	ProviderVersion string `json:"providerVersion,omitempty"`

	// Resource type schema
	// Read Only: true
	Schema *PropertyDefinition `json:"schema,omitempty"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`
}

ResourceType ResourceType

swagger:model ResourceType

func (*ResourceType) ContextValidate ¶ added in v0.2.20

func (m *ResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource type based on the context it is used

func (*ResourceType) MarshalBinary ¶ added in v0.2.0

func (m *ResourceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceType) UnmarshalBinary ¶ added in v0.2.0

func (m *ResourceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceType) Validate ¶ added in v0.2.0

func (m *ResourceType) Validate(formats strfmt.Registry) error

Validate validates this resource type

type ResponseEntity ¶ added in v0.2.21

type ResponseEntity struct {

	// body
	Body interface{} `json:"body,omitempty"`

	// status code
	// Enum: [100 CONTINUE 101 SWITCHING_PROTOCOLS 102 PROCESSING 103 CHECKPOINT 200 OK 201 CREATED 202 ACCEPTED 203 NON_AUTHORITATIVE_INFORMATION 204 NO_CONTENT 205 RESET_CONTENT 206 PARTIAL_CONTENT 207 MULTI_STATUS 208 ALREADY_REPORTED 226 IM_USED 300 MULTIPLE_CHOICES 301 MOVED_PERMANENTLY 302 FOUND 302 MOVED_TEMPORARILY 303 SEE_OTHER 304 NOT_MODIFIED 305 USE_PROXY 307 TEMPORARY_REDIRECT 308 PERMANENT_REDIRECT 400 BAD_REQUEST 401 UNAUTHORIZED 402 PAYMENT_REQUIRED 403 FORBIDDEN 404 NOT_FOUND 405 METHOD_NOT_ALLOWED 406 NOT_ACCEPTABLE 407 PROXY_AUTHENTICATION_REQUIRED 408 REQUEST_TIMEOUT 409 CONFLICT 410 GONE 411 LENGTH_REQUIRED 412 PRECONDITION_FAILED 413 PAYLOAD_TOO_LARGE 413 REQUEST_ENTITY_TOO_LARGE 414 URI_TOO_LONG 414 REQUEST_URI_TOO_LONG 415 UNSUPPORTED_MEDIA_TYPE 416 REQUESTED_RANGE_NOT_SATISFIABLE 417 EXPECTATION_FAILED 418 I_AM_A_TEAPOT 419 INSUFFICIENT_SPACE_ON_RESOURCE 420 METHOD_FAILURE 421 DESTINATION_LOCKED 422 UNPROCESSABLE_ENTITY 423 LOCKED 424 FAILED_DEPENDENCY 425 TOO_EARLY 426 UPGRADE_REQUIRED 428 PRECONDITION_REQUIRED 429 TOO_MANY_REQUESTS 431 REQUEST_HEADER_FIELDS_TOO_LARGE 451 UNAVAILABLE_FOR_LEGAL_REASONS 500 INTERNAL_SERVER_ERROR 501 NOT_IMPLEMENTED 502 BAD_GATEWAY 503 SERVICE_UNAVAILABLE 504 GATEWAY_TIMEOUT 505 HTTP_VERSION_NOT_SUPPORTED 506 VARIANT_ALSO_NEGOTIATES 507 INSUFFICIENT_STORAGE 508 LOOP_DETECTED 509 BANDWIDTH_LIMIT_EXCEEDED 510 NOT_EXTENDED 511 NETWORK_AUTHENTICATION_REQUIRED]
	StatusCode string `json:"statusCode,omitempty"`

	// status code value
	StatusCodeValue int32 `json:"statusCodeValue,omitempty"`
}

ResponseEntity ResponseEntity

swagger:model ResponseEntity

func (*ResponseEntity) ContextValidate ¶ added in v0.2.21

func (m *ResponseEntity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response entity based on context it is used

func (*ResponseEntity) MarshalBinary ¶ added in v0.2.21

func (m *ResponseEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseEntity) UnmarshalBinary ¶ added in v0.2.21

func (m *ResponseEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseEntity) Validate ¶ added in v0.2.21

func (m *ResponseEntity) Validate(formats strfmt.Registry) error

Validate validates this response entity

type RollbackConfiguration ¶ added in v0.2.22

type RollbackConfiguration interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Map representing the Input properties for the Rollback Pipeline.
	// Example: {"test":{"description":"test-value","mandatory":false}}
	Inputs() interface{}
	SetInputs(interface{})

	// Rollback Pipeline name.
	// Example: Rolback-Pipeline
	Name() string
	SetName(string)

	// Stage name for which the rollback pipeline is configured.
	// Example: Dev-Stage
	Stage() string
	SetStage(string)

	// Task name for which the rollback pipeline is configured.
	// Example: Publish-Image-Task
	Task() string
	SetTask(string)
}

RollbackConfiguration RollbackConfiguration

Model represents a Rollback configuration.

swagger:discriminator RollbackConfiguration Model represents a Rollback configuration.

func UnmarshalRollbackConfiguration ¶ added in v0.2.22

func UnmarshalRollbackConfiguration(reader io.Reader, consumer runtime.Consumer) (RollbackConfiguration, error)

UnmarshalRollbackConfiguration unmarshals polymorphic RollbackConfiguration

func UnmarshalRollbackConfigurationSlice ¶ added in v0.2.22

func UnmarshalRollbackConfigurationSlice(reader io.Reader, consumer runtime.Consumer) ([]RollbackConfiguration, error)

UnmarshalRollbackConfigurationSlice unmarshals polymorphic slices of RollbackConfiguration

type RollbackResponse ¶ added in v0.2.22

type RollbackResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Execution link of the rollback Pipeline.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Link() string
	SetLink(string)

	// Execution index of the rollback Pipeline.
	// Example: 4
	Index() int64
	SetIndex(int64)

	// Name of the rollback Pipeline.
	// Example: My-Rolled-Back-Pipeline
	Name() string
	SetName(string)

	// Output properties of a rollback Pipeline.
	// Example: [{"key":"env","value":"dev"}]
	Output() interface{}
	SetOutput(interface{})

	// Execution status of a rollback Pipeline.
	// Example: COMPLETED
	// Enum: [NOT_STARTED STARTED RUNNING CANCELING WAITING RESUMING PAUSING PAUSED CANCELED COMPLETED FAILED SKIPPED QUEUED FAILED_CONTINUE ROLLING_BACK ROLLBACK_FAILED PREPARING_WORKSPACE ROLLBACK_COMPLETED]
	Status() string
	SetStatus(string)

	// Execution status message of a rollback Pipeline.
	// Example: Executing Stage0
	StatusMessage() string
	SetStatusMessage(string)
}

RollbackResponse RollbackResponse

Represents the response after rolling back a Stage or Task.

swagger:discriminator RollbackResponse Represents the response after rolling back a Stage or Task.

func UnmarshalRollbackResponse ¶ added in v0.2.22

func UnmarshalRollbackResponse(reader io.Reader, consumer runtime.Consumer) (RollbackResponse, error)

UnmarshalRollbackResponse unmarshals polymorphic RollbackResponse

func UnmarshalRollbackResponseSlice ¶ added in v0.2.22

func UnmarshalRollbackResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]RollbackResponse, error)

UnmarshalRollbackResponseSlice unmarshals polymorphic slices of RollbackResponse

type RouteConfiguration ¶

type RouteConfiguration struct {

	// Algorithm employed for load balancing.
	// Example: ROUND_ROBIN
	Algorithm string `json:"algorithm,omitempty"`

	// Parameters need for load balancing algorithm.Use newline to separate multiple parameters.
	// Example: uriLength=10\nurlParam=section
	AlgorithmParameters string `json:"algorithmParameters,omitempty"`

	// Health check configuration for this route configuration.
	HealthCheckConfiguration *HealthCheckConfiguration `json:"healthCheckConfiguration,omitempty"`

	// Member port where the traffic is routed to.
	// Example: 80
	// Required: true
	MemberPort *string `json:"memberPort"`

	// The protocol of the member traffic.
	// Example: TCP, UDP
	// Required: true
	MemberProtocol *string `json:"memberProtocol"`

	// Port which the load balancer is listening to.
	// Example: 80
	// Required: true
	Port *string `json:"port"`

	// The protocol of the incoming load balancer requests.
	// Example: TCP, UDP
	// Required: true
	Protocol *string `json:"protocol"`
}

RouteConfiguration Load balancer route configuration.

swagger:model RouteConfiguration

func (*RouteConfiguration) ContextValidate ¶ added in v0.2.20

func (m *RouteConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this route configuration based on the context it is used

func (*RouteConfiguration) MarshalBinary ¶

func (m *RouteConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RouteConfiguration) UnmarshalBinary ¶

func (m *RouteConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RouteConfiguration) Validate ¶

func (m *RouteConfiguration) Validate(formats strfmt.Registry) error

Validate validates this route configuration

type Rule ¶

type Rule struct {

	// Type of access (Allow, Deny or Drop) for the security rule. Allow is default. Traffic that does not match any rules will be denied.
	// Example: Allow
	// Required: true
	// Enum: [Allow Deny Drop]
	Access *string `json:"access"`

	// Direction of the security rule (inbound or outboud).
	// Example: Outbound
	// Required: true
	// Enum: [Inbound Outbound]
	Direction *string `json:"direction"`

	// IP address(es) in CIDR format which the security rule applies to.
	// Example: 66.170.99.2/32
	// Required: true
	IPRangeCidr *string `json:"ipRangeCidr"`

	// Name of security rule.
	// Example: 5756f7e2
	Name string `json:"name,omitempty"`

	// Ports the security rule applies to.
	// Example: 443, 1-655535
	// Required: true
	Ports *string `json:"ports"`

	// Protocol the security rule applies to.
	// Example: ANY, TCP, UDP
	Protocol string `json:"protocol,omitempty"`

	// Service defined by the provider (such as: SSH, HTTPS). Either service or protocol have to be specified.
	// Example: HTTPS, SSH
	Service string `json:"service,omitempty"`
}

Rule A rule used in a security group.

swagger:model Rule

func (*Rule) ContextValidate ¶ added in v0.2.20

func (m *Rule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rule based on context it is used

func (*Rule) MarshalBinary ¶

func (m *Rule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rule) UnmarshalBinary ¶

func (m *Rule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rule) Validate ¶

func (m *Rule) Validate(formats strfmt.Registry) error

Validate validates this rule

type SaltConfiguration ¶ added in v0.2.21

type SaltConfiguration struct {

	// Additional auth params that can be passed in for provisioning the salt minion. Refer: https://docs.saltproject.io/en/master/topics/cloud/profiles.html
	// Example: {\"key\" : \"value\"}
	AdditionalAuthParams interface{} `json:"additionalAuthParams,omitempty"`

	// Additional configuration parameters for the salt minion, to be passed in as dictionary.  Refer: https://docs.saltproject.io/en/latest/ref/configuration/minion.html
	// Example: {\"key\" : \"value\"}
	AdditionalMinionParams interface{} `json:"additionalMinionParams,omitempty"`

	// Salt minion installer file name on the master.
	// Example: installer
	InstallerFileName string `json:"installerFileName,omitempty"`

	// Salt master id to which the Salt minion will be connected to.
	// Example: salt-master
	MasterID string `json:"masterId,omitempty"`

	// Salt minion ID to be assigned to the deployed minion.
	// Example: minion-abc
	MinionID string `json:"minionId,omitempty"`

	// Pillar environment to use when running state files.
	// Example: pillar-env
	PillarEnvironment string `json:"pillarEnvironment,omitempty"`

	// Salt environment to use when running state files.
	// Example: sse
	SaltEnvironment string `json:"saltEnvironment,omitempty"`

	// List of state files to run on the deployed minion.
	// Example: ["/apache.sls","/user.sls"]
	StateFiles []string `json:"stateFiles"`

	// Parameters required by the state file to run on the deployed minion.
	// Example: {\"key\" : \"value\"}
	Variables interface{} `json:"variables,omitempty"`
}

SaltConfiguration Represents salt configuration settings that has to be applied on the machine. To successfully apply the configurations, remoteAccess property is mandatory. The supported remoteAccess authentication types are usernamePassword and generatedPublicPrivateKey.

swagger:model SaltConfiguration

func (*SaltConfiguration) ContextValidate ¶ added in v0.2.21

func (m *SaltConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this salt configuration based on context it is used

func (*SaltConfiguration) MarshalBinary ¶ added in v0.2.21

func (m *SaltConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SaltConfiguration) UnmarshalBinary ¶ added in v0.2.21

func (m *SaltConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SaltConfiguration) Validate ¶ added in v0.2.21

func (m *SaltConfiguration) Validate(formats strfmt.Registry) error

Validate validates this salt configuration

type SecurityGroup ¶

type SecurityGroup struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Set of ids of the cloud accounts this resource belongs to.
	// Example: [9e49]
	// Unique: true
	CloudAccountIds []string `json:"cloudAccountIds"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional properties that may be used to extend the base resource.
	// Example: { \"property\" : \"value\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Deployment id that is associated with this resource.
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// External entity Id on the provider side.
	// Example: i-cfe4-e241-e53b-756a9a2e25d2
	ExternalID string `json:"externalId,omitempty"`

	// The external regionId of the resource.
	// Example: us-east-1
	// Required: true
	ExternalRegionID *string `json:"externalRegionId"`

	// The external zoneId of the resource.
	// Example: us-east-1a
	// Required: true
	ExternalZoneID *string `json:"externalZoneId"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// The id of the project this resource belongs to.
	// Example: 9e49
	ProjectID string `json:"projectId,omitempty"`

	// List of security rules.
	// Required: true
	Rules []*Rule `json:"rules"`

	// A set of tag keys and optional values that were set on this resource.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

SecurityGroup State object representing a security group.<br>**HATEOAS** links:<br>**cloud-accounts** - array[CloudAccount] - List of cloud accounts where this security group exists.<br>**self** - SecurityGroup - Self link to this security group

swagger:model SecurityGroup

func (*SecurityGroup) ContextValidate ¶ added in v0.2.20

func (m *SecurityGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security group based on the context it is used

func (*SecurityGroup) MarshalBinary ¶

func (m *SecurityGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityGroup) UnmarshalBinary ¶

func (m *SecurityGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityGroup) Validate ¶

func (m *SecurityGroup) Validate(formats strfmt.Registry) error

Validate validates this security group

type SecurityGroupResult ¶

type SecurityGroupResult struct {

	// List of content items
	// Read Only: true
	Content []*SecurityGroup `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

SecurityGroupResult State object representing a query result of security groups.

swagger:model SecurityGroupResult

func (*SecurityGroupResult) ContextValidate ¶ added in v0.2.20

func (m *SecurityGroupResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security group result based on the context it is used

func (*SecurityGroupResult) MarshalBinary ¶

func (m *SecurityGroupResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityGroupResult) UnmarshalBinary ¶

func (m *SecurityGroupResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityGroupResult) Validate ¶

func (m *SecurityGroupResult) Validate(formats strfmt.Registry) error

Validate validates this security group result

type SecurityGroupSpecification ¶ added in v0.2.14

type SecurityGroupSpecification struct {

	// Additional custom properties that may be used to extend this resource.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// The id of the deployment that is associated with this resource
	// Example: 123e4567-e89b-12d3-a456-426655440000
	DeploymentID string `json:"deploymentId,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The id of the project the current user belongs to.
	// Example: e058
	// Required: true
	ProjectID *string `json:"projectId"`

	// List of security rules.
	Rules []*Rule `json:"rules"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"group\", \"value\": \"ssh\" } ]
	Tags []*Tag `json:"tags"`
}

SecurityGroupSpecification Specification for a cloud security group

swagger:model SecurityGroupSpecification

func (*SecurityGroupSpecification) ContextValidate ¶ added in v0.2.20

func (m *SecurityGroupSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security group specification based on the context it is used

func (*SecurityGroupSpecification) MarshalBinary ¶ added in v0.2.14

func (m *SecurityGroupSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityGroupSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *SecurityGroupSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityGroupSpecification) Validate ¶ added in v0.2.14

func (m *SecurityGroupSpecification) Validate(formats strfmt.Registry) error

Validate validates this security group specification

type ServiceAccountRequest ¶ added in v0.2.18

type ServiceAccountRequest struct {

	// host name
	HostName string `json:"hostName,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`
}

ServiceAccountRequest ServiceAccountRequest

swagger:model ServiceAccountRequest

func (*ServiceAccountRequest) ContextValidate ¶ added in v0.2.20

func (m *ServiceAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service account request based on context it is used

func (*ServiceAccountRequest) MarshalBinary ¶ added in v0.2.18

func (m *ServiceAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceAccountRequest) UnmarshalBinary ¶ added in v0.2.18

func (m *ServiceAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceAccountRequest) Validate ¶ added in v0.2.18

func (m *ServiceAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this service account request

type ServiceErrorResponse ¶ added in v0.2.20

type ServiceErrorResponse struct {

	// details
	Details []string `json:"details"`

	// document kind
	DocumentKind string `json:"documentKind,omitempty"`

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// message Id
	MessageID string `json:"messageId,omitempty"`

	// server error Id
	ServerErrorID string `json:"serverErrorId,omitempty"`

	// stack trace
	StackTrace []string `json:"stackTrace"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`
}

ServiceErrorResponse service error response

swagger:model ServiceErrorResponse

func (*ServiceErrorResponse) ContextValidate ¶ added in v0.2.20

func (m *ServiceErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service error response based on context it is used

func (*ServiceErrorResponse) MarshalBinary ¶ added in v0.2.20

func (m *ServiceErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceErrorResponse) UnmarshalBinary ¶ added in v0.2.20

func (m *ServiceErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceErrorResponse) Validate ¶ added in v0.2.20

func (m *ServiceErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this service error response

type ServiceRequest ¶ added in v0.2.22

type ServiceRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Description for the cloned entity.
	// Example: cloned entity
	Description() string
	SetDescription(string)

	// Name field for the cloned entity.
	// Example: Pipeline-1
	Name() string
	SetName(string)

	// Action to be performed on the service.
	// Example: CLONE
	RequestType() string
	SetRequestType(string)
}

ServiceRequest ServiceRequest

Request object for actions such as cloning.

swagger:discriminator ServiceRequest Request object for actions such as cloning.

func UnmarshalServiceRequest ¶ added in v0.2.22

func UnmarshalServiceRequest(reader io.Reader, consumer runtime.Consumer) (ServiceRequest, error)

UnmarshalServiceRequest unmarshals polymorphic ServiceRequest

func UnmarshalServiceRequestSlice ¶ added in v0.2.22

func UnmarshalServiceRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]ServiceRequest, error)

UnmarshalServiceRequestSlice unmarshals polymorphic slices of ServiceRequest

type SliceOfEventLog ¶ added in v0.2.18

type SliceOfEventLog struct {

	// content
	Content []*EventLog `json:"content"`

	// empty
	Empty bool `json:"empty,omitempty"`

	// first
	First bool `json:"first,omitempty"`

	// last
	Last bool `json:"last,omitempty"`

	// number
	Number int32 `json:"number,omitempty"`

	// number of elements
	NumberOfElements int32 `json:"numberOfElements,omitempty"`

	// size
	Size int32 `json:"size,omitempty"`

	// sort
	Sort *Sort `json:"sort,omitempty"`
}

SliceOfEventLog SliceOfEventLog

swagger:model SliceOfEventLog

func (*SliceOfEventLog) ContextValidate ¶ added in v0.2.20

func (m *SliceOfEventLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this slice of event log based on the context it is used

func (*SliceOfEventLog) MarshalBinary ¶ added in v0.2.18

func (m *SliceOfEventLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SliceOfEventLog) UnmarshalBinary ¶ added in v0.2.18

func (m *SliceOfEventLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SliceOfEventLog) Validate ¶ added in v0.2.18

func (m *SliceOfEventLog) Validate(formats strfmt.Registry) error

Validate validates this slice of event log

type Snapshot ¶

type Snapshot struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// Indicates if the snapshot is the current snapshot for machine
	// Example: false
	IsCurrent bool `json:"isCurrent,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Snapshot Represents a machine snapshot

swagger:model Snapshot

func (*Snapshot) ContextValidate ¶ added in v0.2.20

func (m *Snapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot based on the context it is used

func (*Snapshot) MarshalBinary ¶

func (m *Snapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snapshot) UnmarshalBinary ¶

func (m *Snapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snapshot) Validate ¶

func (m *Snapshot) Validate(formats strfmt.Registry) error

Validate validates this snapshot

type SnapshotSpecification ¶

type SnapshotSpecification struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Additional custom properties that may be used to extend the snapshot.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Captures the full state of a running virtual machine, including the memory.
	SnapshotMemory bool `json:"snapshotMemory,omitempty"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

SnapshotSpecification snapshot specification

swagger:model SnapshotSpecification

func (*SnapshotSpecification) ContextValidate ¶ added in v0.2.20

func (m *SnapshotSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot specification based on the context it is used

func (*SnapshotSpecification) MarshalBinary ¶

func (m *SnapshotSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotSpecification) UnmarshalBinary ¶

func (m *SnapshotSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotSpecification) Validate ¶

func (m *SnapshotSpecification) Validate(formats strfmt.Registry) error

Validate validates this snapshot specification

type Sort ¶

type Sort struct {

	// empty
	Empty bool `json:"empty,omitempty"`

	// sorted
	Sorted bool `json:"sorted,omitempty"`

	// unsorted
	Unsorted bool `json:"unsorted,omitempty"`
}

Sort Sort

swagger:model Sort

func (*Sort) ContextValidate ¶ added in v0.2.20

func (m *Sort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sort based on context it is used

func (*Sort) MarshalBinary ¶

func (m *Sort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Sort) UnmarshalBinary ¶

func (m *Sort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Sort) Validate ¶

func (m *Sort) Validate(formats strfmt.Registry) error

Validate validates this sort

type SourceControlSyncAllRequest ¶ added in v0.2.7

type SourceControlSyncAllRequest struct {

	// Project Ids
	ProjectIds []string `json:"projectIds"`
}

SourceControlSyncAllRequest SourceControlSyncAllRequest

swagger:model SourceControlSyncAllRequest

func (*SourceControlSyncAllRequest) ContextValidate ¶ added in v0.2.20

func (m *SourceControlSyncAllRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this source control sync all request based on context it is used

func (*SourceControlSyncAllRequest) MarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncAllRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SourceControlSyncAllRequest) UnmarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncAllRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SourceControlSyncAllRequest) Validate ¶ added in v0.2.7

func (m *SourceControlSyncAllRequest) Validate(formats strfmt.Registry) error

Validate validates this source control sync all request

type SourceControlSyncHistory ¶ added in v0.2.7

type SourceControlSyncHistory struct {

	// content
	Content []*SourceControlSyncHistoryItem `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

SourceControlSyncHistory SourceControlSyncHistory

swagger:model SourceControlSyncHistory

func (*SourceControlSyncHistory) ContextValidate ¶ added in v0.2.20

func (m *SourceControlSyncHistory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this source control sync history based on the context it is used

func (*SourceControlSyncHistory) MarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SourceControlSyncHistory) UnmarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SourceControlSyncHistory) Validate ¶ added in v0.2.7

func (m *SourceControlSyncHistory) Validate(formats strfmt.Registry) error

Validate validates this source control sync history

type SourceControlSyncHistoryItem ¶ added in v0.2.7

type SourceControlSyncHistoryItem struct {

	// Content Full Path
	// Read Only: true
	ContentFullPath string `json:"contentFullPath,omitempty"`

	// Content Name
	// Read Only: true
	ContentName string `json:"contentName,omitempty"`

	// Content Type
	// Read Only: true
	// Enum: [BLUEPRINT IMAGE ABX_SCRIPTS TERRAFORM_CONFIGURATION]
	ContentType string `json:"contentType,omitempty"`

	// Details
	// Read Only: true
	Details []string `json:"details"`

	// Unique Id for the Source Control History
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Integration Id
	// Read Only: true
	IntegrationID string `json:"integrationId,omitempty"`

	// Project Id
	// Read Only: true
	ProjectID string `json:"projectId,omitempty"`

	// Project Name
	// Read Only: true
	ProjectName string `json:"projectName,omitempty"`

	// Id of the sync request
	// Format: uuid
	RequestID strfmt.UUID `json:"requestId,omitempty"`

	// Content source Id
	// Read Only: true
	// Format: uuid
	SourceID strfmt.UUID `json:"sourceId,omitempty"`

	// Status
	// Read Only: true
	Status string `json:"status,omitempty"`

	// Timestamp
	// Read Only: true
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

SourceControlSyncHistoryItem SourceControlSyncHistoryItem

swagger:model SourceControlSyncHistoryItem

func (*SourceControlSyncHistoryItem) ContextValidate ¶ added in v0.2.20

func (m *SourceControlSyncHistoryItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this source control sync history item based on the context it is used

func (*SourceControlSyncHistoryItem) MarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncHistoryItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SourceControlSyncHistoryItem) UnmarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncHistoryItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SourceControlSyncHistoryItem) Validate ¶ added in v0.2.7

func (m *SourceControlSyncHistoryItem) Validate(formats strfmt.Registry) error

Validate validates this source control sync history item

type SourceControlSyncRequest ¶ added in v0.2.7

type SourceControlSyncRequest struct {

	// Created at
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Last Updated at
	// Read Only: true
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt,omitempty"`

	// Message
	// Read Only: true
	Message string `json:"message,omitempty"`

	// Project Id
	// Read Only: true
	ProjectID string `json:"projectId,omitempty"`

	// Request Id
	// Read Only: true
	// Format: uuid
	RequestID strfmt.UUID `json:"requestId,omitempty"`

	// Content Source Id
	// Format: uuid
	SourceID strfmt.UUID `json:"sourceId,omitempty"`

	// Status
	// Read Only: true
	// Enum: [REQUESTED STARTED PROCESSING COMPLETED FAILED SKIPPED]
	Status string `json:"status,omitempty"`
}

SourceControlSyncRequest SourceControlSyncRequest

swagger:model SourceControlSyncRequest

func (*SourceControlSyncRequest) ContextValidate ¶ added in v0.2.20

func (m *SourceControlSyncRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this source control sync request based on the context it is used

func (*SourceControlSyncRequest) MarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SourceControlSyncRequest) UnmarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SourceControlSyncRequest) Validate ¶ added in v0.2.7

func (m *SourceControlSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this source control sync request

type SourceControlSyncRequests ¶ added in v0.2.7

type SourceControlSyncRequests struct {

	// content
	Content []*SourceControlSyncRequest `json:"content"`

	// links
	Links []*Link `json:"links"`

	// page
	Page *PageMetadata `json:"page,omitempty"`
}

SourceControlSyncRequests SourceControlSyncRequests

swagger:model SourceControlSyncRequests

func (*SourceControlSyncRequests) ContextValidate ¶ added in v0.2.20

func (m *SourceControlSyncRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this source control sync requests based on the context it is used

func (*SourceControlSyncRequests) MarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncRequests) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SourceControlSyncRequests) UnmarshalBinary ¶ added in v0.2.7

func (m *SourceControlSyncRequests) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SourceControlSyncRequests) Validate ¶ added in v0.2.7

func (m *SourceControlSyncRequests) Validate(formats strfmt.Registry) error

Validate validates this source control sync requests

type Stage ¶ added in v0.2.22

type Stage interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Stage description.
	// Example: Image Publish Stage
	Description() string
	SetDescription(string)

	// Tags are useful for ease in searching, grouping or filtering.
	// Example: ["Tag1","Tag2"]
	Tags() []string
	SetTags([]string)

	// Order in which tasks will be executed.
	// Example: ["Task1","Task0"]
	TaskOrder() []string
	SetTaskOrder([]string)

	// Map representing details of various tasks present in the stage.
	// Example: {"Task1":{"ignoreFailure":false,"input":{"action":"get","headers":{"Accept":"application/json","Content-Type":"application/json"},"url":"https://www.vmware.com"},"preCondition":"","type":"REST"}}
	Tasks() map[string]Task
	SetTasks(map[string]Task)
}

Stage Stage

Data type for the Stage.

swagger:discriminator Stage Data type for the Stage.

func UnmarshalStage ¶ added in v0.2.22

func UnmarshalStage(reader io.Reader, consumer runtime.Consumer) (Stage, error)

UnmarshalStage unmarshals polymorphic Stage

func UnmarshalStageSlice ¶ added in v0.2.22

func UnmarshalStageSlice(reader io.Reader, consumer runtime.Consumer) ([]Stage, error)

UnmarshalStageSlice unmarshals polymorphic slices of Stage

type StageExecution ¶ added in v0.2.22

type StageExecution interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Execution duration of the Stage Execution (in micros).
	// Example: 1568625938000000
	DurationInMicros() int64
	SetDurationInMicros(int64)

	// End time of the Stage Execution (in micros)..
	// Example: 1568625938000000
	EndTime() int64
	SetEndTime(int64)

	// Start time of the Stage Execution (in micros)..
	// Example: 1568625938000000
	StartTime() int64
	SetStartTime(int64)

	// The id of this Stage.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// A human-friendly name used as an identifier For the Stage.
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	Notifications() []Notification
	SetNotifications([]Notification)

	RollbackConfiguration() RollbackConfiguration
	SetRollbackConfiguration(RollbackConfiguration)

	RollbackResponse() RollbackResponse
	SetRollbackResponse(RollbackResponse)

	// Execution status of the Stage Execution.
	// Example: COMPLETED
	// Enum: [NOT_STARTED STARTED RUNNING CANCELING WAITING RESUMING PAUSING PAUSED CANCELED COMPLETED FAILED SKIPPED QUEUED FAILED_CONTINUE ROLLING_BACK ROLLBACK_FAILED PREPARING_WORKSPACE ROLLBACK_COMPLETED]
	Status() string
	SetStatus(string)

	// Execution status message of the Stage Execution.
	// Example: Executing Stage0
	StatusMessage() string
	SetStatusMessage(string)

	// Ordering of the various Tasks within the Stage.
	// Example: \"taskOrder\": [\n        \"Test1,Test2\",\n        \"Test3\"\n      ],
	TaskOrder() []string
	SetTaskOrder([]string)

	// Represents the various Tasks in the Stage.
	Tasks() map[string]TaskExecution
	SetTasks(map[string]TaskExecution)
}

StageExecution StageExecution

Contains Stage Execution details.

swagger:discriminator StageExecution Contains Stage Execution details.

func UnmarshalStageExecution ¶ added in v0.2.22

func UnmarshalStageExecution(reader io.Reader, consumer runtime.Consumer) (StageExecution, error)

UnmarshalStageExecution unmarshals polymorphic StageExecution

func UnmarshalStageExecutionSlice ¶ added in v0.2.22

func UnmarshalStageExecutionSlice(reader io.Reader, consumer runtime.Consumer) ([]StageExecution, error)

UnmarshalStageExecutionSlice unmarshals polymorphic slices of StageExecution

type StorageProfile ¶

type StorageProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this storage profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Indicates if a storage profile is default profile or not.
	// Required: true
	DefaultItem *bool `json:"defaultItem"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// Map of storage properties that are to be applied on disk while provisioning.
	// Example: { \"diskProperties\": {\n                    \"provisioningType\": \"thin\",\n                    \"sharesLevel\": \"low\",\n                    \"shares\": \"500\",\n                    \"limitIops\": \"500\",\n                    \"diskType\": \"firstClass\"\n                } }
	DiskProperties map[string]string `json:"diskProperties,omitempty"`

	// The id of the region for which this profile is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Indicates whether this storage profile supports encryption or not.
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

StorageProfile Represents a structure that holds details of storage profile linked to a cloud zone / region.**HATEOAS** links:<br>**region** - Region - Region for the profile.<br>**self** - StorageProfile - Self link to this storage profile.<br>**datastore** - FabricVsphereDatastore - Datastore of this storage profile.<br>**storage-policy** - FabricVsphereStoragePolicy - vSphere storage policy for this profile.<br> **storage-account** - FabricAzureStorageAccount - Azure storage account for this profile.<br>

swagger:model StorageProfile

func (*StorageProfile) ContextValidate ¶ added in v0.2.20

func (m *StorageProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile based on the context it is used

func (*StorageProfile) MarshalBinary ¶

func (m *StorageProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfile) UnmarshalBinary ¶

func (m *StorageProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfile) Validate ¶

func (m *StorageProfile) Validate(formats strfmt.Registry) error

Validate validates this storage profile

type StorageProfileAwsResult ¶

type StorageProfileAwsResult struct {

	// List of content items
	// Read Only: true
	Content []*AwsStorageProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

StorageProfileAwsResult State object representing a query result of Aws storage profiles.

swagger:model StorageProfileAwsResult

func (*StorageProfileAwsResult) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileAwsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile aws result based on the context it is used

func (*StorageProfileAwsResult) MarshalBinary ¶

func (m *StorageProfileAwsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileAwsResult) UnmarshalBinary ¶

func (m *StorageProfileAwsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileAwsResult) Validate ¶

func (m *StorageProfileAwsResult) Validate(formats strfmt.Registry) error

Validate validates this storage profile aws result

type StorageProfileAwsSpecification ¶

type StorageProfileAwsSpecification struct {

	// Indicates if a storage profile is default or not.
	// Example: true
	DefaultItem bool `json:"defaultItem,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Indicates the type of storage.
	// Example: ebs / instance-store
	// Required: true
	DeviceType *string `json:"deviceType"`

	// Indicates maximum I/O operations per second in range(1-20,000).
	// Example: 2000
	Iops string `json:"iops,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// A link to the region that is associated with the storage profile.
	// Example: 31186
	// Required: true
	RegionID *string `json:"regionId"`

	// Indicates whether this storage profile supports encryption or not.
	// Example: false
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`

	// Indicates the type of volume associated with type of storage.
	// Example: gp2 / io1 / sc1 / st1 / standard
	VolumeType string `json:"volumeType,omitempty"`
}

StorageProfileAwsSpecification Represents a specification of AWS storage profile.

swagger:model StorageProfileAwsSpecification

func (*StorageProfileAwsSpecification) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileAwsSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile aws specification based on the context it is used

func (*StorageProfileAwsSpecification) MarshalBinary ¶

func (m *StorageProfileAwsSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileAwsSpecification) UnmarshalBinary ¶

func (m *StorageProfileAwsSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileAwsSpecification) Validate ¶

func (m *StorageProfileAwsSpecification) Validate(formats strfmt.Registry) error

Validate validates this storage profile aws specification

type StorageProfileAzureResult ¶

type StorageProfileAzureResult struct {

	// List of content items
	// Read Only: true
	Content []*AzureStorageProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

StorageProfileAzureResult State object representing a query result of Azure storage profiles.

swagger:model StorageProfileAzureResult

func (*StorageProfileAzureResult) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileAzureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile azure result based on the context it is used

func (*StorageProfileAzureResult) MarshalBinary ¶

func (m *StorageProfileAzureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileAzureResult) UnmarshalBinary ¶

func (m *StorageProfileAzureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileAzureResult) Validate ¶

func (m *StorageProfileAzureResult) Validate(formats strfmt.Registry) error

Validate validates this storage profile azure result

type StorageProfileAzureSpecification ¶

type StorageProfileAzureSpecification struct {

	// Indicates the caching mechanism for additional disk.
	// Example: None / ReadOnly / ReadWrite
	DataDiskCaching string `json:"dataDiskCaching,omitempty"`

	// Indicates if a storage policy contains default storage properties.
	// Example: true
	DefaultItem bool `json:"defaultItem,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Indicates the id of disk encryption set.
	// Example: /subscriptions/b8ef63/resourceGroups/DiskEncryptionSets/providers/Microsoft.Compute/diskEncryptionSets/MyDES
	DiskEncryptionSetID string `json:"diskEncryptionSetId,omitempty"`

	// Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
	// Example: Standard_LRS / Premium_LRS
	DiskType string `json:"diskType,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
	// Example: None / ReadOnly / ReadWrite
	OsDiskCaching string `json:"osDiskCaching,omitempty"`

	// The If of the region that is associated with the storage profile.
	// Example: 31186
	// Required: true
	RegionID *string `json:"regionId"`

	// Id of a storage account where in the disk is placed.
	// Example: aaa82
	StorageAccountID string `json:"storageAccountId,omitempty"`

	// Indicates whether this storage policy should support encryption or not.
	// Example: false
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A set of tag keys and optional values for a storage policy which define set of specifications for creating a disk.
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`
}

StorageProfileAzureSpecification Represents a specification of Azure storage profile.

swagger:model StorageProfileAzureSpecification

func (*StorageProfileAzureSpecification) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileAzureSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile azure specification based on the context it is used

func (*StorageProfileAzureSpecification) MarshalBinary ¶

func (m *StorageProfileAzureSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileAzureSpecification) UnmarshalBinary ¶

func (m *StorageProfileAzureSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileAzureSpecification) Validate ¶

Validate validates this storage profile azure specification

type StorageProfileResult ¶

type StorageProfileResult struct {

	// List of content items
	// Read Only: true
	Content []*StorageProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

StorageProfileResult State object representing a query result of storage profiles.

swagger:model StorageProfileResult

func (*StorageProfileResult) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile result based on the context it is used

func (*StorageProfileResult) MarshalBinary ¶

func (m *StorageProfileResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileResult) UnmarshalBinary ¶

func (m *StorageProfileResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileResult) Validate ¶

func (m *StorageProfileResult) Validate(formats strfmt.Registry) error

Validate validates this storage profile result

type StorageProfileSpecification ¶

type StorageProfileSpecification struct {

	// Indicates if a storage profile is a default profile.
	// Required: true
	DefaultItem *bool `json:"defaultItem"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Map of storage properties that are to be applied on disk while provisioning.
	// Example: { \"diskProperties\": {\n                    \"provisioningType\": \"thin\",\n                    \"sharesLevel\": \"low\",\n                    \"shares\": \"500\",\n                    \"limitIops\": \"500\"\n                    \"diskType\": \"firstClass\"\n                    \"deviceType\": \"ebs\"\n                    \"volumeType\": \"gp2\"\n                    \"azureDataDiskCaching\": \"ReadWrite\"\n                    \"azureOsDiskCaching\": \"ReadWrite\"\n                    \"azureManagedDiskType\": \"Standard_LRS\"\n                } }
	DiskProperties map[string]string `json:"diskProperties,omitempty"`

	// Map of storage placements to know where the disk is provisioned.
	// Example: { \"diskTargetProperties\": {\n                    \"storageAccountId\": \"27dhbf7\",\n                    \"storagePolicyId\": \"7fhfj9f\",\n                    \"datastoreId\": \"638nfjd8\",\n                } }
	DiskTargetProperties map[string]string `json:"diskTargetProperties,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// The Id of the region that is associated with the storage profile.
	// Example: 31186
	// Required: true
	RegionID *string `json:"regionId"`

	// Indicates whether this storage profile supports encryption or not.
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`
}

StorageProfileSpecification Represents a specification of generic storage profile.

swagger:model StorageProfileSpecification

func (*StorageProfileSpecification) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile specification based on the context it is used

func (*StorageProfileSpecification) MarshalBinary ¶

func (m *StorageProfileSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileSpecification) UnmarshalBinary ¶

func (m *StorageProfileSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileSpecification) Validate ¶

func (m *StorageProfileSpecification) Validate(formats strfmt.Registry) error

Validate validates this storage profile specification

type StorageProfileVsphereResult ¶

type StorageProfileVsphereResult struct {

	// List of content items
	// Read Only: true
	Content []*VsphereStorageProfile `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

StorageProfileVsphereResult State object representing a query result of vShpere storage profiles.

swagger:model StorageProfileVsphereResult

func (*StorageProfileVsphereResult) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileVsphereResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile vsphere result based on the context it is used

func (*StorageProfileVsphereResult) MarshalBinary ¶

func (m *StorageProfileVsphereResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileVsphereResult) UnmarshalBinary ¶

func (m *StorageProfileVsphereResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileVsphereResult) Validate ¶

func (m *StorageProfileVsphereResult) Validate(formats strfmt.Registry) error

Validate validates this storage profile vsphere result

type StorageProfileVsphereSpecification ¶

type StorageProfileVsphereSpecification struct {

	// Id of the vSphere Datastore for placing disk and VM.
	// Example: 08d28
	DatastoreID string `json:"datastoreId,omitempty"`

	// Indicates if a storage profile acts as a default storage profile for a disk.
	// Example: true
	// Required: true
	DefaultItem *bool `json:"defaultItem"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Type of mode for the disk
	// Example: undefined / independent-persistent / independent-nonpersistent
	DiskMode string `json:"diskMode,omitempty"`

	// Disk types are specified as
	//
	//  	Standard - Simple vSphere virtual disks which cannot be managed independently without an attached VM.
	// 	First Class - Improved version of standard virtual disks, designed to be fully mananged independent storage objects.
	//
	// Empty value is considered as Standard
	// Example: standard / firstClass
	DiskType string `json:"diskType,omitempty"`

	// The upper bound for the I/O operations per second allocated for each virtual disk.
	// Example: 1000
	LimitIops string `json:"limitIops,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Type of provisioning policy for the disk.
	// Example: thin / thick / eagerZeroedThick
	ProvisioningType string `json:"provisioningType,omitempty"`

	// The Id of the region that is associated with the storage profile.
	// Example: 31186
	// Required: true
	RegionID *string `json:"regionId"`

	// A specific number of shares assigned to each virtual machine.
	// Example: 2000
	Shares string `json:"shares,omitempty"`

	// Shares are specified as High, Normal, Low or Custom and these values specify share values with a 4:2:1 ratio, respectively.
	// Example: low / normal / high / custom
	SharesLevel string `json:"sharesLevel,omitempty"`

	// Id of the vSphere Storage Policy to be applied.
	// Example: 6b59743af31d
	StoragePolicyID string `json:"storagePolicyId,omitempty"`

	// Indicates whether this storage profile supports encryption or not.
	// Example: false
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile.
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`
}

StorageProfileVsphereSpecification Represents a specification of vSphere storage profile.

swagger:model StorageProfileVsphereSpecification

func (*StorageProfileVsphereSpecification) ContextValidate ¶ added in v0.2.20

func (m *StorageProfileVsphereSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage profile vsphere specification based on the context it is used

func (*StorageProfileVsphereSpecification) MarshalBinary ¶

func (m *StorageProfileVsphereSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageProfileVsphereSpecification) UnmarshalBinary ¶

func (m *StorageProfileVsphereSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageProfileVsphereSpecification) Validate ¶

Validate validates this storage profile vsphere specification

type StreamingResponseBody ¶ added in v0.2.21

type StreamingResponseBody interface{}

StreamingResponseBody StreamingResponseBody

swagger:model StreamingResponseBody

type Support ¶ added in v0.2.7

type Support struct {

	// Support Email
	Email string `json:"email,omitempty"`

	// Support Hours
	Hours string `json:"hours,omitempty"`

	// Support Phone
	Phone string `json:"phone,omitempty"`

	// Support Statement
	Statement string `json:"statement,omitempty"`

	// Support URL
	URL string `json:"url,omitempty"`
}

Support Support

swagger:model Support

func (*Support) ContextValidate ¶ added in v0.2.20

func (m *Support) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this support based on context it is used

func (*Support) MarshalBinary ¶ added in v0.2.7

func (m *Support) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Support) UnmarshalBinary ¶ added in v0.2.7

func (m *Support) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Support) Validate ¶ added in v0.2.7

func (m *Support) Validate(formats strfmt.Registry) error

Validate validates this support

type SupportedAPI ¶ added in v0.2.0

type SupportedAPI struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`
}

SupportedAPI SupportedApi

swagger:model SupportedApi

func (*SupportedAPI) ContextValidate ¶ added in v0.2.20

func (m *SupportedAPI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this supported Api based on context it is used

func (*SupportedAPI) MarshalBinary ¶ added in v0.2.0

func (m *SupportedAPI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportedAPI) UnmarshalBinary ¶ added in v0.2.0

func (m *SupportedAPI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportedAPI) Validate ¶ added in v0.2.0

func (m *SupportedAPI) Validate(formats strfmt.Registry) error

Validate validates this supported Api

type Tag ¶

type Tag struct {

	// Tag's key.
	// Required: true
	Key *string `json:"key"`

	// Tag's value.
	// Required: true
	Value *string `json:"value"`
}

Tag tag

swagger:model Tag

func (*Tag) ContextValidate ¶ added in v0.2.20

func (m *Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag based on context it is used

func (*Tag) MarshalBinary ¶

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary ¶

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate ¶

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

type TagBasedMetering ¶ added in v0.2.8

type TagBasedMetering struct {

	// key
	Key string `json:"key,omitempty"`

	// metering
	Metering *Metering `json:"metering,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

TagBasedMetering TagBasedMetering

swagger:model TagBasedMetering

func (*TagBasedMetering) ContextValidate ¶ added in v0.2.20

func (m *TagBasedMetering) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based metering based on the context it is used

func (*TagBasedMetering) MarshalBinary ¶ added in v0.2.8

func (m *TagBasedMetering) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagBasedMetering) UnmarshalBinary ¶ added in v0.2.8

func (m *TagBasedMetering) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagBasedMetering) Validate ¶ added in v0.2.8

func (m *TagBasedMetering) Validate(formats strfmt.Registry) error

Validate validates this tag based metering

type TagBasedMeteringItem ¶ added in v0.2.8

type TagBasedMeteringItem struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// tag based meterings
	TagBasedMeterings []*TagBasedMetering `json:"tagBasedMeterings"`
}

TagBasedMeteringItem TagBasedMeteringItem

swagger:model TagBasedMeteringItem

func (*TagBasedMeteringItem) ContextValidate ¶ added in v0.2.20

func (m *TagBasedMeteringItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based metering item based on the context it is used

func (*TagBasedMeteringItem) MarshalBinary ¶ added in v0.2.8

func (m *TagBasedMeteringItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagBasedMeteringItem) UnmarshalBinary ¶ added in v0.2.8

func (m *TagBasedMeteringItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagBasedMeteringItem) Validate ¶ added in v0.2.8

func (m *TagBasedMeteringItem) Validate(formats strfmt.Registry) error

Validate validates this tag based metering item

type TagBasedOneTimeMetering ¶ added in v0.2.8

type TagBasedOneTimeMetering struct {

	// key
	Key string `json:"key,omitempty"`

	// one time metering
	OneTimeMetering *OneTimeMetering `json:"oneTimeMetering,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

TagBasedOneTimeMetering TagBasedOneTimeMetering

swagger:model TagBasedOneTimeMetering

func (*TagBasedOneTimeMetering) ContextValidate ¶ added in v0.2.20

func (m *TagBasedOneTimeMetering) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based one time metering based on the context it is used

func (*TagBasedOneTimeMetering) MarshalBinary ¶ added in v0.2.8

func (m *TagBasedOneTimeMetering) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagBasedOneTimeMetering) UnmarshalBinary ¶ added in v0.2.8

func (m *TagBasedOneTimeMetering) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagBasedOneTimeMetering) Validate ¶ added in v0.2.8

func (m *TagBasedOneTimeMetering) Validate(formats strfmt.Registry) error

Validate validates this tag based one time metering

type TagBasedOneTimeMeteringItem ¶ added in v0.2.8

type TagBasedOneTimeMeteringItem struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// one time meterings
	OneTimeMeterings []*TagBasedOneTimeMetering `json:"oneTimeMeterings"`
}

TagBasedOneTimeMeteringItem TagBasedOneTimeMeteringItem

swagger:model TagBasedOneTimeMeteringItem

func (*TagBasedOneTimeMeteringItem) ContextValidate ¶ added in v0.2.20

func (m *TagBasedOneTimeMeteringItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based one time metering item based on the context it is used

func (*TagBasedOneTimeMeteringItem) MarshalBinary ¶ added in v0.2.8

func (m *TagBasedOneTimeMeteringItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagBasedOneTimeMeteringItem) UnmarshalBinary ¶ added in v0.2.8

func (m *TagBasedOneTimeMeteringItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagBasedOneTimeMeteringItem) Validate ¶ added in v0.2.8

func (m *TagBasedOneTimeMeteringItem) Validate(formats strfmt.Registry) error

Validate validates this tag based one time metering item

type TagBasedRateFactorItem ¶ added in v0.2.8

type TagBasedRateFactorItem struct {

	// item name
	ItemName string `json:"itemName,omitempty"`

	// rate factors
	RateFactors []*RateFactorItem `json:"rateFactors"`
}

TagBasedRateFactorItem TagBasedRateFactorItem

swagger:model TagBasedRateFactorItem

func (*TagBasedRateFactorItem) ContextValidate ¶ added in v0.2.20

func (m *TagBasedRateFactorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based rate factor item based on the context it is used

func (*TagBasedRateFactorItem) MarshalBinary ¶ added in v0.2.8

func (m *TagBasedRateFactorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagBasedRateFactorItem) UnmarshalBinary ¶ added in v0.2.8

func (m *TagBasedRateFactorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagBasedRateFactorItem) Validate ¶ added in v0.2.8

func (m *TagBasedRateFactorItem) Validate(formats strfmt.Registry) error

Validate validates this tag based rate factor item

type TagResult ¶

type TagResult struct {

	// List of content items
	// Read Only: true
	Content []*Tag `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

TagResult State object representing a query result of tags.

swagger:model TagResult

func (*TagResult) ContextValidate ¶ added in v0.2.20

func (m *TagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag result based on the context it is used

func (*TagResult) MarshalBinary ¶

func (m *TagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagResult) UnmarshalBinary ¶

func (m *TagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagResult) Validate ¶

func (m *TagResult) Validate(formats strfmt.Registry) error

Validate validates this tag result

type Task ¶ added in v0.2.22

type Task interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Map representing the Output properties for the Task.
	// Example: [{"deployedMachineIP":"10.108.35.54","result":"true"}]
	Endpoints() map[string]string
	SetEndpoints(map[string]string)

	// Ignores the failure of the Task execution if set to true, and continues with the Pipeline execution.
	// Example: true
	IgnoreFailure() bool
	SetIgnoreFailure(bool)

	// Map representing the Input properties for the Task.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input() interface{}
	SetInput(interface{})

	// The Task is executed only if this field evaluates to true.
	// Example: ${input.buildNumber} != '100'
	PreCondition() string
	SetPreCondition(string)

	// A set of tag keys and optional values that were set on on the resource.
	// Example: [{"key":"env","value":"dev"}]
	Tags() []string
	SetTags([]string)

	// Type of the Task.
	// Example: jenkins
	Type() string
	SetType(string)
}

Task Task

Represents the individual Tasks in a Pipeline.

swagger:discriminator Task Represents the individual Tasks in a Pipeline.

func UnmarshalTask ¶ added in v0.2.22

func UnmarshalTask(reader io.Reader, consumer runtime.Consumer) (Task, error)

UnmarshalTask unmarshals polymorphic Task

func UnmarshalTaskSlice ¶ added in v0.2.22

func UnmarshalTaskSlice(reader io.Reader, consumer runtime.Consumer) ([]Task, error)

UnmarshalTaskSlice unmarshals polymorphic slices of Task

type TaskExecution ¶ added in v0.2.22

type TaskExecution interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Execution duration of the Task Execution (in micros).
	// Example: 1568625938000000
	DurationInMicros() int64
	SetDurationInMicros(int64)

	// End time of the Task Execution (in micros)..
	// Example: 1568625938000000
	EndTime() int64
	SetEndTime(int64)

	// Start time of the Task Execution (in micros)..
	// Example: 1568625938000000
	StartTime() int64
	SetStartTime(int64)

	// Endpoints that the Task refers to.
	Endpoints() map[string]string
	SetEndpoints(map[string]string)

	// Failure message associated with a 'FAILED' task.
	FailureMessage() string
	SetFailureMessage(string)

	// The id of this Task.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c~0.0
	ID() string
	SetID(string)

	// Ignores the failure of the Task execution if set to true, and continues with the Pipeline execution.
	// Example: true
	IgnoreFailure() bool
	SetIgnoreFailure(bool)

	// Map representing the Input properties for the Task.
	// Example: [{"ip":"10.5.23.84","script":"testScript.sh"}]
	Input() interface{}
	SetInput(interface{})

	// A human-friendly name used as an identifier For the Task.
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	Notifications() []Notification
	SetNotifications([]Notification)

	// Map representing the Output properties for the Task.
	// Example: [{"deployedMachineIP":"10.108.35.54","result":"true"}]
	Output() interface{}
	SetOutput(interface{})

	// The Task is executed only if this field evaluates to true.
	// Example: ${input.buildNumber} != '100'
	PreCondition() string
	SetPreCondition(string)

	RollbackConfiguration() RollbackConfiguration
	SetRollbackConfiguration(RollbackConfiguration)

	RollbackResponse() RollbackResponse
	SetRollbackResponse(RollbackResponse)

	// Execution status of the Task Execution.
	// Example: COMPLETED
	// Enum: [NOT_STARTED STARTED RUNNING CANCELING WAITING RESUMING PAUSING PAUSED CANCELED COMPLETED FAILED SKIPPED QUEUED FAILED_CONTINUE ROLLING_BACK ROLLBACK_FAILED PREPARING_WORKSPACE ROLLBACK_COMPLETED]
	Status() string
	SetStatus(string)

	// Execution status message of the Task Execution.
	// Example: Executing Task0
	StatusMessage() string
	SetStatusMessage(string)

	// Type of the Task.
	// Example: jenkins
	Type() string
	SetType(string)
}

TaskExecution TaskExecution

Contains Task Execution details.

swagger:discriminator TaskExecution Contains Task Execution details.

func UnmarshalTaskExecution ¶ added in v0.2.22

func UnmarshalTaskExecution(reader io.Reader, consumer runtime.Consumer) (TaskExecution, error)

UnmarshalTaskExecution unmarshals polymorphic TaskExecution

func UnmarshalTaskExecutionSlice ¶ added in v0.2.22

func UnmarshalTaskExecutionSlice(reader io.Reader, consumer runtime.Consumer) ([]TaskExecution, error)

UnmarshalTaskExecutionSlice unmarshals polymorphic slices of TaskExecution

type TerraformBlueprintConfig ¶ added in v0.2.18

type TerraformBlueprintConfig struct {

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Blueprint description.
	Description string `json:"description,omitempty"`

	// Object ID
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Blueprint name.
	Name string `json:"name,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// Project ID
	ProjectID string `json:"projectId,omitempty"`

	// Project Name
	// Read Only: true
	ProjectName string `json:"projectName,omitempty"`

	// Terraform configuration to blueprint mapping.
	TerraformToBlueprintMapping *TerraformToBlueprintMapping `json:"terraformToBlueprintMapping,omitempty"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`

	// Terraform runtime version.
	Version string `json:"version,omitempty"`
}

TerraformBlueprintConfig TerraformBlueprintConfig

swagger:model TerraformBlueprintConfig

func (*TerraformBlueprintConfig) ContextValidate ¶ added in v0.2.20

func (m *TerraformBlueprintConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terraform blueprint config based on the context it is used

func (*TerraformBlueprintConfig) MarshalBinary ¶ added in v0.2.18

func (m *TerraformBlueprintConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TerraformBlueprintConfig) UnmarshalBinary ¶ added in v0.2.18

func (m *TerraformBlueprintConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TerraformBlueprintConfig) Validate ¶ added in v0.2.18

func (m *TerraformBlueprintConfig) Validate(formats strfmt.Registry) error

Validate validates this terraform blueprint config

type TerraformConfigurationSourceReference ¶ added in v0.2.18

type TerraformConfigurationSourceReference struct {

	// ID that identifies the commit that corresponds to the desired version of the remote file(s).
	CommitID string `json:"commitId,omitempty"`

	// The ID of the relevant configuration source repository.
	// Format: uuid
	RepositoryID strfmt.UUID `json:"repositoryId,omitempty"`

	// A path to the desired Terraform directory.
	SourceDirectory string `json:"sourceDirectory,omitempty"`
}

TerraformConfigurationSourceReference TerraformConfigurationSourceReference

Reference information about a Terraform Configuration source that stores Terraform configuration files.

swagger:model TerraformConfigurationSourceReference

func (*TerraformConfigurationSourceReference) ContextValidate ¶ added in v0.2.20

func (m *TerraformConfigurationSourceReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this terraform configuration source reference based on context it is used

func (*TerraformConfigurationSourceReference) MarshalBinary ¶ added in v0.2.18

func (m *TerraformConfigurationSourceReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TerraformConfigurationSourceReference) UnmarshalBinary ¶ added in v0.2.18

func (m *TerraformConfigurationSourceReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TerraformConfigurationSourceReference) Validate ¶ added in v0.2.18

Validate validates this terraform configuration source reference

type TerraformToBlueprintMapping ¶ added in v0.2.18

type TerraformToBlueprintMapping struct {

	// Compatible versions of Terraform that can be used to execute this configuration.
	CompatibleVersions []string `json:"compatibleVersions"`

	// A reference to the location where the Terraform configuration is being hosted.
	ConfigurationSourceReference *TerraformConfigurationSourceReference `json:"configurationSourceReference,omitempty"`

	// Information about output values generated by the Terraform configuration.
	OutputValues []*OutputValue `json:"outputValues"`

	// Information about providers used in the Terraform configuration.
	Providers []*Provider `json:"providers"`

	// Information about variables expected by the Terraform configuration.
	Variables []*Variable `json:"variables"`

	// A list of warnings related to the Terraform configuration.
	Warnings []string `json:"warnings"`
}

TerraformToBlueprintMapping TerraformToBlueprintMapping

Information about a Terraform configuration needed to create a blueprint.

swagger:model TerraformToBlueprintMapping

func (*TerraformToBlueprintMapping) ContextValidate ¶ added in v0.2.20

func (m *TerraformToBlueprintMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terraform to blueprint mapping based on the context it is used

func (*TerraformToBlueprintMapping) MarshalBinary ¶ added in v0.2.18

func (m *TerraformToBlueprintMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TerraformToBlueprintMapping) UnmarshalBinary ¶ added in v0.2.18

func (m *TerraformToBlueprintMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TerraformToBlueprintMapping) Validate ¶ added in v0.2.18

func (m *TerraformToBlueprintMapping) Validate(formats strfmt.Registry) error

Validate validates this terraform to blueprint mapping

type TerraformVersion ¶ added in v0.2.18

type TerraformVersion struct {

	// Created time
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Created by
	// Read Only: true
	CreatedBy string `json:"createdBy,omitempty"`

	// Version description
	Description string `json:"description,omitempty"`

	// Version status
	Enabled bool `json:"enabled,omitempty"`

	// Version ID
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Org ID
	// Read Only: true
	OrgID string `json:"orgId,omitempty"`

	// The sha256 checksum of the terraform binary
	Sha256Checksum string `json:"sha256Checksum,omitempty"`

	// Updated time
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// Updated by
	// Read Only: true
	UpdatedBy string `json:"updatedBy,omitempty"`

	// Download url
	URL string `json:"url,omitempty"`

	// The numeric version of terraform release
	Version string `json:"version,omitempty"`
}

TerraformVersion TerraformVersion

swagger:model TerraformVersion

func (*TerraformVersion) ContextValidate ¶ added in v0.2.20

func (m *TerraformVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terraform version based on the context it is used

func (*TerraformVersion) MarshalBinary ¶ added in v0.2.18

func (m *TerraformVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TerraformVersion) UnmarshalBinary ¶ added in v0.2.18

func (m *TerraformVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TerraformVersion) Validate ¶ added in v0.2.18

func (m *TerraformVersion) Validate(formats strfmt.Registry) error

Validate validates this terraform version

type TileExecutorResponse ¶ added in v0.2.22

type TileExecutorResponse struct {

	// time taken for the Tile execution to finish.
	Duration int64 `json:"duration,omitempty"`

	// Output properties from the Tile execution.
	Output interface{} `json:"output,omitempty"`

	// Status of the Tile execution.
	// Example: COMPLETED
	// Enum: [CREATED STARTED PAUSED CANCELED COMPLETED FAILED]
	Status string `json:"status,omitempty"`

	// Status message of the Tile execution.
	// Example: Failed to connect to jenkins server endpoint
	StatusMessage string `json:"statusMessage,omitempty"`
}

TileExecutorResponse TileExecutorResponse

swagger:model TileExecutorResponse

func (*TileExecutorResponse) ContextValidate ¶ added in v0.2.22

func (m *TileExecutorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tile executor response based on context it is used

func (*TileExecutorResponse) MarshalBinary ¶ added in v0.2.22

func (m *TileExecutorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TileExecutorResponse) UnmarshalBinary ¶ added in v0.2.22

func (m *TileExecutorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TileExecutorResponse) Validate ¶ added in v0.2.22

func (m *TileExecutorResponse) Validate(formats strfmt.Registry) error

Validate validates this tile executor response

type TileInfo ¶ added in v0.2.22

type TileInfo interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Tile name.
	// Example: Kubernetes
	DisplayName() string
	SetDisplayName(string)

	// Task input properties.
	// Example: {"cloudProxyId":{"description":"","mandatory":false,"type":"String"},"fingerprint":{"description":"","mandatory":false,"type":"String"}}
	InputProperties() map[string]PropertyMetaData
	SetInputProperties(map[string]PropertyMetaData)

	// Task output properties.
	// Example: {"buildUrlId":{"description":"","mandatory":false,"type":"String"},"isFailed":{"description":"","mandatory":false,"type":"String"}}
	OutputProperties() map[string]PropertyMetaData
	SetOutputProperties(map[string]PropertyMetaData)

	// Unique Id associated with the tile.
	// Example: k8s
	TileID() string
	SetTileID(string)
}

TileInfo TileInfo

Contains information about a Tile.

swagger:discriminator TileInfo Contains information about a Tile.

func UnmarshalTileInfo ¶ added in v0.2.22

func UnmarshalTileInfo(reader io.Reader, consumer runtime.Consumer) (TileInfo, error)

UnmarshalTileInfo unmarshals polymorphic TileInfo

func UnmarshalTileInfoSlice ¶ added in v0.2.22

func UnmarshalTileInfoSlice(reader io.Reader, consumer runtime.Consumer) ([]TileInfo, error)

UnmarshalTileInfoSlice unmarshals polymorphic slices of TileInfo

type Tiles ¶ added in v0.2.22

type Tiles interface {
	runtime.Validatable
	runtime.ContextValidatable

	Tiles() []TileInfo
	SetTiles([]TileInfo)
}

Tiles Tiles

A list of Tile instances.

swagger:discriminator Tiles A list of Tile instances.

func UnmarshalTiles ¶ added in v0.2.22

func UnmarshalTiles(reader io.Reader, consumer runtime.Consumer) (Tiles, error)

UnmarshalTiles unmarshals polymorphic Tiles

func UnmarshalTilesSlice ¶ added in v0.2.22

func UnmarshalTilesSlice(reader io.Reader, consumer runtime.Consumer) ([]Tiles, error)

UnmarshalTilesSlice unmarshals polymorphic slices of Tiles

type TimeSeriesValue ¶ added in v0.2.8

type TimeSeriesValue struct {

	// The timestamp of the metric.
	// Read Only: true
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// The expense value at the timestamp.
	// Read Only: true
	Value float64 `json:"value,omitempty"`
}

TimeSeriesValue TimeSeriesValue

A timeseries object containing timestamp and price value at the timestamp ¶

swagger:model TimeSeriesValue

func (*TimeSeriesValue) ContextValidate ¶ added in v0.2.20

func (m *TimeSeriesValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this time series value based on the context it is used

func (*TimeSeriesValue) MarshalBinary ¶ added in v0.2.8

func (m *TimeSeriesValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSeriesValue) UnmarshalBinary ¶ added in v0.2.8

func (m *TimeSeriesValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSeriesValue) Validate ¶ added in v0.2.8

func (m *TimeSeriesValue) Validate(formats strfmt.Registry) error

Validate validates this time series value

type URI ¶ added in v0.2.18

type URI struct {

	// absolute
	Absolute bool `json:"absolute,omitempty"`

	// authority
	Authority string `json:"authority,omitempty"`

	// fragment
	Fragment string `json:"fragment,omitempty"`

	// host
	Host string `json:"host,omitempty"`

	// opaque
	Opaque bool `json:"opaque,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// port
	Port int32 `json:"port,omitempty"`

	// query
	Query string `json:"query,omitempty"`

	// raw authority
	RawAuthority string `json:"rawAuthority,omitempty"`

	// raw fragment
	RawFragment string `json:"rawFragment,omitempty"`

	// raw path
	RawPath string `json:"rawPath,omitempty"`

	// raw query
	RawQuery string `json:"rawQuery,omitempty"`

	// raw scheme specific part
	RawSchemeSpecificPart string `json:"rawSchemeSpecificPart,omitempty"`

	// raw user info
	RawUserInfo string `json:"rawUserInfo,omitempty"`

	// scheme
	Scheme string `json:"scheme,omitempty"`

	// scheme specific part
	SchemeSpecificPart string `json:"schemeSpecificPart,omitempty"`

	// user info
	UserInfo string `json:"userInfo,omitempty"`
}

URI URI

swagger:model URI

func (*URI) ContextValidate ¶ added in v0.2.20

func (m *URI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this URI based on context it is used

func (*URI) MarshalBinary ¶ added in v0.2.18

func (m *URI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*URI) UnmarshalBinary ¶ added in v0.2.18

func (m *URI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*URI) Validate ¶ added in v0.2.18

func (m *URI) Validate(formats strfmt.Registry) error

Validate validates this URI

type UpdateCloudAccountAwsSpecification ¶

type UpdateCloudAccountAwsSpecification struct {

	// access key Id
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"eu-west-1\",\"externalRegionId\": \"eu-west-1\"}]
	Regions []*RegionSpecification `json:"regions"`

	// secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountAwsSpecification update cloud account aws specification

swagger:model UpdateCloudAccountAwsSpecification

func (*UpdateCloudAccountAwsSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountAwsSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account aws specification based on the context it is used

func (*UpdateCloudAccountAwsSpecification) MarshalBinary ¶

func (m *UpdateCloudAccountAwsSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountAwsSpecification) UnmarshalBinary ¶

func (m *UpdateCloudAccountAwsSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountAwsSpecification) Validate ¶

Validate validates this update cloud account aws specification

type UpdateCloudAccountAzureSpecification ¶

type UpdateCloudAccountAzureSpecification struct {

	// client application Id
	ClientApplicationID string `json:"clientApplicationId,omitempty"`

	// client application secret key
	ClientApplicationSecretKey string `json:"clientApplicationSecretKey,omitempty"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [\"westus\", \"eastus\"]
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"East Asia\",\"externalRegionId\": \"eastasia\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountAzureSpecification update cloud account azure specification

swagger:model UpdateCloudAccountAzureSpecification

func (*UpdateCloudAccountAzureSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountAzureSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account azure specification based on the context it is used

func (*UpdateCloudAccountAzureSpecification) MarshalBinary ¶

func (m *UpdateCloudAccountAzureSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountAzureSpecification) UnmarshalBinary ¶

func (m *UpdateCloudAccountAzureSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountAzureSpecification) Validate ¶

Validate validates this update cloud account azure specification

type UpdateCloudAccountGcpSpecification ¶

type UpdateCloudAccountGcpSpecification struct {

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"europe-west2\",\"externalRegionId\": \"europe-west2\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountGcpSpecification update cloud account gcp specification

swagger:model UpdateCloudAccountGcpSpecification

func (*UpdateCloudAccountGcpSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountGcpSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account gcp specification based on the context it is used

func (*UpdateCloudAccountGcpSpecification) MarshalBinary ¶

func (m *UpdateCloudAccountGcpSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountGcpSpecification) UnmarshalBinary ¶

func (m *UpdateCloudAccountGcpSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountGcpSpecification) Validate ¶

Validate validates this update cloud account gcp specification

type UpdateCloudAccountNsxTSpecification ¶ added in v0.2.14

type UpdateCloudAccountNsxTSpecification struct {

	// vSphere cloud accounts associated with this NSX-T cloud account.
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// Password to authenticate with the cloud account
	// Example: LVJbZNAkPCJs
	Password string `json:"password,omitempty"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`

	// Username to authenticate with the cloud account
	// Example: administrator@csp.local
	Username string `json:"username,omitempty"`
}

UpdateCloudAccountNsxTSpecification update cloud account nsx t specification

swagger:model UpdateCloudAccountNsxTSpecification

func (*UpdateCloudAccountNsxTSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountNsxTSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account nsx t specification based on the context it is used

func (*UpdateCloudAccountNsxTSpecification) MarshalBinary ¶ added in v0.2.14

func (m *UpdateCloudAccountNsxTSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountNsxTSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *UpdateCloudAccountNsxTSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountNsxTSpecification) Validate ¶ added in v0.2.14

Validate validates this update cloud account nsx t specification

type UpdateCloudAccountNsxVSpecification ¶ added in v0.2.14

type UpdateCloudAccountNsxVSpecification struct {

	// vSphere cloud account associated with this NSX-V cloud account. NSX-V cloud account can be associated with a single vSphere cloud account.
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountNsxVSpecification update cloud account nsx v specification

swagger:model UpdateCloudAccountNsxVSpecification

func (*UpdateCloudAccountNsxVSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountNsxVSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account nsx v specification based on the context it is used

func (*UpdateCloudAccountNsxVSpecification) MarshalBinary ¶ added in v0.2.14

func (m *UpdateCloudAccountNsxVSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountNsxVSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *UpdateCloudAccountNsxVSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountNsxVSpecification) Validate ¶ added in v0.2.14

Validate validates this update cloud account nsx v specification

type UpdateCloudAccountSpecification ¶

type UpdateCloudAccountSpecification struct {

	// Cloud accounts to associate with this cloud account
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// Additional custom properties that may be used to extend the Cloud Account.
	// Example: { \"sampleadapterProjectId\" : \"projectId\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// Secret access key or password to be used to authenticate with the cloud account
	// Example: [ \"LVJbZNAkPCJs\" ]
	PrivateKey string `json:"privateKey,omitempty"`

	// Access key id or username to be used to authenticate with the cloud account
	// Example: [ \"ACDC55DB4MFH6ADG75KK\" ]
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	// Required: true
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// 'regions' is a required parameter for AWS, AZURE, GCP, VSPHERE, VMC, VCF cloud account types.
	// Example: [{ \"name\": \"East Asia\",\"externalRegionId\": \"eastasia\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountSpecification update cloud account specification

swagger:model UpdateCloudAccountSpecification

func (*UpdateCloudAccountSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account specification based on the context it is used

func (*UpdateCloudAccountSpecification) MarshalBinary ¶

func (m *UpdateCloudAccountSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountSpecification) UnmarshalBinary ¶

func (m *UpdateCloudAccountSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountSpecification) Validate ¶

Validate validates this update cloud account specification

type UpdateCloudAccountVcfSpecification ¶ added in v0.2.14

type UpdateCloudAccountVcfSpecification struct {

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"us-east-1\",\"externalRegionId\": \"us-east-1\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountVcfSpecification update cloud account vcf specification

swagger:model UpdateCloudAccountVcfSpecification

func (*UpdateCloudAccountVcfSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountVcfSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account vcf specification based on the context it is used

func (*UpdateCloudAccountVcfSpecification) MarshalBinary ¶ added in v0.2.14

func (m *UpdateCloudAccountVcfSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountVcfSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *UpdateCloudAccountVcfSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountVcfSpecification) Validate ¶ added in v0.2.14

Validate validates this update cloud account vcf specification

type UpdateCloudAccountVmcSpecification ¶ added in v0.2.8

type UpdateCloudAccountVmcSpecification struct {

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-aws/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"us-east-1\", \"ap-northeast-1\" ]
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"Datacenter:datacenter-3\",\"externalRegionId\": \"Datacenter:datacenter-3\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`
}

UpdateCloudAccountVmcSpecification update cloud account vmc specification

swagger:model UpdateCloudAccountVmcSpecification

func (*UpdateCloudAccountVmcSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateCloudAccountVmcSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cloud account vmc specification based on the context it is used

func (*UpdateCloudAccountVmcSpecification) MarshalBinary ¶ added in v0.2.8

func (m *UpdateCloudAccountVmcSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountVmcSpecification) UnmarshalBinary ¶ added in v0.2.8

func (m *UpdateCloudAccountVmcSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountVmcSpecification) Validate ¶ added in v0.2.8

Validate validates this update cloud account vmc specification

type UpdateCloudAccountVsphereSpecification ¶

type UpdateCloudAccountVsphereSpecification struct {

	// NSX-V or NSX-T account to associate with this vSphere cloud account. vSphere cloud account can be a single NSX-V cloud account or a single NSX-T cloud account.
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Create default cloud zones for the enabled regions.
	// Example: true
	CreateDefaultZones bool `json:"createDefaultZones,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	Name string `json:"name,omitempty"`

	// Password to authenticate with the cloud account
	// Example: LVJbZNAkPCJs
	Password string `json:"password,omitempty"`

	// A set of datacenter managed object reference identifiers (MoRef) to enable provisioning on. Refer to /iaas/cloud-accounts-vsphere/region-enumeration. Deprecated - use regions to define enabled regions.
	// Example: [ \"Datacenter:datacenter-2\" ]
	RegionIds []string `json:"regionIds"`

	// A set of regions to enable provisioning on.Refer to /iaas/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"Datacenter:datacenter-3\",\"externalRegionId\": \"Datacenter:datacenter-3\"}]
	Regions []*RegionSpecification `json:"regions"`

	// A set of tag keys and optional values to set on the Cloud Account
	// Example: [{\"key\": \"env\", \"value\": \"dev\"}]
	Tags []*Tag `json:"tags"`

	// Username to authenticate with the cloud account
	// Example: administrator@csp.local
	Username string `json:"username,omitempty"`
}

UpdateCloudAccountVsphereSpecification update cloud account vsphere specification

swagger:model UpdateCloudAccountVsphereSpecification

func (*UpdateCloudAccountVsphereSpecification) ContextValidate ¶ added in v0.2.20

ContextValidate validate this update cloud account vsphere specification based on the context it is used

func (*UpdateCloudAccountVsphereSpecification) MarshalBinary ¶

func (m *UpdateCloudAccountVsphereSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloudAccountVsphereSpecification) UnmarshalBinary ¶

func (m *UpdateCloudAccountVsphereSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloudAccountVsphereSpecification) Validate ¶

Validate validates this update cloud account vsphere specification

type UpdateExternalNetworkIPRangeSpecification ¶ added in v0.2.8

type UpdateExternalNetworkIPRangeSpecification struct {

	// Deprecated. Use 'fabricNetworkIds'.
	FabricNetworkID string `json:"fabricNetworkId,omitempty"`

	// A list of fabric network Ids that this IP range should be associated with.
	FabricNetworkIds []string `json:"fabricNetworkIds"`
}

UpdateExternalNetworkIPRangeSpecification Specification for updating an ExternalNetworkIPRange

swagger:model UpdateExternalNetworkIPRangeSpecification

func (*UpdateExternalNetworkIPRangeSpecification) ContextValidate ¶ added in v0.2.20

ContextValidate validates this update external network IP range specification based on context it is used

func (*UpdateExternalNetworkIPRangeSpecification) MarshalBinary ¶ added in v0.2.8

func (m *UpdateExternalNetworkIPRangeSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateExternalNetworkIPRangeSpecification) UnmarshalBinary ¶ added in v0.2.8

func (m *UpdateExternalNetworkIPRangeSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateExternalNetworkIPRangeSpecification) Validate ¶ added in v0.2.8

Validate validates this update external network IP range specification

type UpdateFlavorProfileSpecification ¶ added in v0.2.2

type UpdateFlavorProfileSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Map between global fabric flavor keys <String> and fabric flavor descriptions <FabricFlavorDescription>
	// Example: { \"small\": { \"name\": \"t2.small\" }, \"medium\": { \"name\": \"t2.medium\"}}, \"vSphere_small\": { \"cpuCount\": \"2\", \"memoryInMB\": \"2048\"}, \"vSphere_medium\": { \"cpuCount\": \"4\", \"memoryInMB\": \"4096\"}}
	// Required: true
	FlavorMapping map[string]FabricFlavorDescription `json:"flavorMapping"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`
}

UpdateFlavorProfileSpecification update flavor profile specification

swagger:model UpdateFlavorProfileSpecification

func (*UpdateFlavorProfileSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateFlavorProfileSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update flavor profile specification based on the context it is used

func (*UpdateFlavorProfileSpecification) MarshalBinary ¶ added in v0.2.2

func (m *UpdateFlavorProfileSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateFlavorProfileSpecification) UnmarshalBinary ¶ added in v0.2.2

func (m *UpdateFlavorProfileSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateFlavorProfileSpecification) Validate ¶ added in v0.2.2

Validate validates this update flavor profile specification

type UpdateImageProfileSpecification ¶ added in v0.2.2

type UpdateImageProfileSpecification struct {

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// Image mapping defined for the corresponding region.
	// Example: { \"ubuntu\": { \"id\": \"9e49\", \"name\": \"ami-ubuntu-16.04-1.9.1-00-1516139717\"}, \"centos\": { \"id\": \"9e50\", \"name\": \"ami-centos-7-1.13.0-00-1543963388\"}}
	// Required: true
	ImageMapping map[string]FabricImageDescription `json:"imageMapping"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`
}

UpdateImageProfileSpecification update image profile specification

swagger:model UpdateImageProfileSpecification

func (*UpdateImageProfileSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateImageProfileSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update image profile specification based on the context it is used

func (*UpdateImageProfileSpecification) MarshalBinary ¶ added in v0.2.2

func (m *UpdateImageProfileSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateImageProfileSpecification) UnmarshalBinary ¶ added in v0.2.2

func (m *UpdateImageProfileSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateImageProfileSpecification) Validate ¶ added in v0.2.2

Validate validates this update image profile specification

type UpdateMachineSpecification ¶

type UpdateMachineSpecification struct {

	// Additional custom properties that may be used to extend the machine. Internal custom properties (for example, prefixed with: "__") can not be updated.
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// Describes machine within the scope of your organization and is not propagated to the cloud
	Description string `json:"description,omitempty"`

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`
}

UpdateMachineSpecification update machine specification

swagger:model UpdateMachineSpecification

func (*UpdateMachineSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateMachineSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update machine specification based on the context it is used

func (*UpdateMachineSpecification) MarshalBinary ¶

func (m *UpdateMachineSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateMachineSpecification) UnmarshalBinary ¶

func (m *UpdateMachineSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateMachineSpecification) Validate ¶

func (m *UpdateMachineSpecification) Validate(formats strfmt.Registry) error

Validate validates this update machine specification

type UpdateProjectSpecification ¶ added in v0.2.22

type UpdateProjectSpecification interface {
	runtime.Validatable
	runtime.ContextValidatable

	// List of constraints of the project.
	// Example: {"network":{"conditions":[{"enforcement":"HARD","expression":{"key":"key","value":"value"},"occurrence":"MUST_OCCUR","type":"TAG"}]}}
	Constraints() map[string]ProjectConstraint
	SetConstraints(map[string]ProjectConstraint)

	// A human-friendly description.
	// Example: my-description
	Description() string
	SetDescription(string)

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name() string
	SetName(string)

	// The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
	OperationTimeout() int64
	SetOperationTimeout(int64)

	// List of properties of the project, to be applied to any resource provisioned within the project.
	//
	// The project placement policy is set through the property with key: __projectPlacementPolicy, which can take 1 of only 2 possible values DEFAULT or SPREAD. If not specified, it is set as DEFAULT.
	//
	// The naming template of resources provisioned in this project can be specified through the property with key: __namingTemplate.
	// Hint: Avoid conflicting names by generating digits in names with ${######}
	//
	// You can allow Terraform cloudzone mapping through the property with key: __allowTerraformCloudzoneMapping. It can be set to either true or false. By default, it is set to false.
	// Example: {"__allowTerraformCloudzoneMapping":"true","__namingTemplate":"my-resource-template-${######}","__projectPlacementPolicy":"SPREAD","myproperty":"enforcement"}
	Properties() map[string]string
	SetProperties(map[string]string)

	// Specifies whether the resources in this projects are shared or not.
	SharedResources() bool
	SetSharedResources(bool)
}

UpdateProjectSpecification UpdateProjectSpecification

Represents a specification for a updating a project.

swagger:discriminator UpdateProjectSpecification Represents a specification for a updating a project.

func UnmarshalUpdateProjectSpecification ¶ added in v0.2.22

func UnmarshalUpdateProjectSpecification(reader io.Reader, consumer runtime.Consumer) (UpdateProjectSpecification, error)

UnmarshalUpdateProjectSpecification unmarshals polymorphic UpdateProjectSpecification

func UnmarshalUpdateProjectSpecificationSlice ¶ added in v0.2.22

func UnmarshalUpdateProjectSpecificationSlice(reader io.Reader, consumer runtime.Consumer) ([]UpdateProjectSpecification, error)

UnmarshalUpdateProjectSpecificationSlice unmarshals polymorphic slices of UpdateProjectSpecification

type UpdateSecurityGroupSpecification ¶ added in v0.2.14

type UpdateSecurityGroupSpecification struct {

	// A set of tag keys and optional values that should be set on any resource that is produced from this specification.
	// Example: [ { \"key\" : \"ownedBy\", \"value\": \"Rainpole\" } ]
	Tags []*Tag `json:"tags"`
}

UpdateSecurityGroupSpecification update security group specification

swagger:model UpdateSecurityGroupSpecification

func (*UpdateSecurityGroupSpecification) ContextValidate ¶ added in v0.2.20

func (m *UpdateSecurityGroupSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update security group specification based on the context it is used

func (*UpdateSecurityGroupSpecification) MarshalBinary ¶ added in v0.2.14

func (m *UpdateSecurityGroupSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSecurityGroupSpecification) UnmarshalBinary ¶ added in v0.2.14

func (m *UpdateSecurityGroupSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSecurityGroupSpecification) Validate ¶ added in v0.2.14

Validate validates this update security group specification

type User ¶

type User struct {

	// The email of the user or name of the group.
	// Example: administrator@vmware.com
	// Required: true
	Email *string `json:"email"`

	// Type of the principal. Currently supported 'user' (default) and 'group'.
	// Example: user
	Type string `json:"type,omitempty"`
}

User A representation of a user.

swagger:model User

func (*User) ContextValidate ¶ added in v0.2.20

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user based on context it is used

func (*User) MarshalBinary ¶

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary ¶

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate ¶

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserOpResource ¶ added in v0.2.22

type UserOpResource struct {

	// approver groups
	ApproverGroups []string `json:"approverGroups"`

	// approvers
	Approvers []string `json:"approvers"`

	// cancel previous pending user op
	CancelPreviousPendingUserOp bool `json:"cancelPreviousPendingUserOp,omitempty"`

	// change log
	ChangeLog string `json:"changeLog,omitempty"`

	// comments
	Comments string `json:"comments,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// created by
	CreatedBy string `json:"createdBy,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// execution Id
	ExecutionID string `json:"executionId,omitempty"`

	// execution index
	ExecutionIndex int64 `json:"executionIndex,omitempty"`

	// expiration
	Expiration int32 `json:"expiration,omitempty"`

	// expiration in days
	ExpirationInDays int32 `json:"expirationInDays,omitempty"`

	// expiration in seconds
	ExpirationInSeconds int64 `json:"expirationInSeconds,omitempty"`

	// expiration unit
	// Enum: [MINUTES HOURS DAYS]
	ExpirationUnit string `json:"expirationUnit,omitempty"`

	// expires on in micros
	ExpiresOnInMicros int64 `json:"expiresOnInMicros,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// index
	Index string `json:"index,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// parent Id
	ParentID string `json:"parentId,omitempty"`

	// pipeline
	Pipeline string `json:"pipeline,omitempty"`

	// pipeline Id
	PipelineID string `json:"pipelineId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// requested by
	RequestedBy string `json:"requestedBy,omitempty"`

	// requested on in micros
	RequestedOnInMicros int64 `json:"requestedOnInMicros,omitempty"`

	// responded by
	RespondedBy string `json:"respondedBy,omitempty"`

	// responded by email
	RespondedByEmail string `json:"respondedByEmail,omitempty"`

	// responded on in micros
	RespondedOnInMicros int64 `json:"respondedOnInMicros,omitempty"`

	// responder roles
	ResponderRoles []string `json:"responderRoles"`

	// responder token
	ResponderToken string `json:"responderToken,omitempty"`

	// resume count
	ResumeCount int32 `json:"resumeCount,omitempty"`

	// sendemail
	Sendemail bool `json:"sendemail,omitempty"`

	// stage key
	StageKey string `json:"stageKey,omitempty"`

	// status
	// Enum: [ACTIVE APPROVED CANCELED EXPIRED REJECTED]
	Status string `json:"status,omitempty"`

	// summary
	Summary string `json:"summary,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// task execution Id
	TaskExecutionID string `json:"taskExecutionId,omitempty"`

	// task key
	TaskKey string `json:"taskKey,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// updated by
	UpdatedBy string `json:"updatedBy,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

UserOpResource UserOpResource

swagger:model UserOpResource

func (*UserOpResource) ContextValidate ¶ added in v0.2.22

func (m *UserOpResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user op resource based on context it is used

func (*UserOpResource) MarshalBinary ¶ added in v0.2.22

func (m *UserOpResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserOpResource) UnmarshalBinary ¶ added in v0.2.22

func (m *UserOpResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserOpResource) Validate ¶ added in v0.2.22

func (m *UserOpResource) Validate(formats strfmt.Registry) error

Validate validates this user op resource

type UserOpResponse ¶ added in v0.2.22

type UserOpResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This property tells whether to cancel previous pending user operations for this pipeline.
	// Example: true
	CancelPreviousPendingUserOp() bool
	SetCancelPreviousPendingUserOp(bool)

	// The response message which the responder would like to give.
	// Example: Approved on Monday.
	ResponseMessage() string
	SetResponseMessage(string)

	// The status of this entity.
	// Example: Approved
	Status() string
	SetStatus(string)
}

UserOpResponse UserOpResponse

User operation response.

swagger:discriminator UserOpResponse User operation response.

func UnmarshalUserOpResponse ¶ added in v0.2.22

func UnmarshalUserOpResponse(reader io.Reader, consumer runtime.Consumer) (UserOpResponse, error)

UnmarshalUserOpResponse unmarshals polymorphic UserOpResponse

func UnmarshalUserOpResponseSlice ¶ added in v0.2.22

func UnmarshalUserOpResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]UserOpResponse, error)

UnmarshalUserOpResponseSlice unmarshals polymorphic slices of UserOpResponse

type UserOperation ¶ added in v0.2.22

type UserOperation interface {
	runtime.Validatable
	runtime.ContextValidatable

	// This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	CreateTimeInMicros() int64
	SetCreateTimeInMicros(int64)

	// The time in micros when it would expire.
	// Example: 1569216876209000
	ExpiresOnInMicros() int64
	SetExpiresOnInMicros(int64)

	// Partial URL that provides details of the resource.
	// Example: /codestream/api/\u003cprefix\u003e/8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	Link() string
	SetLink(string)

	// Contains project id of the entity
	// Example: abcd-abcd-abcd
	ProjectID() string
	SetProjectID(string)

	// The time in micros when the request was made.
	// Example: 1568957676209000
	RequestedOnInMicros() int64
	SetRequestedOnInMicros(int64)

	// This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
	// Example: 1568625938000000
	UpdateTimeInMicros() int64
	SetUpdateTimeInMicros(int64)

	// The list of approver emails who can approve it.
	// Example: exampleUser@vmware.com
	Approvers() []string
	SetApprovers([]string)

	// The flag to determine whether to cancel previous pending user op of the pipeline.
	// Example: true
	CancelPreviousPendingUserOp() bool
	SetCancelPreviousPendingUserOp(bool)

	// Date when the entity was created. The date is in ISO 8601 with time zone
	// Example: 2019-09-16 09:25:38.065065+00
	CreatedAt() string
	SetCreatedAt(string)

	// The user that created this entity
	// Example: exampleuser
	CreatedBy() string
	SetCreatedBy(string)

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// The email Endpoint to be used if the sendemail is set to true.
	// Example: My-email-endpoint
	Endpoint() string
	SetEndpoint(string)

	// The Execution id of the Pipeline Execution consisting of this task.
	// Example: 19e2d2c3-41b6-4bc0-9f27-b3f935d25366
	ExecutionID() string
	SetExecutionID(string)

	// The index of the Pipeline Execution in which the entity is present.
	// Example: 8
	ExecutionIndex() int64
	SetExecutionIndex(int64)

	// The Execution link of the Pipeline Execution consisting of this task.
	// Example: /codestream/api/executions/c1c08fc4-0bef-46fa-b5d2-c8aa10d18f6e
	ExecutionLink() string
	SetExecutionLink(string)

	// The time after which this entity would expire based on expirationUnit.
	// Example: 3
	Expiration() int32
	SetExpiration(int32)

	// The time in days after which this entity would expire.
	// Example: 3
	ExpirationInDays() int32
	SetExpirationInDays(int32)

	// The time unit after which this entity would expire.
	// Example: DAYS
	ExpirationUnit() string
	SetExpirationUnit(string)

	// The id of this resource.
	// Example: 8365ef3b-8bf3-48aa-bd5d-7113fcff827c
	ID() string
	SetID(string)

	// The index of the entity.
	// Example: 45b4d8
	Index() string
	SetIndex(string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The id of the Pipeline consisting of this task.
	// Example: 6f6b006b-7fec-4684-9200-21a4a782c82b
	PipelineID() string
	SetPipelineID(string)

	// The name of the Pipeline this task is configured in.
	// Example: My-Pipeline
	PipelineName() string
	SetPipelineName(string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// The user who requested this.
	// Example: fritz
	RequestedBy() string
	SetRequestedBy(string)

	// The user who responded to this approval.
	// Example: fritz
	RespondedBy() string
	SetRespondedBy(string)

	// The response message which the responder would like to give.
	// Example: Approved on Monday
	ResponseMessage() string
	SetResponseMessage(string)

	// The flag to determine if an email has to be sent.
	// Example: true
	Sendemail() bool
	SetSendemail(bool)

	// The status of this entity.
	// Example: Approved
	Status() string
	SetStatus(string)

	// The summary of this entity.
	// Example: To be approved only by admin
	Summary() string
	SetSummary(string)

	// Date when the entity was last updated. The date is in ISO 8601 with time zone.
	// Example: 2019-09-16 09:25:38.065065+00
	UpdatedAt() string
	SetUpdatedAt(string)

	// The user that last updated this entity
	// Example: exampleuser
	UpdatedBy() string
	SetUpdatedBy(string)

	// Version of the resource.
	// Example: v1
	Version() string
	SetVersion(string)
}

UserOperation UserOperation

UserOperation details.

swagger:discriminator UserOperation UserOperation details.

func UnmarshalUserOperation ¶ added in v0.2.22

func UnmarshalUserOperation(reader io.Reader, consumer runtime.Consumer) (UserOperation, error)

UnmarshalUserOperation unmarshals polymorphic UserOperation

func UnmarshalUserOperationSlice ¶ added in v0.2.22

func UnmarshalUserOperationSlice(reader io.Reader, consumer runtime.Consumer) ([]UserOperation, error)

UnmarshalUserOperationSlice unmarshals polymorphic slices of UserOperation

type UserOperations ¶ added in v0.2.22

type UserOperations interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]UserOperation
	SetDocuments(map[string]UserOperation)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

UserOperations UserOperations

UserOperations details.

swagger:discriminator UserOperations UserOperations details.

func UnmarshalUserOperations ¶ added in v0.2.22

func UnmarshalUserOperations(reader io.Reader, consumer runtime.Consumer) (UserOperations, error)

UnmarshalUserOperations unmarshals polymorphic UserOperations

func UnmarshalUserOperationsSlice ¶ added in v0.2.22

func UnmarshalUserOperationsSlice(reader io.Reader, consumer runtime.Consumer) ([]UserOperations, error)

UnmarshalUserOperationsSlice unmarshals polymorphic slices of UserOperations

type ValidationMessage ¶ added in v0.2.22

type ValidationMessage interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Name of pipeline / stage / name in the hierarchy where they belong to.
	// Example: vrcsPipeline.DEV for a stage
	ContainerName() string
	SetContainerName(string)

	// Field in the input which is causing validation to fail in the deeper JSON.
	// Example: inputProperties.jobName.value
	FieldName() string
	SetFieldName(string)

	// Message level.
	// Example: SEVERE/WARNING/INFO
	Level() string
	SetLevel(string)

	// Validation message.
	// Example: Validation successful
	Message() string
	SetMessage(string)
}

ValidationMessage ValidationMessage

Model used for validation responses.

swagger:discriminator ValidationMessage Model used for validation responses.

func UnmarshalValidationMessage ¶ added in v0.2.22

func UnmarshalValidationMessage(reader io.Reader, consumer runtime.Consumer) (ValidationMessage, error)

UnmarshalValidationMessage unmarshals polymorphic ValidationMessage

func UnmarshalValidationMessageSlice ¶ added in v0.2.22

func UnmarshalValidationMessageSlice(reader io.Reader, consumer runtime.Consumer) ([]ValidationMessage, error)

UnmarshalValidationMessageSlice unmarshals polymorphic slices of ValidationMessage

type ValidatorResponse ¶ added in v0.2.22

type ValidatorResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Class which will be validated.
	// Example: Pipeline
	ClassType() string
	SetClassType(string)

	Message() ValidationMessage
	SetMessage(ValidationMessage)

	// Indicates whether validation was successful or not.
	// Example: false
	Success() bool
	SetSuccess(bool)
}

ValidatorResponse ValidatorResponse

Model used for validation responses.

swagger:discriminator ValidatorResponse Model used for validation responses.

func UnmarshalValidatorResponse ¶ added in v0.2.22

func UnmarshalValidatorResponse(reader io.Reader, consumer runtime.Consumer) (ValidatorResponse, error)

UnmarshalValidatorResponse unmarshals polymorphic ValidatorResponse

func UnmarshalValidatorResponseSlice ¶ added in v0.2.22

func UnmarshalValidatorResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]ValidatorResponse, error)

UnmarshalValidatorResponseSlice unmarshals polymorphic slices of ValidatorResponse

type Variable ¶ added in v0.2.18

type Variable struct {

	// The variable's default value in the Terraform configuration.
	DefaultValue interface{} `json:"defaultValue,omitempty"`

	// The variable's description in the Terraform configuration.
	Description string `json:"description,omitempty"`

	// The variable's name in the Terraform configuration.
	Name string `json:"name,omitempty"`

	// Whether the variable should be obscured because of security concerns.
	Sensitive bool `json:"sensitive,omitempty"`

	// The variable's type in the Terraform configuration. Complex Terraform types may be treated as Strings.
	// Enum: [STRING NUMBER BOOL LIST MAP]
	Type string `json:"type,omitempty"`
}

Variable Variable

swagger:model Variable

func (*Variable) ContextValidate ¶ added in v0.2.20

func (m *Variable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable based on context it is used

func (*Variable) MarshalBinary ¶ added in v0.2.18

func (m *Variable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Variable) UnmarshalBinary ¶ added in v0.2.18

func (m *Variable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Variable) Validate ¶ added in v0.2.18

func (m *Variable) Validate(formats strfmt.Registry) error

Validate validates this variable

type VariableSpec ¶ added in v0.2.22

type VariableSpec interface {
	runtime.Validatable
	runtime.ContextValidatable

	// A human-friendly description.
	// Required: true
	Description() *string
	SetDescription(*string)

	// A human-friendly name used as an identifier in APIs that support this option
	// Example: My-Name
	// Required: true
	Name() *string
	SetName(*string)

	// The project this entity belongs to.
	// Example: My-Project
	Project() string
	SetProject(string)

	// The type of this Variable. Ex: REGULAR / SECRET / RESTRICTED
	// Example: REGULAR
	// Required: true
	Type() *string
	SetType(*string)

	// The value for this Variable.
	// Example: my-value
	// Required: true
	Value() *string
	SetValue(*string)
}

VariableSpec VariableSpec

A Variable is used to store re-usable/sensitive strings within Code Stream in an encrypted format so as to be able to consume in other areas like Endpoint, Pipeline, Task or Stage etc.

swagger:discriminator VariableSpec A Variable is used to store re-usable/sensitive strings within Code Stream in an encrypted format so as to be able to consume in other areas like Endpoint, Pipeline, Task or Stage etc.

func UnmarshalVariableSpec ¶ added in v0.2.22

func UnmarshalVariableSpec(reader io.Reader, consumer runtime.Consumer) (VariableSpec, error)

UnmarshalVariableSpec unmarshals polymorphic VariableSpec

func UnmarshalVariableSpecSlice ¶ added in v0.2.22

func UnmarshalVariableSpecSlice(reader io.Reader, consumer runtime.Consumer) ([]VariableSpec, error)

UnmarshalVariableSpecSlice unmarshals polymorphic slices of VariableSpec

type Variables ¶ added in v0.2.22

type Variables interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Number of resources within the current page.
	Count() int64
	SetCount(int64)

	// Details of the queried resources.
	// Example: \"documents\": {\n        \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\": {\n            \"project\": \"test-project\",\n            \"id\": \"b80254a7-fcff-4918-ad88-501d08096337\",\n            \"name\": \"test\",\n            \"updatedAt\": \"2019-09-23 13:48:54.483\",\n            \"tags\": [],\n            \"_link\": \"/codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337\",\n            \"_updateTimeInMicros\": 1569226734483000,\n            \"_createTimeInMicros\": 1569226720988000,\n            \"index\": 1,\n            \"notifications\": [],\n            \"comments\": \"\",\n            \"starred\": {},\n            \"input\": {},\n            \"output\": {},\n            \"stageOrder\": [],\n            \"stages\": {},\n            \"status\": \"COMPLETED\",\n            \"statusMessage\": \"Execution Completed.\",\n            \"_durationInMicros\": 13495000,\n            \"_requestTimeInMicros\": 1569226720988000,\n            \"_executedBy\": \"exampleuser\",\n            \"_pipelineLink\": \"/codestream/api/pipelines/b49898f9-d42d-4f19-8bda-e77a373c41b9\",\n            \"_nested\": false,\n            \"_rollback\": false,\n            \"_inputMeta\": {},\n            \"_outputMeta\": {},\n            \"workspaceResults\": []\n        }\n    }
	Documents() map[string]Variable
	SetDocuments(map[string]Variable)

	// Partial URLs representing the links to the queried resources.
	// Example: /codestream/api/executions/b80254a7-fcff-4918-ad88-501d08096337
	Links() []string
	SetLinks([]string)

	// Number of resources across all pages.
	TotalCount() int64
	SetTotalCount(int64)
}

Variables Variables

A list of Variable instances ¶

swagger:discriminator Variables A list of Variable instances

func UnmarshalVariables ¶ added in v0.2.22

func UnmarshalVariables(reader io.Reader, consumer runtime.Consumer) (Variables, error)

UnmarshalVariables unmarshals polymorphic Variables

func UnmarshalVariablesSlice ¶ added in v0.2.22

func UnmarshalVariablesSlice(reader io.Reader, consumer runtime.Consumer) ([]Variables, error)

UnmarshalVariablesSlice unmarshals polymorphic slices of Variables

type VcfCredentialRequests ¶ added in v0.2.18

type VcfCredentialRequests struct {

	// credentials
	Credentials []*ServiceAccountRequest `json:"credentials"`
}

VcfCredentialRequests VcfCredentialRequests

swagger:model VcfCredentialRequests

func (*VcfCredentialRequests) ContextValidate ¶ added in v0.2.20

func (m *VcfCredentialRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vcf credential requests based on the context it is used

func (*VcfCredentialRequests) MarshalBinary ¶ added in v0.2.18

func (m *VcfCredentialRequests) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VcfCredentialRequests) UnmarshalBinary ¶ added in v0.2.18

func (m *VcfCredentialRequests) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VcfCredentialRequests) Validate ¶ added in v0.2.18

func (m *VcfCredentialRequests) Validate(formats strfmt.Registry) error

Validate validates this vcf credential requests

type VcfDomain ¶ added in v0.2.18

type VcfDomain struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nsx resource
	NsxResource *NsxAccount `json:"nsxResource,omitempty"`

	// status
	// Enum: [ACTIVE CONFIGURED NOT_CONFIGURED NOT_ACTIVE]
	Status string `json:"status,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// vsphere
	Vsphere *VsphereAccount `json:"vsphere,omitempty"`
}

VcfDomain VcfDomain

swagger:model VcfDomain

func (*VcfDomain) ContextValidate ¶ added in v0.2.20

func (m *VcfDomain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vcf domain based on the context it is used

func (*VcfDomain) MarshalBinary ¶ added in v0.2.18

func (m *VcfDomain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VcfDomain) UnmarshalBinary ¶ added in v0.2.18

func (m *VcfDomain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VcfDomain) Validate ¶ added in v0.2.18

func (m *VcfDomain) Validate(formats strfmt.Registry) error

Validate validates this vcf domain

type VcfDomains ¶ added in v0.2.18

type VcfDomains struct {

	// domains
	Domains []*VcfDomain `json:"domains"`
}

VcfDomains VcfDomains

swagger:model VcfDomains

func (*VcfDomains) ContextValidate ¶ added in v0.2.20

func (m *VcfDomains) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vcf domains based on the context it is used

func (*VcfDomains) MarshalBinary ¶ added in v0.2.18

func (m *VcfDomains) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VcfDomains) UnmarshalBinary ¶ added in v0.2.18

func (m *VcfDomains) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VcfDomains) Validate ¶ added in v0.2.18

func (m *VcfDomains) Validate(formats strfmt.Registry) error

Validate validates this vcf domains

type VcfServiceAccount ¶ added in v0.2.18

type VcfServiceAccount struct {

	// auth credentials
	AuthCredentials string `json:"authCredentials,omitempty"`

	// credential Id
	CredentialID string `json:"credentialId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// role name
	RoleName string `json:"roleName,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

VcfServiceAccount VcfServiceAccount

swagger:model VcfServiceAccount

func (*VcfServiceAccount) ContextValidate ¶ added in v0.2.20

func (m *VcfServiceAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vcf service account based on context it is used

func (*VcfServiceAccount) MarshalBinary ¶ added in v0.2.18

func (m *VcfServiceAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VcfServiceAccount) UnmarshalBinary ¶ added in v0.2.18

func (m *VcfServiceAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VcfServiceAccount) Validate ¶ added in v0.2.18

func (m *VcfServiceAccount) Validate(formats strfmt.Registry) error

Validate validates this vcf service account

type VcfServiceCredential ¶ added in v0.2.18

type VcfServiceCredential struct {

	// auth credential link
	AuthCredentialLink string `json:"authCredentialLink,omitempty"`

	// credential Id
	CredentialID string `json:"credentialId,omitempty"`

	// domain Id
	DomainID string `json:"domainId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// integration Id
	IntegrationID string `json:"integrationId,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// role name
	RoleName string `json:"roleName,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// task Id
	TaskID string `json:"taskId,omitempty"`

	// user name
	UserName string `json:"userName,omitempty"`

	// vcf cloud account Id
	VcfCloudAccountID string `json:"vcfCloudAccountId,omitempty"`
}

VcfServiceCredential VcfServiceCredential

swagger:model VcfServiceCredential

func (*VcfServiceCredential) ContextValidate ¶ added in v0.2.20

func (m *VcfServiceCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vcf service credential based on context it is used

func (*VcfServiceCredential) MarshalBinary ¶ added in v0.2.18

func (m *VcfServiceCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VcfServiceCredential) UnmarshalBinary ¶ added in v0.2.18

func (m *VcfServiceCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VcfServiceCredential) Validate ¶ added in v0.2.18

func (m *VcfServiceCredential) Validate(formats strfmt.Registry) error

Validate validates this vcf service credential

type VcfServiceCredentialCreationResponse ¶ added in v0.2.18

type VcfServiceCredentialCreationResponse struct {

	// credentials
	Credentials []*VcfServiceAccount `json:"credentials"`

	// domain Id
	DomainID string `json:"domainId,omitempty"`

	// sddc integration Id
	SddcIntegrationID string `json:"sddcIntegrationId,omitempty"`

	// status
	// Enum: [SUCCESSFUL IN_PROGRESS FAILED]
	Status string `json:"status,omitempty"`

	// task Id
	TaskID string `json:"taskId,omitempty"`
}

VcfServiceCredentialCreationResponse VcfServiceCredentialCreationResponse

swagger:model VcfServiceCredentialCreationResponse

func (*VcfServiceCredentialCreationResponse) ContextValidate ¶ added in v0.2.20

func (m *VcfServiceCredentialCreationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vcf service credential creation response based on the context it is used

func (*VcfServiceCredentialCreationResponse) MarshalBinary ¶ added in v0.2.18

func (m *VcfServiceCredentialCreationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VcfServiceCredentialCreationResponse) UnmarshalBinary ¶ added in v0.2.18

func (m *VcfServiceCredentialCreationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VcfServiceCredentialCreationResponse) Validate ¶ added in v0.2.18

Validate validates this vcf service credential creation response

type VersionRequest ¶ added in v0.2.22

type VersionRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Changelog describing the changes between this and previous versions.
	// Example: Modified API signatures.
	ChangeLog() string
	SetChangeLog(string)

	// Description of the version.
	// Example: This is the latest version.
	Description() string
	SetDescription(string)

	// Version of the Custom Integration.
	// Example: v1
	Version() string
	SetVersion(string)
}

VersionRequest VersionRequest

Request object for version of a Custom Integration.

swagger:discriminator VersionRequest Request object for version of a Custom Integration.

func UnmarshalVersionRequest ¶ added in v0.2.22

func UnmarshalVersionRequest(reader io.Reader, consumer runtime.Consumer) (VersionRequest, error)

UnmarshalVersionRequest unmarshals polymorphic VersionRequest

func UnmarshalVersionRequestSlice ¶ added in v0.2.22

func UnmarshalVersionRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]VersionRequest, error)

UnmarshalVersionRequestSlice unmarshals polymorphic slices of VersionRequest

type VolumeTypeList ¶

type VolumeTypeList struct {

	// volume types
	VolumeTypes []string `json:"volumeTypes"`
}

VolumeTypeList volume type list

swagger:model VolumeTypeList

func (*VolumeTypeList) ContextValidate ¶ added in v0.2.20

func (m *VolumeTypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume type list based on context it is used

func (*VolumeTypeList) MarshalBinary ¶

func (m *VolumeTypeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeTypeList) UnmarshalBinary ¶

func (m *VolumeTypeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeTypeList) Validate ¶

func (m *VolumeTypeList) Validate(formats strfmt.Registry) error

Validate validates this volume type list

type VsphereAccount ¶ added in v0.2.18

type VsphereAccount struct {

	// host name
	HostName string `json:"hostName,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// region Id
	RegionID string `json:"regionId,omitempty"`
}

VsphereAccount VsphereAccount

swagger:model VsphereAccount

func (*VsphereAccount) ContextValidate ¶ added in v0.2.20

func (m *VsphereAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vsphere account based on context it is used

func (*VsphereAccount) MarshalBinary ¶ added in v0.2.18

func (m *VsphereAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VsphereAccount) UnmarshalBinary ¶ added in v0.2.18

func (m *VsphereAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VsphereAccount) Validate ¶ added in v0.2.18

func (m *VsphereAccount) Validate(formats strfmt.Registry) error

Validate validates this vsphere account

type VsphereStorageProfile ¶

type VsphereStorageProfile struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Id of the cloud account this storage profile belongs to.
	// Example: [9e49]
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// Indicates if a storage profile contains default storage properties.
	// Example: false
	// Required: true
	DefaultItem *bool `json:"defaultItem"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// Type of mode for the disk
	// Example: undefined / independent-persistent / independent-nonpersistent
	DiskMode string `json:"diskMode,omitempty"`

	// Disk types are specified as
	// 	Standard - Simple vSphere virtual disks which cannot be managed independently without an attached VM.
	// 	First Class - Improved version of standard virtual disks, designed to be fully mananged
	//  independent storage objects.
	// Empty value is considered as Standard
	// Example: firstClass / standard
	DiskType string `json:"diskType,omitempty"`

	// The id of the region for which this profile is defined
	// Example: Datacenter:datacenter-2
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// The upper bound for the I/O operations per second allocated for each disk.
	// Example: 1000
	LimitIops string `json:"limitIops,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Type of format for the disk.
	// Example: thin / thick / eagerZeroedThick
	ProvisioningType string `json:"provisioningType,omitempty"`

	// A specific number of shares assigned to each virtual machine.
	// Example: 2000
	Shares string `json:"shares,omitempty"`

	// Shares level are specified as High, Normal, Low or Custom.
	// Example: low / normal / high / custom
	SharesLevel string `json:"sharesLevel,omitempty"`

	// Indicates whether this storage profile should support encryption or not.
	// Example: false
	SupportsEncryption bool `json:"supportsEncryption,omitempty"`

	// A list of tags that represent the capabilities of this storage profile
	// Example: [ { \"key\" : \"tier\", \"value\": \"silver\" } ]
	Tags []*Tag `json:"tags"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

VsphereStorageProfile Defines a structure that holds storage profile details defined for vSphere for a specific region.**HATEOAS** links:<br>**datastore** - FabricVsphereDatastore - Datastore for this storage profile.<br>**storage-policy** - FabricVsphereStoragePolicy - vSphere storage policy for this storage profile.<br> **region** - Region - Region for the profile.<br>**self** - VsphereStorageProfile - Self link to this vSphere storage profile.

swagger:model VsphereStorageProfile

func (*VsphereStorageProfile) ContextValidate ¶ added in v0.2.20

func (m *VsphereStorageProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vsphere storage profile based on the context it is used

func (*VsphereStorageProfile) MarshalBinary ¶

func (m *VsphereStorageProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VsphereStorageProfile) UnmarshalBinary ¶

func (m *VsphereStorageProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VsphereStorageProfile) Validate ¶

func (m *VsphereStorageProfile) Validate(formats strfmt.Registry) error

Validate validates this vsphere storage profile

type WebhookEventConfig ¶ added in v0.2.22

type WebhookEventConfig interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Action Type.
	// Example: POST/PUT/PATCH
	Action() string
	SetAction(string)

	// cloudProxyId configured in the webhook.
	// Example: {"text":"executionId","username":"codestream@vmware.com"}
	CloudProxyID() string
	SetCloudProxyID(string)

	// endpoint
	Endpoint() string
	SetEndpoint(string)

	// event
	// Enum: [SUCCESS FAILURE WAITING CANCELED STARTED]
	Event() string
	SetEvent(string)

	// The headers required to perform HTTP action on the provided url.
	// Example: content-type: application/json
	Headers() map[string]string
	SetHeaders(map[string]string)

	// Payload to be sent to the webhook.
	// Example: {"text":"executionId","username":"codestream@vmware.com"}
	Payload() string
	SetPayload(string)

	// stage
	Stage() string
	SetStage(string)

	// task
	Task() string
	SetTask(string)

	// WebhookURL to send payload.
	URL() string
	SetURL(string)
}

WebhookEventConfig WebhookEventConfig

Represents a Webhook Event configuration.

swagger:discriminator WebhookEventConfig Represents a Webhook Event configuration.

func UnmarshalWebhookEventConfig ¶ added in v0.2.22

func UnmarshalWebhookEventConfig(reader io.Reader, consumer runtime.Consumer) (WebhookEventConfig, error)

UnmarshalWebhookEventConfig unmarshals polymorphic WebhookEventConfig

func UnmarshalWebhookEventConfigSlice ¶ added in v0.2.22

func UnmarshalWebhookEventConfigSlice(reader io.Reader, consumer runtime.Consumer) ([]WebhookEventConfig, error)

UnmarshalWebhookEventConfigSlice unmarshals polymorphic slices of WebhookEventConfig

type Workspace ¶ added in v0.2.22

type Workspace interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Indicates that git clone will be performed automatically.
	// Example: true
	AutoCloneForTrigger() bool
	SetAutoCloneForTrigger(bool)

	// List of paths to store artifacts and logs.
	// Example: ["/root/.m2","/temp/"]
	Cache() []string
	SetCache([]string)

	// Name of the endpoint is docker.
	Endpoint() string
	SetEndpoint(string)

	// List of environment variables and their values
	// Example: {"foo":"bar","property_one":"value_one","property_two":"value_two"}
	EnvironmentVariables() map[string]string
	SetEnvironmentVariables(map[string]string)

	// Image to create CI container.
	// Example: fedora:latest
	Image() string
	SetImage(string)

	// Working directory for executing commands.
	// Example: /usr/administrator/
	Path() string
	SetPath(string)

	// Name of the docker registry.
	// Example: Docker Trusted Registry
	Registry() string
	SetRegistry(string)
}

Workspace Workspace

Model which contains details about container and host for executing continuous integration tasks.

swagger:discriminator Workspace Model which contains details about container and host for executing continuous integration tasks.

func UnmarshalWorkspace ¶ added in v0.2.22

func UnmarshalWorkspace(reader io.Reader, consumer runtime.Consumer) (Workspace, error)

UnmarshalWorkspace unmarshals polymorphic Workspace

func UnmarshalWorkspaceSlice ¶ added in v0.2.22

func UnmarshalWorkspaceSlice(reader io.Reader, consumer runtime.Consumer) ([]Workspace, error)

UnmarshalWorkspaceSlice unmarshals polymorphic slices of Workspace

type WorkspaceResult ¶ added in v0.2.22

type WorkspaceResult struct {

	// Logs for the executing step.
	Logs []string `json:"logs"`

	// Status of the Git clone/creating a container for the Workspace.
	// Example: COMPLETED
	Status string `json:"status,omitempty"`

	// The current step for Git clone/creating a container for the Workspace.
	// Example: GIT_CLONE
	Step string `json:"step,omitempty"`
}

WorkspaceResult WorkspaceResult

swagger:model WorkspaceResult

func (*WorkspaceResult) ContextValidate ¶ added in v0.2.22

func (m *WorkspaceResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workspace result based on context it is used

func (*WorkspaceResult) MarshalBinary ¶ added in v0.2.22

func (m *WorkspaceResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkspaceResult) UnmarshalBinary ¶ added in v0.2.22

func (m *WorkspaceResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkspaceResult) Validate ¶ added in v0.2.22

func (m *WorkspaceResult) Validate(formats strfmt.Registry) error

Validate validates this workspace result

type Zone ¶

type Zone struct {

	// HATEOAS of the entity
	// Required: true
	Links map[string]Href `json:"_links"`

	// Cloud account this zone belongs to.
	// Example: 9e49
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Date when the entity was created. The date is in ISO 8601 and UTC.
	// Example: 2012-09-27
	CreatedAt string `json:"createdAt,omitempty"`

	// A list of key value pair of properties that will  be used
	// Example: {\"__isDefaultPlacementZone\": \"true\"}
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	// Example: my-description
	Description string `json:"description,omitempty"`

	// The id of the region for which this zone is defined
	// Example: us-east-1
	ExternalRegionID string `json:"externalRegionId,omitempty"`

	// The folder relative path to the datacenter where resources are deployed to. (only applicable for vSphere cloud zones)
	// Example: test-folder
	Folder string `json:"folder,omitempty"`

	// The id of this resource instance
	// Example: 9e49
	// Required: true
	ID *string `json:"id"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Example: my-name
	Name string `json:"name,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 9e49
	OrgID string `json:"orgId,omitempty"`

	// This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
	// Example: deprecated
	OrganizationID string `json:"organizationId,omitempty"`

	// Email of the user that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// The placement policy for the zone.
	// Example: DEFAULT, SPREAD, BINPACK
	PlacementPolicy string `json:"placementPolicy,omitempty"`

	// A set of tag keys and optional values that were set on this placement.
	// Example: [ { \"key\" : \"dev\", \"value\": \" \" } ]
	Tags []*Tag `json:"tags"`

	// A set of tag keys and optional values for compute resource filtering.
	// Example: [ { \"key\" : \"compliance\", \"value\": \"pci\" } ]
	TagsToMatch []*Tag `json:"tagsToMatch"`

	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	// Example: 2012-09-27
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Zone Description of a compute placement zone. This can be used to specify a subset of compute resources within a region where machines can be placed. <br>**HATEOAS** links:<br>**region** - Region - Region for the zone.<br>**computes** - Computes - Computes for the zone. <br>**cloud-account** - CloudAccount - The cloud account that the zone belongs to.<br>**self** - Zone - Self link to this zone

swagger:model Zone

func (*Zone) ContextValidate ¶ added in v0.2.20

func (m *Zone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zone based on the context it is used

func (*Zone) MarshalBinary ¶

func (m *Zone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Zone) UnmarshalBinary ¶

func (m *Zone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Zone) Validate ¶

func (m *Zone) Validate(formats strfmt.Registry) error

Validate validates this zone

type ZoneAssignment ¶ added in v0.2.21

type ZoneAssignment struct {

	// The amount of CPUs currently allocated.
	AllocatedCPU int64 `json:"allocatedCpu,omitempty"`

	// The number of resource instances currently allocated
	AllocatedInstancesCount int64 `json:"allocatedInstancesCount,omitempty"`

	// The amount of memory currently allocated.
	AllocatedMemoryMB int64 `json:"allocatedMemoryMB,omitempty"`

	// The amount of storage currently allocated.
	AllocatedStorageGB float64 `json:"allocatedStorageGB,omitempty"`

	// The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
	// Example: 2048
	CPULimit int64 `json:"cpuLimit,omitempty"`

	// The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances).
	// Example: 50
	MaxNumberInstances int64 `json:"maxNumberInstances,omitempty"`

	// The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
	// Example: 2048
	MemoryLimitMB int64 `json:"memoryLimitMB,omitempty"`

	// The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
	// Example: 1
	Priority int32 `json:"priority,omitempty"`

	// Defines an upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Please note that this feature is supported only for vSphere cloud zones. Not valid for other cloud zone types.
	// Example: 20
	StorageLimitGB int64 `json:"storageLimitGB,omitempty"`

	// The Cloud Zone Id
	// Example: 77ee1
	ZoneID string `json:"zoneId,omitempty"`
}

ZoneAssignment A zone assignment

swagger:model ZoneAssignment

func (*ZoneAssignment) ContextValidate ¶ added in v0.2.21

func (m *ZoneAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zone assignment based on context it is used

func (*ZoneAssignment) MarshalBinary ¶ added in v0.2.21

func (m *ZoneAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZoneAssignment) UnmarshalBinary ¶ added in v0.2.21

func (m *ZoneAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZoneAssignment) Validate ¶ added in v0.2.21

func (m *ZoneAssignment) Validate(formats strfmt.Registry) error

Validate validates this zone assignment

type ZoneAssignmentSpecification ¶ added in v0.2.21

type ZoneAssignmentSpecification struct {

	// The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
	// Example: 2048
	CPULimit int64 `json:"cpuLimit,omitempty"`

	// The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances).
	// Example: 50
	MaxNumberInstances int64 `json:"maxNumberInstances,omitempty"`

	// The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
	// Example: 2048
	MemoryLimitMB int64 `json:"memoryLimitMB,omitempty"`

	// The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
	// Example: 1
	Priority int32 `json:"priority,omitempty"`

	// Defines an upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Please note that this feature is supported only for vSphere cloud zones. Not valid for other cloud zone types.
	// Example: 20
	StorageLimitGB int64 `json:"storageLimitGB,omitempty"`

	// The Cloud Zone Id
	// Example: 77ee1
	ZoneID string `json:"zoneId,omitempty"`
}

ZoneAssignmentSpecification A zone assignment configuration

swagger:model ZoneAssignmentSpecification

func (*ZoneAssignmentSpecification) ContextValidate ¶ added in v0.2.21

func (m *ZoneAssignmentSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zone assignment specification based on context it is used

func (*ZoneAssignmentSpecification) MarshalBinary ¶ added in v0.2.21

func (m *ZoneAssignmentSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZoneAssignmentSpecification) UnmarshalBinary ¶ added in v0.2.21

func (m *ZoneAssignmentSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZoneAssignmentSpecification) Validate ¶ added in v0.2.21

func (m *ZoneAssignmentSpecification) Validate(formats strfmt.Registry) error

Validate validates this zone assignment specification

type ZoneResult ¶

type ZoneResult struct {

	// List of content items
	// Read Only: true
	Content []*Zone `json:"content"`

	// Number of elements in the current page
	// Example: 1
	// Read Only: true
	NumberOfElements int64 `json:"numberOfElements,omitempty"`

	// Total number of elements. In some cases the field may not be populated
	// Example: 1
	// Read Only: true
	TotalElements int64 `json:"totalElements,omitempty"`
}

ZoneResult State object representing a query result of Zones.

swagger:model ZoneResult

func (*ZoneResult) ContextValidate ¶ added in v0.2.20

func (m *ZoneResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zone result based on the context it is used

func (*ZoneResult) MarshalBinary ¶

func (m *ZoneResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZoneResult) UnmarshalBinary ¶

func (m *ZoneResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZoneResult) Validate ¶

func (m *ZoneResult) Validate(formats strfmt.Registry) error

Validate validates this zone result

type ZoneSpecification ¶

type ZoneSpecification struct {

	// The ids of the compute resources that will be explicitly assigned to this zone
	// Example: [ab12c]
	ComputeIds []string `json:"computeIds"`

	// A list of key value pair of properties that will  be used
	// Example: {\"__isDefaultPlacementZone\": \"true\"}
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// A human-friendly description.
	Description string `json:"description,omitempty"`

	// The folder relative path to the datacenter where resources are deployed to. (only applicable for vSphere cloud zones)
	// Example: test-folder
	Folder string `json:"folder,omitempty"`

	// A human-friendly name used as an identifier in APIs that support this option.
	// Required: true
	Name *string `json:"name"`

	// Placement policy for the zone. One of DEFAULT, SPREAD or BINPACK.
	// Example: DEFAULT
	PlacementPolicy string `json:"placementPolicy,omitempty"`

	// The id of the region for which this profile is created
	// Example: 9e49
	// Required: true
	RegionID *string `json:"regionId"`

	// A set of tag keys and optional values that are effectively applied to all compute resources in this zone, but only in the context of this zone.
	// Example: [ { \"key\" : \"production\", \"value\": \" \" } ]
	Tags []*Tag `json:"tags"`

	// A set of tag keys and optional values that will be used
	// Example: [ { \"key\" : \"compliance\", \"value\": \"pci\" } ]
	TagsToMatch []*Tag `json:"tagsToMatch"`
}

ZoneSpecification Specification for a zone.

swagger:model ZoneSpecification

func (*ZoneSpecification) ContextValidate ¶ added in v0.2.20

func (m *ZoneSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zone specification based on the context it is used

func (*ZoneSpecification) MarshalBinary ¶

func (m *ZoneSpecification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZoneSpecification) UnmarshalBinary ¶

func (m *ZoneSpecification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZoneSpecification) Validate ¶

func (m *ZoneSpecification) Validate(formats strfmt.Registry) error

Validate validates this zone specification

Source Files ¶

Jump to

Keyboard shortcuts

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