// mapAmsTypeToBackendType - Cloud providers API is not using AMS types but some other values (CloudProviderValues)
Cloud providers API is not using AMS types but some other values (CloudProviderValues)
// mapAmsTypeToBackendType - Cloud providers API is not using AMS types but some other values ( CloudProviderValues )
func mapAmsTypeToBackendType(amsType *accountmgmtutil.QuotaSpec) CloudProviderId {
	switch amsType.Name {
	case accountmgmtutil.QuotaStandardType:
		return StandardType
	case accountmgmtutil.QuotaTrialType:
		return DeveloperType
	default:
		return DeveloperType
	}
}
func mapAmsTypeToBackendType ( amsType * accountmgmtutil . QuotaSpec ) CloudProviderId { switch amsType . Name { case accountmgmtutil . QuotaStandardType : return StandardType case accountmgmtutil . QuotaTrialType : return DeveloperType default : return DeveloperType } }
Cloud providers API is not using AMS types but some other values (CloudProviderValues)
Cloud providers API is not using AMS types but some other values ( CloudProviderValues )