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.UpdateSpecapiProvider, converter, ifaceId, retryPolicy, 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()
ProvidersSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<ProvidersTypes.Summary> list(InvocationConfig invocationConfig)
ProvidersSynchronous 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)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Read and VcIdentityProviders.Manage. public void list(AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Read and VcIdentityProviders.Manage. public ProvidersTypes.Info get(java.lang.String provider)
ProvidersSynchronous method overload. Result of the invocation will be reported as a method return value.
public ProvidersTypes.Info get(java.lang.String provider, InvocationConfig invocationConfig)
ProvidersSynchronous 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 Providersprovider - 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)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Read and VcIdentityProviders.Manage. public void get(java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Read and VcIdentityProviders.Manage. get in interface Providersprovider - 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)
ProvidersSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(ProvidersTypes.CreateSpec spec, InvocationConfig invocationConfig)
ProvidersSynchronous 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 Providersspec - 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)
ProvidersAsynchronous 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.
AlreadyExists - if provider exists for provider ID in given spec.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Create and VcIdentityProviders.Manage. public void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ProvidersAsynchronous 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.
AlreadyExists - if provider exists for provider ID in given spec.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Create and VcIdentityProviders.Manage. public void update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec)
ProvidersSynchronous 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)
ProvidersSynchronous 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 Providersprovider - 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)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage. update in interface Providersprovider - 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)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage. update in interface Providersprovider - 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)
ProvidersSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String provider,
InvocationConfig invocationConfig)
ProvidersSynchronous 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)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage. public void delete(java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
ProvidersAsynchronous 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.
Unauthorized - if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage. delete in interface Providersprovider - 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.