public class NsProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements NsProfiles
NsProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NsProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
NsProfilesStub(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 |
---|---|
NSProfile |
create(NSProfile nsProfile)
Synchronous method overload.
|
void |
create(NSProfile nsProfile,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback)
Asynchronous method overload.
|
void |
create(NSProfile nsProfile,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSProfile |
create(NSProfile nsProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
void |
delete(java.lang.String nsProfileId,
java.lang.Boolean force)
Synchronous method overload.
|
void |
delete(java.lang.String nsProfileId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload.
|
void |
delete(java.lang.String nsProfileId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
void |
delete(java.lang.String nsProfileId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
NSProfile |
get(java.lang.String nsProfileId)
Synchronous method overload.
|
void |
get(java.lang.String nsProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback)
Asynchronous method overload.
|
void |
get(java.lang.String nsProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSProfile |
get(java.lang.String nsProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
NSProfileListResult |
list(java.lang.String attributeType,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List the NSProfiles created in a paginated format.The page size is restricted to
50 NSProfiles, so that the size of the response remains small even when there
are high number of NSProfiles with multiple attributes and multiple attribute
values for each attribute.
|
void |
list(java.lang.String attributeType,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfileListResult> asyncCallback)
List the NSProfiles created in a paginated format.The page size is restricted to
50 NSProfiles, so that the size of the response remains small even when there
are high number of NSProfiles with multiple attributes and multiple attribute
values for each attribute.
|
void |
list(java.lang.String attributeType,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the NSProfiles created in a paginated format.The page size is restricted to
50 NSProfiles, so that the size of the response remains small even when there
are high number of NSProfiles with multiple attributes and multiple attribute
values for each attribute.
|
NSProfileListResult |
list(java.lang.String attributeType,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the NSProfiles created in a paginated format.The page size is restricted to
50 NSProfiles, so that the size of the response remains small even when there
are high number of NSProfiles with multiple attributes and multiple attribute
values for each attribute.
|
NSProfile |
update(java.lang.String nsProfileId,
NSProfile nsProfile)
Synchronous method overload.
|
void |
update(java.lang.String nsProfileId,
NSProfile nsProfile,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback)
Asynchronous method overload.
|
void |
update(java.lang.String nsProfileId,
NSProfile nsProfile,
com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSProfile |
update(java.lang.String nsProfileId,
NSProfile nsProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
public NsProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public NsProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NSProfile create(NSProfile nsProfile)
NsProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface NsProfiles
nsProfile
- (required)public NSProfile create(NSProfile nsProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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 NsProfiles
nsProfile
- (required)invocationConfig
- Configuration for the method invocation.public void create(NSProfile nsProfile, com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback)
NsProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface NsProfiles
nsProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(NSProfile nsProfile, com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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.NSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface NsProfiles
nsProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String nsProfileId, java.lang.Boolean force)
NsProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface NsProfiles
nsProfileId
- NSProfile Id (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)public void delete(java.lang.String nsProfileId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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 NsProfiles
nsProfileId
- NSProfile Id (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String nsProfileId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
NsProfiles
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 NsProfiles
nsProfileId
- NSProfile Id (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String nsProfileId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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 NsProfiles
nsProfileId
- NSProfile Id (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NSProfile get(java.lang.String nsProfileId)
NsProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface NsProfiles
nsProfileId
- NSProfile Id (required)public NSProfile get(java.lang.String nsProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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 NsProfiles
nsProfileId
- NSProfile Id (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String nsProfileId, com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback)
NsProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface NsProfiles
nsProfileId
- NSProfile Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String nsProfileId, com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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.NSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface NsProfiles
nsProfileId
- NSProfile Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NSProfileListResult list(java.lang.String attributeType, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
NsProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface NsProfiles
attributeType
- Fetch NSProfiles for the given attribute type (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)public NSProfileListResult list(java.lang.String attributeType, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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 NsProfiles
attributeType
- Fetch NSProfiles for the given attribute type (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String attributeType, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<NSProfileListResult> asyncCallback)
NsProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface NsProfiles
attributeType
- Fetch NSProfiles for the given attribute type (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String attributeType, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<NSProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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.NSProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface NsProfiles
attributeType
- Fetch NSProfiles for the given attribute type (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NSProfile update(java.lang.String nsProfileId, NSProfile nsProfile)
NsProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface NsProfiles
nsProfileId
- NSProfile Id (required)nsProfile
- (required)public NSProfile update(java.lang.String nsProfileId, NSProfile nsProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
Synchronous 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 NsProfiles
nsProfileId
- NSProfile Id (required)nsProfile
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String nsProfileId, NSProfile nsProfile, com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback)
NsProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface NsProfiles
nsProfileId
- NSProfile Id (required)nsProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String nsProfileId, NSProfile nsProfile, com.vmware.vapi.bindings.client.AsyncCallback<NSProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsProfiles
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.NSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface NsProfiles
nsProfileId
- NSProfile Id (required)nsProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.