public class ServiceProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceProfiles
ServiceProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServiceProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceProfilesStub(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 |
---|---|
com.vmware.vapi.bindings.Structure |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceProfile)
Adds a new service profile.
|
void |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Adds a new service profile.
|
void |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new service profile.
|
com.vmware.vapi.bindings.Structure |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new service profile.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceProfileId)
Delete service profile for a given service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete service profile for a given service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete service profile for a given service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete service profile for a given service.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String serviceId,
java.lang.String serviceProfileId)
Returns detailed service profile information for a given Service.
|
void |
get(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns detailed service profile information for a given Service.
|
void |
get(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed service profile information for a given Service.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed service profile information for a given Service.
|
SIServiceProfileListResult |
list(java.lang.String serviceId)
List all service profiles of a service.
|
void |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<SIServiceProfileListResult> asyncCallback)
List all service profiles of a service.
|
void |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<SIServiceProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service profiles of a service.
|
SIServiceProfileListResult |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service profiles of a service.
|
public ServiceProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public com.vmware.vapi.bindings.Structure create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceProfile)
ServiceProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServiceProfiles
serviceId
- (required)baseServiceProfile
- (required)
The parameter must contain all the properties defined in BaseServiceProfile
.BaseServiceProfile
.public com.vmware.vapi.bindings.Structure create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
Synchronous 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 ServiceProfiles
serviceId
- (required)baseServiceProfile
- (required)
The parameter must contain all the properties defined in BaseServiceProfile
.invocationConfig
- Configuration for the method invocation.BaseServiceProfile
.public void create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
ServiceProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseServiceProfile
The return value will contain all the properties defined in BaseServiceProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceProfiles
serviceId
- (required)baseServiceProfile
- (required)
The parameter must contain all the properties defined in BaseServiceProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
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:
com.vmware.nsx.model.BaseServiceProfile
The return value will contain all the properties defined in BaseServiceProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceProfiles
serviceId
- (required)baseServiceProfile
- (required)
The parameter must contain all the properties defined in BaseServiceProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceId, java.lang.String serviceProfileId)
ServiceProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)public void delete(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
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:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public com.vmware.vapi.bindings.Structure get(java.lang.String serviceId, java.lang.String serviceProfileId)
ServiceProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)BaseServiceProfile
.public com.vmware.vapi.bindings.Structure get(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
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 ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)invocationConfig
- Configuration for the method invocation.BaseServiceProfile
.public void get(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
ServiceProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseServiceProfile
The return value will contain all the properties defined in BaseServiceProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
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:
com.vmware.nsx.model.BaseServiceProfile
The return value will contain all the properties defined in BaseServiceProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceProfiles
serviceId
- (required)serviceProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public SIServiceProfileListResult list(java.lang.String serviceId)
ServiceProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceProfiles
serviceId
- (required)public SIServiceProfileListResult list(java.lang.String serviceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface ServiceProfiles
serviceId
- (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<SIServiceProfileListResult> asyncCallback)
ServiceProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.SIServiceProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceProfiles
serviceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<SIServiceProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceProfiles
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:
com.vmware.nsx.model.SIServiceProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceProfiles
serviceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.