public class SFZonesEntity extends SFEntitiesBase
client| Constructor and Description |
|---|
SFZonesEntity(ISFApiClient client) |
| Modifier and Type | Method and Description |
|---|---|
ISFQuery<SFZone> |
create(SFZone zone)
Create Zone
{
"Name":"Name",
"HeartbeatTolerance":10,
"ZoneServices":"StorageZone, SharepointConnector, NetworkShareConnector"
}
Creates a new Zone.
|
ISFQuery<SFODataFeed<SFMetadata>> |
createMetadata(java.net.URI url,
java.util.ArrayList<SFMetadata> metadata)
Create or update Zone Metadata
[
{"Name":"metadataName1", "Value":"metadataValue1", "IsPublic":"true"},
{"Name":"metadataName2", "Value":"metadataValue2", "IsPublic":"false"},
...
|
ISFQuery<SFAccount> |
createTenants(java.net.URI parentUrl,
java.lang.String accountId)
Add a tenant account to a multi-tenant zone
|
ISFQuery |
delete(java.net.URI url) |
ISFQuery |
delete(java.net.URI url,
java.lang.Boolean force) |
ISFQuery |
delete(java.net.URI url,
java.lang.Boolean force,
java.lang.String newDefaultZoneId) |
ISFQuery |
deleteMetadata(java.net.URI url,
java.lang.String name)
Delete Zone Metadata
Delete the Metadata entry associated with the specified zone
|
ISFQuery |
deleteTenants(java.net.URI parentUrl,
java.lang.String id,
java.lang.String newDefaultZoneId)
Remove a tenant from a multi-tenant zone
|
ISFQuery |
deleteTenants(java.net.URI parentUrl,
java.lang.String id,
java.lang.String newDefaultZoneId,
java.lang.Boolean expireItems)
Remove a tenant from a multi-tenant zone
|
ISFQuery<SFODataFeed<SFZone>> |
get()
Get List of Zones
Retrieve the list of Zones accessible to the authenticated user
This method will concatenate the list of private zones in the user's account and the
list of public zones accessible to this account.
|
ISFQuery<SFODataFeed<SFZone>> |
get(SFSafeEnumFlags<SFZoneService> services)
Get List of Zones
Retrieve the list of Zones accessible to the authenticated user
This method will concatenate the list of private zones in the user's account and the
list of public zones accessible to this account.
|
ISFQuery<SFODataFeed<SFZone>> |
get(SFSafeEnumFlags<SFZoneService> services,
java.lang.Boolean includeDisabled)
Get List of Zones
Retrieve the list of Zones accessible to the authenticated user
This method will concatenate the list of private zones in the user's account and the
list of public zones accessible to this account.
|
ISFQuery<SFZone> |
get(java.net.URI url)
Get List of Zones
Retrieve the list of Zones accessible to the authenticated user
This method will concatenate the list of private zones in the user's account and the
list of public zones accessible to this account.
|
ISFQuery<SFZone> |
get(java.net.URI url,
java.lang.Boolean secret)
Get List of Zones
Retrieve the list of Zones accessible to the authenticated user
This method will concatenate the list of private zones in the user's account and the
list of public zones accessible to this account.
|
ISFQuery<SFODataFeed<SFMetadata>> |
getMetadata(java.net.URI url)
Get Zone Metadata
Gets metadata associated with the specified zone
|
ISFQuery<SFODataFeed<SFAccount>> |
getTenants(java.net.URI parentUrl)
Get the tenants of a multi-tenant zone
|
ISFQuery<SFZone> |
resetSecret(java.net.URI url)
Reset Zone Secret
Resets the current Zone Secret to a new Random value
Caution! This Call will invalidate all Storage Center communications until the Storage Center Zone secret
is also updated.
|
ISFQuery<SFZone> |
update(java.net.URI url,
SFZone zone)
Update Zone
{
"Name":"Name",
"HeartbeatTolerance":10,
"ZoneServices":"StorageZone, SharepointConnector, NetworkShareConnector"
}
Updates an existing zone
|
getEntitypublic SFZonesEntity(ISFApiClient client)
public ISFQuery<SFODataFeed<SFZone>> get(SFSafeEnumFlags<SFZoneService> services, java.lang.Boolean includeDisabled) throws InvalidOrMissingParameterException
services - (default: StorageZone)includeDisabled - (default: false)InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFZone>> get(SFSafeEnumFlags<SFZoneService> services) throws InvalidOrMissingParameterException
services - (default: StorageZone)InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFZone>> get()
public ISFQuery<SFZone> get(java.net.URI url, java.lang.Boolean secret) throws InvalidOrMissingParameterException
InvalidOrMissingParameterExceptionpublic ISFQuery<SFZone> get(java.net.URI url) throws InvalidOrMissingParameterException
InvalidOrMissingParameterExceptionpublic ISFQuery<SFZone> create(SFZone zone) throws InvalidOrMissingParameterException
InvalidOrMissingParameterExceptionpublic ISFQuery<SFZone> update(java.net.URI url, SFZone zone) throws InvalidOrMissingParameterException
url - zone - InvalidOrMissingParameterExceptionpublic ISFQuery delete(java.net.URI url, java.lang.Boolean force, java.lang.String newDefaultZoneId) throws InvalidOrMissingParameterException
public ISFQuery delete(java.net.URI url, java.lang.Boolean force) throws InvalidOrMissingParameterException
public ISFQuery delete(java.net.URI url) throws InvalidOrMissingParameterException
public ISFQuery<SFZone> resetSecret(java.net.URI url) throws InvalidOrMissingParameterException
url - InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFAccount>> getTenants(java.net.URI parentUrl) throws InvalidOrMissingParameterException
parentUrl - InvalidOrMissingParameterExceptionpublic ISFQuery<SFAccount> createTenants(java.net.URI parentUrl, java.lang.String accountId) throws InvalidOrMissingParameterException
parentUrl - accountId - InvalidOrMissingParameterExceptionpublic ISFQuery deleteTenants(java.net.URI parentUrl, java.lang.String id, java.lang.String newDefaultZoneId, java.lang.Boolean expireItems) throws InvalidOrMissingParameterException
parentUrl - id - newDefaultZoneId - expireItems - (default: false)InvalidOrMissingParameterExceptionpublic ISFQuery deleteTenants(java.net.URI parentUrl, java.lang.String id, java.lang.String newDefaultZoneId) throws InvalidOrMissingParameterException
parentUrl - id - newDefaultZoneId - InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFMetadata>> getMetadata(java.net.URI url) throws InvalidOrMissingParameterException
url - InvalidOrMissingParameterExceptionpublic ISFQuery<SFODataFeed<SFMetadata>> createMetadata(java.net.URI url, java.util.ArrayList<SFMetadata> metadata) throws InvalidOrMissingParameterException
url - metadata - InvalidOrMissingParameterExceptionpublic ISFQuery deleteMetadata(java.net.URI url, java.lang.String name) throws InvalidOrMissingParameterException
url - name - InvalidOrMissingParameterException