models

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 10 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 (

	// CertificateInfoCertificateErrorDetailUNTRUSTEDCERTIFICATE captures enum value "UNTRUSTED_CERTIFICATE"
	CertificateInfoCertificateErrorDetailUNTRUSTEDCERTIFICATE string = "UNTRUSTED_CERTIFICATE"

	// CertificateInfoCertificateErrorDetailEXPIREDCERTIFICATE captures enum value "EXPIRED_CERTIFICATE"
	CertificateInfoCertificateErrorDetailEXPIREDCERTIFICATE string = "EXPIRED_CERTIFICATE"

	// CertificateInfoCertificateErrorDetailNOTYETVALIDCERTIFICATE captures enum value "NOT_YET_VALID_CERTIFICATE"
	CertificateInfoCertificateErrorDetailNOTYETVALIDCERTIFICATE string = "NOT_YET_VALID_CERTIFICATE"

	// CertificateInfoCertificateErrorDetailKEYSTORETAMPEREDORPASSWORDINCORRECT captures enum value "KEYSTORE_TAMPERED_OR_PASSWORD_INCORRECT"
	CertificateInfoCertificateErrorDetailKEYSTORETAMPEREDORPASSWORDINCORRECT string = "KEYSTORE_TAMPERED_OR_PASSWORD_INCORRECT"
)
View Source
const (

	// CnTemplateCounterVoCnResourceTypeCOMPUTE captures enum value "COMPUTE"
	CnTemplateCounterVoCnResourceTypeCOMPUTE string = "COMPUTE"

	// CnTemplateCounterVoCnResourceTypeNETWORK captures enum value "NETWORK"
	CnTemplateCounterVoCnResourceTypeNETWORK string = "NETWORK"

	// CnTemplateCounterVoCnResourceTypeCOMPUTESTORAGE captures enum value "COMPUTE_STORAGE"
	CnTemplateCounterVoCnResourceTypeCOMPUTESTORAGE string = "COMPUTE_STORAGE"

	// CnTemplateCounterVoCnResourceTypeLOADBALANCER captures enum value "LOAD_BALANCER"
	CnTemplateCounterVoCnResourceTypeLOADBALANCER string = "LOAD_BALANCER"

	// CnTemplateCounterVoCnResourceTypeRESOURCEGROUP captures enum value "RESOURCE_GROUP"
	CnTemplateCounterVoCnResourceTypeRESOURCEGROUP string = "RESOURCE_GROUP"

	// CnTemplateCounterVoCnResourceTypeGATEWAY captures enum value "GATEWAY"
	CnTemplateCounterVoCnResourceTypeGATEWAY string = "GATEWAY"

	// CnTemplateCounterVoCnResourceTypeNAT captures enum value "NAT"
	CnTemplateCounterVoCnResourceTypeNAT string = "NAT"

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

	// CnTemplateVoResourceTypeCOMPUTE captures enum value "COMPUTE"
	CnTemplateVoResourceTypeCOMPUTE string = "COMPUTE"

	// CnTemplateVoResourceTypeNETWORK captures enum value "NETWORK"
	CnTemplateVoResourceTypeNETWORK string = "NETWORK"

	// CnTemplateVoResourceTypeCOMPUTESTORAGE captures enum value "COMPUTE_STORAGE"
	CnTemplateVoResourceTypeCOMPUTESTORAGE string = "COMPUTE_STORAGE"

	// CnTemplateVoResourceTypeLOADBALANCER captures enum value "LOAD_BALANCER"
	CnTemplateVoResourceTypeLOADBALANCER string = "LOAD_BALANCER"

	// CnTemplateVoResourceTypeRESOURCEGROUP captures enum value "RESOURCE_GROUP"
	CnTemplateVoResourceTypeRESOURCEGROUP string = "RESOURCE_GROUP"

	// CnTemplateVoResourceTypeGATEWAY captures enum value "GATEWAY"
	CnTemplateVoResourceTypeGATEWAY string = "GATEWAY"

	// CnTemplateVoResourceTypeNAT captures enum value "NAT"
	CnTemplateVoResourceTypeNAT string = "NAT"

	// CnTemplateVoResourceTypeSECURITYGROUP captures enum value "SECURITY_GROUP"
	CnTemplateVoResourceTypeSECURITYGROUP string = "SECURITY_GROUP"
)
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 (

	// ConfigurationPropertyKeySESSIONTIMEOUTDURATIONMINUTES captures enum value "SESSION_TIMEOUT_DURATION_MINUTES"
	ConfigurationPropertyKeySESSIONTIMEOUTDURATIONMINUTES string = "SESSION_TIMEOUT_DURATION_MINUTES"

	// ConfigurationPropertyKeyRELEASEIPADDRESSPERIODMINUTES captures enum value "RELEASE_IPADDRESS_PERIOD_MINUTES"
	ConfigurationPropertyKeyRELEASEIPADDRESSPERIODMINUTES string = "RELEASE_IPADDRESS_PERIOD_MINUTES"

	// ConfigurationPropertyKeyNSXTRETRYDURATIONMINUTES captures enum value "NSXT_RETRY_DURATION_MINUTES"
	ConfigurationPropertyKeyNSXTRETRYDURATIONMINUTES string = "NSXT_RETRY_DURATION_MINUTES"
)
View Source
const (

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

	// ContentSourceTypeIDComDotGithubDotEnterprise captures enum value "com.github.enterprise"
	ContentSourceTypeIDComDotGithubDotEnterprise string = "com.github.enterprise"

	// 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 (

	// CustomNamingCounterCnResourceTypeCOMPUTE captures enum value "COMPUTE"
	CustomNamingCounterCnResourceTypeCOMPUTE string = "COMPUTE"

	// CustomNamingCounterCnResourceTypeNETWORK captures enum value "NETWORK"
	CustomNamingCounterCnResourceTypeNETWORK string = "NETWORK"

	// CustomNamingCounterCnResourceTypeCOMPUTESTORAGE captures enum value "COMPUTE_STORAGE"
	CustomNamingCounterCnResourceTypeCOMPUTESTORAGE string = "COMPUTE_STORAGE"

	// CustomNamingCounterCnResourceTypeLOADBALANCER captures enum value "LOAD_BALANCER"
	CustomNamingCounterCnResourceTypeLOADBALANCER string = "LOAD_BALANCER"

	// CustomNamingCounterCnResourceTypeRESOURCEGROUP captures enum value "RESOURCE_GROUP"
	CustomNamingCounterCnResourceTypeRESOURCEGROUP string = "RESOURCE_GROUP"

	// CustomNamingCounterCnResourceTypeGATEWAY captures enum value "GATEWAY"
	CustomNamingCounterCnResourceTypeGATEWAY string = "GATEWAY"

	// CustomNamingCounterCnResourceTypeNAT captures enum value "NAT"
	CustomNamingCounterCnResourceTypeNAT string = "NAT"

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

	// CustomNamingTemplateResourceTypeCOMPUTE captures enum value "COMPUTE"
	CustomNamingTemplateResourceTypeCOMPUTE string = "COMPUTE"

	// CustomNamingTemplateResourceTypeNETWORK captures enum value "NETWORK"
	CustomNamingTemplateResourceTypeNETWORK string = "NETWORK"

	// CustomNamingTemplateResourceTypeCOMPUTESTORAGE captures enum value "COMPUTE_STORAGE"
	CustomNamingTemplateResourceTypeCOMPUTESTORAGE string = "COMPUTE_STORAGE"

	// CustomNamingTemplateResourceTypeLOADBALANCER captures enum value "LOAD_BALANCER"
	CustomNamingTemplateResourceTypeLOADBALANCER string = "LOAD_BALANCER"

	// CustomNamingTemplateResourceTypeRESOURCEGROUP captures enum value "RESOURCE_GROUP"
	CustomNamingTemplateResourceTypeRESOURCEGROUP string = "RESOURCE_GROUP"

	// CustomNamingTemplateResourceTypeGATEWAY captures enum value "GATEWAY"
	CustomNamingTemplateResourceTypeGATEWAY string = "GATEWAY"

	// CustomNamingTemplateResourceTypeNAT captures enum value "NAT"
	CustomNamingTemplateResourceTypeNAT string = "NAT"

	// CustomNamingTemplateResourceTypeSECURITYGROUP captures enum value "SECURITY_GROUP"
	CustomNamingTemplateResourceTypeSECURITYGROUP string = "SECURITY_GROUP"
)
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 (

	// DeploymentResourceOriginDISCOVERED captures enum value "DISCOVERED"
	DeploymentResourceOriginDISCOVERED string = "DISCOVERED"

	// 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 (

	// K8SClusterAssignResponseDTOStatusINITIALIZING captures enum value "INITIALIZING"
	K8SClusterAssignResponseDTOStatusINITIALIZING string = "INITIALIZING"

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

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

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

	// K8SInstallerInstallerTypeCLUSTER captures enum value "CLUSTER"
	K8SInstallerInstallerTypeCLUSTER string = "CLUSTER"

	// K8SInstallerInstallerTypeNAMESPACE captures enum value "NAMESPACE"
	K8SInstallerInstallerTypeNAMESPACE string = "NAMESPACE"

	// K8SInstallerInstallerTypeSUPERVISORCLUSTER captures enum value "SUPERVISOR_CLUSTER"
	K8SInstallerInstallerTypeSUPERVISORCLUSTER string = "SUPERVISOR_CLUSTER"

	// K8SInstallerInstallerTypeSUPERVISORNAMESPACE captures enum value "SUPERVISOR_NAMESPACE"
	K8SInstallerInstallerTypeSUPERVISORNAMESPACE string = "SUPERVISOR_NAMESPACE"
)
View Source
const (

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

	// K8SInstallerStateINSTALLING captures enum value "INSTALLING"
	K8SInstallerStateINSTALLING string = "INSTALLING"

	// K8SInstallerStateNOTREADY captures enum value "NOT_READY"
	K8SInstallerStateNOTREADY string = "NOT_READY"

	// K8SInstallerStateREADY captures enum value "READY"
	K8SInstallerStateREADY string = "READY"

	// K8SInstallerStateUNINSTALLING captures enum value "UNINSTALLING"
	K8SInstallerStateUNINSTALLING string = "UNINSTALLING"

	// K8SInstallerStateUNINSTALLED captures enum value "UNINSTALLED"
	K8SInstallerStateUNINSTALLED string = "UNINSTALLED"

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

	// K8SInstallerStateDELETING captures enum value "DELETING"
	K8SInstallerStateDELETING string = "DELETING"
)
View Source
const (

	// K8SNamespaceStatusALLOCATED captures enum value "ALLOCATED"
	K8SNamespaceStatusALLOCATED string = "ALLOCATED"

	// K8SNamespaceStatusREADY captures enum value "READY"
	K8SNamespaceStatusREADY string = "READY"

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

	// K8SNamespaceStatusUNREACHABLE captures enum value "UNREACHABLE"
	K8SNamespaceStatusUNREACHABLE string = "UNREACHABLE"

	// K8SNamespaceStatusTERMINATING captures enum value "TERMINATING"
	K8SNamespaceStatusTERMINATING string = "TERMINATING"

	// K8SNamespaceStatusREMOVED captures enum value "REMOVED"
	K8SNamespaceStatusREMOVED string = "REMOVED"
)
View Source
const (

	// K8SResourceStateINITIALIZED captures enum value "INITIALIZED"
	K8SResourceStateINITIALIZED string = "INITIALIZED"

	// K8SResourceStateNOTINSTALLED captures enum value "NOT_INSTALLED"
	K8SResourceStateNOTINSTALLED string = "NOT_INSTALLED"

	// K8SResourceStateINSTALLING captures enum value "INSTALLING"
	K8SResourceStateINSTALLING string = "INSTALLING"

	// K8SResourceStateINSTALLED captures enum value "INSTALLED"
	K8SResourceStateINSTALLED string = "INSTALLED"

	// K8SResourceStateREADY captures enum value "READY"
	K8SResourceStateREADY string = "READY"

	// K8SResourceStateUNINSTALLING captures enum value "UNINSTALLING"
	K8SResourceStateUNINSTALLING string = "UNINSTALLING"

	// K8SResourceStateUNREACHABLE captures enum value "UNREACHABLE"
	K8SResourceStateUNREACHABLE string = "UNREACHABLE"

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

	// K8SZoneProviderTypePKSENDPOINT captures enum value "PKS_ENDPOINT"
	K8SZoneProviderTypePKSENDPOINT string = "PKS_ENDPOINT"

	// K8SZoneProviderTypeEXTERNAL captures enum value "EXTERNAL"
	K8SZoneProviderTypeEXTERNAL string = "EXTERNAL"

	// K8SZoneProviderTypeOPENSHIFT captures enum value "OPEN_SHIFT"
	K8SZoneProviderTypeOPENSHIFT string = "OPEN_SHIFT"

	// K8SZoneProviderTypeVSPHERENAMESPACES captures enum value "VSPHERE_NAMESPACES"
	K8SZoneProviderTypeVSPHERENAMESPACES string = "VSPHERE_NAMESPACES"
)
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 (

	// 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 (

	// OperationActionGET captures enum value "GET"
	OperationActionGET string = "GET"

	// OperationActionPOST captures enum value "POST"
	OperationActionPOST string = "POST"

	// OperationActionPATCH captures enum value "PATCH"
	OperationActionPATCH string = "PATCH"

	// OperationActionPUT captures enum value "PUT"
	OperationActionPUT string = "PUT"

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

	// OperationActionOPTIONS captures enum value "OPTIONS"
	OperationActionOPTIONS string = "OPTIONS"
)
View Source
const (

	// ParameterParamDefQUERY captures enum value "QUERY"
	ParameterParamDefQUERY string = "QUERY"

	// ParameterParamDefBODY captures enum value "BODY"
	ParameterParamDefBODY string = "BODY"

	// ParameterParamDefCONSUMES captures enum value "CONSUMES"
	ParameterParamDefCONSUMES string = "CONSUMES"

	// ParameterParamDefPRODUCES captures enum value "PRODUCES"
	ParameterParamDefPRODUCES string = "PRODUCES"

	// ParameterParamDefRESPONSE captures enum value "RESPONSE"
	ParameterParamDefRESPONSE string = "RESPONSE"

	// ParameterParamDefPATH captures enum value "PATH"
	ParameterParamDefPATH string = "PATH"
)
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 (

	// PropertyDescriptionTypeNameLONG captures enum value "LONG"
	PropertyDescriptionTypeNameLONG string = "LONG"

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

	// PropertyDescriptionTypeNameBYTES captures enum value "BYTES"
	PropertyDescriptionTypeNameBYTES string = "BYTES"

	// PropertyDescriptionTypeNamePODO captures enum value "PODO"
	PropertyDescriptionTypeNamePODO string = "PODO"

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

	// PropertyDescriptionTypeNameMAP captures enum value "MAP"
	PropertyDescriptionTypeNameMAP string = "MAP"

	// PropertyDescriptionTypeNameBOOLEAN captures enum value "BOOLEAN"
	PropertyDescriptionTypeNameBOOLEAN string = "BOOLEAN"

	// PropertyDescriptionTypeNameDOUBLE captures enum value "DOUBLE"
	PropertyDescriptionTypeNameDOUBLE string = "DOUBLE"

	// PropertyDescriptionTypeNameInternetAddressV4 captures enum value "InternetAddressV4"
	PropertyDescriptionTypeNameInternetAddressV4 string = "InternetAddressV4"

	// PropertyDescriptionTypeNameInternetAddressV6 captures enum value "InternetAddressV6"
	PropertyDescriptionTypeNameInternetAddressV6 string = "InternetAddressV6"

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

	// PropertyDescriptionTypeNameURI captures enum value "URI"
	PropertyDescriptionTypeNameURI string = "URI"

	// PropertyDescriptionTypeNameENUM captures enum value "ENUM"
	PropertyDescriptionTypeNameENUM string = "ENUM"
)
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"

	// RequestStatusUSERINTERACTIONPENDING captures enum value "USER_INTERACTION_PENDING"
	RequestStatusUSERINTERACTIONPENDING string = "USER_INTERACTION_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 (

	// ResourceOriginDISCOVERED captures enum value "DISCOVERED"
	ResourceOriginDISCOVERED string = "DISCOVERED"

	// 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 (

	// ResourceFieldFilterFieldID captures enum value "ID"
	ResourceFieldFilterFieldID string = "ID"

	// ResourceFieldFilterFieldNAME captures enum value "NAME"
	ResourceFieldFilterFieldNAME string = "NAME"

	// ResourceFieldFilterFieldSTATUS captures enum value "STATUS"
	ResourceFieldFilterFieldSTATUS string = "STATUS"

	// ResourceFieldFilterFieldREGION captures enum value "REGION"
	ResourceFieldFilterFieldREGION string = "REGION"

	// ResourceFieldFilterFieldADDRESS captures enum value "ADDRESS"
	ResourceFieldFilterFieldADDRESS string = "ADDRESS"

	// ResourceFieldFilterFieldTAG captures enum value "TAG"
	ResourceFieldFilterFieldTAG string = "TAG"

	// ResourceFieldFilterFieldANY captures enum value "ANY"
	ResourceFieldFilterFieldANY string = "ANY"
)
View Source
const (

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

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

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

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

	// ResourceResponseStatusCANCELLED captures enum value "CANCELLED"
	ResourceResponseStatusCANCELLED string = "CANCELLED"

	// ResourceResponseStatusUNKNOWN captures enum value "UNKNOWN"
	ResourceResponseStatusUNKNOWN string = "UNKNOWN"
)
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 (

	// RouteActionGET captures enum value "GET"
	RouteActionGET string = "GET"

	// RouteActionPOST captures enum value "POST"
	RouteActionPOST string = "POST"

	// RouteActionPATCH captures enum value "PATCH"
	RouteActionPATCH string = "PATCH"

	// RouteActionPUT captures enum value "PUT"
	RouteActionPUT string = "PUT"

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

	// RouteActionOPTIONS captures enum value "OPTIONS"
	RouteActionOPTIONS string = "OPTIONS"
)
View Source
const (

	// RouteSupportLevelNOTSUPPORTED captures enum value "NOT_SUPPORTED"
	RouteSupportLevelNOTSUPPORTED string = "NOT_SUPPORTED"

	// RouteSupportLevelINTERNAL captures enum value "INTERNAL"
	RouteSupportLevelINTERNAL string = "INTERNAL"

	// RouteSupportLevelDEPRECATED captures enum value "DEPRECATED"
	RouteSupportLevelDEPRECATED string = "DEPRECATED"

	// RouteSupportLevelPUBLIC captures enum value "PUBLIC"
	RouteSupportLevelPUBLIC string = "PUBLIC"
)
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 (

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

	// SupervisorClusterStatusCONFIGURING captures enum value "CONFIGURING"
	SupervisorClusterStatusCONFIGURING string = "CONFIGURING"

	// SupervisorClusterStatusREMOVING captures enum value "REMOVING"
	SupervisorClusterStatusREMOVING string = "REMOVING"

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

	// SupervisorNamespaceStatusREADY captures enum value "READY"
	SupervisorNamespaceStatusREADY string = "READY"

	// SupervisorNamespaceStatusALLOCATED captures enum value "ALLOCATED"
	SupervisorNamespaceStatusALLOCATED string = "ALLOCATED"

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

	// SupervisorNamespaceStatusREMOVING captures enum value "REMOVING"
	SupervisorNamespaceStatusREMOVING string = "REMOVING"
)
View Source
const (

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

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

	// SupervisorNamespaceSyncResponseDTOStatusFAILED captures enum value "FAILED"
	SupervisorNamespaceSyncResponseDTOStatusFAILED string = "FAILED"
)
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 (

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

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

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

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

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

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

	// TerraformVersionAuthenticationTypeBASIC captures enum value "BASIC"
	TerraformVersionAuthenticationTypeBASIC string = "BASIC"
)
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 (

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

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

	// UserEventStatusPENDING captures enum value "PENDING"
	UserEventStatusPENDING string = "PENDING"
)
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 (

	// ClusterPlanTypeTANZUCLUSTERPLAN captures enum value "TANZU_CLUSTER_PLAN"
	ClusterPlanTypeTANZUCLUSTERPLAN string = "TANZU_CLUSTER_PLAN"
)
View Source
const (

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

	// K8SZoneResourceAssignmentResourceTypePKSPLAN captures enum value "PKS_PLAN"
	K8SZoneResourceAssignmentResourceTypePKSPLAN string = "PKS_PLAN"
)
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 AboutResponse ¶ added in v0.5.0

type AboutResponse struct {

	// Relocation service commit identifier.
	GitCommitID string `json:"gitCommitId,omitempty"`

	// Relocation service version.
	Version string `json:"version,omitempty"`

	// Xenon-Spring version.
	XenonVersion string `json:"xenonVersion,omitempty"`
}

AboutResponse about response

swagger:model AboutResponse

func (*AboutResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this about response based on context it is used

func (*AboutResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*AboutResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*AboutResponse) Validate ¶ added in v0.5.0

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

Validate validates this about response

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"`

	// form id
	FormID string `json:"formId,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 AuthCredentialsServiceState ¶ added in v0.4.0

type AuthCredentialsServiceState struct {

	// bearer
	Bearer bool `json:"bearer,omitempty"`

	// custom properties
	CustomProperties map[string]string `json:"customProperties,omitempty"`

	// document self link
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// password
	Password bool `json:"password,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// private key Id
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`

	// tenant links
	TenantLinks []string `json:"tenantLinks"`

	// type
	Type string `json:"type,omitempty"`

	// user email
	UserEmail string `json:"userEmail,omitempty"`
}

AuthCredentialsServiceState AuthCredentialsServiceState

swagger:model AuthCredentialsServiceState

func (*AuthCredentialsServiceState) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this auth credentials service state based on context it is used

func (*AuthCredentialsServiceState) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*AuthCredentialsServiceState) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*AuthCredentialsServiceState) Validate ¶ added in v0.4.0

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

Validate validates this auth credentials service state

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 AuthorizationContext ¶ added in v0.4.0

type AuthorizationContext struct {

	// claims
	Claims *Claims `json:"claims,omitempty"`

	// guest user
	GuestUser bool `json:"guestUser,omitempty"`

	// system user
	SystemUser bool `json:"systemUser,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

AuthorizationContext AuthorizationContext

swagger:model AuthorizationContext

func (*AuthorizationContext) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this authorization context based on the context it is used

func (*AuthorizationContext) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*AuthorizationContext) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*AuthorizationContext) Validate ¶ added in v0.4.0

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

Validate validates this authorization context

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,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 or display name of the group that owns the entity.
	// Example: csp@vmware.com
	Owner string `json:"owner,omitempty"`

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 BinariesResponse ¶ added in v0.5.0

type BinariesResponse struct {

	// latest version
	LatestVersion string `json:"latestVersion,omitempty"`

	// versions
	Versions map[string]Version `json:"versions,omitempty"`
}

BinariesResponse BinariesResponse

swagger:model BinariesResponse

func (*BinariesResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this binaries response based on the context it is used

func (*BinariesResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*BinariesResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*BinariesResponse) Validate ¶ added in v0.5.0

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

Validate validates this binaries response

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
	ExternalZoneID string `json:"externalZoneId,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,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"`

	// request scope org
	RequestScopeOrg bool `json:"requestScopeOrg,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 BulkCreateDeploymentRequest ¶ added in v0.5.0

type BulkCreateDeploymentRequest struct {

	// deployments
	Deployments []*CreateDeploymentRequest `json:"deployments"`

	// A link to the parent plan to associate the new onboarding deployments with.
	PlanLink string `json:"planLink,omitempty"`
}

BulkCreateDeploymentRequest bulk create deployment request

swagger:model BulkCreateDeploymentRequest

func (*BulkCreateDeploymentRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this bulk create deployment request based on the context it is used

func (*BulkCreateDeploymentRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*BulkCreateDeploymentRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*BulkCreateDeploymentRequest) Validate ¶ added in v0.5.0

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

Validate validates this bulk create deployment 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"`

	// External ID
	ExternalID string `json:"externalId,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"`

	// External ID
	ExternalID string `json:"externalId,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 CertificateInfo ¶ added in v0.4.0

type CertificateInfo struct {

	// The certificate in string format.
	// Example: PEM for X509Certificate
	// Required: true
	Certificate *string `json:"certificate"`

	// Details about the certificate.
	// Example: UNTRUSTED_CERTIFICATE
	// Enum: [UNTRUSTED_CERTIFICATE EXPIRED_CERTIFICATE NOT_YET_VALID_CERTIFICATE KEYSTORE_TAMPERED_OR_PASSWORD_INCORRECT]
	CertificateErrorDetail string `json:"certificateErrorDetail,omitempty"`

	// Certificate related properties which may provide additional information about the given certificate.
	// Required: true
	Properties map[string]string `json:"properties"`
}

CertificateInfo Certificate for a cloud account.

swagger:model CertificateInfo

func (*CertificateInfo) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this certificate info based on context it is used

func (*CertificateInfo) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CertificateInfo) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CertificateInfo) Validate ¶ added in v0.4.0

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

Validate validates this certificate info

type CertificateInfoSpecification ¶ added in v0.4.0

type CertificateInfoSpecification struct {

	// The certificate in string format.
	// Example: PEM for X509Certificate
	// Required: true
	Certificate *string `json:"certificate"`
}

CertificateInfoSpecification Specification for certificate for a cloud account.

swagger:model CertificateInfoSpecification

func (*CertificateInfoSpecification) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this certificate info specification based on context it is used

func (*CertificateInfoSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CertificateInfoSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CertificateInfoSpecification) Validate ¶ added in v0.4.0

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

Validate validates this certificate info specification

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 Claims ¶ added in v0.2.14

type Claims struct {

	// audience
	Audience []string `json:"audience"`

	// expiration time
	ExpirationTime int64 `json:"expirationTime,omitempty"`

	// issued at
	IssuedAt int64 `json:"issuedAt,omitempty"`

	// issuer
	Issuer string `json:"issuer,omitempty"`

	// jwt Id
	JwtID string `json:"jwtId,omitempty"`

	// not before
	NotBefore int64 `json:"notBefore,omitempty"`

	// properties
	Properties map[string]string `json:"properties,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`
}

Claims Claims

swagger:model Claims

func (*Claims) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this claims based on context it is used

func (*Claims) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*Claims) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*Claims) Validate ¶ added in v0.2.14

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

Validate validates this claims

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"`

	// Workload mobility associations to other vSphere cloud accounts. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional. Only supported on vSphere Cloud Accounts.
	// Example: { \"42f3e0d199d134755684cd935435a\": \"BIDIRECTIONAL\" }
	AssociatedMobilityCloudAccountIds map[string]string `json:"associatedMobilityCloudAccountIds,omitempty"`

	// 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 list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// Indicates the health of the cloud account. If false, this means there is no connectivity to the cloud provider or the credentials are invalid.
	Healthy bool `json:"healthy,omitempty"`

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

	// Indicates if the  cloud account is undergoing maintenance. If true, it can't be used for provisioning and scheduled enumeration is not triggered.
	InMaintenanceMode bool `json:"inMaintenanceMode,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 CloudAccountAwsRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountAwsRegionEnumerationSpecification struct {

	// Aws Access key ID. Either provide accessKeyId or provide a cloudAccountId of an existing account.
	// Example: ACDC55DB4MFH6ADG75KK
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// Existing cloud account id. Either provide existing cloud account id, or accessKeyId/secretAccessKey credentials pair.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Aws Secret Access Key. Either provide secretAccessKey or provide a cloudAccountId of an existing account.
	// Example: gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

CloudAccountAwsRegionEnumerationSpecification Specification for a region enumeration of aws cloud account.

swagger:model CloudAccountAwsRegionEnumerationSpecification

func (*CloudAccountAwsRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validates this cloud account aws region enumeration specification based on context it is used

func (*CloudAccountAwsRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*CloudAccountAwsRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*CloudAccountAwsRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account aws region enumeration specification

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 regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"eu-west-1\",\"externalRegionId\": \"eu-west-1\"}]
	// Required: true
	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 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 CloudAccountAzureRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountAzureRegionEnumerationSpecification struct {

	// Azure Client Application ID. Either provide clientApplicationId or provide a cloudAccountId of an existing account.
	// Example: 3287dd6e-76d8-41b7-9856-2584969e7739
	ClientApplicationID string `json:"clientApplicationId,omitempty"`

	// Azure Client Application Secret Key. Either provide clientApplicationSecretKey or provide a cloudAccountId of an existing account.
	// Example: GDfdasDasdASFas321das32cas2x3dsXCSA76xdcasg=
	ClientApplicationSecretKey string `json:"clientApplicationSecretKey,omitempty"`

	// Existing cloud account id. Either provide id of existing account, or cloud account credentials: clientApplicationId, clientApplicationSecretKey and tenantId.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Azure Subscribtion ID. Either provide subscriptionId or provide a cloudAccountId of an existing account.
	// Example: 064865b2-e914-4717-b415-8806d17948f7
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// Azure Tenant ID. Either provide tenantId or provide a cloudAccountId of an existing account.
	// Example: 9a13d920-4691-4e2d-b5d5-9c4c1279bc9a
	TenantID string `json:"tenantId,omitempty"`
}

CloudAccountAzureRegionEnumerationSpecification Specification for a region enumeration of azure cloud account.

swagger:model CloudAccountAzureRegionEnumerationSpecification

func (*CloudAccountAzureRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validates this cloud account azure region enumeration specification based on context it is used

func (*CloudAccountAzureRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*CloudAccountAzureRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*CloudAccountAzureRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account azure region enumeration specification

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 regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"East Asia\",\"externalRegionId\": \"eastasia\"}]
	// Required: true
	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 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 CloudAccountGcpRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountGcpRegionEnumerationSpecification struct {

	// GCP Client email. Either provide clientEmail or provide a cloudAccountId of an existing account.
	// Example: 321743978432-compute@developer.gserviceaccount.com
	ClientEmail string `json:"clientEmail,omitempty"`

	// Existing cloud account id. Either provide id of existing account, or cloud account credentials: projectId, privateKeyId, privateKey and clientEmail.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// GCP Private key. Either provide privateKey or provide a cloudAccountId of an existing account.
	// 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
	PrivateKey string `json:"privateKey,omitempty"`

	// GCP Private key ID. Either provide privateKeyId or provide a cloudAccountId of an existing account.
	// Example: 027f73d50a19452eedf5775a9b42c5083678abdf
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// GCP Project ID. Either provide projectId or provide a cloudAccountId of an existing account.
	// Example: example-gcp-project
	ProjectID string `json:"projectId,omitempty"`
}

CloudAccountGcpRegionEnumerationSpecification Specification for a region enumeration of gcp cloud account.

swagger:model CloudAccountGcpRegionEnumerationSpecification

func (*CloudAccountGcpRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validates this cloud account gcp region enumeration specification based on context it is used

func (*CloudAccountGcpRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*CloudAccountGcpRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*CloudAccountGcpRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account gcp region enumeration specification

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 regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"europe-west2\",\"externalRegionId\": \"europe-west2\"}]
	// Required: true
	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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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 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 CloudAccountRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountRegionEnumerationSpecification struct {

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Existing cloud account id. Either provide existing cloud account Id, or privateKeyId/privateKey credentials pair.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,omitempty"`

	// Cloud Account specific properties supplied in as name value pairs. In case of AAP, provide environment property here. Example: "cloudAccountProperties": {
	//         "environment": "aap"
	//     }
	// Example: {\"supportPublicImages\": \"true\", \"acceptSelfSignedCertificate\": \"true\" }
	// Required: true
	CloudAccountProperties map[string]string `json:"cloudAccountProperties"`

	// Cloud account type
	// Example: vsphere, aws, azure, nsxv, nsxt
	CloudAccountType string `json:"cloudAccountType,omitempty"`

	// Secret access key or password to be used to authenticate with the cloud account. Either provide privateKey or provide a cloudAccountId of an existing account.
	// Example: gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS
	PrivateKey string `json:"privateKey,omitempty"`

	// Access key id or username to be used to authenticate with the cloud account. Either provide privateKeyId or provide a cloudAccountId of an existing account.
	// Example: ACDC55DB4MFH6ADG75KK
	PrivateKeyID string `json:"privateKeyId,omitempty"`
}

CloudAccountRegionEnumerationSpecification Specification for a region enumeration of generic cloud account.

swagger:model CloudAccountRegionEnumerationSpecification

func (*CloudAccountRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validate this cloud account region enumeration specification based on the context it is used

func (*CloudAccountRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CloudAccountRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CloudAccountRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account region enumeration specification

type CloudAccountRegions ¶

type CloudAccountRegions struct {

	// 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 IDs and directionalities create associations to other vSphere cloud accounts that can be used for workload mobility. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional. Only supported on vSphere cloud accounts.
	// Example: { \"42f3e0d199d134755684cd935435a\": \"BIDIRECTIONAL\" }
	AssociatedMobilityCloudAccountIds map[string]string `json:"associatedMobilityCloudAccountIds,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// 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, vmc
	// 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. In case of AAP, provide environment property here.Example: "customProperties": {
	//         "environment": "aap"
	//     }
	// 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. In case of AAP pass a dummy value.
	// 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 regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// 'regionInfos' is a required parameter for AWS, AZURE, GCP, VSPHERE, VMC, VCF cloud account types.
	// Example: [{ \"name\": \"East Asia\",\"externalRegionId\": \"eastasia\"}]
	// Required: true
	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"`

	// 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"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 CloudAccountVcfRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountVcfRegionEnumerationSpecification struct {

	// Accept self signed certificate when connecting to vSphere and NSX-T
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Existing cloud account id. Either provide existing cloud account Id, or workloadDomainId, workloadDomainName, vcenterHostName, vcenterUsername, vcenterPassword, nsxHostName, nsxUsername and nsxPassword.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,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"`

	// NSX Certificate
	NsxCertificate string `json:"nsxCertificate,omitempty"`

	// Host name for the NSX endpoint from the specified workload domain. Either provide nsxHostName or provide a cloudAccountId of an existing account.
	// Example: nsxt.mycompany.com
	NsxHostName string `json:"nsxHostName,omitempty"`

	// Password for the user used to authenticate with the NSX-T manager in VCF cloud account. Either provide nsxPassword or provide a cloudAccountId of an existing account.
	// Example: cndhjslacd90ascdbasyoucbdh
	NsxPassword string `json:"nsxPassword,omitempty"`

	// User name for the NSX manager in the specified workload domain. Either provide nsxUsername or provide a cloudAccountId of an existing account.
	// Example: administrator@mycompany.com
	NsxUsername string `json:"nsxUsername,omitempty"`

	// SDDC manager integration id. Either provide sddcManagerId or provide a cloudAccountId of an existing account.
	SddcManagerID string `json:"sddcManagerId,omitempty"`

	// vCenter Certificate
	VcenterCertificate string `json:"vcenterCertificate,omitempty"`

	// Host name for the vSphere from the specified workload domain. Either provide vcenterHostName or provide a cloudAccountId of an existing account.
	// Example: vc.mycompany.com
	VcenterHostName string `json:"vcenterHostName,omitempty"`

	// Password for the user used to authenticate with the vCenter in VCF cloud account.  Either provide vcenterPassword or provide a cloudAccountId of an existing account.
	// Example: cndhjslacd90ascdbasyoucbdh
	VcenterPassword string `json:"vcenterPassword,omitempty"`

	// 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
	VcenterUsername string `json:"vcenterUsername,omitempty"`

	// Id of the workload domain to add as VCF cloud account. Either provide workloadDomainId or provide a cloudAccountId of an existing account.
	WorkloadDomainID string `json:"workloadDomainId,omitempty"`

	// Name of the workload domain to add as VCF cloud account. Either provide workloadDomainName or provide a cloudAccountId of an existing account.
	// Example: Management
	WorkloadDomainName string `json:"workloadDomainName,omitempty"`
}

CloudAccountVcfRegionEnumerationSpecification Specification for a region enumeration of vcf cloud account.

swagger:model CloudAccountVcfRegionEnumerationSpecification

func (*CloudAccountVcfRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validate this cloud account vcf region enumeration specification based on the context it is used

func (*CloudAccountVcfRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*CloudAccountVcfRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*CloudAccountVcfRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account vcf region enumeration specification

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"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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 regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"us-east-1\",\"externalRegionId\": \"us-east-1\"}]
	// Required: true
	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"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 CloudAccountVmcRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountVmcRegionEnumerationSpecification struct {

	// Accept self signed certificate when connecting to vSphere
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// VMC API access key. Either provide apiKey or provide a cloudAccountId of an existing account.
	APIKey string `json:"apiKey,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Existing cloud account id. Either provide existing cloud account Id, or apiKey, sddcId, username, password, hostName, nsxHostName.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,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"`

	// The environment where the agent has been deployed. When the agent has been deployed using the "Add Ons" in VMC UI or Api use "aap".
	// Example: aap
	Environment string `json:"environment,omitempty"`

	// Enter the IP address or FQDN of the vCenter Server in the specified SDDC. The cloud proxy belongs on this vCenter.  Either provide hostName or provide a cloudAccountId of an existing account.
	// Example: vc1.vmware.com
	HostName string `json:"hostName,omitempty"`

	// The IP address of the NSX Manager server in the specified SDDC / FQDN.Either provide nsxHostName or provide a cloudAccountId of an existing account.
	// Example: nsxManager.sddc-52-12-8-145.vmwaretest.com
	NsxHostName string `json:"nsxHostName,omitempty"`

	// Password for the user used to authenticate with the cloud Account. Either provide password or provide a cloudAccountId of an existing account.
	// Example: cndhjslacd90ascdbasyoucbdh
	Password string `json:"password,omitempty"`

	// Identifier of the on-premise SDDC to be used by this cloud account. Note that NSX-V SDDCs are not supported. Either provide sddcId or provide a cloudAccountId of an existing account.
	// Example: CMBU-PRD-NSXT-M8GA-090319
	SddcID string `json:"sddcId,omitempty"`

	// vCenter user name for the specified SDDC.The specified user requires CloudAdmin credentials. The user does not require CloudGlobalAdmin credentials.Either provide username or provide a cloudAccountId of an existing account.
	// Example: administrator@mycompany.com
	Username string `json:"username,omitempty"`
}

CloudAccountVmcRegionEnumerationSpecification Specification for a region enumeration of vmc cloud account.

swagger:model CloudAccountVmcRegionEnumerationSpecification

func (*CloudAccountVmcRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validate this cloud account vmc region enumeration specification based on the context it is used

func (*CloudAccountVmcRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*CloudAccountVmcRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*CloudAccountVmcRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account vmc region enumeration specification

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. Not mandatory for AAP mode.
	// Required: true
	APIKey *string `json:"apiKey"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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. Not mandatory for AAP mode.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	// Required: true
	DcID *string `json:"dcId"`

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

	// The environment where the agent has been deployed. When the agent has been deployed using the "Add Ons" in VMC UI or Api use "aap".
	// Example: aap
	Environment string `json:"environment,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. Not mandatory for AAP mode.
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	Password *string `json:"password"`

	// A set of regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"Datacenter:datacenter-3\",\"externalRegionId\": \"Datacenter:datacenter-3\"}]
	// Required: true
	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
	// Required: true
	SddcID *string `json:"sddcId"`

	// 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. Not mandatory for AAP mode.
	// 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"`

	// Workload mobility associations to other vSphere cloud accounts. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional.
	// Example: { \"42f3e0d199d134755684cd935435a\": \"BIDIRECTIONAL\" }
	AssociatedMobilityCloudAccountIds map[string]string `json:"associatedMobilityCloudAccountIds,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"`

	// Identifier of a data collector vm deployed in the on premise infrastructure. If environment is equal to 'aap', dcid refers to the id of cloud gateway appliance.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	Dcid string `json:"dcid,omitempty"`

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

	// A list of regions that are enabled for provisioning on this cloud account
	EnabledRegions []*Region `json:"enabledRegions"`

	// Environment of the data collector, will be available and set as 'aap' for vSphere+ cloud accounts
	// Example: aap
	Environment string `json:"environment,omitempty"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 CloudAccountVsphereRegionEnumerationSpecification ¶ added in v0.4.0

type CloudAccountVsphereRegionEnumerationSpecification struct {

	// Accept self signed certificate when connecting to vSphere
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Existing cloud account id. Either provide existing cloud account Id, or hostName, username, password.
	// Example: b8b7a918-342e-4a53-a3b0-b935da0fe601
	CloudAccountID string `json:"cloudAccountId,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"`

	// The environment where data collectors are deployed. When the data collectors are deployed on a cloud gateway appliance, use "aap".
	// Example: aap
	Environment string `json:"environment,omitempty"`

	// Host name for the vSphere endpoint. Either provide hostName or provide a cloudAccountId of an existing account.
	// Example: vc.mycompany.com
	HostName string `json:"hostName,omitempty"`

	// Password for the user used to authenticate with the cloud Account. Either provide password or provide a cloudAccountId of an existing account.
	// Example: cndhjslacd90ascdbasyoucbdh
	Password string `json:"password,omitempty"`

	// Username to authenticate with the cloud account. Either provide username or provide a cloudAccountId of an existing account.
	// Example: administrator@mycompany.com
	Username string `json:"username,omitempty"`
}

CloudAccountVsphereRegionEnumerationSpecification Specification for a region enumeration of vshpere cloud account.

swagger:model CloudAccountVsphereRegionEnumerationSpecification

func (*CloudAccountVsphereRegionEnumerationSpecification) ContextValidate ¶ added in v0.4.0

ContextValidate validate this cloud account vsphere region enumeration specification based on the context it is used

func (*CloudAccountVsphereRegionEnumerationSpecification) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*CloudAccountVsphereRegionEnumerationSpecification) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*CloudAccountVsphereRegionEnumerationSpecification) Validate ¶ added in v0.4.0

Validate validates this cloud account vsphere region enumeration specification

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"`

	// Cloud account IDs and directionalities create associations to other vSphere cloud accounts that can be used for workload mobility. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional.
	// Example: { \"42f3e0d199d134755684cd935435a\": \"BIDIRECTIONAL\" }
	AssociatedMobilityCloudAccountIds map[string]string `json:"associatedMobilityCloudAccountIds,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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"`

	// The environment where data collectors are deployed. When the data collectors are deployed on an aap-based cloud gateway appliance, use "aap".
	// Example: aap
	Environment string `json:"environment,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. Not required when environment is set to aap.
	// Example: cndhjslacd90ascdbasyoucbdh
	Password string `json:"password,omitempty"`

	// A set of regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// Example: [{ \"name\": \"Datacenter:datacenter-3\",\"externalRegionId\": \"Datacenter:datacenter-3\"}]
	// Required: true
	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. Not required when environment is set to aap.
	// Example: administrator@mycompany.com
	Username string `json:"username,omitempty"`
}

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 ClusterGroup ¶ added in v0.5.0

type ClusterGroup struct {

	// full name
	FullName *FullName `json:"fullName,omitempty"`

	// meta
	Meta *Meta `json:"meta,omitempty"`

	// type
	Type *Type `json:"type,omitempty"`
}

ClusterGroup ClusterGroup

swagger:model ClusterGroup

func (*ClusterGroup) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this cluster group based on the context it is used

func (*ClusterGroup) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*ClusterGroup) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*ClusterGroup) Validate ¶ added in v0.5.0

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

Validate validates this cluster group

type ClusterPlan ¶ added in v0.4.0

type ClusterPlan struct {

	// cloud account self link Id
	CloudAccountSelfLinkID string `json:"cloudAccountSelfLinkId,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// The definition varies depending on the type of cluster plan. Example shown below is for cluster plans of type TANZU_CLUSTER_PLAN. In that case the definition is equivalent to the spec of a Tanzu Kubernetes cluster in JSON format. Here is a documentation https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-B1034373-8C38-4FE2-9517-345BF7271A1E.html
	// example: {"spec":{"distribution":{"version":"1.20"},"topology":{"controlPlane":{"count":1,"class":"best-effort-xsmall","storageClass":"vsan-default-storage-policy"},"workers":{"count":1,"class":"best-effort-xsmall","storageClass":"vsan-default-storage-policy"}},"settings":{"storage":{"defaultClass":"","classes":[]}}}}
	Definition interface{} `json:"definition,omitempty"`

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// type
	// Enum: [TANZU_CLUSTER_PLAN]
	Type string `json:"type,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

ClusterPlan ClusterPlan

swagger:model ClusterPlan

func (*ClusterPlan) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this cluster plan based on context it is used

func (*ClusterPlan) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ClusterPlan) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ClusterPlan) Validate ¶ added in v0.4.0

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

Validate validates this cluster plan

type ClusterPlanAggregation ¶ added in v0.5.0

type ClusterPlanAggregation struct {

	// cloud account self link Id
	CloudAccountSelfLinkID string `json:"cloudAccountSelfLinkId,omitempty"`

	// count
	Count int64 `json:"count,omitempty"`

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

ClusterPlanAggregation ClusterPlanAggregation

swagger:model ClusterPlanAggregation

func (*ClusterPlanAggregation) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this cluster plan aggregation based on context it is used

func (*ClusterPlanAggregation) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*ClusterPlanAggregation) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*ClusterPlanAggregation) Validate ¶ added in v0.5.0

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

Validate validates this cluster plan aggregation

type CnProjectVo ¶ added in v0.4.0

type CnProjectVo struct {

	// active
	Active bool `json:"active,omitempty"`

	// default org
	DefaultOrg bool `json:"defaultOrg,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

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

	// project name
	ProjectName string `json:"projectName,omitempty"`
}

CnProjectVo cn project vo

swagger:model CnProjectVo

func (*CnProjectVo) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this cn project vo based on context it is used

func (*CnProjectVo) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CnProjectVo) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CnProjectVo) Validate ¶ added in v0.4.0

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

Validate validates this cn project vo

type CnTemplateCounterVo ¶ added in v0.4.0

type CnTemplateCounterVo struct {

	// active
	Active bool `json:"active,omitempty"`

	// cn resource type
	// Enum: [COMPUTE NETWORK COMPUTE_STORAGE LOAD_BALANCER RESOURCE_GROUP GATEWAY NAT SECURITY_GROUP]
	CnResourceType string `json:"cnResourceType,omitempty"`

	// current counter
	CurrentCounter int64 `json:"currentCounter,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

CnTemplateCounterVo cn template counter vo

swagger:model CnTemplateCounterVo

func (*CnTemplateCounterVo) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this cn template counter vo based on context it is used

func (*CnTemplateCounterVo) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CnTemplateCounterVo) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CnTemplateCounterVo) Validate ¶ added in v0.4.0

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

Validate validates this cn template counter vo

type CnTemplateVo ¶ added in v0.4.0

type CnTemplateVo struct {

	// counters
	Counters []*CnTemplateCounterVo `json:"counters"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// increment step
	IncrementStep int64 `json:"incrementStep,omitempty"`

	// pattern
	Pattern string `json:"pattern,omitempty"`

	// resource default
	ResourceDefault bool `json:"resourceDefault,omitempty"`

	// resource type
	// Enum: [COMPUTE NETWORK COMPUTE_STORAGE LOAD_BALANCER RESOURCE_GROUP GATEWAY NAT SECURITY_GROUP]
	ResourceType string `json:"resourceType,omitempty"`

	// resource type name
	ResourceTypeName string `json:"resourceTypeName,omitempty"`

	// start counter
	StartCounter int64 `json:"startCounter,omitempty"`

	// static pattern
	StaticPattern string `json:"staticPattern,omitempty"`

	// unique name
	UniqueName bool `json:"uniqueName,omitempty"`
}

CnTemplateVo cn template vo

swagger:model CnTemplateVo

func (*CnTemplateVo) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this cn template vo based on the context it is used

func (*CnTemplateVo) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CnTemplateVo) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CnTemplateVo) Validate ¶ added in v0.4.0

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

Validate validates this cn template vo

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 CompletionHandler ¶ added in v0.4.0

type CompletionHandler interface{}

CompletionHandler CompletionHandler

swagger:model CompletionHandler

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
	ExternalZoneID string `json:"externalZoneId,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 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

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

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,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
	ExternalZoneID string `json:"externalZoneId,omitempty"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

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

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,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 ConfigurationProperty ¶ added in v0.4.0

type ConfigurationProperty struct {

	// The key of the property.
	// Required: true
	// Enum: [SESSION_TIMEOUT_DURATION_MINUTES RELEASE_IPADDRESS_PERIOD_MINUTES NSXT_RETRY_DURATION_MINUTES]
	Key *string `json:"key"`

	// The value of the property.
	// Required: true
	Value *string `json:"value"`
}

ConfigurationProperty A representation of a configuration property.

swagger:model ConfigurationProperty

func (*ConfigurationProperty) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this configuration property based on context it is used

func (*ConfigurationProperty) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ConfigurationProperty) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ConfigurationProperty) Validate ¶ added in v0.4.0

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

Validate validates this configuration property

type ConfigurationPropertyResult ¶ added in v0.6.0

type ConfigurationPropertyResult struct {

	// List of content items
	// Read Only: true
	Content []*ConfigurationProperty `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"`
}

ConfigurationPropertyResult State object representing a query result of configuration properties.

swagger:model ConfigurationPropertyResult

func (*ConfigurationPropertyResult) ContextValidate ¶ added in v0.6.0

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

ContextValidate validate this configuration property result based on the context it is used

func (*ConfigurationPropertyResult) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*ConfigurationPropertyResult) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*ConfigurationPropertyResult) Validate ¶ added in v0.6.0

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

Validate validates this configuration property result

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","requestScopeOrg":"boolean"}
	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.github.enterprise 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 CreateDeploymentRequest ¶ added in v0.5.0

type CreateDeploymentRequest struct {

	// Indicates whether onboarding should generate a Cloud Template for this deployment.
	CreateBlueprint bool `json:"createBlueprint,omitempty"`

	// Link to an existing deployment. Only set this field when adding resources to an existing deployment.
	DeploymentLink string `json:"deploymentLink,omitempty"`

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

	// Desired deployment name. If omitted, a name will be automatically generated
	Name string `json:"name,omitempty"`

	// Link to a plan. Clients need not set this field, as it is automatically taken care of by the DeploymentBulkCreatorService
	PlanLink string `json:"planLink,omitempty"`

	// List of resources to be created
	Resources []*CreateResourceRequest `json:"resources"`
}

CreateDeploymentRequest create deployment request

swagger:model CreateDeploymentRequest

func (*CreateDeploymentRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this create deployment request based on the context it is used

func (*CreateDeploymentRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*CreateDeploymentRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*CreateDeploymentRequest) Validate ¶ added in v0.5.0

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

Validate validates this create deployment request

type CreateResourceRequest ¶ added in v0.5.0

type CreateResourceRequest struct {

	// Link to the compute resource (machine) in the Provisioning service inventory.
	Link string `json:"link,omitempty"`

	// Resource name, usually the machine name. Will be propagated to Cloud Assembly.
	Name string `json:"name,omitempty"`

	// Tag links in the Provisioning service inventory associated with the machine.
	TagLinks []string `json:"tagLinks"`
}

CreateResourceRequest create resource request

swagger:model CreateResourceRequest

func (*CreateResourceRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this create resource request based on context it is used

func (*CreateResourceRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*CreateResourceRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*CreateResourceRequest) Validate ¶ added in v0.5.0

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

Validate validates this create resource request

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)

	// Id/name of a released version, which is marked as latest.
	// Example: Version 2
	SourceVersion() string
	SetSourceVersion(string)

	// Release status of the Custom Integration
	// Example: NONE/RELEASED/DEPRECATED
	Status() string
	SetStatus(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)

	// 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 CustomIntegrationPatchRequest ¶ added in v0.5.0

type CustomIntegrationPatchRequest interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Indicates if a version of CustomIntegration should be set as 'LATEST'
	// Example: true
	SetLatest() bool
	SetSetLatest(bool)
}

CustomIntegrationPatchRequest CustomIntegrationPatchRequest

Patch Request for a CustomIntegration ¶

swagger:discriminator CustomIntegrationPatchRequest Patch Request for a CustomIntegration

func UnmarshalCustomIntegrationPatchRequest ¶ added in v0.5.0

func UnmarshalCustomIntegrationPatchRequest(reader io.Reader, consumer runtime.Consumer) (CustomIntegrationPatchRequest, error)

UnmarshalCustomIntegrationPatchRequest unmarshals polymorphic CustomIntegrationPatchRequest

func UnmarshalCustomIntegrationPatchRequestSlice ¶ added in v0.5.0

func UnmarshalCustomIntegrationPatchRequestSlice(reader io.Reader, consumer runtime.Consumer) ([]CustomIntegrationPatchRequest, error)

UnmarshalCustomIntegrationPatchRequestSlice unmarshals polymorphic slices of CustomIntegrationPatchRequest

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 CustomNaming ¶ added in v0.4.0

type CustomNaming 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

	// Set of projects associated with custom name
	// Example: [{\"defaultOrg\":true,\"active\":true,\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"projectName\":\"string\",\"projectId\":\"string\",\"orgId\":\"string\"}]
	// Unique: true
	Projects []*CustomNamingProject `json:"projects"`

	// Set of templates associated with custom name
	// Example: [{\"uniqueName\":true,\"staticPattern\":\"string\",\"counters\":[{\"currentCounter\":0,\"cnResourceType\":\"COMPUTE\",\"active\":true,\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"projectId\":\"string\"}],\"incrementStep\":0,\"pattern\":\"string\",\"startCounter\":0,\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"resourceTypeName\":\"string\",\"resourceType\":\"COMPUTE\",\"resourceDefault\":true}]
	// Unique: true
	Templates []*CustomNamingTemplate `json:"templates"`

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

CustomNaming Custom names**HATEOAS** links:<br>**self** - Custom naming - Self link to this CustomNamingEntity

swagger:model CustomNaming

func (*CustomNaming) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this custom naming based on the context it is used

func (*CustomNaming) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CustomNaming) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CustomNaming) Validate ¶ added in v0.4.0

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

Validate validates this custom naming

type CustomNamingCounter ¶ added in v0.4.0

type CustomNamingCounter struct {

	// active
	Active bool `json:"active,omitempty"`

	// The resource type of custom name
	// Required: true
	// Enum: [COMPUTE NETWORK COMPUTE_STORAGE LOAD_BALANCER RESOURCE_GROUP GATEWAY NAT SECURITY_GROUP]
	CnResourceType *string `json:"cnResourceType"`

	// The current counter of custom name
	// Required: true
	CurrentCounter *int64 `json:"currentCounter"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The project id to which the counter is mapped
	// Required: true
	ProjectID *string `json:"projectId"`
}

CustomNamingCounter A representation of a Counter.

swagger:model CustomNamingCounter

func (*CustomNamingCounter) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this custom naming counter based on context it is used

func (*CustomNamingCounter) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CustomNamingCounter) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CustomNamingCounter) Validate ¶ added in v0.4.0

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

Validate validates this custom naming counter

type CustomNamingModel ¶ added in v0.4.0

type CustomNamingModel struct {

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

	// projects
	// Unique: true
	Projects []*CnProjectVo `json:"projects"`

	// templates
	// Unique: true
	Templates []*CnTemplateVo `json:"templates"`
}

CustomNamingModel custom naming model

swagger:model CustomNamingModel

func (*CustomNamingModel) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this custom naming model based on the context it is used

func (*CustomNamingModel) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CustomNamingModel) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CustomNamingModel) Validate ¶ added in v0.4.0

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

Validate validates this custom naming model

type CustomNamingProject ¶ added in v0.4.0

type CustomNamingProject struct {

	// Flag to check if project is active
	// Example: true
	Active bool `json:"active,omitempty"`

	// Flag to represent if custom name is default for org
	// Example: true
	DefaultOrg bool `json:"defaultOrg,omitempty"`

	// Unique id of custom naming project
	// Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Org id
	// Example: 3fa85f64-5717-4562-b3fc-2c963f76afa6
	OrgID string `json:"orgId,omitempty"`

	// Project id mapped to custom name
	// Example: 3fa85f64-5717-4562-b3fc-2c963f66afa7
	ProjectID string `json:"projectId,omitempty"`

	// Name of mapped project
	// Example: Project name
	ProjectName string `json:"projectName,omitempty"`
}

CustomNamingProject A representation of a Project.

swagger:model CustomNamingProject

func (*CustomNamingProject) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this custom naming project based on context it is used

func (*CustomNamingProject) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CustomNamingProject) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CustomNamingProject) Validate ¶ added in v0.4.0

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

Validate validates this custom naming project

type CustomNamingTemplate ¶ added in v0.4.0

type CustomNamingTemplate struct {

	// counters
	Counters []*CustomNamingCounter `json:"counters"`

	// Unique id of custom naming template
	// Example: 3fa85f64-5717-4562-b3fc-2c963f76afa6
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Set the increment to the counter value to be taken for each name.
	// Example: 1
	IncrementStep int64 `json:"incrementStep,omitempty"`

	// The specified template used to generate the resource names
	// Example: mcm-${project.name}-${##}
	Pattern string `json:"pattern,omitempty"`

	// Flag to represent default pattern or static pattern
	// Example: true
	ResourceDefault bool `json:"resourceDefault,omitempty"`

	// Resource type
	// Enum: [COMPUTE NETWORK COMPUTE_STORAGE LOAD_BALANCER RESOURCE_GROUP GATEWAY NAT SECURITY_GROUP]
	ResourceType string `json:"resourceType,omitempty"`

	// Resource type
	// Example: Network
	ResourceTypeName string `json:"resourceTypeName,omitempty"`

	// The value from which naming pattern counter will start.
	// Example: 2
	StartCounter int64 `json:"startCounter,omitempty"`

	// Static pattern text
	// Example: mcm-project1-
	StaticPattern string `json:"staticPattern,omitempty"`

	// Flag to check if name should be unique
	// Example: true
	UniqueName bool `json:"uniqueName,omitempty"`
}

CustomNamingTemplate A representation of a Template.

swagger:model CustomNamingTemplate

func (*CustomNamingTemplate) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this custom naming template based on the context it is used

func (*CustomNamingTemplate) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*CustomNamingTemplate) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*CustomNamingTemplate) Validate ¶ added in v0.4.0

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

Validate validates this custom naming template

type CustomProperties ¶ added in v0.2.18

type CustomProperties struct {

	// is external
	IsExternal bool `json:"isExternal,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"`

	// Requests that are in-progress for this deployment at this time
	InprogressRequests interface{} `json:"inprogressRequests,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: [DISCOVERED 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 iconid of the deployment
	// Format: uuid
	IconID strfmt.UUID `json:"iconId,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"`

	// Disk Attachment specific properties
	// Example: { \"scsiController\": \"SCSI_Controller_0\",\"unitNumber\" : \"2\" }
	DiskAttachmentProperties map[string]string `json:"diskAttachmentProperties,omitempty"`

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

	// Deprecated: The SCSI controller to be assigned
	// Example: SCSI_Controller_0, SCSI_Controller_1, SCSI_Controller_2, SCSI_Controller_3
	ScsiController string `json:"scsiController,omitempty"`

	// Deprecated: 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 DiskEncryptionSet ¶ added in v0.4.0

type DiskEncryptionSet struct {

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

	// key
	Key string `json:"key,omitempty"`

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

	// region Id
	RegionID string `json:"regionId,omitempty"`

	// vault
	Vault string `json:"vault,omitempty"`
}

DiskEncryptionSet disk encryption set

swagger:model DiskEncryptionSet

func (*DiskEncryptionSet) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this disk encryption set based on context it is used

func (*DiskEncryptionSet) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*DiskEncryptionSet) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*DiskEncryptionSet) Validate ¶ added in v0.4.0

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

Validate validates this disk encryption set

type DiskEncryptionSetList ¶ added in v0.4.0

type DiskEncryptionSetList struct {

	// disk encryption sets
	DiskEncryptionSets []*DiskEncryptionSet `json:"diskEncryptionSets"`
}

DiskEncryptionSetList disk encryption set list

swagger:model DiskEncryptionSetList

func (*DiskEncryptionSetList) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this disk encryption set list based on the context it is used

func (*DiskEncryptionSetList) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*DiskEncryptionSetList) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*DiskEncryptionSetList) Validate ¶ added in v0.4.0

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

Validate validates this disk encryption set list

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"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

	// Snapshot specific properties
	// Example: { \"incremental\": \"false\" }
	SnapshotProperties map[string]string `json:"snapshotProperties,omitempty"`

	// A set of tag keys and optional values that have to be set on the snapshot in the cloud. Currently supported for Azure Snapshots
	// 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"`
}

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"`

	// A set of tag keys and optional values that have to be set on the snapshot in the cloud. Currently supported for Azure Snapshots
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

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 validate this disk snapshot specification based on the 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 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 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"`

	// use service credentials
	UseServiceCredentials bool `json:"useServiceCredentials,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"`

	// Migrated flag for entitlements
	Migrated bool `json:"migrated,omitempty"`

	// 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"`

	// Indicates if the event represents user input.
	UserEvent bool `json:"userEvent,omitempty"`
}

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)

	// global
	Global() bool
	SetGlobal(bool)

	// 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
	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 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{})

	// project Id
	ProjectID() string
	SetProjectID(string)

	// project name
	ProjectName() string
	SetProjectName(string)

	// 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"`

	// ID of the IPAM integration this IP range belongs to
	IntegrationID string `json:"integrationId,omitempty"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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
	ExternalZoneID string `json:"externalZoneId,omitempty"`

	// 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"`

	// What percent of the total available memory on the compute will be used for VM provisioning. This value can be more than 100. e.g. If the compute has 100gb of memory and this value is set to 80, then vRA will act as if this compute has only 80gb. If it is 120, then vRA will act as if this compute has 120gb thus allowing 20gb overallocation. Applies only for private cloud computes.
	// Example: 120
	MaximumAllowedMemoryAllocationPercent int32 `json:"maximumAllowedMemoryAllocationPercent,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 {

	// What percent of the total available memory on the compute will be used for VM provisioning.This value can be more than 100. e.g. If the compute has 100gb of memory and this value is set to80, then vRA will act as if this compute has only 80gb. If it is 120, then vRA will act as if this compute has 120gb thus allowing 20gb overallocation. Applies only for private cloud computes.
	// Example: 120
	MaximumAllowedMemoryAllocationPercent int32 `json:"maximumAllowedMemoryAllocationPercent,omitempty"`

	// 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: 901004
	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
	Name string `json:"name,omitempty"`

	// 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"`

	// The id of the instance type in the corresponding cloud.
	// Example: 901004, 901008
	ID string `json:"id,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

	// Operating System family of the image.
	// Example: linux, win
	OsFamily string `json:"osFamily,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// External entity Id. Valid if id and name are not provided.
	// Example: https://cloud-images.ubuntu.com/releases/16.04/release-20190605/ubuntu-16.04-server-cloudimg-amd64.ova
	ExternalID string `json:"externalId,omitempty"`

	// 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 network domain, that contains this fabric network.
	// Example: 26dfa6f8-fcb7-40c2-8afe-2e069246fdeb
	NetworkDomainID string `json:"networkDomainId,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// The availability zone for which this network is defined.
	// Example: us-west-1a
	ZoneID string `json:"zoneId,omitempty"`
}

FabricNetwork State object representing a network on a external cloud provider.<br>**HATEOAS** links:<br>**region** - Region - Region for the network.<br>**network-domain** - Network domain - Network domain 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 network domain, that contains this fabric network.
	// Example: 26dfa6f8-fcb7-40c2-8afe-2e069246fdeb
	NetworkDomainID string `json:"networkDomainId,omitempty"`

	// The id of the organization this entity belongs to.
	// Example: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 FabricVsphereDatastoreSpecification ¶ added in v0.4.0

type FabricVsphereDatastoreSpecification 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"`
}

FabricVsphereDatastoreSpecification Specification for updating a FabricVsphereDatastore

swagger:model FabricVsphereDatastoreSpecification

func (*FabricVsphereDatastoreSpecification) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this fabric vsphere datastore specification based on the context it is used

func (*FabricVsphereDatastoreSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*FabricVsphereDatastoreSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*FabricVsphereDatastoreSpecification) Validate ¶ added in v0.4.0

Validate validates this fabric vsphere datastore specification

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 FieldsV1 ¶ added in v0.5.0

type FieldsV1 interface{}

FieldsV1 FieldsV1

swagger:model FieldsV1

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 Folder ¶ added in v0.5.0

type Folder struct {

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

	// A set of cloud account IDs that are associated with the particular Folder
	// Example: [ \"cloud-account-id-1\", \"cloud-account-id-2\" } ]
	// 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: { \"folderType\" : \"1\" }
	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 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

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

Folder Represents a structure that holds details of vSphere folders**HATEOAS** links:<br>**self** - Folder - Self link to this folder

swagger:model Folder

func (*Folder) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this folder based on the context it is used

func (*Folder) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Folder) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Folder) Validate ¶ added in v0.5.0

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

Validate validates this folder

type FolderResult ¶ added in v0.5.0

type FolderResult struct {

	// List of content items
	// Read Only: true
	Content []*Folder `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"`
}

FolderResult State object representing a query result of folders.

swagger:model FolderResult

func (*FolderResult) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this folder result based on the context it is used

func (*FolderResult) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*FolderResult) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*FolderResult) Validate ¶ added in v0.5.0

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

Validate validates this folder 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 FullName ¶ added in v0.5.0

type FullName struct {

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

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

FullName FullName

swagger:model FullName

func (*FullName) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this full name based on context it is used

func (*FullName) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*FullName) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*FullName) Validate ¶ added in v0.5.0

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

Validate validates this full name

type GcpStorageProfile ¶ added in v0.4.0

type GcpStorageProfile 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"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

	// Indicates the type of storage device.
	// Example: pd-standard / pd-ssd
	PersistentDiskType string `json:"persistentDiskType,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"`
}

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

swagger:model GcpStorageProfile

func (*GcpStorageProfile) ContextValidate ¶ added in v0.4.0

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

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

func (*GcpStorageProfile) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*GcpStorageProfile) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*GcpStorageProfile) Validate ¶ added in v0.4.0

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

Validate validates this gcp storage profile

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 Group ¶ added in v0.5.0

type Group interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The account identifier string of the group.
	// Example: cloudadmin@coke.sqa-horizon.local
	// Required: true
	DisplayName() *string
	SetDisplayName(*string)

	// The domain of the group.
	// Example: vmware.com
	Domain() string
	SetDomain(string)

	// The type of the group
	// Example: AD_GROUP, USER_GROUP
	GroupType() string
	SetGroupType(string)

	// Group's Identity Provider ID
	// Example: c493a95e-c4d1-4496-8595-e73902701c95:fe69d7ca-40a6-4de5-8f33-d462f4656938
	ID() string
	SetID(string)

	// The number of users added in the group.
	// Example: 1
	UsersCount() int32
	SetUsersCount(int32)
}

Group Group

A representation of a group ¶

swagger:discriminator Group A representation of a group

func UnmarshalGroup ¶ added in v0.5.0

func UnmarshalGroup(reader io.Reader, consumer runtime.Consumer) (Group, error)

UnmarshalGroup unmarshals polymorphic Group

func UnmarshalGroupSlice ¶ added in v0.5.0

func UnmarshalGroupSlice(reader io.Reader, consumer runtime.Consumer) ([]Group, error)

UnmarshalGroupSlice unmarshals polymorphic slices of Group

type Hardware ¶ added in v0.5.0

type Hardware struct {

	// cpus
	Cpus int32 `json:"cpus,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`
}

Hardware Hardware

swagger:model Hardware

func (*Hardware) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this hardware based on context it is used

func (*Hardware) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Hardware) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Hardware) Validate ¶ added in v0.5.0

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

Validate validates this hardware

type HasMetadata ¶ added in v0.5.0

type HasMetadata struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *ObjectMeta `json:"metadata,omitempty"`
}

HasMetadata HasMetadata

swagger:model HasMetadata

func (*HasMetadata) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this has metadata based on the context it is used

func (*HasMetadata) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*HasMetadata) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*HasMetadata) Validate ¶ added in v0.5.0

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

Validate validates this has metadata

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// List of supervisor users associated with the project.
	// Example: [ { \"email\":\"supervisor@vmware.com\" } ]
	Supervisors []*User `json:"supervisors"`

	// 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, SPREAD or SPREAD_MEMORY.
	// 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 supervisor users associated with the project.
	// Example: [ { \"email\":\"supervisor@vmware.com\" } ]
	Supervisors []*User `json:"supervisors"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

	// Operating System family of the image.
	// Example: linux, win
	OsFamily string `json:"osFamily,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 Integration ¶ added in v0.4.0

type Integration 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\" : \"true\" }
	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"`

	// Integration specific propertiesNote: Integration Properties can be blank for integrations requiring only username and password.
	// Example: { \"userName\": \"admin\" }
	// Required: true
	IntegrationProperties map[string]string `json:"integrationProperties"`

	// Integration type
	// Example: activedirectory | ansible | ipam | vro | com.github.saas
	// Required: true
	IntegrationType *string `json:"integrationType"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

	// A set of tag keys and optional values that were set on the Integration
	// 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"`
}

Integration State object representing an integration.<br><br>An integration identifies an integration type and an integration-specific properties.<br>**HATEOAS** links:<br>**self** - Integration - Self link to this integration

swagger:model Integration

func (*Integration) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this integration based on the context it is used

func (*Integration) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*Integration) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*Integration) Validate ¶ added in v0.4.0

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

Validate validates this integration

type IntegrationResult ¶ added in v0.4.0

type IntegrationResult struct {

	// List of content items
	// Read Only: true
	Content []*Integration `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"`
}

IntegrationResult State object representing a query result of integrations.

swagger:model IntegrationResult

func (*IntegrationResult) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this integration result based on the context it is used

func (*IntegrationResult) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*IntegrationResult) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*IntegrationResult) Validate ¶ added in v0.4.0

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

Validate validates this integration result

type IntegrationSpecification ¶ added in v0.4.0

type IntegrationSpecification struct {

	// Cloud accounts to associate with this integration
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Certificate for an integration.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Additional custom properties that may be used to extend the Integration.
	// Example: { \"sampleadapterProjectId\" : \"projectId\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

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

	// Integration specific properties supplied in as name value pairs
	// Example: {\"supportPublicImages\": \"true\", \"acceptSelfSignedCertificate\": \"true\" }
	// Required: true
	IntegrationProperties map[string]string `json:"integrationProperties"`

	// Integration type
	// Example: Active directory, Ansible, IPAM, vRO, GitHub
	// Required: true
	IntegrationType *string `json:"integrationType"`

	// 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 integration
	// Example: gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS
	PrivateKey string `json:"privateKey,omitempty"`

	// Access key id or username to be used to authenticate with the integration
	// Example: ACDC55DB4MFH6ADG75KK
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// A set of tag keys and optional values to set on the Integration
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

IntegrationSpecification Specification for creating a generic integration.<br><br>Integration represents external system added to vRealize Automation and is identified by a type and specific properties.

swagger:model IntegrationSpecification

func (*IntegrationSpecification) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this integration specification based on the context it is used

func (*IntegrationSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*IntegrationSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*IntegrationSpecification) Validate ¶ added in v0.4.0

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

Validate validates this integration specification

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 K8SCluster ¶ added in v0.4.0

type K8SCluster struct {

	// address
	Address string `json:"address,omitempty"`

	// auth credentials link
	AuthCredentialsLink string `json:"authCredentialsLink,omitempty"`

	// ca certificate
	CaCertificate string `json:"caCertificate,omitempty"`

	// cluster type
	ClusterType string `json:"clusterType,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// credentials
	Credentials *AuthCredentialsServiceState `json:"credentials,omitempty"`

	// custom properties
	CustomProperties interface{} `json:"customProperties,omitempty"`

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

	// direct connection
	DirectConnection bool `json:"directConnection,omitempty"`

	// endpoint Id
	EndpointID string `json:"endpointId,omitempty"`

	// external link
	ExternalLink string `json:"externalLink,omitempty"`

	// global
	Global bool `json:"global,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// installer Id
	// Format: uuid
	InstallerID strfmt.UUID `json:"installerId,omitempty"`

	// kubernetes worker instances
	KubernetesWorkerInstances int32 `json:"kubernetesWorkerInstances,omitempty"`

	// last operation
	LastOperation string `json:"lastOperation,omitempty"`

	// last operation message
	LastOperationMessage string `json:"lastOperationMessage,omitempty"`

	// last operation status
	LastOperationStatus string `json:"lastOperationStatus,omitempty"`

	// last refreshed millis
	LastRefreshedMillis int64 `json:"lastRefreshedMillis,omitempty"`

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

	// nodes
	Nodes []*K8SNode `json:"nodes"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

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

	// remaining unreachable retry threshold
	RemainingUnreachableRetryThreshold int32 `json:"remainingUnreachableRetryThreshold,omitempty"`

	// shared
	Shared bool `json:"shared,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

K8SCluster K8SCluster

swagger:model K8SCluster

func (*K8SCluster) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this k8 s cluster based on the context it is used

func (*K8SCluster) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SCluster) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SCluster) Validate ¶ added in v0.4.0

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

Validate validates this k8 s cluster

type K8SClusterAssignRequestDTO ¶ added in v0.5.0

type K8SClusterAssignRequestDTO struct {

	// cluster group
	ClusterGroup string `json:"clusterGroup,omitempty"`

	// cluster ids
	ClusterIds []strfmt.UUID `json:"clusterIds"`

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

K8SClusterAssignRequestDTO K8SClusterAssignRequestDTO

swagger:model K8SClusterAssignRequestDTO

func (*K8SClusterAssignRequestDTO) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this k8 s cluster assign request d t o based on context it is used

func (*K8SClusterAssignRequestDTO) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*K8SClusterAssignRequestDTO) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*K8SClusterAssignRequestDTO) Validate ¶ added in v0.5.0

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

Validate validates this k8 s cluster assign request d t o

type K8SClusterAssignResponseDTO ¶ added in v0.5.0

type K8SClusterAssignResponseDTO struct {

	// cluster count
	ClusterCount int32 `json:"clusterCount,omitempty"`

	// clusters processed count
	ClustersProcessedCount int32 `json:"clustersProcessedCount,omitempty"`

	// current stage
	CurrentStage string `json:"currentStage,omitempty"`

	// failed clusters
	FailedClusters map[string]string `json:"failedClusters,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// request Id
	RequestID string `json:"requestId,omitempty"`

	// status
	// Enum: [INITIALIZING IN_PROGRESS COMPLETED FAILED]
	Status string `json:"status,omitempty"`
}

K8SClusterAssignResponseDTO K8SClusterAssignResponseDTO

swagger:model K8SClusterAssignResponseDTO

func (*K8SClusterAssignResponseDTO) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this k8 s cluster assign response d t o based on context it is used

func (*K8SClusterAssignResponseDTO) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*K8SClusterAssignResponseDTO) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*K8SClusterAssignResponseDTO) Validate ¶ added in v0.5.0

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

Validate validates this k8 s cluster assign response d t o

type K8SInstaller ¶ added in v0.5.0

type K8SInstaller struct {

	// cluster Id
	ClusterID string `json:"clusterId,omitempty"`

	// cluster Id old
	// Format: uuid
	ClusterIDOld strfmt.UUID `json:"clusterIdOld,omitempty"`

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

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// custom resources
	CustomResources map[string]string `json:"customResources,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// installation parameters
	InstallationParameters map[string]string `json:"installationParameters,omitempty"`

	// installer type
	// Enum: [CLUSTER NAMESPACE SUPERVISOR_CLUSTER SUPERVISOR_NAMESPACE]
	InstallerType string `json:"installerType,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// owner Id old
	// Format: uuid
	OwnerIDOld strfmt.UUID `json:"ownerIdOld,omitempty"`

	// retry count
	RetryCount int32 `json:"retryCount,omitempty"`

	// rollback on fail
	RollbackOnFail bool `json:"rollbackOnFail,omitempty"`

	// state
	// Enum: [CREATED INSTALLING NOT_READY READY UNINSTALLING UNINSTALLED FAILED DELETING]
	State string `json:"state,omitempty"`

	// steps
	Steps []*K8SResource `json:"steps"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SInstaller K8SInstaller

swagger:model K8SInstaller

func (*K8SInstaller) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this k8 s installer based on the context it is used

func (*K8SInstaller) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*K8SInstaller) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*K8SInstaller) Validate ¶ added in v0.5.0

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

Validate validates this k8 s installer

type K8SLimitRange ¶ added in v0.4.0

type K8SLimitRange struct {

	// active
	Active bool `json:"active,omitempty"`

	// cluster Id
	// Format: uuid
	ClusterID strfmt.UUID `json:"clusterId,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// definition
	Definition string `json:"definition,omitempty"`

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// managed
	Managed bool `json:"managed,omitempty"`

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

	// namespace Id
	// Format: uuid
	NamespaceID strfmt.UUID `json:"namespaceId,omitempty"`

	// namespace name
	NamespaceName string `json:"namespaceName,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// resource
	Resource string `json:"resource,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SLimitRange K8SLimitRange

swagger:model K8SLimitRange

func (*K8SLimitRange) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this k8 s limit range based on context it is used

func (*K8SLimitRange) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SLimitRange) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SLimitRange) Validate ¶ added in v0.4.0

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

Validate validates this k8 s limit range

type K8SNamespace ¶ added in v0.4.0

type K8SNamespace struct {

	// auth credentials link
	AuthCredentialsLink string `json:"authCredentialsLink,omitempty"`

	// cluster Id
	// Format: uuid
	ClusterID strfmt.UUID `json:"clusterId,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// custom properties
	CustomProperties interface{} `json:"customProperties,omitempty"`

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// installer Id
	// Format: uuid
	InstallerID strfmt.UUID `json:"installerId,omitempty"`

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

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

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

	// registered
	Registered bool `json:"registered,omitempty"`

	// shared
	Shared bool `json:"shared,omitempty"`

	// status
	// Enum: [ALLOCATED READY FAILED UNREACHABLE TERMINATING REMOVED]
	Status string `json:"status,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`

	// zone project assignment Id
	// Format: uuid
	ZoneProjectAssignmentID strfmt.UUID `json:"zoneProjectAssignmentId,omitempty"`
}

K8SNamespace K8SNamespace

swagger:model K8SNamespace

func (*K8SNamespace) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this k8 s namespace based on context it is used

func (*K8SNamespace) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SNamespace) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SNamespace) Validate ¶ added in v0.4.0

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

Validate validates this k8 s namespace

type K8SNode ¶ added in v0.4.0

type K8SNode struct {

	// allocatable pods
	AllocatablePods int32 `json:"allocatablePods,omitempty"`

	// cpu cores
	CPUCores float64 `json:"cpuCores,omitempty"`

	// cpu usage
	CPUUsage float64 `json:"cpuUsage,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// memory usage
	MemoryUsage float64 `json:"memoryUsage,omitempty"`

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

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// total memory
	TotalMemory float64 `json:"totalMemory,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SNode K8SNode

swagger:model K8SNode

func (*K8SNode) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this k8 s node based on context it is used

func (*K8SNode) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SNode) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SNode) Validate ¶ added in v0.4.0

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

Validate validates this k8 s node

type K8SResource ¶ added in v0.5.0

type K8SResource struct {

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// index
	Index int32 `json:"index,omitempty"`

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

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// resource
	Resource *HasMetadata `json:"resource,omitempty"`

	// state
	// Enum: [INITIALIZED NOT_INSTALLED INSTALLING INSTALLED READY UNINSTALLING UNREACHABLE FAILED]
	State string `json:"state,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SResource K8SResource

swagger:model K8SResource

func (*K8SResource) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this k8 s resource based on the context it is used

func (*K8SResource) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*K8SResource) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*K8SResource) Validate ¶ added in v0.5.0

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

Validate validates this k8 s resource

type K8SResourceQuota ¶ added in v0.4.0

type K8SResourceQuota struct {

	// active
	Active bool `json:"active,omitempty"`

	// cluster Id
	// Format: uuid
	ClusterID strfmt.UUID `json:"clusterId,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// definition
	Definition string `json:"definition,omitempty"`

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// managed
	Managed bool `json:"managed,omitempty"`

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

	// namespace Id
	// Format: uuid
	NamespaceID strfmt.UUID `json:"namespaceId,omitempty"`

	// namespace name
	NamespaceName string `json:"namespaceName,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// resource
	Resource string `json:"resource,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`

	// usage
	Usage string `json:"usage,omitempty"`
}

K8SResourceQuota K8SResourceQuota

swagger:model K8SResourceQuota

func (*K8SResourceQuota) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this k8 s resource quota based on context it is used

func (*K8SResourceQuota) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SResourceQuota) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SResourceQuota) Validate ¶ added in v0.4.0

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

Validate validates this k8 s resource quota

type K8SZone ¶ added in v0.4.0

type K8SZone struct {

	// clusters
	Clusters []*K8SZoneClusterAssignment `json:"clusters"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// custom properties
	CustomProperties interface{} `json:"customProperties,omitempty"`

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

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

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

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// projects
	Projects []*K8SZoneProjectAssignment `json:"projects"`

	// provider Id
	ProviderID string `json:"providerId,omitempty"`

	// provider type
	// Enum: [PKS_ENDPOINT EXTERNAL OPEN_SHIFT VSPHERE_NAMESPACES]
	ProviderType string `json:"providerType,omitempty"`

	// resources
	Resources []*K8SZoneResourceAssignment `json:"resources"`

	// supervisor clusters
	SupervisorClusters []*SupervisorClusterAssignment `json:"supervisorClusters"`

	// supervisor namespaces
	SupervisorNamespaces []*SupervisorNamespaceAssignment `json:"supervisorNamespaces"`

	// tag links
	TagLinks []string `json:"tagLinks"`

	// tags
	Tags []*TagState `json:"tags"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SZone K8SZone

swagger:model K8SZone

func (*K8SZone) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this k8 s zone based on the context it is used

func (*K8SZone) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SZone) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SZone) Validate ¶ added in v0.4.0

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

Validate validates this k8 s zone

type K8SZoneClusterAssignment ¶ added in v0.4.0

type K8SZoneClusterAssignment struct {

	// cluster Id
	// Format: uuid
	ClusterID strfmt.UUID `json:"clusterId,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// pks cluster Uuid
	PksClusterUUID string `json:"pksClusterUuid,omitempty"`

	// prefer master Ip
	PreferMasterIP bool `json:"preferMasterIp,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// tag links
	TagLinks []string `json:"tagLinks"`

	// tags
	Tags []*TagState `json:"tags"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SZoneClusterAssignment K8SZoneClusterAssignment

swagger:model K8SZoneClusterAssignment

func (*K8SZoneClusterAssignment) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this k8 s zone cluster assignment based on the context it is used

func (*K8SZoneClusterAssignment) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SZoneClusterAssignment) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SZoneClusterAssignment) Validate ¶ added in v0.4.0

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

Validate validates this k8 s zone cluster assignment

type K8SZoneProjectAssignment ¶ added in v0.4.0

type K8SZoneProjectAssignment struct {

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// max number namespaces
	MaxNumberNamespaces int32 `json:"maxNumberNamespaces,omitempty"`

	// max number supervisor namespaces
	MaxNumberSupervisorNamespaces int32 `json:"maxNumberSupervisorNamespaces,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

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

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SZoneProjectAssignment K8SZoneProjectAssignment

swagger:model K8SZoneProjectAssignment

func (*K8SZoneProjectAssignment) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this k8 s zone project assignment based on context it is used

func (*K8SZoneProjectAssignment) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SZoneProjectAssignment) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SZoneProjectAssignment) Validate ¶ added in v0.4.0

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

Validate validates this k8 s zone project assignment

type K8SZoneResourceAssignment ¶ added in v0.4.0

type K8SZoneResourceAssignment struct {

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// resource Id
	ResourceID string `json:"resourceId,omitempty"`

	// resource type
	// Enum: [PKS_PLAN]
	ResourceType string `json:"resourceType,omitempty"`

	// tag links
	TagLinks []string `json:"tagLinks"`

	// tags
	Tags []*TagState `json:"tags"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

K8SZoneResourceAssignment K8SZoneResourceAssignment

swagger:model K8SZoneResourceAssignment

func (*K8SZoneResourceAssignment) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this k8 s zone resource assignment based on the context it is used

func (*K8SZoneResourceAssignment) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8SZoneResourceAssignment) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8SZoneResourceAssignment) Validate ¶ added in v0.4.0

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

Validate validates this k8 s zone resource assignment

type K8sClusterState ¶ added in v0.4.0

type K8sClusterState struct {

	// error messages
	ErrorMessages string `json:"errorMessages,omitempty"`

	// error reported
	ErrorReported bool `json:"errorReported,omitempty"`

	// error type
	ErrorType string `json:"errorType,omitempty"`

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

	// type
	Type string `json:"type,omitempty"`
}

K8sClusterState K8sClusterState

swagger:model K8sClusterState

func (*K8sClusterState) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this k8s cluster state based on context it is used

func (*K8sClusterState) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*K8sClusterState) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*K8sClusterState) Validate ¶ added in v0.4.0

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

Validate validates this k8s cluster state

type Limits ¶ added in v0.5.0

type Limits struct {

	// cpu
	CPU string `json:"cpu,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`
}

Limits Limits

swagger:model Limits

func (*Limits) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this limits based on context it is used

func (*Limits) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Limits) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Limits) Validate ¶ added in v0.5.0

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

Validate validates this limits

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
	ExternalZoneID string `json:"externalZoneId,omitempty"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

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

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,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
	ExternalZoneID string `json:"externalZoneId,omitempty"`

	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,omitempty"`

	// Salt configuration on the 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 an error is thrown while processing cloud-config whether the provisioning process should fail or continue.
	// Example: true
	DeploymentFailOnCloudConfigRuntimeError bool `json:"deploymentFailOnCloudConfigRuntimeError,omitempty"`

	// 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"`

	// Provider specific flavor reference. Valid if no flavor property is provided
	// Example: t2.micro
	// Required: true
	FlavorRef *string `json:"flavorRef"`

	// 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"`

	// Settings to apply salt configuration on the provisioned machine.
	SaltConfiguration *SaltConfiguration `json:"saltConfiguration,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 ManagedFieldsEntry ¶ added in v0.5.0

type ManagedFieldsEntry struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// fields type
	FieldsType string `json:"fieldsType,omitempty"`

	// fields v1
	FieldsV1 FieldsV1 `json:"fieldsV1,omitempty"`

	// manager
	Manager string `json:"manager,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`

	// subresource
	Subresource string `json:"subresource,omitempty"`

	// time
	Time string `json:"time,omitempty"`
}

ManagedFieldsEntry ManagedFieldsEntry

swagger:model ManagedFieldsEntry

func (*ManagedFieldsEntry) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this managed fields entry based on context it is used

func (*ManagedFieldsEntry) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*ManagedFieldsEntry) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*ManagedFieldsEntry) Validate ¶ added in v0.5.0

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

Validate validates this managed fields entry

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 Meta ¶ added in v0.5.0

type Meta struct {

	// annotations
	Annotations interface{} `json:"annotations,omitempty"`

	// creation time
	CreationTime string `json:"creationTime,omitempty"`

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

	// generation
	Generation string `json:"generation,omitempty"`

	// labels
	Labels interface{} `json:"labels,omitempty"`

	// parent references
	ParentReferences []*Reference `json:"parentReferences"`

	// resource version
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`

	// update time
	UpdateTime string `json:"updateTime,omitempty"`
}

Meta Meta

swagger:model Meta

func (*Meta) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this meta based on the context it is used

func (*Meta) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Meta) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Meta) Validate ¶ added in v0.5.0

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

Validate validates this meta

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
	Cidr string `json:"cidr,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
	ExternalZoneID string `json:"externalZoneId,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

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

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// The Ids of the fabric networks.
	// Unique: true
	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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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"`

	// Id of the fabric network for the network interface. Either networkId or fabricNetworkId can be specified, not both.
	// Example: 54097407-4532-460c-94a8-8f9e18f4c925
	FabricNetworkID string `json:"fabricNetworkId,omitempty"`

	// MAC address of the network interface.
	// Example: [ \"00:50:56:99:d8:34\" ]
	MacAddress string `json:"macAddress,omitempty"`

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

	// Id of the network for the network interface. Either networkId or fabricNetworkId can be specified, not both.
	// Example: 54097407-4532-460c-94a8-8f9e18f4c925
	NetworkID string `json:"networkId,omitempty"`

	// 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 (NSX-V only). For isolationType subnet, tier0LogicalRouterStateLink identifies the on-demand network tier-0 logical router (NSX-T only). 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\", \"tier0LogicalRouterStateLink\" : \"/resources/routers/2345\", \"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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 (NSX-V only). For isolationType subnet, tier0LogicalRouterStateLink identifies the on-demand network tier-0 logical router (NSX-T only). 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\", \"tier0LogicalRouterStateLink\" : \"/resources/routers/2345\", \"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 Node ¶ added in v0.4.0

type Node struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *ObjectMeta `json:"metadata,omitempty"`

	// spec
	Spec *NodeSpec `json:"spec,omitempty"`

	// status
	Status *NodeStatus `json:"status,omitempty"`
}

Node Node

swagger:model Node

func (*Node) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this node based on the context it is used

func (*Node) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*Node) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*Node) Validate ¶ added in v0.4.0

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

Validate validates this node

type NodeList ¶ added in v0.4.0

type NodeList struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	Items []*Node `json:"items"`

	// kind
	Kind string `json:"kind,omitempty"`
}

NodeList NodeList

swagger:model NodeList

func (*NodeList) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this node list based on the context it is used

func (*NodeList) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*NodeList) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*NodeList) Validate ¶ added in v0.4.0

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

Validate validates this node list

type NodeSpec ¶ added in v0.4.0

type NodeSpec struct {

	// external Id
	ExternalID string `json:"externalId,omitempty"`

	// pod c ID r
	PodCIDR string `json:"podCIDR,omitempty"`

	// provider Id
	ProviderID string `json:"providerId,omitempty"`

	// unschedulable
	Unschedulable bool `json:"unschedulable,omitempty"`
}

NodeSpec NodeSpec

swagger:model NodeSpec

func (*NodeSpec) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this node spec based on context it is used

func (*NodeSpec) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*NodeSpec) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*NodeSpec) Validate ¶ added in v0.4.0

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

Validate validates this node spec

type NodeStatus ¶ added in v0.4.0

type NodeStatus struct {

	// allocatable
	Allocatable interface{} `json:"allocatable,omitempty"`

	// capacity
	Capacity interface{} `json:"capacity,omitempty"`

	// phase
	Phase string `json:"phase,omitempty"`
}

NodeStatus NodeStatus

swagger:model NodeStatus

func (*NodeStatus) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this node status based on context it is used

func (*NodeStatus) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*NodeStatus) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*NodeStatus) Validate ¶ added in v0.4.0

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

Validate validates this node status

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 NotificationScenarioConfig ¶ added in v0.4.0

type NotificationScenarioConfig struct {

	// Notification scenario body
	Body string `json:"body,omitempty"`

	// Notification scenario enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// Notification scenario category
	ScenarioCategory string `json:"scenarioCategory,omitempty"`

	// Notification scenario description
	ScenarioDescription string `json:"scenarioDescription,omitempty"`

	// Notification scenario id
	// Required: true
	ScenarioID *string `json:"scenarioId"`

	// Notification scenario name
	ScenarioName string `json:"scenarioName,omitempty"`

	// Notification scenario subject
	Subject string `json:"subject,omitempty"`
}

NotificationScenarioConfig NotificationScenarioConfig

Represents a notification configuration.

swagger:model NotificationScenarioConfig

func (*NotificationScenarioConfig) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this notification scenario config based on context it is used

func (*NotificationScenarioConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*NotificationScenarioConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*NotificationScenarioConfig) Validate ¶ added in v0.4.0

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

Validate validates this notification scenario config

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 ObjectMeta ¶ added in v0.4.0

type ObjectMeta struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// cluster name
	ClusterName string `json:"clusterName,omitempty"`

	// creation timestamp
	CreationTimestamp string `json:"creationTimestamp,omitempty"`

	// deletion timestamp
	DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

	// generate name
	GenerateName string `json:"generateName,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// self link
	SelfLink string `json:"selfLink,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`
}

ObjectMeta ObjectMeta

swagger:model ObjectMeta

func (*ObjectMeta) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this object meta based on context it is used

func (*ObjectMeta) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ObjectMeta) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ObjectMeta) Validate ¶ added in v0.4.0

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

Validate validates this object meta

type OnboardingBlueprintRequest ¶ added in v0.5.0

type OnboardingBlueprintRequest struct {

	// Automatically generate the Cloud Template if set.
	AutoGenerate bool `json:"autoGenerate,omitempty"`

	// Link to the parent deployment.
	DeploymentLink string `json:"deploymentLink,omitempty"`

	// Name of the auto-generated Cloud Template.
	Name string `json:"name,omitempty"`

	// Link to the parent plan.
	PlanLink string `json:"planLink,omitempty"`

	// Link to an existing Cloud Template.
	TemplateLink string `json:"templateLink,omitempty"`
}

OnboardingBlueprintRequest onboarding blueprint request

swagger:model OnboardingBlueprintRequest

func (*OnboardingBlueprintRequest) ContextValidate ¶ added in v0.5.0

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

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

func (*OnboardingBlueprintRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingBlueprintRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingBlueprintRequest) Validate ¶ added in v0.5.0

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

Validate validates this onboarding blueprint request

type OnboardingBlueprintResponse ¶ added in v0.5.0

type OnboardingBlueprintResponse struct {

	// Automatically generate the Cloud Template if set.
	AutoGenerate bool `json:"autoGenerate,omitempty"`

	// Link to the parent deployment.
	DeploymentLink string `json:"deploymentLink,omitempty"`

	// Link to this blueprint.
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// Name of the auto-generated Cloud Template.
	Name string `json:"name,omitempty"`

	// Link to the parent plan.
	PlanLink string `json:"planLink,omitempty"`

	// Link to an existing Cloud Template.
	TemplateLink string `json:"templateLink,omitempty"`

	// Link to blueprint's tenant.
	TenantLink string `json:"tenantLink,omitempty"`
}

OnboardingBlueprintResponse onboarding blueprint response

swagger:model OnboardingBlueprintResponse

func (*OnboardingBlueprintResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding blueprint response based on context it is used

func (*OnboardingBlueprintResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingBlueprintResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingBlueprintResponse) Validate ¶ added in v0.5.0

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

Validate validates this onboarding blueprint response

type OnboardingDeploymentRequest ¶ added in v0.5.0

type OnboardingDeploymentRequest struct {

	// Deployment description. Will be propagated to Cloud Assembly deployment.
	Description string `json:"description,omitempty"`

	// Deployment name. Will be propagated to Cloud Assembly deployment.
	Name string `json:"name,omitempty"`

	// Link to the parent plan.
	PlanLink string `json:"planLink,omitempty"`
}

OnboardingDeploymentRequest onboarding deployment request

swagger:model OnboardingDeploymentRequest

func (*OnboardingDeploymentRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding deployment request based on context it is used

func (*OnboardingDeploymentRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingDeploymentRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingDeploymentRequest) Validate ¶ added in v0.5.0

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

Validate validates this onboarding deployment request

type OnboardingDeploymentResponse ¶ added in v0.5.0

type OnboardingDeploymentResponse struct {

	// Link to the onboarded deployment in Cloud Assembly.
	ConsumerDeploymentLink string `json:"consumerDeploymentLink,omitempty"`

	// Deployment description. Will be propagated to Cloud Assembly deployment.
	Description string `json:"description,omitempty"`

	// Link to this deployment.
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// Deployment name. Will be propagated to Cloud Assembly deployment.
	Name string `json:"name,omitempty"`

	// Link to the parent plan.
	PlanLink string `json:"planLink,omitempty"`

	// Link to the deployment's tenant.
	TenantLink string `json:"tenantLink,omitempty"`
}

OnboardingDeploymentResponse onboarding deployment response

swagger:model OnboardingDeploymentResponse

func (*OnboardingDeploymentResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding deployment response based on context it is used

func (*OnboardingDeploymentResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingDeploymentResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingDeploymentResponse) Validate ¶ added in v0.5.0

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

Validate validates this onboarding deployment response

type OnboardingPlanRequest ¶ added in v0.5.0

type OnboardingPlanRequest struct {

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

	// Cloud account identifiers to lookup for discovered machines.
	EndpointIds []string `json:"endpointIds"`

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

	// Project identifier the plan will onboard machines to.
	ProjectID string `json:"projectId,omitempty"`
}

OnboardingPlanRequest onboarding plan request

swagger:model OnboardingPlanRequest

func (*OnboardingPlanRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding plan request based on context it is used

func (*OnboardingPlanRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingPlanRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingPlanRequest) Validate ¶ added in v0.5.0

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

Validate validates this onboarding plan request

type OnboardingPlanResponse ¶ added in v0.5.0

type OnboardingPlanResponse struct {

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

	// Link to this plan.
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// Cloud account identifiers to lookup for discovered machines.
	EndpointIds []string `json:"endpointIds"`

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

	// Project identifier the plan will onboard machines to.
	ProjectID string `json:"projectId,omitempty"`

	// Link to the plan's tenant.
	TenantLink string `json:"tenantLink,omitempty"`
}

OnboardingPlanResponse onboarding plan response

swagger:model OnboardingPlanResponse

func (*OnboardingPlanResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding plan response based on context it is used

func (*OnboardingPlanResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingPlanResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingPlanResponse) Validate ¶ added in v0.5.0

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

Validate validates this onboarding plan response

type OnboardingResourceRequest ¶ added in v0.5.0

type OnboardingResourceRequest struct {

	// Link to the parent deployment.
	DeploymentLink string `json:"deploymentLink,omitempty"`

	// Link to the parent plan.
	PlanLink string `json:"planLink,omitempty"`

	// Link to the compute resource (machine) in the Provisioning service inventory.
	ResourceLink string `json:"resourceLink,omitempty"`

	// Resource name, usually the machine name. Will be propagated to Cloud Assembly.
	ResourceName string `json:"resourceName,omitempty"`

	// Tag links in the Provisioning service inventory associated with the machine.
	TagLinks []string `json:"tagLinks"`
}

OnboardingResourceRequest onboarding resource request

swagger:model OnboardingResourceRequest

func (*OnboardingResourceRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding resource request based on context it is used

func (*OnboardingResourceRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingResourceRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingResourceRequest) Validate ¶ added in v0.5.0

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

Validate validates this onboarding resource request

type OnboardingResourceResponse ¶ added in v0.5.0

type OnboardingResourceResponse struct {

	// Link to the parent deployment.
	DeploymentLink string `json:"deploymentLink,omitempty"`

	// Link to this resource.
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// Link to the parent plan.
	PlanLink string `json:"planLink,omitempty"`

	// Link to the compute resource (machine) in the Provisioning service inventory.
	ResourceLink string `json:"resourceLink,omitempty"`

	// Resource name, usually the machine name. Will be propagated to Cloud Assembly.
	ResourceName string `json:"resourceName,omitempty"`

	// Tag links in the Provisioning service inventory associated with the machine.
	TagLinks []string `json:"tagLinks"`

	// Link to the resource's tenant.
	TenantLink string `json:"tenantLink,omitempty"`
}

OnboardingResourceResponse onboarding resource response

swagger:model OnboardingResourceResponse

func (*OnboardingResourceResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this onboarding resource response based on context it is used

func (*OnboardingResourceResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OnboardingResourceResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OnboardingResourceResponse) Validate ¶ added in v0.5.0

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

Validate validates this onboarding resource response

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 Operation ¶ added in v0.4.0

type Operation struct {

	// action
	// Enum: [GET POST PATCH PUT DELETE OPTIONS]
	Action string `json:"action,omitempty"`

	// authorization context
	AuthorizationContext *AuthorizationContext `json:"authorizationContext,omitempty"`

	// body raw
	BodyRaw interface{} `json:"bodyRaw,omitempty"`

	// commit
	Commit bool `json:"commit,omitempty"`

	// completion
	Completion CompletionHandler `json:"completion,omitempty"`

	// connection sharing
	ConnectionSharing bool `json:"connectionSharing,omitempty"`

	// connection tag
	ConnectionTag string `json:"connectionTag,omitempty"`

	// content length
	ContentLength int64 `json:"contentLength,omitempty"`

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

	// context Id
	ContextID string `json:"contextId,omitempty"`

	// cookies
	Cookies map[string]string `json:"cookies,omitempty"`

	// error response body
	ErrorResponseBody *ServiceErrorResponse `json:"errorResponseBody,omitempty"`

	// expiration micros utc
	ExpirationMicrosUtc int64 `json:"expirationMicrosUtc,omitempty"`

	// failure logging disabled
	FailureLoggingDisabled bool `json:"failureLoggingDisabled,omitempty"`

	// forwarded
	Forwarded bool `json:"forwarded,omitempty"`

	// forwarding disabled
	ForwardingDisabled bool `json:"forwardingDisabled,omitempty"`

	// from replication
	FromReplication bool `json:"fromReplication,omitempty"`

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

	// keep alive
	KeepAlive bool `json:"keepAlive,omitempty"`

	// notification
	Notification bool `json:"notification,omitempty"`

	// notification disabled
	NotificationDisabled bool `json:"notificationDisabled,omitempty"`

	// options
	Options []string `json:"options"`

	// peer certificate chain
	PeerCertificateChain []*X509Certificate `json:"peerCertificateChain"`

	// peer principal
	PeerPrincipal *Principal `json:"peerPrincipal,omitempty"`

	// referer
	Referer *URI `json:"referer,omitempty"`

	// referer as string
	RefererAsString string `json:"refererAsString,omitempty"`

	// remote
	Remote bool `json:"remote,omitempty"`

	// replication disabled
	ReplicationDisabled bool `json:"replicationDisabled,omitempty"`

	// request headers
	RequestHeaders map[string]string `json:"requestHeaders,omitempty"`

	// response headers
	ResponseHeaders map[string]string `json:"responseHeaders,omitempty"`

	// retries remaining
	RetriesRemaining int32 `json:"retriesRemaining,omitempty"`

	// retry count
	RetryCount int32 `json:"retryCount,omitempty"`

	// socket context
	SocketContext *SocketContext `json:"socketContext,omitempty"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`

	// synchronize
	Synchronize bool `json:"synchronize,omitempty"`

	// synchronize owner
	SynchronizeOwner bool `json:"synchronizeOwner,omitempty"`

	// synchronize peer
	SynchronizePeer bool `json:"synchronizePeer,omitempty"`

	// target replicated
	TargetReplicated bool `json:"targetReplicated,omitempty"`

	// transaction Id
	TransactionID string `json:"transactionId,omitempty"`

	// update
	Update bool `json:"update,omitempty"`

	// uri
	URI *URI `json:"uri,omitempty"`

	// within transaction
	WithinTransaction bool `json:"withinTransaction,omitempty"`
}

Operation Operation

swagger:model Operation

func (*Operation) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this operation based on the context it is used

func (*Operation) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*Operation) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*Operation) Validate ¶ added in v0.4.0

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

Validate validates this operation

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 OwnerReference ¶ added in v0.5.0

type OwnerReference struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// block owner deletion
	BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"`

	// controller
	Controller bool `json:"controller,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

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

	// uid
	UID string `json:"uid,omitempty"`
}

OwnerReference OwnerReference

swagger:model OwnerReference

func (*OwnerReference) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this owner reference based on context it is used

func (*OwnerReference) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*OwnerReference) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*OwnerReference) Validate ¶ added in v0.5.0

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

Validate validates this owner reference

type PKSCluster ¶ added in v0.4.0

type PKSCluster struct {

	// hostname address
	HostnameAddress string `json:"hostnameAddress,omitempty"`

	// ip address
	IPAddress string `json:"ipAddress,omitempty"`

	// kubernetes master ips
	KubernetesMasterIps []string `json:"kubernetes_master_ips"`

	// last action
	LastAction string `json:"last_action,omitempty"`

	// last action description
	LastActionDescription string `json:"last_action_description,omitempty"`

	// last action state
	LastActionState string `json:"last_action_state,omitempty"`

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

	// parameters
	Parameters interface{} `json:"parameters,omitempty"`

	// plan name
	PlanName string `json:"plan_name,omitempty"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

PKSCluster PKSCluster

swagger:model PKSCluster

func (*PKSCluster) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this p k s cluster based on context it is used

func (*PKSCluster) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PKSCluster) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PKSCluster) Validate ¶ added in v0.4.0

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

Validate validates this p k s cluster

type PKSPlan ¶ added in v0.4.0

type PKSPlan struct {

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

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

	// master instances
	MasterInstances string `json:"masterInstances,omitempty"`

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

	// worker instances
	WorkerInstances string `json:"workerInstances,omitempty"`
}

PKSPlan PKSPlan

swagger:model PKSPlan

func (*PKSPlan) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this p k s plan based on context it is used

func (*PKSPlan) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PKSPlan) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PKSPlan) Validate ¶ added in v0.4.0

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

Validate validates this p k s plan

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 PageOfClusterGroup ¶ added in v0.5.0

type PageOfClusterGroup struct {

	// content
	Content []*ClusterGroup `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"`

	// 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"`
}

PageOfClusterGroup PageOfClusterGroup

swagger:model PageOfClusterGroup

func (*PageOfClusterGroup) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this page of cluster group based on the context it is used

func (*PageOfClusterGroup) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*PageOfClusterGroup) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PageOfClusterGroup) Validate ¶ added in v0.5.0

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

Validate validates this page of cluster group

type PageOfClusterPlan ¶ added in v0.4.0

type PageOfClusterPlan struct {

	// content
	Content []*ClusterPlan `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"`

	// 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"`
}

PageOfClusterPlan PageOfClusterPlan

swagger:model PageOfClusterPlan

func (*PageOfClusterPlan) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of cluster plan based on the context it is used

func (*PageOfClusterPlan) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfClusterPlan) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfClusterPlan) Validate ¶ added in v0.4.0

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

Validate validates this page of cluster plan

type PageOfClusterPlanAggregation ¶ added in v0.5.0

type PageOfClusterPlanAggregation struct {

	// content
	Content []*ClusterPlanAggregation `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"`

	// 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"`
}

PageOfClusterPlanAggregation PageOfClusterPlanAggregation

swagger:model PageOfClusterPlanAggregation

func (*PageOfClusterPlanAggregation) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this page of cluster plan aggregation based on the context it is used

func (*PageOfClusterPlanAggregation) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*PageOfClusterPlanAggregation) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PageOfClusterPlanAggregation) Validate ¶ added in v0.5.0

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

Validate validates this page of cluster plan aggregation

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 PageOfK8SCluster ¶ added in v0.4.0

type PageOfK8SCluster struct {

	// content
	Content []*K8SCluster `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"`

	// 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"`
}

PageOfK8SCluster PageOfK8SCluster

swagger:model PageOfK8SCluster

func (*PageOfK8SCluster) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of k8 s cluster based on the context it is used

func (*PageOfK8SCluster) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfK8SCluster) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfK8SCluster) Validate ¶ added in v0.4.0

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

Validate validates this page of k8 s cluster

type PageOfK8SLimitRange ¶ added in v0.4.0

type PageOfK8SLimitRange struct {

	// content
	Content []*K8SLimitRange `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"`

	// 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"`
}

PageOfK8SLimitRange PageOfK8SLimitRange

swagger:model PageOfK8SLimitRange

func (*PageOfK8SLimitRange) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of k8 s limit range based on the context it is used

func (*PageOfK8SLimitRange) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfK8SLimitRange) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfK8SLimitRange) Validate ¶ added in v0.4.0

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

Validate validates this page of k8 s limit range

type PageOfK8SNamespace ¶ added in v0.4.0

type PageOfK8SNamespace struct {

	// content
	Content []*K8SNamespace `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"`

	// 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"`
}

PageOfK8SNamespace PageOfK8SNamespace

swagger:model PageOfK8SNamespace

func (*PageOfK8SNamespace) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of k8 s namespace based on the context it is used

func (*PageOfK8SNamespace) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfK8SNamespace) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfK8SNamespace) Validate ¶ added in v0.4.0

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

Validate validates this page of k8 s namespace

type PageOfK8SResourceQuota ¶ added in v0.4.0

type PageOfK8SResourceQuota struct {

	// content
	Content []*K8SResourceQuota `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"`

	// 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"`
}

PageOfK8SResourceQuota PageOfK8SResourceQuota

swagger:model PageOfK8SResourceQuota

func (*PageOfK8SResourceQuota) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of k8 s resource quota based on the context it is used

func (*PageOfK8SResourceQuota) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfK8SResourceQuota) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfK8SResourceQuota) Validate ¶ added in v0.4.0

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

Validate validates this page of k8 s resource quota

type PageOfK8SZone ¶ added in v0.4.0

type PageOfK8SZone struct {

	// content
	Content []*K8SZone `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"`

	// 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"`
}

PageOfK8SZone PageOfK8SZone

swagger:model PageOfK8SZone

func (*PageOfK8SZone) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of k8 s zone based on the context it is used

func (*PageOfK8SZone) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfK8SZone) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfK8SZone) Validate ¶ added in v0.4.0

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

Validate validates this page of k8 s zone

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 PageOfNotificationScenarioConfig ¶ added in v0.4.0

type PageOfNotificationScenarioConfig struct {

	// content
	Content []*NotificationScenarioConfig `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"`
}

PageOfNotificationScenarioConfig PageOfNotificationScenarioConfig

swagger:model PageOfNotificationScenarioConfig

func (*PageOfNotificationScenarioConfig) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of notification scenario config based on the context it is used

func (*PageOfNotificationScenarioConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfNotificationScenarioConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfNotificationScenarioConfig) Validate ¶ added in v0.4.0

Validate validates this page of notification scenario config

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 PageOfStoragePolicy ¶ added in v0.6.0

type PageOfStoragePolicy struct {

	// content
	Content []*StoragePolicy `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"`

	// 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"`
}

PageOfStoragePolicy PageOfStoragePolicy

swagger:model PageOfStoragePolicy

func (*PageOfStoragePolicy) ContextValidate ¶ added in v0.6.0

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

ContextValidate validate this page of storage policy based on the context it is used

func (*PageOfStoragePolicy) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*PageOfStoragePolicy) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PageOfStoragePolicy) Validate ¶ added in v0.6.0

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

Validate validates this page of storage policy

type PageOfSupervisorCluster ¶ added in v0.4.0

type PageOfSupervisorCluster struct {

	// content
	Content []*SupervisorCluster `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"`

	// 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"`
}

PageOfSupervisorCluster PageOfSupervisorCluster

swagger:model PageOfSupervisorCluster

func (*PageOfSupervisorCluster) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of supervisor cluster based on the context it is used

func (*PageOfSupervisorCluster) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfSupervisorCluster) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfSupervisorCluster) Validate ¶ added in v0.4.0

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

Validate validates this page of supervisor cluster

type PageOfSupervisorNamespace ¶ added in v0.4.0

type PageOfSupervisorNamespace struct {

	// content
	Content []*SupervisorNamespace `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"`

	// 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"`
}

PageOfSupervisorNamespace PageOfSupervisorNamespace

swagger:model PageOfSupervisorNamespace

func (*PageOfSupervisorNamespace) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this page of supervisor namespace based on the context it is used

func (*PageOfSupervisorNamespace) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PageOfSupervisorNamespace) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PageOfSupervisorNamespace) Validate ¶ added in v0.4.0

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

Validate validates this page of supervisor namespace

type PageOfTagState ¶ added in v0.6.0

type PageOfTagState struct {

	// content
	Content []*TagState `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"`

	// 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"`
}

PageOfTagState PageOfTagState

swagger:model PageOfTagState

func (*PageOfTagState) ContextValidate ¶ added in v0.6.0

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

ContextValidate validate this page of tag state based on the context it is used

func (*PageOfTagState) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*PageOfTagState) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PageOfTagState) Validate ¶ added in v0.6.0

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

Validate validates this page of tag state

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 PageOfUserEvent ¶ added in v0.5.0

type PageOfUserEvent struct {

	// content
	Content []*UserEvent `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"`
}

PageOfUserEvent PageOfUserEvent

swagger:model PageOfUserEvent

func (*PageOfUserEvent) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this page of user event based on the context it is used

func (*PageOfUserEvent) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*PageOfUserEvent) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PageOfUserEvent) Validate ¶ added in v0.5.0

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

Validate validates this page of user event

type PageOfWorkspace ¶ added in v0.5.0

type PageOfWorkspace struct {

	// content
	Content []*Workspace `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"`

	// 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"`
}

PageOfWorkspace PageOfWorkspace

swagger:model PageOfWorkspace

func (*PageOfWorkspace) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this page of workspace based on the context it is used

func (*PageOfWorkspace) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*PageOfWorkspace) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PageOfWorkspace) Validate ¶ added in v0.5.0

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

Validate validates this page of workspace

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 Parameter ¶ added in v0.2.14

type Parameter struct {

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

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

	// param def
	// Enum: [QUERY BODY CONSUMES PRODUCES RESPONSE PATH]
	ParamDef string `json:"paramDef,omitempty"`

	// required
	Required bool `json:"required,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

Parameter Parameter

swagger:model Parameter

func (*Parameter) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this parameter based on context it is used

func (*Parameter) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*Parameter) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*Parameter) Validate ¶ added in v0.2.14

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

Validate validates this parameter

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"`

	// tenant links
	TenantLinks []string `json:"tenantLinks"`
}

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)

	// Indicates if the pipeline is shared with all projects in an Org.
	// Example: true
	Global() bool
	SetGlobal(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)

	// Highlights any given Input/Output properties
	// Example: {"test-output":"${Stage0.Task0.status}"}
	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)

	// Represents the configuration to be used for CI and Custom tasks.
	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)

	// Indicates if the pipeline is shared with all projects in an Org.
	// Example: true
	Global() bool
	SetGlobal(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)

	// Indicates if the pipeline is shared with all projects in an Org.
	// Example: true
	Global() bool
	SetGlobal(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)

	// Highlights any given Input/Output properties
	// Example: {"test-output":"${Stage0.Task0.status}"}
	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)

	// Represents the configuration to be used for CI and Custom tasks.
	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 struct {

	// Contains the starred input parameter
	// Example: {"input":"commitId"}
	Input string `json:"input,omitempty"`

	// Contains the starred output parameter
	// Example: {"output":"owner"}
	Output string `json:"output,omitempty"`
}

PipelineStarredProperty Pipeline$StarredProperty

swagger:model PipelineStarredProperty

func (*PipelineStarredProperty) ContextValidate ¶ added in v0.6.0

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

ContextValidate validates this pipeline starred property based on context it is used

func (*PipelineStarredProperty) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*PipelineStarredProperty) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PipelineStarredProperty) Validate ¶ added in v0.6.0

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

Validate validates this pipeline starred property

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 PlanExecutionRequest ¶ added in v0.5.0

type PlanExecutionRequest struct {

	// Link to the plan to execute.
	PlanLink string `json:"planLink,omitempty"`
}

PlanExecutionRequest plan execution request

swagger:model PlanExecutionRequest

func (*PlanExecutionRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this plan execution request based on context it is used

func (*PlanExecutionRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*PlanExecutionRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PlanExecutionRequest) Validate ¶ added in v0.5.0

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

Validate validates this plan execution request

type PlanExecutionResponse ¶ added in v0.5.0

type PlanExecutionResponse struct {

	// document self link
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// failure message
	FailureMessage string `json:"failureMessage,omitempty"`

	// plan link
	PlanLink string `json:"planLink,omitempty"`

	// task info
	TaskInfo *TaskState `json:"taskInfo,omitempty"`

	// Link to a tenant
	TenantLink string `json:"tenantLink,omitempty"`
}

PlanExecutionResponse plan execution response

swagger:model PlanExecutionResponse

func (*PlanExecutionResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this plan execution response based on the context it is used

func (*PlanExecutionResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*PlanExecutionResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*PlanExecutionResponse) Validate ¶ added in v0.5.0

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

Validate validates this plan execution response

type Policies ¶ added in v0.5.0

type Policies struct {

	// resources
	Resources *Resources `json:"resources,omitempty"`
}

Policies Policies

swagger:model Policies

func (*Policies) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this policies based on the context it is used

func (*Policies) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Policies) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Policies) Validate ¶ added in v0.5.0

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

Validate validates this policies

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 single project scope
	EnableSingleProjectScope bool `json:"enableSingleProjectScope,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 struct {

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

Principal Principal

swagger:model Principal

func (*Principal) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this principal based on context it is used

func (*Principal) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Principal) Validate ¶ added in v0.5.0

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

Validate validates this principal

type PrincipalRole ¶ added in v0.2.22

type PrincipalRole interface {
	runtime.Validatable
	runtime.ContextValidatable

	// The username of the user or display name of the group.
	//  When assigning a group, the email is expected to have the format displayName@domain.
	//  In the case where the display name in Identity provider is in the format:
	//  <li> name@domain - email should be written as name@domain@domain
	//  <li> name (and group has domain) - email should be written as name@domain
	//  <li> name (and group doesn't have domain) - email should be written as name@
	//
	// to ensure proper functioning.
	// Example: administrator@vmware.com
	// Required: true
	Email() *string
	SetEmail(*string)

	// ID of the user or id of the group in CSP
	// Example: c493a95e-c4d1-4496-8595-e73902701c95:fe69d7ca-40a6-4de5-8f33-d462f4656938
	ID() string
	SetID(string)

	// Role of this member. Currently supported 'member', 'viewer', 'administrator', 'supervisor'.
	// 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

	// List of administrator users associated with the project. Only administrators can manage project's configuration.
	// Example: [{"email":"administrator@vmware.com","type":"user"}]
	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)

	// List of member users associated with the project.
	// Example: [{"email":"member@vmware.com","type":"user"}]
	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)

	// List of supervisor users associated with the project.
	// Example: [{"email":"supervisor@vmware.com","type":"user"}]
	Supervisors() []*Principal
	SetSupervisors([]*Principal)

	// List of viewer users associated with the project.
	// Example: [{"email":"viewer@vmware.com","type":"user"}]
	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 ProjectAbout ¶ added in v0.5.0

type ProjectAbout 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() []*APIDescription
	SetSupportedApis([]*APIDescription)
}

ProjectAbout About

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

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

func UnmarshalProjectAbout ¶ added in v0.5.0

func UnmarshalProjectAbout(reader io.Reader, consumer runtime.Consumer) (ProjectAbout, error)

UnmarshalProjectAbout unmarshals polymorphic ProjectAbout

func UnmarshalProjectAboutSlice ¶ added in v0.5.0

func UnmarshalProjectAboutSlice(reader io.Reader, consumer runtime.Consumer) ([]ProjectAbout, error)

UnmarshalProjectAboutSlice unmarshals polymorphic slices of ProjectAbout

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) SetSupervisors ¶ added in v0.4.0

func (m *ProjectRoles) SetSupervisors(val PrincipalRoleAssignment)

SetSupervisors sets the supervisors 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) Supervisors ¶ added in v0.4.0

func (m *ProjectRoles) Supervisors() PrincipalRoleAssignment

Supervisors gets the supervisors 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

	// List of administrator users associated with the project. Only administrators can manage project's configuration.
	// Example: [{"email":"administrator@vmware.com","type":"user"}]
	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)

	// List of member users associated with the project.
	// Example: [{"email":"member@vmware.com","type":"user"}]
	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)

	// List of viewer users associated with the project.
	// Example: [{"email":"viewer@vmware.com","type":"user"}]
	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 single permissible default value
	DollarDynamicDefault string `json:"$dynamicDefault,omitempty"`

	// Path that can be used to retrieve permissible values
	DollarDynamicEnum string `json:"$dynamicEnum,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"`

	// 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 PropertyDescription ¶ added in v0.2.14

type PropertyDescription struct {

	// element description
	ElementDescription *PropertyDescription `json:"elementDescription,omitempty"`

	// enum values
	EnumValues []string `json:"enumValues"`

	// example value
	ExampleValue interface{} `json:"exampleValue,omitempty"`

	// field descriptions
	FieldDescriptions map[string]PropertyDescription `json:"fieldDescriptions,omitempty"`

	// indexing options
	IndexingOptions []string `json:"indexingOptions"`

	// kind
	Kind string `json:"kind,omitempty"`

	// property documentation
	PropertyDocumentation string `json:"propertyDocumentation,omitempty"`

	// type name
	// Enum: [LONG STRING BYTES PODO COLLECTION MAP BOOLEAN DOUBLE InternetAddressV4 InternetAddressV6 DATE URI ENUM]
	TypeName string `json:"typeName,omitempty"`

	// usage options
	UsageOptions []string `json:"usageOptions"`
}

PropertyDescription PropertyDescription

swagger:model PropertyDescription

func (*PropertyDescription) ContextValidate ¶ added in v0.4.0

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

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

func (*PropertyDescription) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*PropertyDescription) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*PropertyDescription) Validate ¶ added in v0.2.14

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

Validate validates this property description

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 PublicKey ¶ added in v0.4.0

type PublicKey struct {

	// algorithm
	Algorithm string `json:"algorithm,omitempty"`

	// encoded
	// Format: byte
	Encoded strfmt.Base64 `json:"encoded,omitempty"`

	// format
	Format string `json:"format,omitempty"`
}

PublicKey PublicKey

swagger:model PublicKey

func (*PublicKey) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this public key based on context it is used

func (*PublicKey) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*PublicKey) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*PublicKey) Validate ¶ added in v0.4.0

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

Validate validates this public key

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 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 Reference ¶ added in v0.5.0

type Reference struct {

	// rid
	Rid string `json:"rid,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`
}

Reference Reference

swagger:model Reference

func (*Reference) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this reference based on context it is used

func (*Reference) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Reference) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Reference) Validate ¶ added in v0.5.0

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

Validate validates this reference

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. For some cloud accounts this field will be populated with the associated cloud account id
	// 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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 USER_INTERACTION_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 Requests ¶ added in v0.5.0

type Requests struct {

	// cpu
	CPU string `json:"cpu,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`
}

Requests Requests

swagger:model Requests

func (*Requests) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this requests based on context it is used

func (*Requests) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Requests) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Requests) Validate ¶ added in v0.5.0

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

Validate validates this requests

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
	// Format: uuid
	DeploymentID strfmt.UUID `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: [DISCOVERED 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 ResourceFieldFilter ¶ added in v0.5.0

type ResourceFieldFilter struct {

	// field
	// Enum: [ID NAME STATUS REGION ADDRESS TAG ANY]
	Field string `json:"field,omitempty"`

	// values
	Values []string `json:"values"`
}

ResourceFieldFilter resource field filter

swagger:model ResourceFieldFilter

func (*ResourceFieldFilter) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this resource field filter based on context it is used

func (*ResourceFieldFilter) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*ResourceFieldFilter) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*ResourceFieldFilter) Validate ¶ added in v0.5.0

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

Validate validates this resource field filter

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 ResourceRequest ¶ added in v0.4.0

type ResourceRequest struct {

	// action input properties
	ActionInputProperties interface{} `json:"actionInputProperties,omitempty"`

	// action name
	ActionName string `json:"actionName,omitempty"`

	// allocation resource
	AllocationResource interface{} `json:"allocationResource,omitempty"`

	// callback Url
	CallbackURL string `json:"callbackUrl,omitempty"`

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

	// deployment name
	DeploymentName string `json:"deploymentName,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`

	// operation timeout seconds
	OperationTimeoutSeconds int64 `json:"operationTimeoutSeconds,omitempty"`

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

	// request Id
	RequestID string `json:"requestId,omitempty"`

	// resource link
	ResourceLink string `json:"resourceLink,omitempty"`

	// resource modified properties
	ResourceModifiedProperties interface{} `json:"resourceModifiedProperties,omitempty"`

	// resource name
	ResourceName string `json:"resourceName,omitempty"`

	// resource properties
	ResourceProperties interface{} `json:"resourceProperties,omitempty"`

	// resource request Id
	ResourceRequestID string `json:"resourceRequestId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`

	// tenant links
	TenantLinks []string `json:"tenantLinks"`
}

ResourceRequest ResourceRequest

swagger:model ResourceRequest

func (*ResourceRequest) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this resource request based on context it is used

func (*ResourceRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ResourceRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ResourceRequest) Validate ¶ added in v0.4.0

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

Validate validates this resource request

type ResourceRequestResponse ¶ added in v0.4.0

type ResourceRequestResponse struct {

	// Identifier of the requested deployment id to which the request applies to
	// Format: uuid
	DeploymentID strfmt.UUID `json:"deploymentId,omitempty"`

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

	// Request identifier
	// Format: uuid
	RequestID strfmt.UUID `json:"requestId,omitempty"`

	// Resource ID
	ResourceID string `json:"resourceId,omitempty"`
}

ResourceRequestResponse ResourceRequestResponse

Resource request response ¶

swagger:model ResourceRequestResponse

func (*ResourceRequestResponse) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this resource request response based on context it is used

func (*ResourceRequestResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ResourceRequestResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ResourceRequestResponse) Validate ¶ added in v0.4.0

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

Validate validates this resource request response

type ResourceResponse ¶ added in v0.4.0

type ResourceResponse struct {

	// failure message
	FailureMessage string `json:"failureMessage,omitempty"`

	// progress message
	ProgressMessage string `json:"progressMessage,omitempty"`

	// resource link
	ResourceLink string `json:"resourceLink,omitempty"`

	// resource properties
	ResourceProperties interface{} `json:"resourceProperties,omitempty"`

	// resource request Id
	ResourceRequestID string `json:"resourceRequestId,omitempty"`

	// status
	// Enum: [CREATED STARTED FINISHED FAILED CANCELLED UNKNOWN]
	Status string `json:"status,omitempty"`
}

ResourceResponse ResourceResponse

swagger:model ResourceResponse

func (*ResourceResponse) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this resource response based on context it is used

func (*ResourceResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ResourceResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ResourceResponse) Validate ¶ added in v0.4.0

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

Validate validates this resource response

type ResourceSpecification ¶ added in v0.4.0

type ResourceSpecification struct {

	// Resource deployment id
	DeploymentID string `json:"deploymentId,omitempty"`

	// Name of the resource
	// Required: true
	Name *string `json:"name"`

	// Resource project id
	ProjectID string `json:"projectId,omitempty"`

	// Resource properties
	Properties interface{} `json:"properties,omitempty"`

	// Type of the resource
	// Required: true
	Type *string `json:"type"`
}

ResourceSpecification ResourceSpecification

Resource spec to create resource ¶

swagger:model ResourceSpecification

func (*ResourceSpecification) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this resource specification based on context it is used

func (*ResourceSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ResourceSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ResourceSpecification) Validate ¶ added in v0.4.0

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

Validate validates this resource specification

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 Resources ¶ added in v0.5.0

type Resources struct {

	// limits
	Limits *Limits `json:"limits,omitempty"`

	// requests
	Requests *Requests `json:"requests,omitempty"`
}

Resources Resources

swagger:model Resources

func (*Resources) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this resources based on the context it is used

func (*Resources) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Resources) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Resources) Validate ¶ added in v0.5.0

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

Validate validates this resources

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 ResumeRequest ¶ added in v0.4.0

type ResumeRequest struct {

	// action name
	ActionName string `json:"actionName,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`

	// request Id
	RequestID string `json:"requestId,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`
}

ResumeRequest ResumeRequest

swagger:model ResumeRequest

func (*ResumeRequest) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this resume request based on context it is used

func (*ResumeRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ResumeRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ResumeRequest) Validate ¶ added in v0.4.0

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

Validate validates this resume request

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)

	// Project name of the rollback pipeline
	// Example: 1stProjectt
	Project() string
	SetProject(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 Route ¶ added in v0.2.14

type Route struct {

	// action
	// Enum: [GET POST PATCH PUT DELETE OPTIONS]
	Action string `json:"action,omitempty"`

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

	// handler
	Handler *Operation `json:"handler,omitempty"`

	// matcher
	Matcher *Operation `json:"matcher,omitempty"`

	// parameters
	Parameters []*Parameter `json:"parameters"`

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

	// support level
	// Enum: [NOT_SUPPORTED INTERNAL DEPRECATED PUBLIC]
	SupportLevel string `json:"supportLevel,omitempty"`
}

Route Route

swagger:model Route

func (*Route) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this route based on the context it is used

func (*Route) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*Route) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*Route) Validate ¶ added in v0.2.14

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

Validate validates this route

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
	AdditionalAuthParams map[string]string `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
	AdditionalMinionParams map[string]string `json:"additionalMinionParams,omitempty"`

	// Salt minion installer file name on the master.
	// This property is currently not being used by any SaltStack operation.
	InstallerFileName string `json:"installerFileName,omitempty"`

	// Salt master id to which the Salt minion will be connected to.
	MasterID string `json:"masterId,omitempty"`

	// Salt minion ID to be assigned to the deployed minion.
	MinionID string `json:"minionId,omitempty"`

	// Pillar environment to use when running state files.
	// Refer: https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.state.html
	PillarEnvironment string `json:"pillarEnvironment,omitempty"`

	// Salt environment to use when running state files.
	SaltEnvironment string `json:"saltEnvironment,omitempty"`

	// List of state files to run on the deployed minion.
	StateFiles []string `json:"stateFiles"`

	// Parameters required by the state file to run on the deployed minion.
	Variables map[string]string `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
	ExternalZoneID string `json:"externalZoneId,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,omitempty"`

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

	// The provisioning status of the resource. One of three provisioning statuses.
	// `PROVISIONING`: The resource is being provisioned.
	// `READY`: The resource is already provisioned.
	// `SUSPEND`: The resource is being destroyed.
	//
	ProvisioningStatus string `json:"provisioningStatus,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 ServerSentEvent ¶ added in v0.4.0

type ServerSentEvent struct {

	// completion callback
	CompletionCallback *Throwable `json:"completionCallback,omitempty"`

	// data
	Data string `json:"data,omitempty"`

	// event
	Event string `json:"event,omitempty"`

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

	// retry
	Retry int64 `json:"retry,omitempty"`
}

ServerSentEvent ServerSentEvent

swagger:model ServerSentEvent

func (*ServerSentEvent) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this server sent event based on the context it is used

func (*ServerSentEvent) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*ServerSentEvent) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*ServerSentEvent) Validate ¶ added in v0.4.0

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

Validate validates this server sent event

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 ServiceDocumentDescription ¶ added in v0.2.14

type ServiceDocumentDescription struct {

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

	// document indexing options
	DocumentIndexingOptions []string `json:"documentIndexingOptions"`

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

	// property descriptions
	PropertyDescriptions map[string]PropertyDescription `json:"propertyDescriptions,omitempty"`

	// serialized state size limit
	SerializedStateSizeLimit int32 `json:"serializedStateSizeLimit,omitempty"`

	// service capabilities
	ServiceCapabilities []string `json:"serviceCapabilities"`

	// service request routes
	ServiceRequestRoutes map[string][]Route `json:"serviceRequestRoutes,omitempty"`

	// user interface resource path
	UserInterfaceResourcePath string `json:"userInterfaceResourcePath,omitempty"`

	// version retention floor
	VersionRetentionFloor int64 `json:"versionRetentionFloor,omitempty"`

	// version retention limit
	VersionRetentionLimit int64 `json:"versionRetentionLimit,omitempty"`
}

ServiceDocumentDescription ServiceDocumentDescription

swagger:model ServiceDocumentDescription

func (*ServiceDocumentDescription) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this service document description based on the context it is used

func (*ServiceDocumentDescription) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*ServiceDocumentDescription) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*ServiceDocumentDescription) Validate ¶ added in v0.2.14

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

Validate validates this service document description

type ServiceDocumentQueryResult ¶ added in v0.5.0

type ServiceDocumentQueryResult struct {

	// document count
	DocumentCount int64 `json:"documentCount,omitempty"`

	// document links
	DocumentLinks []string `json:"documentLinks"`

	// documents
	Documents map[string]string `json:"documents,omitempty"`

	// next page link
	NextPageLink string `json:"nextPageLink,omitempty"`

	// next page links per group
	NextPageLinksPerGroup map[string]string `json:"nextPageLinksPerGroup,omitempty"`

	// prev page link
	PrevPageLink string `json:"prevPageLink,omitempty"`

	// selected documents
	SelectedDocuments map[string]string `json:"selectedDocuments,omitempty"`

	// selected links
	SelectedLinks []string `json:"selectedLinks"`

	// selected links per document
	SelectedLinksPerDocument map[string]string `json:"selectedLinksPerDocument,omitempty"`
}

ServiceDocumentQueryResult service document query result

swagger:model ServiceDocumentQueryResult

func (*ServiceDocumentQueryResult) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this service document query result based on context it is used

func (*ServiceDocumentQueryResult) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*ServiceDocumentQueryResult) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*ServiceDocumentQueryResult) Validate ¶ added in v0.5.0

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

Validate validates this service document query result

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"`

	// stack trace
	StackTrace []string `json:"stackTrace"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`
}

ServiceErrorResponse ServiceErrorResponse

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 SocketContext ¶ added in v0.4.0

type SocketContext struct {

	// last use time micros
	LastUseTimeMicros int64 `json:"lastUseTimeMicros,omitempty"`
}

SocketContext SocketContext

swagger:model SocketContext

func (*SocketContext) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this socket context based on context it is used

func (*SocketContext) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SocketContext) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SocketContext) Validate ¶ added in v0.4.0

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

Validate validates this socket context

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 StackTraceElement ¶ added in v0.2.14

type StackTraceElement struct {

	// class loader name
	ClassLoaderName string `json:"classLoaderName,omitempty"`

	// file name
	FileName string `json:"fileName,omitempty"`

	// line number
	LineNumber int32 `json:"lineNumber,omitempty"`

	// method name
	MethodName string `json:"methodName,omitempty"`

	// module name
	ModuleName string `json:"moduleName,omitempty"`

	// module version
	ModuleVersion string `json:"moduleVersion,omitempty"`
}

StackTraceElement StackTraceElement

swagger:model StackTraceElement

func (*StackTraceElement) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this stack trace element based on context it is used

func (*StackTraceElement) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*StackTraceElement) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*StackTraceElement) Validate ¶ added in v0.2.14

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

Validate validates this stack trace element

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 StoragePolicy ¶ added in v0.6.0

type StoragePolicy struct {

	// kubernetes Id
	KubernetesID string `json:"kubernetesId,omitempty"`
}

StoragePolicy StoragePolicy

swagger:model StoragePolicy

func (*StoragePolicy) ContextValidate ¶ added in v0.6.0

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

ContextValidate validates this storage policy based on context it is used

func (*StoragePolicy) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*StoragePolicy) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*StoragePolicy) Validate ¶ added in v0.6.0

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

Validate validates this storage policy

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 StorageProfileGcpResult ¶ added in v0.4.0

type StorageProfileGcpResult struct {

	// List of content items
	// Read Only: true
	Content []*GcpStorageProfile `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"`
}

StorageProfileGcpResult State object representing a query result of Gcp storage profiles.

swagger:model StorageProfileGcpResult

func (*StorageProfileGcpResult) ContextValidate ¶ added in v0.4.0

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

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

func (*StorageProfileGcpResult) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*StorageProfileGcpResult) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*StorageProfileGcpResult) Validate ¶ added in v0.4.0

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

Validate validates this storage profile gcp result

type StorageProfileGcpSpecification ¶ added in v0.4.0

type StorageProfileGcpSpecification 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"`

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

	// Indicates the type of disk.
	// Example: pd-standard / pd-ssd
	// Required: true
	PersistentDiskType *string `json:"persistentDiskType"`

	// 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"`
}

StorageProfileGcpSpecification Represents a specification of GCP storage profile.

swagger:model StorageProfileGcpSpecification

func (*StorageProfileGcpSpecification) ContextValidate ¶ added in v0.4.0

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

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

func (*StorageProfileGcpSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*StorageProfileGcpSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*StorageProfileGcpSpecification) Validate ¶ added in v0.4.0

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

Validate validates this storage profile gcp 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 StorageSpec ¶ added in v0.4.0

type StorageSpec struct {

	// desc
	Desc string `json:"desc,omitempty"`

	// document self link
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

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

	// limit
	Limit int64 `json:"limit,omitempty"`

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

StorageSpec StorageSpec

swagger:model StorageSpec

func (*StorageSpec) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this storage spec based on context it is used

func (*StorageSpec) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*StorageSpec) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*StorageSpec) Validate ¶ added in v0.4.0

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

Validate validates this storage spec

type StreamingResponseBody ¶ added in v0.2.21

type StreamingResponseBody interface{}

StreamingResponseBody StreamingResponseBody

swagger:model StreamingResponseBody

type SupervisorCluster ¶ added in v0.4.0

type SupervisorCluster struct {

	// address
	Address string `json:"address,omitempty"`

	// cpu capacity
	CPUCapacity int64 `json:"cpuCapacity,omitempty"`

	// cpu used
	CPUUsed int64 `json:"cpuUsed,omitempty"`

	// document self link
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// endpoint link
	EndpointLink string `json:"endpointLink,omitempty"`

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

	// memory capacity
	MemoryCapacity int64 `json:"memoryCapacity,omitempty"`

	// memory used
	MemoryUsed int64 `json:"memoryUsed,omitempty"`

	// moref
	Moref string `json:"moref,omitempty"`

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

	// registered
	Registered bool `json:"registered,omitempty"`

	// software version
	SoftwareVersion string `json:"softwareVersion,omitempty"`

	// status
	// Enum: [ON CONFIGURING REMOVING ERROR]
	Status string `json:"status,omitempty"`

	// status message
	StatusMessage string `json:"statusMessage,omitempty"`

	// storage capacity
	StorageCapacity int64 `json:"storageCapacity,omitempty"`

	// storage used
	StorageUsed int64 `json:"storageUsed,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

SupervisorCluster SupervisorCluster

swagger:model SupervisorCluster

func (*SupervisorCluster) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this supervisor cluster based on context it is used

func (*SupervisorCluster) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorCluster) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorCluster) Validate ¶ added in v0.4.0

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

Validate validates this supervisor cluster

type SupervisorClusterAssignment ¶ added in v0.4.0

type SupervisorClusterAssignment struct {

	// cluster self link Id
	ClusterSelfLinkID string `json:"clusterSelfLinkId,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// tag links
	TagLinks []string `json:"tagLinks"`

	// tags
	Tags []*TagState `json:"tags"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

SupervisorClusterAssignment SupervisorClusterAssignment

swagger:model SupervisorClusterAssignment

func (*SupervisorClusterAssignment) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this supervisor cluster assignment based on the context it is used

func (*SupervisorClusterAssignment) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorClusterAssignment) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorClusterAssignment) Validate ¶ added in v0.4.0

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

Validate validates this supervisor cluster assignment

type SupervisorNamespace ¶ added in v0.4.0

type SupervisorNamespace struct {

	// address
	Address string `json:"address,omitempty"`

	// cluster
	Cluster string `json:"cluster,omitempty"`

	// cpu used
	CPUUsed int64 `json:"cpuUsed,omitempty"`

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// custom properties
	CustomProperties map[string]string `json:"customProperties,omitempty"`

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

	// document self link
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// edit groups
	EditGroups string `json:"editGroups,omitempty"`

	// edit users
	EditUsers string `json:"editUsers,omitempty"`

	// endpoint link
	EndpointLink string `json:"endpointLink,omitempty"`

	// external link
	ExternalLink string `json:"externalLink,omitempty"`

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

	// installer Id
	// Format: uuid
	InstallerID strfmt.UUID `json:"installerId,omitempty"`

	// memory used
	MemoryUsed int64 `json:"memoryUsed,omitempty"`

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

	// owner
	Owner string `json:"owner,omitempty"`

	// owner groups
	OwnerGroups string `json:"ownerGroups,omitempty"`

	// owner users
	OwnerUsers string `json:"ownerUsers,omitempty"`

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

	// registered
	Registered bool `json:"registered,omitempty"`

	// resource quotas
	ResourceQuotas []*SupervisorNamespaceQuota `json:"resourceQuotas"`

	// self link Id
	SelfLinkID string `json:"selfLinkId,omitempty"`

	// status
	// Enum: [READY ALLOCATED ERROR REMOVING]
	Status string `json:"status,omitempty"`

	// status message
	StatusMessage string `json:"statusMessage,omitempty"`

	// storage policies
	StoragePolicies []*StorageSpec `json:"storagePolicies"`

	// storage used
	StorageUsed int64 `json:"storageUsed,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`

	// view groups
	ViewGroups string `json:"viewGroups,omitempty"`

	// view users
	ViewUsers string `json:"viewUsers,omitempty"`
}

SupervisorNamespace SupervisorNamespace

swagger:model SupervisorNamespace

func (*SupervisorNamespace) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this supervisor namespace based on the context it is used

func (*SupervisorNamespace) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespace) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespace) Validate ¶ added in v0.4.0

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

Validate validates this supervisor namespace

type SupervisorNamespaceAssignment ¶ added in v0.4.0

type SupervisorNamespaceAssignment struct {

	// created millis
	CreatedMillis int64 `json:"createdMillis,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// namespace self link Id
	NamespaceSelfLinkID string `json:"namespaceSelfLinkId,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// tag links
	TagLinks []string `json:"tagLinks"`

	// tags
	Tags []*TagState `json:"tags"`

	// updated millis
	UpdatedMillis int64 `json:"updatedMillis,omitempty"`
}

SupervisorNamespaceAssignment SupervisorNamespaceAssignment

swagger:model SupervisorNamespaceAssignment

func (*SupervisorNamespaceAssignment) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this supervisor namespace assignment based on the context it is used

func (*SupervisorNamespaceAssignment) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespaceAssignment) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespaceAssignment) Validate ¶ added in v0.4.0

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

Validate validates this supervisor namespace assignment

type SupervisorNamespaceCreateDTO ¶ added in v0.4.0

type SupervisorNamespaceCreateDTO struct {

	// cluster
	Cluster string `json:"cluster,omitempty"`

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

	// endpoint Id
	EndpointID string `json:"endpointId,omitempty"`

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

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

	// storage policies
	StoragePolicies []*StorageSpec `json:"storagePolicies"`
}

SupervisorNamespaceCreateDTO SupervisorNamespaceCreateDTO

swagger:model SupervisorNamespaceCreateDTO

func (*SupervisorNamespaceCreateDTO) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this supervisor namespace create d t o based on the context it is used

func (*SupervisorNamespaceCreateDTO) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespaceCreateDTO) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespaceCreateDTO) Validate ¶ added in v0.4.0

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

Validate validates this supervisor namespace create d t o

type SupervisorNamespaceQuota ¶ added in v0.4.0

type SupervisorNamespaceQuota struct {

	// definition
	Definition int64 `json:"definition,omitempty"`

	// resource
	Resource string `json:"resource,omitempty"`
}

SupervisorNamespaceQuota SupervisorNamespaceQuota

swagger:model SupervisorNamespaceQuota

func (*SupervisorNamespaceQuota) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this supervisor namespace quota based on context it is used

func (*SupervisorNamespaceQuota) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespaceQuota) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespaceQuota) Validate ¶ added in v0.4.0

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

Validate validates this supervisor namespace quota

type SupervisorNamespaceSyncRequestDTO ¶ added in v0.4.0

type SupervisorNamespaceSyncRequestDTO struct {

	// edit groups
	EditGroups string `json:"editGroups,omitempty"`

	// edit users
	EditUsers string `json:"editUsers,omitempty"`

	// owner groups
	OwnerGroups string `json:"ownerGroups,omitempty"`

	// owner users
	OwnerUsers string `json:"ownerUsers,omitempty"`

	// view groups
	ViewGroups string `json:"viewGroups,omitempty"`

	// view users
	ViewUsers string `json:"viewUsers,omitempty"`
}

SupervisorNamespaceSyncRequestDTO SupervisorNamespaceSyncRequestDTO

swagger:model SupervisorNamespaceSyncRequestDTO

func (*SupervisorNamespaceSyncRequestDTO) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this supervisor namespace sync request d t o based on context it is used

func (*SupervisorNamespaceSyncRequestDTO) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespaceSyncRequestDTO) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespaceSyncRequestDTO) Validate ¶ added in v0.4.0

Validate validates this supervisor namespace sync request d t o

type SupervisorNamespaceSyncResponseDTO ¶ added in v0.4.0

type SupervisorNamespaceSyncResponseDTO struct {

	// message
	Message string `json:"message,omitempty"`

	// operation tracker link
	OperationTrackerLink string `json:"operationTrackerLink,omitempty"`

	// status
	// Enum: [IN_PROGRESS COMPLETED FAILED]
	Status string `json:"status,omitempty"`
}

SupervisorNamespaceSyncResponseDTO SupervisorNamespaceSyncResponseDTO

swagger:model SupervisorNamespaceSyncResponseDTO

func (*SupervisorNamespaceSyncResponseDTO) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this supervisor namespace sync response d t o based on context it is used

func (*SupervisorNamespaceSyncResponseDTO) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespaceSyncResponseDTO) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespaceSyncResponseDTO) Validate ¶ added in v0.4.0

Validate validates this supervisor namespace sync response d t o

type SupervisorNamespaceUpdateDTO ¶ added in v0.4.0

type SupervisorNamespaceUpdateDTO struct {

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

	// resource quotas
	ResourceQuotas []*SupervisorNamespaceQuota `json:"resourceQuotas"`

	// storage policies
	StoragePolicies []*StorageSpec `json:"storagePolicies"`
}

SupervisorNamespaceUpdateDTO SupervisorNamespaceUpdateDTO

swagger:model SupervisorNamespaceUpdateDTO

func (*SupervisorNamespaceUpdateDTO) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this supervisor namespace update d t o based on the context it is used

func (*SupervisorNamespaceUpdateDTO) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*SupervisorNamespaceUpdateDTO) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*SupervisorNamespaceUpdateDTO) Validate ¶ added in v0.4.0

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

Validate validates this supervisor namespace update d t o

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 TMCEndpointConfigRequest ¶ added in v0.5.0

type TMCEndpointConfigRequest struct {

	// custom properties
	CustomProperties *CustomProperties `json:"customProperties,omitempty"`

	// endpoint properties
	EndpointProperties *TMCEndpointProperties `json:"endpointProperties,omitempty"`

	// endpoint type
	EndpointType string `json:"endpointType,omitempty"`

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

	// request type
	RequestType string `json:"requestType,omitempty"`

	// resource reference
	ResourceReference string `json:"resourceReference,omitempty"`

	// task reference
	TaskReference string `json:"taskReference,omitempty"`
}

TMCEndpointConfigRequest TMCEndpointConfigRequest

swagger:model TMCEndpointConfigRequest

func (*TMCEndpointConfigRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this t m c endpoint config request based on the context it is used

func (*TMCEndpointConfigRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*TMCEndpointConfigRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*TMCEndpointConfigRequest) Validate ¶ added in v0.5.0

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

Validate validates this t m c endpoint config request

type TMCEndpointProperties ¶ added in v0.5.0

type TMCEndpointProperties struct {

	// agent Id
	AgentID string `json:"agentId,omitempty"`

	// api endpoint
	APIEndpoint string `json:"apiEndpoint,omitempty"`

	// api token
	APIToken string `json:"apiToken,omitempty"`

	// ca certificate
	CaCertificate string `json:"caCertificate,omitempty"`

	// certificate
	Certificate string `json:"certificate,omitempty"`

	// credentials type
	CredentialsType string `json:"credentialsType,omitempty"`

	// dc Id
	DcID string `json:"dcId,omitempty"`

	// default cluster group name
	DefaultClusterGroupName string `json:"defaultClusterGroupName,omitempty"`

	// default workspace name
	DefaultWorkspaceName string `json:"defaultWorkspaceName,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// private key Id
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`

	// skip cert validation
	SkipCertValidation bool `json:"skipCertValidation,omitempty"`

	// user email
	UserEmail string `json:"userEmail,omitempty"`
}

TMCEndpointProperties TMCEndpointProperties

swagger:model TMCEndpointProperties

func (*TMCEndpointProperties) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this t m c endpoint properties based on context it is used

func (*TMCEndpointProperties) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*TMCEndpointProperties) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*TMCEndpointProperties) Validate ¶ added in v0.5.0

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

Validate validates this t m c endpoint properties

type TMCRequestTracker ¶ added in v0.5.0

type TMCRequestTracker struct {

	// api endpoint
	APIEndpoint string `json:"apiEndpoint,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// org Id
	OrgID string `json:"orgId,omitempty"`
}

TMCRequestTracker TMCRequestTracker

swagger:model TMCRequestTracker

func (*TMCRequestTracker) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this t m c request tracker based on context it is used

func (*TMCRequestTracker) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*TMCRequestTracker) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*TMCRequestTracker) Validate ¶ added in v0.5.0

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

Validate validates this t m c request tracker

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 TagState ¶ added in v0.4.0

type TagState struct {

	// deleted
	Deleted bool `json:"deleted,omitempty"`

	// document auth principal link
	DocumentAuthPrincipalLink string `json:"documentAuthPrincipalLink,omitempty"`

	// document description
	DocumentDescription *ServiceDocumentDescription `json:"documentDescription,omitempty"`

	// document epoch
	DocumentEpoch int64 `json:"documentEpoch,omitempty"`

	// document expiration time micros
	DocumentExpirationTimeMicros int64 `json:"documentExpirationTimeMicros,omitempty"`

	// document kind
	DocumentKind string `json:"documentKind,omitempty"`

	// document owner
	DocumentOwner string `json:"documentOwner,omitempty"`

	// document self link
	DocumentSelfLink string `json:"documentSelfLink,omitempty"`

	// document source link
	DocumentSourceLink string `json:"documentSourceLink,omitempty"`

	// document transaction Id
	DocumentTransactionID string `json:"documentTransactionId,omitempty"`

	// document update action
	DocumentUpdateAction string `json:"documentUpdateAction,omitempty"`

	// document update time micros
	DocumentUpdateTimeMicros int64 `json:"documentUpdateTimeMicros,omitempty"`

	// document version
	DocumentVersion int64 `json:"documentVersion,omitempty"`

	// external
	External bool `json:"external,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// msp auth link
	MspAuthLink string `json:"mspAuthLink,omitempty"`

	// org auth link
	OrgAuthLink string `json:"orgAuthLink,omitempty"`

	// origins
	Origins []string `json:"origins"`

	// owner auth link
	OwnerAuthLink string `json:"ownerAuthLink,omitempty"`

	// project auth link
	ProjectAuthLink string `json:"projectAuthLink,omitempty"`

	// tenant links
	TenantLinks []string `json:"tenantLinks"`

	// value
	Value string `json:"value,omitempty"`
}

TagState TagState

swagger:model TagState

func (*TagState) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this tag state based on the context it is used

func (*TagState) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*TagState) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*TagState) Validate ¶ added in v0.4.0

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

Validate validates this tag state

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 TaskState ¶ added in v0.5.0

type TaskState struct {

	// duration micros
	DurationMicros int64 `json:"durationMicros,omitempty"`

	// failure
	Failure *ServiceErrorResponse `json:"failure,omitempty"`

	// is direct
	IsDirect bool `json:"isDirect,omitempty"`

	// stage
	// Enum: [CREATED STARTED FINISHED FAILED CANCELLED]
	Stage string `json:"stage,omitempty"`
}

TaskState task state

swagger:model TaskState

func (*TaskState) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this task state based on the context it is used

func (*TaskState) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*TaskState) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*TaskState) Validate ¶ added in v0.5.0

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

Validate validates this task state

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 {

	// The type of authentication for the download url
	// Enum: [NONE BASIC]
	AuthenticationType string `json:"authenticationType,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"`

	// 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 password for basic authentication
	Password string `json:"password,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 user name for basic authentication
	Username string `json:"username,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 Throwable ¶ added in v0.2.14

type Throwable struct {

	// cause
	Cause *Throwable `json:"cause,omitempty"`

	// stack trace
	StackTrace []*StackTraceElement `json:"stackTrace"`
}

Throwable Throwable

swagger:model Throwable

func (*Throwable) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this throwable based on the context it is used

func (*Throwable) MarshalBinary ¶ added in v0.2.14

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

MarshalBinary interface implementation

func (*Throwable) UnmarshalBinary ¶ added in v0.2.14

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

UnmarshalBinary interface implementation

func (*Throwable) Validate ¶ added in v0.2.14

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

Validate validates this throwable

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 Type ¶ added in v0.5.0

type Type struct {

	// kind
	Kind string `json:"kind,omitempty"`

	// package
	Package string `json:"package,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

Type Type

swagger:model Type

func (*Type) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this type based on context it is used

func (*Type) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Type) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Type) Validate ¶ added in v0.5.0

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

Validate validates this type

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 UnmanagedMachineQueryServiceRequest ¶ added in v0.5.0

type UnmanagedMachineQueryServiceRequest struct {

	// expand fields
	ExpandFields []string `json:"expandFields"`

	// filters
	Filters []*ResourceFieldFilter `json:"filters"`

	// next page link
	NextPageLink string `json:"nextPageLink,omitempty"`

	// option exclude plan machines
	OptionExcludePlanMachines bool `json:"optionExcludePlanMachines,omitempty"`

	// option include only plan machines
	OptionIncludeOnlyPlanMachines bool `json:"optionIncludeOnlyPlanMachines,omitempty"`

	// page result limit
	PageResultLimit int64 `json:"pageResultLimit,omitempty"`

	// plan link
	PlanLink string `json:"planLink,omitempty"`
}

UnmanagedMachineQueryServiceRequest unmanaged machine query service request

swagger:model UnmanagedMachineQueryServiceRequest

func (*UnmanagedMachineQueryServiceRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this unmanaged machine query service request based on the context it is used

func (*UnmanagedMachineQueryServiceRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*UnmanagedMachineQueryServiceRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*UnmanagedMachineQueryServiceRequest) Validate ¶ added in v0.5.0

Validate validates this unmanaged machine query service request

type UnregisterMachineRequest ¶ added in v0.5.0

type UnregisterMachineRequest struct {

	// A link to the onboarded machine to unregister from Cloud Assembly.
	ResourceLink string `json:"resourceLink,omitempty"`
}

UnregisterMachineRequest unregister machine request

swagger:model UnregisterMachineRequest

func (*UnregisterMachineRequest) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this unregister machine request based on context it is used

func (*UnregisterMachineRequest) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*UnregisterMachineRequest) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*UnregisterMachineRequest) Validate ¶ added in v0.5.0

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

Validate validates this unregister machine request

type UnregisterMachineResponse ¶ added in v0.5.0

type UnregisterMachineResponse struct {

	// A link to the unregistered machine.
	ResourceLink string `json:"resourceLink,omitempty"`
}

UnregisterMachineResponse unregister machine response

swagger:model UnregisterMachineResponse

func (*UnregisterMachineResponse) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this unregister machine response based on context it is used

func (*UnregisterMachineResponse) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*UnregisterMachineResponse) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*UnregisterMachineResponse) Validate ¶ added in v0.5.0

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

Validate validates this unregister machine response

type UpdateCloudAccountAwsSpecification ¶

type UpdateCloudAccountAwsSpecification 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.
	Name string `json:"name,omitempty"`

	// A set of regions to enable provisioning on.Refer to /iaas/api/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"`
}

UpdateCloudAccountAwsSpecification 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 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 {

	// 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.
	Name string `json:"name,omitempty"`

	// A set of regions to enable provisioning on.Refer to /iaas/api/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"`
}

UpdateCloudAccountAzureSpecification 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 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 {

	// 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.
	Name string `json:"name,omitempty"`

	// 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 regions to enable provisioning on.Refer to /iaas/api/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 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 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 {

	// 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"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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 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"`

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

	// 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"`
}

UpdateCloudAccountNsxTSpecification 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 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 {

	// 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"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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 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.
	Name string `json:"name,omitempty"`

	// 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"`
}

UpdateCloudAccountNsxVSpecification 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 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"`

	// Cloud Account IDs and directionalities create associations to other vSphere cloud accounts that can be used for workload mobility. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional. Only supported on vSphere cloud accounts.
	// Example: { \"42f3e0d199d134755684cd935435a\": \"BIDIRECTIONAL\" }
	AssociatedMobilityCloudAccountIds map[string]string `json:"associatedMobilityCloudAccountIds,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Cloud Account specific properties supplied in as name value pairs
	// Example: {\"supportPublicImages\": \"true\", \"acceptSelfSignedCertificate\": \"true\" }
	CloudAccountProperties map[string]string `json:"cloudAccountProperties,omitempty"`

	// 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. In case of AAP, provide environment property here.Example: "customProperties": {
	//         "environment": "aap"
	//     }
	// 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. In case of AAP pass a dummy value.
	// 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 regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
	// 'regionInfos' 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 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 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 {

	// Accept self signed certificate when connecting to vSphere and NSX-T
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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.
	Name string `json:"name,omitempty"`

	// 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 regions to enable provisioning on.Refer to /iaas/api/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"`
}

UpdateCloudAccountVcfSpecification 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 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 {

	// Accept self signed certificate when connecting to vSphere
	// Example: false
	AcceptSelfSignedCertificate bool `json:"acceptSelfSignedCertificate,omitempty"`

	// VMC API access key. Optional when updating.
	APIKey string `json:"apiKey,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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. Not mandatory for AAP mode.
	// Example: 23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4
	// Required: true
	DcID *string `json:"dcId"`

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

	// The environment where the agent has been deployed. When the agent has been deployed using the "Add Ons" in VMC UI or Api use "aap".
	// Example: aap
	Environment string `json:"environment,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.
	Name string `json:"name,omitempty"`

	// 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. Not mandatory for AAP mode.
	// Example: cndhjslacd90ascdbasyoucbdh
	// Required: true
	Password *string `json:"password"`

	// A set of regions to enable provisioning on.Refer to /iaas/api/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
	// Required: true
	SddcID *string `json:"sddcId"`

	// 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. Not mandatory for AAP mode.
	// Example: administrator@mycompany.com
	// Required: true
	Username *string `json:"username"`
}

UpdateCloudAccountVmcSpecification 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 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 {

	// 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"`

	// Cloud account IDs and directionalities create associations to other vSphere cloud accounts that can be used for workload mobility. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional.
	// Example: { \"42f3e0d199d134755684cd935435a\": \"BIDIRECTIONAL\" }
	AssociatedMobilityCloudAccountIds map[string]string `json:"associatedMobilityCloudAccountIds,omitempty"`

	// Certificate for a cloud account.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,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"`

	// The environment where data collectors are deployed. When the data collectors are deployed on an aap-based cloud gateway appliance, use "aap".
	// Example: aap
	Environment string `json:"environment,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.
	Name string `json:"name,omitempty"`

	// Password for the user used to authenticate with the cloud Account. Not required when environment is set to aap.
	// Example: cndhjslacd90ascdbasyoucbdh
	Password string `json:"password,omitempty"`

	// A set of regions to enable provisioning on.Refer to /iaas/api/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. Not required when environment is set to aap.
	// Example: administrator@mycompany.com
	Username string `json:"username,omitempty"`
}

UpdateCloudAccountVsphereSpecification 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 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 {

	// A list of fabric network Ids that this IP range should be associated with.
	// Unique: true
	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.
	Name string `json:"name,omitempty"`
}

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.
	Name string `json:"name,omitempty"`
}

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 UpdateIntegrationSpecification ¶ added in v0.4.0

type UpdateIntegrationSpecification struct {

	// Cloud accounts to associate with this integration
	// Example: [ \"42f3e0d199d134755684cd935435a\" ]
	AssociatedCloudAccountIds []string `json:"associatedCloudAccountIds"`

	// Certificate for an integration.
	// Example: {\"certificate\": \"-----BEGIN CERTIFICATE-----\\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\\n-----END CERTIFICATE-----\\n-\"}
	CertificateInfo *CertificateInfoSpecification `json:"certificateInfo,omitempty"`

	// Additional custom properties that may be used to extend the Integration.
	// Example: { \"sampleadapterProjectId\" : \"projectId\" }
	CustomProperties map[string]string `json:"customProperties,omitempty"`

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

	// Integration specific properties supplied in as name value pairs
	// Example: { \"providerId\" : \"providerID\" }
	IntegrationProperties map[string]string `json:"integrationProperties,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 integration
	// Example: gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS
	PrivateKey string `json:"privateKey,omitempty"`

	// Access key id or username to be used to authenticate with the integration
	// Example: ACDC55DB4MFH6ADG75KK
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// A set of tag keys and optional values to set on the Integration
	// Example: [ { \"key\" : \"env\", \"value\": \"dev\" } ]
	Tags []*Tag `json:"tags"`
}

UpdateIntegrationSpecification Specification for creating a generic integration.<br><br>Integration represents external system added to vRealize Automation and is identified by a type and specific properties.

swagger:model UpdateIntegrationSpecification

func (*UpdateIntegrationSpecification) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this update integration specification based on the context it is used

func (*UpdateIntegrationSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*UpdateIntegrationSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*UpdateIntegrationSpecification) Validate ¶ added in v0.4.0

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

Validate validates this update integration specification

type UpdateMachineSpecification ¶

type UpdateMachineSpecification struct {

	// A valid cloud config data in json-escaped yaml syntax
	BootConfig *MachineBootConfig `json:"bootConfig,omitempty"`

	// Additional custom properties that may be used to extend the machine. Internal custom properties (for example, prefixed with: "__") are discarded.
	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 UpdateNetworkInterfaceSpecification ¶ added in v0.4.0

type UpdateNetworkInterfaceSpecification struct {

	// Set IPv4 address for the machine network interface. The change will not propagate to cloud endpoint for provisioned machines.
	Address string `json:"address,omitempty"`

	// 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 the network interface of the machine within the scope of your organization and is not propagated to the cloud
	Description string `json:"description,omitempty"`

	// Network interface name used during machine network interface provisioning. This property only takes effect if it is set before machine provisioning starts. The change will not propagate to cloud endpoint for provisioned machines.
	Name string `json:"name,omitempty"`
}

UpdateNetworkInterfaceSpecification update network interface specification

swagger:model UpdateNetworkInterfaceSpecification

func (*UpdateNetworkInterfaceSpecification) ContextValidate ¶ added in v0.4.0

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

ContextValidate validates this update network interface specification based on context it is used

func (*UpdateNetworkInterfaceSpecification) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*UpdateNetworkInterfaceSpecification) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*UpdateNetworkInterfaceSpecification) Validate ¶ added in v0.4.0

Validate validates this update network interface 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 UserEvent ¶ added in v0.5.0

type UserEvent struct {

	// Time at which the event was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Details of the user event. If the event is a user interaction the details contain the vRO Manual User Interaction ID.
	Details string `json:"details,omitempty"`

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

	// User event inputs. If user event is a user interaction the inputs form can be retrieved from Orchestrator Gateway API /vro/forms/user-interaction/{userInteractionId}
	Inputs interface{} `json:"inputs,omitempty"`

	// Short user-friendly label of the event
	// Required: true
	Name *string `json:"name"`

	// User event outputs
	Outputs interface{} `json:"outputs,omitempty"`

	// Request id
	// Required: true
	// Format: uuid
	RequestID *strfmt.UUID `json:"requestId"`

	// User that initiated the event
	// Required: true
	RequestedBy *string `json:"requestedBy"`

	// Resource id
	// Required: true
	ResourceIds []strfmt.UUID `json:"resourceIds"`

	// User event status.
	// Required: true
	// Enum: [SUCCESSFUL FAILED PENDING]
	Status *string `json:"status"`

	// Time at which the event was updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

UserEvent UserEvent

Represents events which require user input.

swagger:model UserEvent

func (*UserEvent) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this user event based on context it is used

func (*UserEvent) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*UserEvent) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*UserEvent) Validate ¶ added in v0.5.0

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

Validate validates this user event

type UserExperiencesResponse ¶ added in v0.6.0

type UserExperiencesResponse interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Specifies if all services have responded or not
	CompleteResponse() bool
	SetCompleteResponse(bool)

	// Set of available User experiences
	UserExperiences() []string
	SetUserExperiences([]string)
}

UserExperiencesResponse UserExperiencesResponse

Project callback response containing set of user experiences that needs to be activated ¶

swagger:discriminator UserExperiencesResponse Project callback response containing set of user experiences that needs to be activated

func UnmarshalUserExperiencesResponse ¶ added in v0.6.0

func UnmarshalUserExperiencesResponse(reader io.Reader, consumer runtime.Consumer) (UserExperiencesResponse, error)

UnmarshalUserExperiencesResponse unmarshals polymorphic UserExperiencesResponse

func UnmarshalUserExperiencesResponseSlice ¶ added in v0.6.0

func UnmarshalUserExperiencesResponseSlice(reader io.Reader, consumer runtime.Consumer) ([]UserExperiencesResponse, error)

UnmarshalUserExperiencesResponseSlice unmarshals polymorphic slices of UserExperiencesResponse

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 Version ¶ added in v0.5.0

type Version struct {

	// darwin x64
	DarwinX64 string `json:"darwinX64,omitempty"`

	// linux x64
	LinuxX64 string `json:"linuxX64,omitempty"`

	// windows x64
	WindowsX64 string `json:"windowsX64,omitempty"`
}

Version Version

swagger:model Version

func (*Version) ContextValidate ¶ added in v0.5.0

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

ContextValidate validates this version based on context it is used

func (*Version) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Version) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Version) Validate ¶ added in v0.5.0

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

Validate validates this version

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 VirtualMachineClass ¶ added in v0.5.0

type VirtualMachineClass struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *ObjectMeta `json:"metadata,omitempty"`

	// spec
	Spec *VirtualMachineClassSpec `json:"spec,omitempty"`
}

VirtualMachineClass VirtualMachineClass

swagger:model VirtualMachineClass

func (*VirtualMachineClass) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this virtual machine class based on the context it is used

func (*VirtualMachineClass) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*VirtualMachineClass) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*VirtualMachineClass) Validate ¶ added in v0.5.0

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

Validate validates this virtual machine class

type VirtualMachineClassSpec ¶ added in v0.5.0

type VirtualMachineClassSpec struct {

	// hardware
	Hardware *Hardware `json:"hardware,omitempty"`

	// policies
	Policies *Policies `json:"policies,omitempty"`
}

VirtualMachineClassSpec VirtualMachineClassSpec

swagger:model VirtualMachineClassSpec

func (*VirtualMachineClassSpec) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this virtual machine class spec based on the context it is used

func (*VirtualMachineClassSpec) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*VirtualMachineClassSpec) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*VirtualMachineClassSpec) Validate ¶ added in v0.5.0

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

Validate validates this virtual machine class spec

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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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 WebhookEnablePatch ¶ added in v0.5.0

type WebhookEnablePatch interface {
	runtime.Validatable
	runtime.ContextValidatable

	// Indicates whether Git/Docker webhook is enabled or not.
	// Example: true
	Enabled() bool
	SetEnabled(bool)
}

WebhookEnablePatch WebhookEnablePatch

Git/Docker Registry Webhook Patch details.

swagger:discriminator WebhookEnablePatch Git/Docker Registry Webhook Patch details.

func UnmarshalWebhookEnablePatch ¶ added in v0.5.0

func UnmarshalWebhookEnablePatch(reader io.Reader, consumer runtime.Consumer) (WebhookEnablePatch, error)

UnmarshalWebhookEnablePatch unmarshals polymorphic WebhookEnablePatch

func UnmarshalWebhookEnablePatchSlice ¶ added in v0.5.0

func UnmarshalWebhookEnablePatchSlice(reader io.Reader, consumer runtime.Consumer) ([]WebhookEnablePatch, error)

UnmarshalWebhookEnablePatchSlice unmarshals polymorphic slices of WebhookEnablePatch

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 struct {

	// full name
	FullName *FullName `json:"fullName,omitempty"`

	// meta
	Meta *Meta `json:"meta,omitempty"`

	// type
	Type *Type `json:"type,omitempty"`
}

Workspace Workspace

swagger:model Workspace

func (*Workspace) ContextValidate ¶ added in v0.5.0

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

ContextValidate validate this workspace based on the context it is used

func (*Workspace) MarshalBinary ¶ added in v0.5.0

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

MarshalBinary interface implementation

func (*Workspace) UnmarshalBinary ¶ added in v0.5.0

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

UnmarshalBinary interface implementation

func (*Workspace) Validate ¶ added in v0.5.0

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

Validate validates this 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 X509Certificate ¶ added in v0.4.0

type X509Certificate struct {

	// encoded
	// Format: byte
	Encoded strfmt.Base64 `json:"encoded,omitempty"`

	// issuer d n
	IssuerDN *Principal `json:"issuerDN,omitempty"`

	// not after
	// Format: date-time
	NotAfter strfmt.DateTime `json:"notAfter,omitempty"`

	// not before
	// Format: date-time
	NotBefore strfmt.DateTime `json:"notBefore,omitempty"`

	// public key
	PublicKey *PublicKey `json:"publicKey,omitempty"`

	// serial number
	SerialNumber int64 `json:"serialNumber,omitempty"`

	// sig alg name
	SigAlgName string `json:"sigAlgName,omitempty"`

	// sig alg o ID
	SigAlgOID string `json:"sigAlgOID,omitempty"`

	// sig alg params
	// Format: byte
	SigAlgParams strfmt.Base64 `json:"sigAlgParams,omitempty"`

	// subject d n
	SubjectDN *Principal `json:"subjectDN,omitempty"`

	// version
	Version int32 `json:"version,omitempty"`
}

X509Certificate X509Certificate

swagger:model X509Certificate

func (*X509Certificate) ContextValidate ¶ added in v0.4.0

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

ContextValidate validate this x509 certificate based on the context it is used

func (*X509Certificate) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*X509Certificate) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*X509Certificate) Validate ¶ added in v0.4.0

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

Validate validates this x509 certificate

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. If a non-existent folder name is passed, a new folder will be created in the respective datacenter when a machine is provisioned via the cloud zone. (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: 42413b31-1716-477e-9a88-9dc1c3cb1cdf
	OrgID string `json:"orgId,omitempty"`

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

	// Type of a owner(user/ad_group) that owns the entity.
	// Example: ad_group
	OwnerType string `json:"ownerType,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, BINPACK or SPREAD_MEMORY.
	// 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