public class ProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements Profiles
Profiles
API service.
WARNING: Internal class, subject to change in future versions.
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 |
---|---|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure baseFirewallProfile)
Create a firewall profile with values provided.
|
void |
create(com.vmware.vapi.bindings.Structure baseFirewallProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Create a firewall profile with values provided.
|
void |
create(com.vmware.vapi.bindings.Structure baseFirewallProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a firewall profile with values provided.
|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure baseFirewallProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a firewall profile with values provided.
|
void |
delete(java.lang.String profileId)
Deletes a firewall profile.
|
void |
delete(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes a firewall profile.
|
void |
delete(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes a firewall profile.
|
void |
delete(java.lang.String profileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes a firewall profile.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String profileId)
Return firewall session timer profile.
|
void |
get(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Return firewall session timer profile.
|
void |
get(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return firewall session timer profile.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String profileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return firewall session timer profile.
|
FirewallProfileListResult |
list(java.lang.String resourceType,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List all the firewall profiles available by requested resource_type.
|
void |
list(java.lang.String resourceType,
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<FirewallProfileListResult> asyncCallback)
List all the firewall profiles available by requested resource_type.
|
void |
list(java.lang.String resourceType,
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<FirewallProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all the firewall profiles available by requested resource_type.
|
FirewallProfileListResult |
list(java.lang.String resourceType,
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 all the firewall profiles available by requested resource_type.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String profileId,
com.vmware.vapi.bindings.Structure baseFirewallProfile)
Update user configurable properties of firewall profile.
|
void |
update(java.lang.String profileId,
com.vmware.vapi.bindings.Structure baseFirewallProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Update user configurable properties of firewall profile.
|
void |
update(java.lang.String profileId,
com.vmware.vapi.bindings.Structure baseFirewallProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update user configurable properties of firewall profile.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String profileId,
com.vmware.vapi.bindings.Structure baseFirewallProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update user configurable properties of firewall profile.
|
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 com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure baseFirewallProfile)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface Profiles
baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.BaseFirewallProfile
.public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure baseFirewallProfile, 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.
create
in interface Profiles
baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.invocationConfig
- Configuration for the method invocation.BaseFirewallProfile
.public void create(com.vmware.vapi.bindings.Structure baseFirewallProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseFirewallProfile
The return value will contain all the properties defined in BaseFirewallProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface Profiles
baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(com.vmware.vapi.bindings.Structure baseFirewallProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> 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:
com.vmware.nsx.model.BaseFirewallProfile
The return value will contain all the properties defined in BaseFirewallProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface Profiles
baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String profileId)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String profileId, 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 delete(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Profiles
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
public void delete(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public com.vmware.vapi.bindings.Structure get(java.lang.String profileId)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Profiles
profileId
- (required)BaseFirewallProfile
.public com.vmware.vapi.bindings.Structure get(java.lang.String profileId, 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
profileId
- (required)invocationConfig
- Configuration for the method invocation.BaseFirewallProfile
.public void get(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseFirewallProfile
The return value will contain all the properties defined in BaseFirewallProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> 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:
com.vmware.nsx.model.BaseFirewallProfile
The return value will contain all the properties defined in BaseFirewallProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public FirewallProfileListResult list(java.lang.String resourceType, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Profiles
resourceType
- Profile resource type (required)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 FirewallProfileListResult list(java.lang.String resourceType, 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)
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.
list
in interface Profiles
resourceType
- Profile resource type (required)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 resourceType, 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<FirewallProfileListResult> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FirewallProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Profiles
resourceType
- Profile resource type (required)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 resourceType, 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<FirewallProfileListResult> 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:
com.vmware.nsx.model.FirewallProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Profiles
resourceType
- Profile resource type (required)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 com.vmware.vapi.bindings.Structure update(java.lang.String profileId, com.vmware.vapi.bindings.Structure baseFirewallProfile)
Profiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Profiles
profileId
- (required)baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.BaseFirewallProfile
.public com.vmware.vapi.bindings.Structure update(java.lang.String profileId, com.vmware.vapi.bindings.Structure baseFirewallProfile, 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.
update
in interface Profiles
profileId
- (required)baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.invocationConfig
- Configuration for the method invocation.BaseFirewallProfile
.public void update(java.lang.String profileId, com.vmware.vapi.bindings.Structure baseFirewallProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Profiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseFirewallProfile
The return value will contain all the properties defined in BaseFirewallProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Profiles
profileId
- (required)baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String profileId, com.vmware.vapi.bindings.Structure baseFirewallProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> 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:
com.vmware.nsx.model.BaseFirewallProfile
The return value will contain all the properties defined in BaseFirewallProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Profiles
profileId
- (required)baseFirewallProfile
- (required)
The parameter must contain all the properties defined in BaseFirewallProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.