Get All Containers

Gets all containers from a tenant in IBM® Storage Protect for Cloud.

Example

var context = PublicApi.GetContext("https://api.sp4c.storage-defender.ibm.com", "username", "password");
       var profiles = context.TenantService.GetContainers();

Response Information

The response when getting all containers from a tenant in IBM Storage Protect for Cloud.

Element Description Type
id ID of the container String
Name Name of the container String
Type Object type of the container

Enum

The returned value can be:

SiteCollection (SharePoint Online Site Collection)

Mailbox (mailbox)

OneDrive

Office365Group (Microsoft 365 Group/Microsoft Team/Yammer Community)

ProjectOnline (Project Online Site Collection)

PublicFolder (Exchange Online Public Folder)

User (Microsoft 365 User)

NoneUnifiedGroup (Security and Distribution Group)

PowerPlatformEnvironment (Power Platform Environments)

PowerPlatformConnection (Power Platform Connections)

PowerApps (Power Platform Power Apps)

PowerAutomate (Power Platform Power Automate)

PowerBIWorkspace (Power Platform Power BI)

RuleId ID of the rule related to the container String
ScanProfileId Scan profile related to the container String
Priority Priority of the current container Int32