com.vmware.vcenter.hvc package

Submodules

com.vmware.vcenter.hvc.management_client module

Copyright 2017 VMware, Inc. All rights reserved. – VMware Confidential

class com.vmware.vcenter.hvc.management_client.Administrators(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

The Administrators provides methods to update, delete, and list groups in the local sso group. This is limited to the Hybrid Linked Mode service.

Parameters:config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
add(group_name)

Add the local sso group with the new group.

Parameters:group_name (str) – Name of the new group to be added. Ex - xyz\@abc.com where xyz is the group name and abc.com is the domain name
Raise:com.vmware.vapi.std.errors_client.Unauthorized If the user is not authorized.
Raise:com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request.
get()

Enumerates the set of all the groups in the local sso group.

Return type:set of str
Returns:The set of all the groups.
Raise:com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request.
remove(group_name)

Remove the group from the local sso group.

Parameters:group_name (str) – Name of the group to be remove. Ex - xyz\@abc.com where xyz is the group name and abc.com is the domain name
Raise:com.vmware.vapi.std.errors_client.Unauthorized If the user is not authorized.
Raise:com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request.

Module contents

Table Of Contents

Previous topic

com.vmware.vcenter package

Next topic

com.vmware.vcenter.vm package

This Page