# Managed Object - SrmCreateProtectionGroupTask

Returned by
  CreateAbrProtectionGroup, CreateHbrProtectionGroup, CreateHbrProtectionGroup2, CreateVvolProtectionGroup
See also
  SrmProtectionGroup
Since
  SRM API 3.0

## Managed Object Description

A Task returned by CreateAbrProtectionGroup and CreateHbrProtectionGroup that will have the final status of the operation when it is complete.

Once the task has been completed, this object will be removed from the server after 30 minutes.

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
GetCreateProtectionGroupResult, GetNewProtectionGroup, IsCreateProtectionGroupComplete

# GetCreateProtectionGroupResult

Get the results of this task.

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmCreateProtectionGroupTask used to make the method call.

Return Value

Type | Description
--- | ---
vim.TaskInfo | The detailed results.

Faults

Type | Description
--- | ---
vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# GetNewProtectionGroup

Get the newly created SrmProtectionGroup.

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmCreateProtectionGroupTask used to make the method call.

Return Value

Type | Description
--- | ---
ManagedObjectReference to a SrmProtectionGroup | Get the newly created SrmProtectionGroup.

Faults

Type | Description
--- | ---
vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
SrmFaultInvalidState | Thrown if the task is not finished or the task fails to successfully complete.

Events

Type
None

# IsCreateProtectionGroupComplete

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmCreateProtectionGroupTask used to make the method call.

Return Value

Type | Description
--- | ---
xsd:boolean | True if this task has been completed.

Faults

Type | Description
--- | ---
vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None