public interface Profiles extends Service, ProfilesTypes
Profiles
interface provides methods to get storage profiles
compatible with control plane VMDKs which can be used to enable a Supervisor. A
storage profile is compatible if it results in at least one datastore in each of
the specified zones. This interface was added in vSphere API 8.0.0.1.ProfilesTypes.FilterSpec, ProfilesTypes.Item, ProfilesTypes.Summary
_VAPI_SERVICE_ID
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.
|
java.util.List<ProfilesTypes.Summary> check(ProfilesTypes.FilterSpec filter)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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.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.java.util.List<ProfilesTypes.Summary> check(ProfilesTypes.FilterSpec filter, 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.
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.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.void check(ProfilesTypes.FilterSpec filter, AsyncCallback<java.util.List<ProfilesTypes.Summary>> asyncCallback)
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.
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.void check(ProfilesTypes.FilterSpec filter, AsyncCallback<java.util.List<ProfilesTypes.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:
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.
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.