com.vmware.vcenter.hvc package¶
Subpackages¶
Submodules¶
com.vmware.vcenter.hvc.links_client module¶
- 
class 
com.vmware.vcenter.hvc.links_client.StubFactory(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance
- 
class 
com.vmware.vcenter.hvc.links_client.Sync(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
Syncclass provides methods to create a sync session, get information on Sync. Usage beyond VMware Cloud on AWS is not supported. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.- Parameters
 config (
vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
- 
class 
Credentials(user_name=None, password=None)¶ Bases:
vmware.vapi.bindings.struct.VapiStructThe
Sync.Credentialsclass specifies user credentials to make a successful connection to remote endpoint. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
 user_name (
str) – Name of the user to authenticate. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.password (
str) – Password for the user. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- 
reset(link)¶ Resets the sync state between the linked domains by initiating a fresh sync for all providers. If an existing sync is in progress this cancels the sync. Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
 link (
str) – Unique identifier of the link. The parameter must be an identifier for the resource type:com.vmware.vcenter.hvc.Links.- Raise
 com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.- Raise
 com.vmware.vapi.std.errors_client.NotFoundif the link Identifier associated withlinkdoes not exist.- Raise
 com.vmware.vapi.std.errors_client.Unauthorizedif the user is not authorized to perform this operation.
com.vmware.vcenter.hvc.management_client module¶
- 
class 
com.vmware.vcenter.hvc.management_client.Administrators(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterfaceThe
Administratorsprovides methods to update, delete, and list groups in the local sso group. This is limited to the Hybrid Linked Mode service. Usage beyond VMware Cloud on AWS is not supported. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.- 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. Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- 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.UnauthorizedIf the user is not authorized.- Raise
 com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.
- 
get()¶ Enumerates the set of all the groups in the local sso group. Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Return type
 setofstr- Returns
 The
setof all the groups.- Raise
 com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.
- 
remove(group_name)¶ Remove the group from the local sso group. Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
 group_name (
str) – Name of the group to be removed. Ex - xyz\@abc.com where xyz is the group name and abc.com is the domain name- Raise
 com.vmware.vapi.std.errors_client.UnauthorizedIf the user is not authorized.- Raise
 com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.
- 
set(group_names)¶ Sets the groups in the local sso group. Usage beyond VMware Cloud on AWS is not supported. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
- Parameters
 group_names (
setofstr) – Names the groups to be in the CloudAdminGroup Ex - xyz\@abc.com where xyz is the group name and abc.com is the domain name- Raise
 com.vmware.vapi.std.errors_client.UnauthorizedIf the user is not authorized.- Raise
 com.vmware.vapi.std.errors_client.Errorif the system reports an error while responding to the request.
- 
class 
com.vmware.vcenter.hvc.management_client.StubFactory(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBaseInitialize StubFactoryBase
- Parameters
 stub_config (
vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance