public class Organization extends AnypointObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Organization.RequestAPIAccessResult |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
federated |
protected String |
id |
static Pattern |
MAJORVERSION_REGEX |
protected String |
name |
protected String |
parentId |
client, httpHelper, json, jsonHelper, parent| Constructor and Description |
|---|
Organization() |
Organization(AnypointClient client) |
Organization(AnypointClient client,
String id) |
public static final Pattern MAJORVERSION_REGEX
protected String id
protected String name
protected String parentId
protected boolean federated
public Organization()
public Organization(AnypointClient client)
public Organization(AnypointClient client, String id)
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public boolean isFederated()
public void setFederated(boolean federated)
public List<Environment> findAllEnvironments() throws HttpException
HttpException@NotNull public @NotNull Environment findEnvironmentByName(@NotNull @NotNull String name) throws NotFoundException, HttpException
NotFoundExceptionHttpException@NotNull public @NotNull Environment findEnvironmentById(@NotNull @NotNull String id) throws NotFoundException, HttpException
NotFoundExceptionHttpExceptionpublic String getParentId()
public void setParentId(String parentId)
public Organization getParentOrganization() throws HttpException
HttpExceptionpublic Organization getRootOrganization() throws HttpException
HttpExceptionpublic Environment createEnvironment(@NotNull @NotNull String name, @NotNull Environment.Type type) throws HttpException
HttpExceptionpublic ClientApplication createClientApplication(String name, String url, String description) throws HttpException
HttpExceptionpublic ClientApplication createClientApplication(String name, String url, String description, List<String> redirectUri, String apiEndpoints) throws HttpException
HttpExceptionpublic Organization createSubOrganization(String name, String ownerId, boolean createSubOrgs, boolean createEnvironments) throws HttpException
HttpExceptionpublic List<ClientApplication> findAllClientApplications() throws HttpException
HttpExceptionpublic List<ClientApplication> findAllClientApplications(@Nullable @Nullable String filter) throws HttpException
HttpExceptionpublic ClientApplication findClientApplicationByName(@NotNull @NotNull String name) throws HttpException, NotFoundException
HttpExceptionNotFoundExceptionpublic ClientApplication findClientApplicationByName(@NotNull @NotNull String name, boolean fullData) throws HttpException, NotFoundException
HttpExceptionNotFoundException@NotNull public @NotNull APISpecList findAPISpecsByFilter(@Nullable @Nullable String filter) throws HttpException
HttpExceptionpublic APISpec findAPISpecsByNameAndVersion(String name, String version) throws NotFoundException, HttpException
NotFoundExceptionHttpExceptionpublic Organization createSubOrganization(String name, String ownerId, boolean createSubOrgs, boolean createEnvironments, boolean globalDeployment, int vCoresProduction, int vCoresSandbox, int vCoresDesign, int staticIps, int vpcs, int loadBalancer) throws HttpException
HttpExceptionpublic void delete()
throws HttpException
HttpExceptionpublic String getUriPath()
public List<DesignCenterProject> findDesignCenterProjects() throws HttpException
HttpExceptionpublic DesignCenterProject findDesignCenterProject(String name) throws NotFoundException, HttpException
NotFoundExceptionHttpExceptionpublic DesignCenterProject createDesignCenterProject(String name, String type, boolean visualDesignerMode, String ownerId) throws HttpException
HttpExceptionpublic AssetList findExchangeAssets() throws HttpException
HttpExceptionpublic AssetList findExchangeAssets(String filter, int limit) throws HttpException
HttpExceptionpublic ExchangeAsset findExchangeAsset(@NotNull @NotNull String groupId, @NotNull @NotNull String assetId) throws HttpException, NotFoundException
HttpExceptionNotFoundExceptionpublic AssetVersion findExchangeAssetVersion(@NotNull @NotNull String groupId, @NotNull @NotNull String assetId, @NotNull @NotNull String version) throws HttpException, NotFoundException
HttpExceptionNotFoundException@NotNull protected @NotNull Environment createEnvironmentObject()
@NotNull protected @NotNull Class<? extends Environment> getEnvironmentClass()
public VPC provisionVPC(VPCProvisioningDescriptor vd, boolean deleteExisting) throws NotFoundException, HttpException
NotFoundExceptionHttpExceptionpublic void provisionVPC(File file, boolean deleteExisting) throws NotFoundException, HttpException, IOException
public List<VPC> findVPCs() throws HttpException
HttpExceptionpublic VPC findVPCByName(String name) throws NotFoundException, HttpException
NotFoundExceptionHttpExceptionpublic ReleaseManifest findExchangeReleaseManifest(String uri)
Copyright © 2019 Kloudtek. All rights reserved.