public interface Providers extends Service, ProvidersTypes
Providers
interface provides methods to list, read and modify
vCenter Server identity providers. Warning: This interface is available
as technical preview. It may be changed in a future release.ProvidersTypes.ConfigType, ProvidersTypes.CreateSpec, ProvidersTypes.Info, ProvidersTypes.Oauth2AuthenticationMethod, ProvidersTypes.Oauth2CreateSpec, ProvidersTypes.Oauth2Info, ProvidersTypes.Oauth2Summary, ProvidersTypes.Oauth2UpdateSpec, ProvidersTypes.OidcCreateSpec, ProvidersTypes.OidcInfo, ProvidersTypes.OidcSummary, ProvidersTypes.OidcUpdateSpec, ProvidersTypes.Summary, ProvidersTypes.UpdateSpec
_VAPI_SERVICE_ID
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.
|
java.util.List<ProvidersTypes.Summary> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthorized
- if authorization is not given to caller.java.util.List<ProvidersTypes.Summary> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Unauthorized
- if authorization is not given to caller.void list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ProvidersTypes.Info get(java.lang.String provider)
Synchronous method overload. Result of the invocation will be reported as a method return value.
provider
- the identifier of the provider
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.Unauthorized
- if authorization is not given to caller.NotFound
- if no provider found with the given provider identifier.ProvidersTypes.Info get(java.lang.String provider, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
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.Unauthorized
- if authorization is not given to caller.NotFound
- if no provider found with the given provider identifier.void get(java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback)
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.
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.void get(java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback, InvocationConfig invocationConfig)
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.
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.java.lang.String create(ProvidersTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- the CreateSpec contains the information used to create the providercom.vmware.vcenter.identity.Providers
.Unauthorized
- if authorization is not given to caller.InvalidArgument
- if invalid arguments are provided in createSpec.java.lang.String create(ProvidersTypes.CreateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- the CreateSpec contains the information used to create the providerinvocationConfig
- Configuration for the method invocation.com.vmware.vcenter.identity.Providers
.Unauthorized
- if authorization is not given to caller.InvalidArgument
- if invalid arguments are provided in createSpec.void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
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.
spec
- the CreateSpec contains the information used to create the providerasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
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.
spec
- the CreateSpec contains the information used to create the providerasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 providerUnauthorized
- 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.void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
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.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.void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
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.
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.void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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.
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.void delete(java.lang.String provider)
Synchronous method overload. Result of the invocation will be reported as a method return value.
provider
- the identifier of the provider to delete
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.Unauthorized
- if authorization is not given to caller.NotFound
- if no provider found with the given provider identifier.void delete(java.lang.String provider, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
provider
- the identifier of the provider to delete
The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.Providers
.invocationConfig
- Configuration for the method invocation.Unauthorized
- if authorization is not given to caller.NotFound
- if no provider found with the given provider identifier.void delete(java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback)
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.
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.void delete(java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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.
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.