Class PartnerManagement
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.platform_services.partner_management.v1.PartnerManagement
-
public class PartnerManagement extends com.ibm.cloud.sdk.core.service.BaseService
The Partner Management APIs enable you to manage the IBM Cloud partner entities and fetch multiple reports in different formats. API Version: 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_SERVICE_NAME
Default service name used when configuring the `PartnerManagement` client.static java.lang.String
DEFAULT_SERVICE_URL
Default service endpoint URL.
-
Constructor Summary
Constructors Constructor Description PartnerManagement(java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `PartnerManagement` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<BillingOptionsSummary>
getBillingOptions(GetBillingOptionsOptions getBillingOptionsOptions)
Get customers billing options.com.ibm.cloud.sdk.core.http.ServiceCall<CreditPoolsReportSummary>
getCreditPoolsReport(GetCreditPoolsReportOptions getCreditPoolsReportOptions)
Get credit pools report.com.ibm.cloud.sdk.core.http.ServiceCall<PartnerUsageReportSummary>
getResourceUsageReport(GetResourceUsageReportOptions getResourceUsageReportOptions)
Get partner resource usage report.static PartnerManagement
newInstance()
Class method which constructs an instance of the `PartnerManagement` client.static PartnerManagement
newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `PartnerManagement` client.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_NAME
Default service name used when configuring the `PartnerManagement` client.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final java.lang.String DEFAULT_SERVICE_URL
Default service endpoint URL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PartnerManagement
public PartnerManagement(java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `PartnerManagement` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
serviceName
- the service name to be used when configuring the client instanceauthenticator
- theAuthenticator
instance to be configured for this client
-
-
Method Detail
-
newInstance
public static PartnerManagement newInstance()
Class method which constructs an instance of the `PartnerManagement` client. The default service name is used to configure the client instance.- Returns:
- an instance of the `PartnerManagement` client using external configuration
-
newInstance
public static PartnerManagement newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `PartnerManagement` client. The specified service name is used to configure the client instance.- Parameters:
serviceName
- the service name to be used when configuring the client instance- Returns:
- an instance of the `PartnerManagement` client using external configuration
-
getResourceUsageReport
public com.ibm.cloud.sdk.core.http.ServiceCall<PartnerUsageReportSummary> getResourceUsageReport(GetResourceUsageReportOptions getResourceUsageReportOptions)
Get partner resource usage report. Returns the summary for the partner for a given month. Partner billing managers are authorized to access this report.- Parameters:
getResourceUsageReportOptions
- theGetResourceUsageReportOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePartnerUsageReportSummary
-
getBillingOptions
public com.ibm.cloud.sdk.core.http.ServiceCall<BillingOptionsSummary> getBillingOptions(GetBillingOptionsOptions getBillingOptionsOptions)
Get customers billing options. Returns the billing options for the requested customer for a given month.- Parameters:
getBillingOptionsOptions
- theGetBillingOptionsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeBillingOptionsSummary
-
getCreditPoolsReport
public com.ibm.cloud.sdk.core.http.ServiceCall<CreditPoolsReportSummary> getCreditPoolsReport(GetCreditPoolsReportOptions getCreditPoolsReportOptions)
Get credit pools report. Returns the subscription or commitment burn-down reports for the end customers for a given month.- Parameters:
getCreditPoolsReportOptions
- theGetCreditPoolsReportOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeCreditPoolsReportSummary
-
-