public class SwitchingProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements SwitchingProfiles
SwitchingProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SwitchingProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SwitchingProfilesStub(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(com.vmware.vapi.bindings.Structure baseSwitchingProfile)
Creates a new, custom qos, port-mirroring, spoof-guard or port-security
switching profile.
|
void |
create(com.vmware.vapi.bindings.Structure baseSwitchingProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a new, custom qos, port-mirroring, spoof-guard or port-security
switching profile.
|
void |
create(com.vmware.vapi.bindings.Structure baseSwitchingProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new, custom qos, port-mirroring, spoof-guard or port-security
switching profile.
|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure baseSwitchingProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new, custom qos, port-mirroring, spoof-guard or port-security
switching profile.
|
void |
delete(java.lang.String switchingProfileId,
java.lang.Boolean unbind)
Deletes the specified switching profile.
|
void |
delete(java.lang.String switchingProfileId,
java.lang.Boolean unbind,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified switching profile.
|
void |
delete(java.lang.String switchingProfileId,
java.lang.Boolean unbind,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified switching profile.
|
void |
delete(java.lang.String switchingProfileId,
java.lang.Boolean unbind,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified switching profile.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String switchingProfileId)
Returns information about a specified switching profile.
|
void |
get(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns information about a specified switching profile.
|
void |
get(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified switching profile.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified switching profile.
|
SwitchingProfilesListResult |
list(java.lang.String cursor,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileType)
Returns information about the system-default and user-configured switching
profiles.
|
void |
list(java.lang.String cursor,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileType,
com.vmware.vapi.bindings.client.AsyncCallback<SwitchingProfilesListResult> asyncCallback)
Returns information about the system-default and user-configured switching
profiles.
|
void |
list(java.lang.String cursor,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileType,
com.vmware.vapi.bindings.client.AsyncCallback<SwitchingProfilesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the system-default and user-configured switching
profiles.
|
SwitchingProfilesListResult |
list(java.lang.String cursor,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String switchingProfileType,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the system-default and user-configured switching
profiles.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.Structure baseSwitchingProfile)
Updates the user-configurable parameters of a switching profile.
|
void |
update(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.Structure baseSwitchingProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Updates the user-configurable parameters of a switching profile.
|
void |
update(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.Structure baseSwitchingProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the user-configurable parameters of a switching profile.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String switchingProfileId,
com.vmware.vapi.bindings.Structure baseSwitchingProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the user-configurable parameters of a switching profile.
|
public SwitchingProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public SwitchingProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure baseSwitchingProfile)
SwitchingProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface SwitchingProfiles
baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.BaseSwitchingProfile
.public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure baseSwitchingProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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 SwitchingProfiles
baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.invocationConfig
- Configuration for the method invocation.BaseSwitchingProfile
.public void create(com.vmware.vapi.bindings.Structure baseSwitchingProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
SwitchingProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseSwitchingProfile
The return value will contain all the properties defined in BaseSwitchingProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface SwitchingProfiles
baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(com.vmware.vapi.bindings.Structure baseSwitchingProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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.BaseSwitchingProfile
The return value will contain all the properties defined in BaseSwitchingProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface SwitchingProfiles
baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String switchingProfileId, java.lang.Boolean unbind)
SwitchingProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface SwitchingProfiles
switchingProfileId
- (required)unbind
- force unbinding of logical switches and ports from a switching profile
(optional, default to false)public void delete(java.lang.String switchingProfileId, java.lang.Boolean unbind, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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 SwitchingProfiles
switchingProfileId
- (required)unbind
- force unbinding of logical switches and ports from a switching profile
(optional, default to false)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String switchingProfileId, java.lang.Boolean unbind, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SwitchingProfiles
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 SwitchingProfiles
switchingProfileId
- (required)unbind
- force unbinding of logical switches and ports from a switching profile
(optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String switchingProfileId, java.lang.Boolean unbind, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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 SwitchingProfiles
switchingProfileId
- (required)unbind
- force unbinding of logical switches and ports from a switching profile
(optional, default to false)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 switchingProfileId)
SwitchingProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface SwitchingProfiles
switchingProfileId
- (required)BaseSwitchingProfile
.public com.vmware.vapi.bindings.Structure get(java.lang.String switchingProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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 SwitchingProfiles
switchingProfileId
- (required)invocationConfig
- Configuration for the method invocation.BaseSwitchingProfile
.public void get(java.lang.String switchingProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
SwitchingProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseSwitchingProfile
The return value will contain all the properties defined in BaseSwitchingProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface SwitchingProfiles
switchingProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String switchingProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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.BaseSwitchingProfile
The return value will contain all the properties defined in BaseSwitchingProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface SwitchingProfiles
switchingProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public SwitchingProfilesListResult list(java.lang.String cursor, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileType)
SwitchingProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface SwitchingProfiles
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)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)switchingProfileType
- comma-separated list of switching profile types, e.g.
?switching_profile_type=QosSwitchingProfile,IpDiscoverySwitchingProfile
(optional)public SwitchingProfilesListResult list(java.lang.String cursor, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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 SwitchingProfiles
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)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)switchingProfileType
- comma-separated list of switching profile types, e.g.
?switching_profile_type=QosSwitchingProfile,IpDiscoverySwitchingProfile
(optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cursor, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileType, com.vmware.vapi.bindings.client.AsyncCallback<SwitchingProfilesListResult> asyncCallback)
SwitchingProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.SwitchingProfilesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface SwitchingProfiles
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)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)switchingProfileType
- comma-separated list of switching profile types, e.g.
?switching_profile_type=QosSwitchingProfile,IpDiscoverySwitchingProfile
(optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String switchingProfileType, com.vmware.vapi.bindings.client.AsyncCallback<SwitchingProfilesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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.SwitchingProfilesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface SwitchingProfiles
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)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)switchingProfileType
- comma-separated list of switching profile types, e.g.
?switching_profile_type=QosSwitchingProfile,IpDiscoverySwitchingProfile
(optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public com.vmware.vapi.bindings.Structure update(java.lang.String switchingProfileId, com.vmware.vapi.bindings.Structure baseSwitchingProfile)
SwitchingProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface SwitchingProfiles
switchingProfileId
- (required)baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.BaseSwitchingProfile
.public com.vmware.vapi.bindings.Structure update(java.lang.String switchingProfileId, com.vmware.vapi.bindings.Structure baseSwitchingProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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 SwitchingProfiles
switchingProfileId
- (required)baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.invocationConfig
- Configuration for the method invocation.BaseSwitchingProfile
.public void update(java.lang.String switchingProfileId, com.vmware.vapi.bindings.Structure baseSwitchingProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
SwitchingProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseSwitchingProfile
The return value will contain all the properties defined in BaseSwitchingProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface SwitchingProfiles
switchingProfileId
- (required)baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String switchingProfileId, com.vmware.vapi.bindings.Structure baseSwitchingProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SwitchingProfiles
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.BaseSwitchingProfile
The return value will contain all the properties defined in BaseSwitchingProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface SwitchingProfiles
switchingProfileId
- (required)baseSwitchingProfile
- (required)
The parameter must contain all the properties defined in BaseSwitchingProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.