public class ViPRCoreClient
extends java.lang.Object
Constructor and Description |
---|
ViPRCoreClient() |
ViPRCoreClient(ClientConfig config) |
ViPRCoreClient(java.lang.String host)
Convenience method for calling constructor with new ClientConfig().withHost(host)
|
ViPRCoreClient(java.lang.String host,
boolean ignoreCertificates)
Convenience method for calling constructor with new ClientConfig().withHost(host).withIgnoringCertificates(ignoreCertificates)
|
public ViPRCoreClient()
public ViPRCoreClient(java.lang.String host)
host
- Hostname or IP address for the Virtual IP of the target environment.public ViPRCoreClient(java.lang.String host, boolean ignoreCertificates)
host
- Hostname or IP address for the Virtual IP of the target environment.ignoreCertificates
- True if SSL certificates should be ignored.public ViPRCoreClient(ClientConfig config)
public void setAuthToken(java.lang.String authToken)
authToken
- The authentication token to set.public void setProxyToken(java.lang.String proxyToken)
proxyToken
- The authentication token to set.public AuthClient auth()
public ViPRCoreClient withLogin(java.lang.String username, java.lang.String password)
username
- The username.password
- The password.AuthClient.login(String, String)
public ViPRCoreClient withAuthToken(java.lang.String token)
token
- The authentication token to set.setAuthToken(String)
public ViPRCoreClient withProxyToken(java.lang.String token)
token
- The proxy token to set.setProxyToken(String)
public TenantResponse getUserTenant()
public java.net.URI getUserTenantId()
public UserInfo getUserInfo()
public Projects projects()
public VirtualDataCenters vdcs()
public Events events()
public Hosts hosts()
public Clusters clusters()
public Vcenters vcenters()
public VcenterDataCenters vcenterDataCenters()
public Initiators initiators()
public IpInterfaces ipInterfaces()
public BlockVolumes blockVolumes()
public BlockFullCopies blockFullCopies()
public BlockExports blockExports()
public BlockVirtualPools blockVpools()
public FileVirtualPools fileVpools()
public ObjectVirtualPools objectVpools()
public ObjectBuckets objectBuckets()
public ComputeVirtualPools computeVpools()
public ComputeImageServers computeImageServers()
public ComputeImages computeImages()
public VirtualArrays varrays()
public BlockConsistencyGroups blockConsistencyGroups()
public BlockMigrations blockMigrations()
public BlockSnapshots blockSnapshots()
public BlockSnapshotSessions blockSnapshotSessions()
public FileSystems fileSystems()
public QuotaDirectories quotaDirectories()
public FileSnapshots fileSnapshots()
public Networks networks()
public NetworkSystems networkSystems()
public ProtectionSystems protectionSystems()
@Deprecated public StorageProviders smisProviders()
public StorageProviders storageProviders()
public StoragePools storagePools()
public OpenStackTenants openStackTenants()
public StoragePorts storagePorts()
public StorageSystems storageSystems()
public VirtualNasServers virtualNasServers()
public StorageTiers storageTiers()
public UnManagedFileSystems unmanagedFileSystems()
public UnManagedVolumes unmanagedVolumes()
public UnManagedCGs unmanagedCGs()
public UnManagedExportMasks unmanagedExports()
public AuthnProviders authnProviders()
public AutoTieringPolicies autoTierPolicies()
public Tenants tenants()
public Workflows workflows()
public VirtualDataCenter vdc()
public Audit audit()
public Monitoring monitoring()
public Metering metering()
public ComputeSystems computeSystems()
public ComputeElements computeElements()
public Keystore keystore()
public Truststore truststore()
public TasksResources tasks()
public CustomConfigs customConfigs()
public UserGroup getUserGroup()
public Site site()
public IPsec ipsec()
public SchedulePolicies schedulePolicies()
public ApplicationSupport application()
public ObjectNamespaces objectNamespace()
public StorageSystemType storageSystemType()