Dell Technologies ECS REST API

Search (SHIFT+S)




Changes to Create Namespace

Creates a namespace with the given details.


Request Payload Changes

Field Description Type Notes
<namespace_create>
<namespace> User provided namespace (verified unique)

can not include dots or slashes (.|/) in the name

String Valid Values:
  •  Can contain slashes (/)
  •  Can contain dots (.)
<default_object_project> Default project id for this tenant when creating buckets URI
<default_data_services_vpool> Default replication group identifier for this tenant when creating buckets URI
<allowed_vpools_list> List of replication groups that are allowed to create buckets on the corresponding namespace URI 0-* Elements
<disallowed_vpools_list> List of replication groups that are not allowed to create buckets on the corresponding namespace URI 0-* Elements
<namespace_admins> Comma separated list of namespace admins String
<user_mapping>     0-* Elements
<domain> A single-valued attribute indicating the user's IDP domain String Valid Values:
  •  Examples: "emc.com" or "netapp.com"
<attributes>
<attribute>     0-* Elements
<key> Lookup string for this key-value pair String
<value> Lookup result for this key-value pair String 0-* Elements
</attribute>      
</attributes>
<groups>
<group> String 0-* Elements
</groups>
</user_mapping>      
<is_encryption_enabled> tag to enable encryption for the namespace Boolean
<default_bucket_block_size> Default bucket quota size. Long
<external_group_admins> List of groups from AD Server String
<is_stale_allowed> Tag to allow stale data within the namespace Boolean
<is_object_lock_with_ado_allowed> Optional
Defines the default behavior for allowing Object Lock with ADO on new buckets created in the namespace. Existing buckets are not affected by this flag.
When true the is_object_lock_with_ado_allowed flag is applied to new buckets allowing them to enable Object Lock with ADO without having to explicitly enable the flag on the bucket.
When false or omitted, buckets created in the namespace will not be allowed to enable OBJECT LOCK with writable ADO unless the is_object_lock_with_ado_allowed flag is explicitly enabled on the bucket.
The flag only affects new buckets. Existing buckets must set the flag explicitly to allow Object Lock with ADO.
Warning: Once the flag is enabled on a bucket it cannot be changed. Make sure you understand the risk of data loss before enabling this flag. See the Admin Guide for more information.
Boolean Valid Values:
  •  true, false (default)
<compliance_enabled> Tag to enable namespace compliance Boolean
<default_audit_delete_expiration> default bucket audit delete expiration Long
<root_user_password> password for namespace 'virtual root' user String
</namespace_create>

Response Payload Changes

Field Description Type Notes
<namespace>
<default_data_services_vpool> Default replication group identifier for this tenant when creating buckets URI
<allowed_vpools_list> List of replication group that are allowed access to namespace URI 0-* Elements
<disallowed_vpools_list> List of replication group that are not allowed access to namespace URI 0-* Elements
<namespace_admins> Comma separated list of namespace admins String
<is_encryption_enabled> encryption status of the namesapce String
<user_mapping>     0-* Elements
<domain> A single-valued attribute indicating the user's IDP domain String Valid Values:
  •  Examples: "emc.com" or "netapp.com"
<attributes>
<attribute>     0-* Elements
<key> Lookup string for this key-value pair String
<value> Lookup result for this key-value pair String 0-* Elements
</attribute>      
</attributes>
<groups>
<group> String 0-* Elements
</groups>
</user_mapping>      
<default_bucket_block_size> Default bucket quota size. Long
<external_group_admins> List of groups from AD Server String
<is_stale_allowed> Namespace isStaleAllowed flag Boolean
<is_object_lock_with_ado_allowed> Optional
Defines the default behavior for allowing Object Lock with ADO on new buckets created in the namespace. Existing buckets are not affected by this flag.
When true the is_object_lock_with_ado_allowed flag is applied to new buckets allowing them to enable Object Lock with ADO without having to explicitly enable the flag on the bucket.
When false or omitted, buckets created in the namespace will not be allowed to enable OBJECT LOCK with writable ADO unless the is_object_lock_with_ado_allowed flag is explicitly enabled on the bucket.
The flag only affects new buckets. Existing buckets must set the flag explicitly to allow Object Lock with ADO.
Warning: Once the flag is enabled on a bucket it cannot be changed. Make sure you understand the risk of data loss before enabling this flag. See the Admin Guide for more information.
Boolean Valid Values:
  •  true, false (default)
<is_compliance_enabled> Namespace isComplianceEnabled flag Boolean
<notificationSize> Notification Size in GB. Long
<blockSize> Blocksize in GB Long
<notificationSizeInCount> Notification Size in Count. Long
<blockSizeInCount> Blocksize in Count Long
<retention_classes>    
<retention_class>     0-* Elements
<name> Name of the retention class String
<period> Period of the retention class in seconds Long
</retention_class>      
</retention_classes>      
<default_audit_delete_expiration> Default bucket audit delete expiration Long
<root_user_name> String
<root_user_password> String
<name> Name assigned to this resource in ECS. The resource name is set by a user and can be changed at any time. It is not a unique identifier. String
<id> Identifier that is generated by ECS when the resource is created. The resource Id is guaranteed to be unique and immutable across all virtual data centers for all time. URI Valid Values:
  •  urn:storageos:resource-type:UUID:
<link> Hyperlink to the details for this resource
<creation_time> Timestamp that shows when this resource was created in ECS DateTime Valid Values:
  •  YYYY-MM-DDTHH:mm:ssZ
  •  Unix timestamp
<inactive> Indicates whether the resource is inactive. When a user removes a resource, the resource is put in this state before it is removed from the ECS database. Boolean Valid Values:
  •  true
  •  false
<global> Indicates whether the resource is global. Boolean Valid Values:
  •  true
  •  false
<remote> Indicates whether the resource is remote. Boolean Valid Values:
  •  true
  •  false
<vdc>    
<id> ECS Id of the related object URI
<link> Hyperlink to the related object
</vdc>      
<internal> Indicated whether the resource is an internal resource Boolean Valid Values:
  •  true
  •  false
</namespace>