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.Info, ProfilesTypes.ListItem, ProfilesTypes.ListResult, ProfilesTypes.ProtocolVersionInfo
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ProfilesTypes.Info |
get(java.lang.String profile)
Gets the TLS parameters of a particular profile.
|
void |
get(java.lang.String profile,
com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.Info> asyncCallback)
Gets the TLS parameters of a particular profile.
|
void |
get(java.lang.String profile,
com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the TLS parameters of a particular profile.
|
ProfilesTypes.Info |
get(java.lang.String profile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the TLS parameters of a particular profile.
|
ProfilesTypes.ListResult |
list()
Gets the list of all the available standard TLS Profiles and their
configuration.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.ListResult> asyncCallback)
Gets the list of all the available standard TLS Profiles and their
configuration.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the list of all the available standard TLS Profiles and their
configuration.
|
ProfilesTypes.ListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the list of all the available standard TLS Profiles and their
configuration.
|
public ProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ProfilesTypes.Info get(java.lang.String profile)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ProfilesTypes.Info get(java.lang.String profile, com.vmware.vapi.bindings.client.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.
get
in interface Profiles
profile
- Name of the TLS Profile for which the info is needed.
The parameter must be an identifier for the resource type: com.vmware.appliance.tls.profiles
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String profile, com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.Info> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The TLS parameters of the passed profile.
Operation Errors:
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthenticated
- if the session is not authenticated
Unauthorized
- if the user is not authorized. User needs to have operator privileges.
get
in interface Profiles
profile
- Name of the TLS Profile for which the info is needed.
The parameter must be an identifier for the resource type: com.vmware.appliance.tls.profiles
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String profile, com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.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:
The TLS parameters of the passed profile.
Operation Errors:
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthenticated
- if the session is not authenticated
Unauthorized
- if the user is not authorized. User needs to have operator privileges.
get
in interface Profiles
profile
- Name of the TLS Profile for which the info is needed.
The parameter must be an identifier for the resource type: com.vmware.appliance.tls.profiles
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ProfilesTypes.ListResult list()
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ProfilesTypes.ListResult list(com.vmware.vapi.bindings.client.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.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.ListResult> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of all standard TLS Profiles and their configuration.
Operation Errors:
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthenticated
- if the session is not authenticated
Unauthorized
- if the user is not authorized. User needs to have operator privileges.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<ProfilesTypes.ListResult> asyncCallback, com.vmware.vapi.bindings.client.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:
The list of all standard TLS Profiles and their configuration.
Operation Errors:
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthenticated
- if the session is not authenticated
Unauthorized
- if the user is not authorized. User needs to have operator privileges.