Class OrganizationDescriptor
java.lang.Object
com.aeontronix.enhancedmule.tools.anypoint.provisioning.OrganizationDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()intgetName()getRoles()intintintintintgetVpcs()booleanbooleanbooleanprovision(LegacyAnypointClient client) static Organizationprovision(LegacyAnypointClient client, File orgDescriptorFile, String orgName) voidsetCreateEnvironments(boolean createEnvironments) voidsetCreateSubOrgs(boolean createSubOrgs) voidsetEnvironments(List<EnvironmentDescriptor> environments) voidsetGlobalDeployment(boolean globalDeployment) voidvoidsetLoadBalancer(int loadBalancer) voidvoidsetOwnerId(String ownerId) voidsetParentId(String parentId) voidsetRoles(List<RoleDescriptor> roles) voidsetRuntimeAlerts(List<AlertDescriptor> runtimeAlerts) voidsetStaticIps(int staticIps) voidsetvCoresDesign(int vCoresDesign) voidsetvCoresProduction(int vCoresProduction) voidsetvCoresSandbox(int vCoresSandbox) voidsetVpcs(int vpcs) static voidtoMarkdown(LegacyAnypointClient client, Writer w, File file, int headingDepth) voidtoMarkdown(Writer w, int headingDepth)
-
Constructor Details
-
OrganizationDescriptor
public OrganizationDescriptor()
-
-
Method Details
-
toMarkdown
- Throws:
IOException
-
provision
public Organization provision(LegacyAnypointClient client) throws NotFoundException, HttpException, ProvisioningException -
getName
-
setName
-
getId
-
setId
-
getParentId
-
setParentId
-
getOwnerId
-
setOwnerId
-
isCreateSubOrgs
public boolean isCreateSubOrgs() -
setCreateSubOrgs
public void setCreateSubOrgs(boolean createSubOrgs) -
isCreateEnvironments
public boolean isCreateEnvironments() -
setCreateEnvironments
public void setCreateEnvironments(boolean createEnvironments) -
isGlobalDeployment
public boolean isGlobalDeployment() -
setGlobalDeployment
public void setGlobalDeployment(boolean globalDeployment) -
getvCoresProduction
public int getvCoresProduction() -
setvCoresProduction
public void setvCoresProduction(int vCoresProduction) -
getvCoresSandbox
public int getvCoresSandbox() -
setvCoresSandbox
public void setvCoresSandbox(int vCoresSandbox) -
getvCoresDesign
public int getvCoresDesign() -
setvCoresDesign
public void setvCoresDesign(int vCoresDesign) -
getStaticIps
public int getStaticIps() -
setStaticIps
public void setStaticIps(int staticIps) -
getVpcs
public int getVpcs() -
setVpcs
public void setVpcs(int vpcs) -
getLoadBalancer
public int getLoadBalancer() -
setLoadBalancer
public void setLoadBalancer(int loadBalancer) -
getRuntimeAlerts
-
setRuntimeAlerts
-
getEnvironments
-
setEnvironments
-
getRoles
-
setRoles
-
provision
public static Organization provision(LegacyAnypointClient client, File orgDescriptorFile, String orgName) throws NotFoundException, HttpException, IOException, ProvisioningException -
toMarkdown
public static void toMarkdown(LegacyAnypointClient client, Writer w, File file, int headingDepth) throws IOException - Throws:
IOException
-