Click or drag to resize

IWsCommon Interface

Namespace:  Aruba.Cloud.WsCommon
Assembly:  Aruba.Cloud.WsCommon (in Aruba.Cloud.WsCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[ServiceContractAttribute(Namespace = "https://api.computing.cloud.it/WsCommon")]
[DeprecatedOperationsWsdlExportExtensionAttribute]
public interface IWsCommon

The IWsCommon type exposes the following members.

Methods
  NameDescription
Public methodDeactivateUserOtp
Delete the user on the provider system and set OtpAcive = false.
Public methodGetAvailableApplicationPermissions
The method returns for each method of a service the feasibility based on the permissions of the user. The method GetAvailableApplicationPermissions() function to check if the user has permission to execute the methods of a public service. It is invoked passing in input the name of the public service, so as to obtain the list of the methods of the service with its enforceability by the user sample output: AvailablePermission[]. MethodName (eg SetEnqueueServerCreation) PermissionStatus (0 non-executable, executable 1)
Public methodGetAvailableApplicationPermissionsList
The method returns for each method of a service the feasibility based on the permissions of the user. The method GetAvailableApplicationPermissionsList() function to check if the user has permission to execute the methods of a list of public services. It is invoked passing in input the names of the public service, so as to obtain the list of the methods of the list of services with theirs enforceability by the user sample output: List AvailablePermission[]. MethodName (eg SetEnqueueServerCreation) PermissionStatus (0 non-executable, executable 1)
Public methodGetBillingReport
The method search for billed resources in the specified period. Is it possible to avoid passing the pagination object, in which case the method will returns the whole set of rows.
Public methodCode exampleGetCompanyBannerByUrl
This method returns informations about banners of a specific company defined in the URL domain.
Public methodGetCompanyByUrl
The method obtains information about a company on the URL domain. By the method GetCompanyByUrl is possible to obtain an object WsResult(ComnpanySettings[]) which contains the information on the Company which responds to the URL indicated as a parameter.
Public methodCode exampleGetContracts
Using the method GetContracts of Aruba WsCommon, you can get Contract information about a defined service.
Public methodGetCredit
The method gets the updated value of the credit for the user. Using the method GetCredit() of Aruba WsCommon you can check the credit associated with the account specified in the authentication phase. In addition to the remaining credit, the method GetCredit() displays the value of the granted credit.
Public methodCode exampleGetCreditProjection
The method does a projection on the user credit and tells in wich time the credit expires
Public methodGetDatacenterConfigurations
The method gets the data center configurations available. Using the method GetDatacenterConfigurations() you can get information about the configuration settings of datacenter available at the time of the call.
Public methodGetMaintenanceAlertSettings
Using the method of Aruba WsCommon, you can get information whether the Maintenance Alert banner should be shown
Public methodCode exampleGetNews
Using the method GetNews of Aruba WsCommon, you can get detailed information about news regarding the user. For example, if a server was created or shut down correctly.
Public methodGetPriceList
The method gets the price list associated with the account indicated. Using the method GetPriceList() WsCommon of Aruba, you can get the price list times applied to the account specified in the authentication phase. The hourly rates of the various resources may vary depending on different factors such as hypervisor and customer.
Public methodCode exampleGetPurchasedCustomProductDetails
The method gets the Custom Products purchased for one specific Custom Product
Public methodCode exampleGetPurchasedCustomProducts
The method gets the Custom Products purchased that have no Reference to other Services
Public methodGetServiceRequests
The method returns the API requests for the logged user, filtered by options specified in "request" parameter.
Public methodCode exampleGetUserAuthenticationToken Obsolete.
The method generates an authentication token and associates it with the account indicated. Each user is assigned a unique token, valid for a few hours, certifying the authentication service. If you have a valid token you can make calls to methods of WSEndUser.After each call to any method of Aruba WSEndUser, the service checks for a valid token for the account that you specify. If this does not exist, or if the token is found to be expired, you will need to authenticate again to get it.
Public methodGetUserInfo
The method gets the user information. Using the method GetUserInfo of Aruba WsCommon, you can get detailed information at the time the account specified authentication. For example, you can learn about the unique identifier assigned to the (UserId), or whether the user is active or is disabled.
Public methodCode exampleGetUserOtp
Returns information associated to the provided username.
Public methodCode exampleNotifyLogin
Update the user profile's LoginAfterResetPwd field.
Public methodRequestTokenOtp
Requests the token.
Public methodCode exampleSaveDevice
Using the method of Aruba WsCommon, you can save a device saveDeviceRequest
Public methodSetDeviceDisconnected
Using the method of Aruba WsCommon, you can disconnect a device setDeviceDisconnectedRequest
Public methodSetNewDeviceId
Using the method of Aruba WsCommon, you can set a new device setNewDeviceIdRequest
Public methodSetOtpActive
Set the field OtpActive = true in table Users in ArubaCloudUsers DB
Public methodCode exampleSetReadNews
Using the method SetReadNews of Aruba WsCommon, you can set readed's news property.
Public methodCode exampleSyncToken
Synchronizes the token for the provided username.
Top
See Also