VMware vCloud Suite SDK for .NET 6.0.0
|
The Category
interface provides methods to create, read, update, delete, and enumerate categories.
More...
Inherited by vmware::cis::tagging::CategoryStub.
Public Member Functions | |
string | Create (vmware.cis.tagging.CategoryTypes.CreateSpec createSpec) |
Creates a category. | |
string | Create (vmware.cis.tagging.CategoryTypes.CreateSpec createSpec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Creates a category. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.cis.tagging.CategoryTypes.CreateSpec createSpec) |
Creates a category. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (vmware.cis.tagging.CategoryTypes.CreateSpec createSpec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Creates a category. | |
vmware.cis.tagging.CategoryModel | Get (string categoryId) |
Fetches the category information for the given category identifier. | |
vmware.cis.tagging.CategoryModel | Get (string categoryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Fetches the category information for the given category identifier. | |
global::System.Threading.Tasks.Task < vmware.cis.tagging.CategoryModel > | GetAsync (string categoryId) |
Fetches the category information for the given category identifier. | |
global::System.Threading.Tasks.Task < vmware.cis.tagging.CategoryModel > | GetAsync (string categoryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Fetches the category information for the given category identifier. | |
void | Update (string categoryId, vmware.cis.tagging.CategoryTypes.UpdateSpec updateSpec) |
Updates an existing category. | |
void | Update (string categoryId, vmware.cis.tagging.CategoryTypes.UpdateSpec updateSpec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Updates an existing category. | |
global::System.Threading.Tasks.Task | UpdateAsync (string categoryId, vmware.cis.tagging.CategoryTypes.UpdateSpec updateSpec) |
Updates an existing category. | |
global::System.Threading.Tasks.Task | UpdateAsync (string categoryId, vmware.cis.tagging.CategoryTypes.UpdateSpec updateSpec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Updates an existing category. | |
void | Delete (string categoryId) |
Deletes an existing category. | |
void | Delete (string categoryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Deletes an existing category. | |
global::System.Threading.Tasks.Task | DeleteAsync (string categoryId) |
Deletes an existing category. | |
global::System.Threading.Tasks.Task | DeleteAsync (string categoryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Deletes an existing category. | |
global::System.Collections.Generic.List < string > | List () |
Enumerates the categories in the system. | |
global::System.Collections.Generic.List < string > | List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Enumerates the categories in the system. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < string > > | ListAsync () |
Enumerates the categories in the system. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < string > > | ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Enumerates the categories in the system. | |
global::System.Collections.Generic.List < string > | ListUsedCategories (string usedByEntity) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set. | |
global::System.Collections.Generic.List < string > | ListUsedCategories (string usedByEntity, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < string > > | ListUsedCategoriesAsync (string usedByEntity) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < string > > | ListUsedCategoriesAsync (string usedByEntity, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set. | |
void | AddToUsedBy (string categoryId, string usedByEntity) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category. | |
void | AddToUsedBy (string categoryId, string usedByEntity, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category. | |
global::System.Threading.Tasks.Task | AddToUsedByAsync (string categoryId, string usedByEntity) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category. | |
global::System.Threading.Tasks.Task | AddToUsedByAsync (string categoryId, string usedByEntity, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category. | |
void | RemoveFromUsedBy (string categoryId, string usedByEntity) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set. | |
void | RemoveFromUsedBy (string categoryId, string usedByEntity, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set. | |
global::System.Threading.Tasks.Task | RemoveFromUsedByAsync (string categoryId, string usedByEntity) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set. | |
global::System.Threading.Tasks.Task | RemoveFromUsedByAsync (string categoryId, string usedByEntity, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set. | |
void | RevokePropagatingPermissions (string categoryId) |
Revokes all propagating permissions on the given category. | |
void | RevokePropagatingPermissions (string categoryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Revokes all propagating permissions on the given category. | |
global::System.Threading.Tasks.Task | RevokePropagatingPermissionsAsync (string categoryId) |
Revokes all propagating permissions on the given category. | |
global::System.Threading.Tasks.Task | RevokePropagatingPermissionsAsync (string categoryId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Revokes all propagating permissions on the given category. |
The Category
interface provides methods to create, read, update, delete, and enumerate categories.
void vmware::cis::tagging::Category::AddToUsedBy | ( | string | categoryId, |
string | usedByEntity | ||
) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category.
If the usedByEntity is already in the set, then this becomes an idempotent no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to add an entity to the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be added to the CategoryModel.usedBy set. |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::AddToUsedBy | ( | string | categoryId, |
string | usedByEntity, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category.
If the usedByEntity is already in the set, then this becomes an idempotent no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to add an entity to the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be added to the CategoryModel.usedBy set. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::AddToUsedByAsync | ( | string | categoryId, |
string | usedByEntity | ||
) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category.
If the usedByEntity is already in the set, then this becomes an idempotent no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to add an entity to the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be added to the CategoryModel.usedBy set. |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::AddToUsedByAsync | ( | string | categoryId, |
string | usedByEntity, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Adds the usedByEntity to the CategoryModel.usedBy subscribers set for the specified category.
If the usedByEntity is already in the set, then this becomes an idempotent no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to add an entity to the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be added to the CategoryModel.usedBy set. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
string vmware::cis::tagging::Category::Create | ( | vmware.cis.tagging.CategoryTypes.CreateSpec | createSpec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Creates a category.
To invoke this method, you need the create category privilege.
vmware.vapi.std.errors.AlreadyExists | if the Category.CreateSpec.name provided in the createSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the createSpec is invalid. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to create a category. |
createSpec | Specification for the new category to be created. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
string vmware::cis::tagging::Category::Create | ( | vmware.cis.tagging.CategoryTypes.CreateSpec | createSpec | ) |
Creates a category.
To invoke this method, you need the create category privilege.
vmware.vapi.std.errors.AlreadyExists | if the Category.CreateSpec.name provided in the createSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the createSpec is invalid. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to create a category. |
createSpec | Specification for the new category to be created. |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<string> vmware::cis::tagging::Category::CreateAsync | ( | vmware.cis.tagging.CategoryTypes.CreateSpec | createSpec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Creates a category.
To invoke this method, you need the create category privilege.
vmware.vapi.std.errors.AlreadyExists | if the Category.CreateSpec.name provided in the createSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the createSpec is invalid. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to create a category. |
createSpec | Specification for the new category to be created. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<string> vmware::cis::tagging::Category::CreateAsync | ( | vmware.cis.tagging.CategoryTypes.CreateSpec | createSpec | ) |
Creates a category.
To invoke this method, you need the create category privilege.
vmware.vapi.std.errors.AlreadyExists | if the Category.CreateSpec.name provided in the createSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the createSpec is invalid. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to create a category. |
createSpec | Specification for the new category to be created. |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::Delete | ( | string | categoryId | ) |
Deletes an existing category.
To invoke this method, you need the delete privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to delete the category. |
categoryId | The identifier of category to be deleted. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::Delete | ( | string | categoryId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Deletes an existing category.
To invoke this method, you need the delete privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to delete the category. |
categoryId | The identifier of category to be deleted. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::DeleteAsync | ( | string | categoryId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Deletes an existing category.
To invoke this method, you need the delete privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to delete the category. |
categoryId | The identifier of category to be deleted. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::DeleteAsync | ( | string | categoryId | ) |
Deletes an existing category.
To invoke this method, you need the delete privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to delete the category. |
categoryId | The identifier of category to be deleted. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
Implemented in vmware::cis::tagging::CategoryStub.
vmware.cis.tagging.CategoryModel vmware::cis::tagging::Category::Get | ( | string | categoryId | ) |
Fetches the category information for the given category identifier.
In order to view the category information, you need the read privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to read the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
Implemented in vmware::cis::tagging::CategoryStub.
vmware.cis.tagging.CategoryModel vmware::cis::tagging::Category::Get | ( | string | categoryId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Fetches the category information for the given category identifier.
In order to view the category information, you need the read privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to read the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<vmware.cis.tagging.CategoryModel> vmware::cis::tagging::Category::GetAsync | ( | string | categoryId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Fetches the category information for the given category identifier.
In order to view the category information, you need the read privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to read the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<vmware.cis.tagging.CategoryModel> vmware::cis::tagging::Category::GetAsync | ( | string | categoryId | ) |
Fetches the category information for the given category identifier.
In order to view the category information, you need the read privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to read the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Collections.Generic.List<string> vmware::cis::tagging::Category::List | ( | ) |
Enumerates the categories in the system.
To invoke this method, you need the read privilege on the individual categories. The list will only contain those categories for which you have read privileges.
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Collections.Generic.List<string> vmware::cis::tagging::Category::List | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Enumerates the categories in the system.
To invoke this method, you need the read privilege on the individual categories. The list will only contain those categories for which you have read privileges.
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::cis::tagging::Category::ListAsync | ( | ) |
Enumerates the categories in the system.
To invoke this method, you need the read privilege on the individual categories. The list will only contain those categories for which you have read privileges.
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::cis::tagging::Category::ListAsync | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Enumerates the categories in the system.
To invoke this method, you need the read privilege on the individual categories. The list will only contain those categories for which you have read privileges.
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Collections.Generic.List<string> vmware::cis::tagging::Category::ListUsedCategories | ( | string | usedByEntity | ) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set.
To invoke this method, you need the read privilege on the individual categories.
usedByEntity | The field on which the results will be filtered. |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Collections.Generic.List<string> vmware::cis::tagging::Category::ListUsedCategories | ( | string | usedByEntity, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set.
To invoke this method, you need the read privilege on the individual categories.
usedByEntity | The field on which the results will be filtered. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::cis::tagging::Category::ListUsedCategoriesAsync | ( | string | usedByEntity | ) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set.
To invoke this method, you need the read privilege on the individual categories.
usedByEntity | The field on which the results will be filtered. |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::cis::tagging::Category::ListUsedCategoriesAsync | ( | string | usedByEntity, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Enumerates all categories for which the usedByEntity is part of the CategoryModel.usedBy subscribers set.
To invoke this method, you need the read privilege on the individual categories.
usedByEntity | The field on which the results will be filtered. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.cis.tagging.Category
. Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::RemoveFromUsedBy | ( | string | categoryId, |
string | usedByEntity, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set.
If the usedByEntity is not using this category, then this becomes a no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to remove an entity from the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be removed from the CategoryModel.usedBy set. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::RemoveFromUsedBy | ( | string | categoryId, |
string | usedByEntity | ||
) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set.
If the usedByEntity is not using this category, then this becomes a no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to remove an entity from the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be removed from the CategoryModel.usedBy set. |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::RemoveFromUsedByAsync | ( | string | categoryId, |
string | usedByEntity, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set.
If the usedByEntity is not using this category, then this becomes a no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to remove an entity from the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be removed from the CategoryModel.usedBy set. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::RemoveFromUsedByAsync | ( | string | categoryId, |
string | usedByEntity | ||
) |
Removes the usedByEntity from the CategoryModel.usedBy subscribers set.
If the usedByEntity is not using this category, then this becomes a no-op. To invoke this method, you need the modify CategoryModel.usedBy privilege on the category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to remove an entity from the CategoryModel.usedBy field. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
usedByEntity | The name of the user to be removed from the CategoryModel.usedBy set. |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::RevokePropagatingPermissions | ( | string | categoryId | ) |
Revokes all propagating permissions on the given category.
You should then attach a direct permission with tagging privileges on the given category. To invoke this method, you need category related privileges (direct or propagating) on the concerned category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to revoke propagating permissions on the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::RevokePropagatingPermissions | ( | string | categoryId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Revokes all propagating permissions on the given category.
You should then attach a direct permission with tagging privileges on the given category. To invoke this method, you need category related privileges (direct or propagating) on the concerned category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to revoke propagating permissions on the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::RevokePropagatingPermissionsAsync | ( | string | categoryId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Revokes all propagating permissions on the given category.
You should then attach a direct permission with tagging privileges on the given category. To invoke this method, you need category related privileges (direct or propagating) on the concerned category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to revoke propagating permissions on the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::RevokePropagatingPermissionsAsync | ( | string | categoryId | ) |
Revokes all propagating permissions on the given category.
You should then attach a direct permission with tagging privileges on the given category. To invoke this method, you need category related privileges (direct or propagating) on the concerned category.
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to revoke propagating permissions on the category. |
categoryId | The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::Update | ( | string | categoryId, |
vmware.cis.tagging.CategoryTypes.UpdateSpec | updateSpec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Updates an existing category.
To invoke this method, you need the edit privilege on the category.
vmware.vapi.std.errors.AlreadyExists | if the Category.UpdateSpec.name provided in the updateSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the updateSpec is invalid. |
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to update the category. |
categoryId | The identifier of the category to be updated. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
updateSpec | Specification to update the category. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
void vmware::cis::tagging::Category::Update | ( | string | categoryId, |
vmware.cis.tagging.CategoryTypes.UpdateSpec | updateSpec | ||
) |
Updates an existing category.
To invoke this method, you need the edit privilege on the category.
vmware.vapi.std.errors.AlreadyExists | if the Category.UpdateSpec.name provided in the updateSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the updateSpec is invalid. |
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to update the category. |
categoryId | The identifier of the category to be updated. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
updateSpec | Specification to update the category. |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::UpdateAsync | ( | string | categoryId, |
vmware.cis.tagging.CategoryTypes.UpdateSpec | updateSpec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Updates an existing category.
To invoke this method, you need the edit privilege on the category.
vmware.vapi.std.errors.AlreadyExists | if the Category.UpdateSpec.name provided in the updateSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the updateSpec is invalid. |
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to update the category. |
categoryId | The identifier of the category to be updated. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
updateSpec | Specification to update the category. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::cis::tagging::CategoryStub.
global::System.Threading.Tasks.Task vmware::cis::tagging::Category::UpdateAsync | ( | string | categoryId, |
vmware.cis.tagging.CategoryTypes.UpdateSpec | updateSpec | ||
) |
Updates an existing category.
To invoke this method, you need the edit privilege on the category.
vmware.vapi.std.errors.AlreadyExists | if the Category.UpdateSpec.name provided in the updateSpec is the name of an already existing category. |
vmware.vapi.std.errors.InvalidArgument | if any of the information in the updateSpec is invalid. |
vmware.vapi.std.errors.NotFound | if the category for the given categoryId does not exist in the system. |
vmware.vapi.std.errors.Unauthorized | if you do not have the privilege to update the category. |
categoryId | The identifier of the category to be updated. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category . |
updateSpec | Specification to update the category. |
Implemented in vmware::cis::tagging::CategoryStub.