public class PortMirroringProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements PortMirroringProfiles
PortMirroringProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PortMirroringProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
PortMirroringProfilesStub(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 |
---|---|
void |
delete(java.lang.String portMirroringProfileId,
java.lang.Boolean override)
API will delete port mirroring profile.
|
void |
delete(java.lang.String portMirroringProfileId,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
API will delete port mirroring profile.
|
void |
delete(java.lang.String portMirroringProfileId,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will delete port mirroring profile.
|
void |
delete(java.lang.String portMirroringProfileId,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will delete port mirroring profile.
|
PortMirroringProfile |
get(java.lang.String portMirroringProfileId)
API will return details of port mirroring profile.
|
void |
get(java.lang.String portMirroringProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
API will return details of port mirroring profile.
|
void |
get(java.lang.String portMirroringProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will return details of port mirroring profile.
|
PortMirroringProfile |
get(java.lang.String portMirroringProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will return details of port mirroring profile.
|
PortMirroringProfileListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
API will list all port mirroring profiles group.
|
void |
list(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<PortMirroringProfileListResult> asyncCallback)
API will list all port mirroring profiles group.
|
void |
list(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<PortMirroringProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will list all port mirroring profiles group.
|
PortMirroringProfileListResult |
list(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)
API will list all port mirroring profiles group.
|
void |
patch(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override)
Create a new Port Mirroring Profile if the Port Mirroring Profile with given id
does not already exist.
|
void |
patch(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create a new Port Mirroring Profile if the Port Mirroring Profile with given id
does not already exist.
|
void |
patch(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new Port Mirroring Profile if the Port Mirroring Profile with given id
does not already exist.
|
void |
patch(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new Port Mirroring Profile if the Port Mirroring Profile with given id
does not already exist.
|
PortMirroringProfile |
update(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override)
Create or Replace port mirroring profile.
|
void |
update(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
Create or Replace port mirroring profile.
|
void |
update(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Replace port mirroring profile.
|
PortMirroringProfile |
update(java.lang.String portMirroringProfileId,
PortMirroringProfile portMirroringProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Replace port mirroring profile.
|
public PortMirroringProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public PortMirroringProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override)
PortMirroringProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)override
- Locally override the global object (optional, default to false)public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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 PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)override
- Locally override the global object (optional, default to false)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
PortMirroringProfiles
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 PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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 PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public PortMirroringProfile get(java.lang.String portMirroringProfileId)
PortMirroringProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)public PortMirroringProfile get(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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 PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
PortMirroringProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.PortMirroringProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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_policy.model.PortMirroringProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public PortMirroringProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
PortMirroringProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface PortMirroringProfiles
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 PortMirroringProfileListResult list(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)
PortMirroringProfiles
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 PortMirroringProfiles
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 cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfileListResult> asyncCallback)
PortMirroringProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.PortMirroringProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface PortMirroringProfiles
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 cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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_policy.model.PortMirroringProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface PortMirroringProfiles
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 void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)
PortMirroringProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
patch
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)public void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
patch
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)invocationConfig
- Configuration for the method invocation.public void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
PortMirroringProfiles
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
patch
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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
patch
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profile Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public PortMirroringProfile update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)
PortMirroringProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profiles Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)public PortMirroringProfile update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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 PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profiles Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
PortMirroringProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.PortMirroringProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profiles Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
PortMirroringProfiles
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_policy.model.PortMirroringProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface PortMirroringProfiles
portMirroringProfileId
- Port Mirroring Profiles Id (required)portMirroringProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.