public class ProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements Profiles
Profiles
API service.
WARNING: Internal class, subject to change in future versions.
ProfilesTypes.FilterSpec, ProfilesTypes.Item, ProfilesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ProfilesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ProfilesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ProfilesTypes.Summary> |
check(ProfilesTypes.FilterSpec filter)
Returns the compatible management storage profiles for enabling a WCP Supervisor
across a given set of zones.
|
void |
check(ProfilesTypes.FilterSpec filter,
AsyncCallback<java.util.List<ProfilesTypes.Summary>> asyncCallback)
Returns the compatible management storage profiles for enabling a WCP Supervisor
across a given set of zones.
|
void |
check(ProfilesTypes.FilterSpec filter,
AsyncCallback<java.util.List<ProfilesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns the compatible management storage profiles for enabling a WCP Supervisor
across a given set of zones.
|
java.util.List<ProfilesTypes.Summary> |
check(ProfilesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns the compatible management storage profiles for enabling a WCP Supervisor
across a given set of zones.
|
public ProfilesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ProfilesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ProfilesTypes.Summary> check(ProfilesTypes.FilterSpec filter)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
check
in interface Profiles
filter
- Specification of the zones to consider when finding compatible storage profiles.
The ProfilesTypes.FilterSpec
must
contain at least 1 zone.ProfilesTypes.FilterSpec
. The
profiles returned will each result in at least one datastore in each zone.public java.util.List<ProfilesTypes.Summary> check(ProfilesTypes.FilterSpec filter, InvocationConfig invocationConfig)
Profiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
check
in interface Profiles
filter
- Specification of the zones to consider when finding compatible storage profiles.
The ProfilesTypes.FilterSpec
must
contain at least 1 zone.invocationConfig
- Configuration for the method invocation.ProfilesTypes.FilterSpec
. The
profiles returned will each result in at least one datastore in each zone.public void check(ProfilesTypes.FilterSpec filter, AsyncCallback<java.util.List<ProfilesTypes.Summary>> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of storage profiles compatible across the given ProfilesTypes.FilterSpec
. The
profiles returned will each result in at least one datastore in each zone.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if one or more fields of the ProfilesTypes.FilterSpec
is
incorrect.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege on all of the Cluster Compute
Resources in the specified vSphere Zones.
check
in interface Profiles
filter
- Specification of the zones to consider when finding compatible storage profiles.
The ProfilesTypes.FilterSpec
must
contain at least 1 zone.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void check(ProfilesTypes.FilterSpec filter, AsyncCallback<java.util.List<ProfilesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Profiles
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:
List of storage profiles compatible across the given ProfilesTypes.FilterSpec
. The
profiles returned will each result in at least one datastore in each zone.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if one or more fields of the ProfilesTypes.FilterSpec
is
incorrect.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege on all of the Cluster Compute
Resources in the specified vSphere Zones.
check
in interface Profiles
filter
- Specification of the zones to consider when finding compatible storage profiles.
The ProfilesTypes.FilterSpec
must
contain at least 1 zone.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.