CreateNamespace.xml 4.6 KB

1
  1. <?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="sae" visibility="Public" akProvenStatus="Disable" version="2019-05-06" keepClientResourceOwnerId="false" name="CreateNamespace" showJsonItemName="false" status="online"><IsvProtocol pattern="/pop/v1/paas/namespace" protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"><ErrorCodes><ErrorCode code="sae.errorcode.InstanceExist.NamespaceId.message" errorCode="InstanceExist.NamespaceId" type="user" httpCode="400" extendedErrorCode="" errorMessage="The specified namespace ID already exists." /><ErrorCode code="sae.errorcode.Namespace.InvalidName.message" errorCode="InvalidNamespace.WithUppercase" type="user" httpCode="400" extendedErrorCode="" errorMessage="This namespace does not support creating SAE apps because it contains uppercase letters." /><ErrorCode code="sae.errorcode.ParameterInvalid.NamespaceId.Format.message" errorCode="InvalidNamespaceId.Format" type="user" httpCode="400" extendedErrorCode="" errorMessage="The specified NamespaceId is invalid." /><ErrorCode code="sae.errorcode.ParameterInvalid.NamespaceId.Suffix.Format.message" errorCode="InvalidNamespaceIdSuffix.Format" type="user" httpCode="400" extendedErrorCode="" errorMessage="The specified NamespaceId is invalid. NamespaceId can only contain alphabetical letters or numbers." /><ErrorCode code="sae.errorcode.ParameterInvalid.NamespaceName.Format.message" errorCode="InvalidNamespaceName.Format" type="user" httpCode="400" extendedErrorCode="" errorMessage="The specified NamespaceName is invalid. The name of the namespace cannot exceed 63 characters in length." /><ErrorCode code="sae.errorcode.InstanceExist.NamespaceId.Cluster.message" errorCode="InvalidOperation.NamespaceClusterNotDeleted" type="user" httpCode="400" extendedErrorCode="" errorMessage="The specified NamespaceId contains clusters." /><ErrorCode code="sae.errorcode.InstanceExist.AppInNamespace.message" errorCode="Namespace.AppExists" type="user" httpCode="400" extendedErrorCode="" errorMessage="Please delete the application first." /><ErrorCode code="sae.errorcode.system.upgrading.message" errorCode="System.Upgrading" type="user" httpCode="400" extendedErrorCode="" errorMessage="The system is being upgraded. Please try again later." /><ErrorCode code="sae.errorcode.too.many.namespace.message" errorCode="Exceed.Namespace" type="user" httpCode="400" extendedErrorCode="" errorMessage="Too many namespaces have been created." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="SaeTest" timeout="60000" protocol="http" httpHost="http://sae_pop_publish/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="namespaceId" tagName="NamespaceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="namespaceName" tagName="NamespaceName" type="String" required="false" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="namespaceDescription" tagName="NamespaceDescription" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Minute" userDefault="100" apiDefault="2000" special="test-account-quota" /><PreIspProtocol sign="true" signKeyName="SaeTest" timeout="60000" protocol="http" httpHost="http://sae_pop_pre/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="Code" visibility="Public" type="String" name="code"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Message" visibility="Public" type="String" name="message"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Member tagName="TraceId" visibility="Public" type="String" name="traceId"/><Struct tagName="Data" visibility="Public" name="data"><Member tagName="RegionId" visibility="Public" type="String" name="regionId"/><Member tagName="NamespaceId" visibility="Public" type="String" name="namespaceId"/><Member tagName="NamespaceName" visibility="Public" type="String" name="namespaceName"/><Member tagName="NamespaceDescription" visibility="Public" type="String" name="namespaceDescription"/></Struct></ResultMapping></Api>