public class ProvidersStub extends com.vmware.vapi.internal.bindings.Stub implements Providers
Providers
API service.
WARNING: Internal class, subject to change in future versions.
ProvidersTypes.ActiveDirectoryOverLdap, ProvidersTypes.ConfigType, ProvidersTypes.CreateSpec, ProvidersTypes.IdmProtocol, ProvidersTypes.Info, ProvidersTypes.Oauth2AuthenticationMethod, ProvidersTypes.Oauth2CreateSpec, ProvidersTypes.Oauth2Info, ProvidersTypes.Oauth2Summary, ProvidersTypes.Oauth2UpdateSpec, ProvidersTypes.OidcCreateSpec, ProvidersTypes.OidcInfo, ProvidersTypes.OidcSummary, ProvidersTypes.OidcUpdateSpec, ProvidersTypes.Summary, ProvidersTypes.UpdateSpec
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ProvidersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ProvidersStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(ProvidersTypes.CreateSpec spec)
Create a vCenter Server identity provider.
|
void |
create(ProvidersTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Create a vCenter Server identity provider.
|
void |
create(ProvidersTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Create a vCenter Server identity provider.
|
java.lang.String |
create(ProvidersTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Create a vCenter Server identity provider.
|
void |
delete(java.lang.String provider)
Delete a vCenter Server identity provider.
|
void |
delete(java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback)
Delete a vCenter Server identity provider.
|
void |
delete(java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete a vCenter Server identity provider.
|
void |
delete(java.lang.String provider,
InvocationConfig invocationConfig)
Delete a vCenter Server identity provider.
|
ProvidersTypes.Info |
get(java.lang.String provider)
Retrieve detailed information of the specified identity provider.
|
void |
get(java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback)
Retrieve detailed information of the specified identity provider.
|
void |
get(java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieve detailed information of the specified identity provider.
|
ProvidersTypes.Info |
get(java.lang.String provider,
InvocationConfig invocationConfig)
Retrieve detailed information of the specified identity provider.
|
java.util.List<ProvidersTypes.Summary> |
list()
Retrieve all identity providers.
|
void |
list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Retrieve all identity providers.
|
void |
list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Retrieve all identity providers.
|
java.util.List<ProvidersTypes.Summary> |
list(InvocationConfig invocationConfig)
Retrieve all identity providers.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec)
Update a vCenter Server identity provider.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Update a vCenter Server identity provider.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Update a vCenter Server identity provider.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update a vCenter Server identity provider.
|
public ProvidersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ProvidersStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ProvidersTypes.Summary> list()
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<ProvidersTypes.Summary> list(InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Commonly used information about the identity providers.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
public void list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Commonly used information about the identity providers.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
public ProvidersTypes.Info get(java.lang.String provider)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ProvidersTypes.Info get(java.lang.String provider, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Providers
provider
- the identifier of the provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Detailed information of the specified identity provider.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if no provider found with the given provider identifier.
public void get(java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Detailed information of the specified identity provider.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if no provider found with the given provider identifier.
get
in interface Providers
provider
- the identifier of the provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create(ProvidersTypes.CreateSpec spec)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(ProvidersTypes.CreateSpec spec, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface Providers
spec
- the CreateSpec contains the information used to create the providerinvocationConfig
- Configuration for the method invocation.com.vmware.vcenter.identity.Providers
.public void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The identifier of the created identity provider.
The return value will be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
InvalidArgument
- if invalid arguments are provided in createSpec.
public void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
The identifier of the created identity provider.
The return value will be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
InvalidArgument
- if invalid arguments are provided in createSpec.
public void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface Providers
provider
- the identifier of the provider to update
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.spec
- the UpdateSpec contains the information used to update the providerinvocationConfig
- Configuration for the method invocation.public void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
InvalidArgument
- if invalid arguments are provided in updateSpec.
NotFound
- if no provider found with the given provider identifier.
update
in interface Providers
provider
- the identifier of the provider to update
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.spec
- the UpdateSpec contains the information used to update the providerasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
InvalidArgument
- if invalid arguments are provided in updateSpec.
NotFound
- if no provider found with the given provider identifier.
update
in interface Providers
provider
- the identifier of the provider to update
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.spec
- the UpdateSpec contains the information used to update the providerasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String provider)
Providers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String provider, InvocationConfig invocationConfig)
Providers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if no provider found with the given provider identifier.
public void delete(java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Providers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if no provider found with the given provider identifier.
delete
in interface Providers
provider
- the identifier of the provider to delete
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.