
com.azure.resourcemanager.billing.models.SavingsPlanModel Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.billing.models;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.billing.fluent.models.SavingsPlanModelInner;
import java.time.OffsetDateTime;
import java.util.Map;
/**
* An immutable client-side representation of SavingsPlanModel.
*/
public interface SavingsPlanModel {
/**
* Gets the id property: Fully qualified resource Id for the resource.
*
* @return the id value.
*/
String id();
/**
* Gets the name property: The name of the resource.
*
* @return the name value.
*/
String name();
/**
* Gets the type property: The type of the resource.
*
* @return the type value.
*/
String type();
/**
* Gets the tags property: Dictionary of metadata associated with the resource. It may not be populated for all
* resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null.
* Keys can not contain < > % & \ ? /.
*
* @return the tags value.
*/
Map tags();
/**
* Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
SystemData systemData();
/**
* Gets the sku property: Savings plan SKU.
*
* @return the sku value.
*/
Sku sku();
/**
* Gets the displayName property: Display name.
*
* @return the displayName value.
*/
String displayName();
/**
* Gets the provisioningState property: The provisioning state of the resource during a long-running operation.
*
* @return the provisioningState value.
*/
ProvisioningState provisioningState();
/**
* Gets the displayProvisioningState property: The provisioning state of the savings plan for display, e.g.
* Succeeded.
*
* @return the displayProvisioningState value.
*/
String displayProvisioningState();
/**
* Gets the userFriendlyAppliedScopeType property: The applied scope type of the savings plan for display, e.g.
* Shared.
*
* @return the userFriendlyAppliedScopeType value.
*/
String userFriendlyAppliedScopeType();
/**
* Gets the billingScopeId property: Subscription that will be charged for purchasing SavingsPlan.
*
* @return the billingScopeId value.
*/
String billingScopeId();
/**
* Gets the billingProfileId property: Fully-qualified identifier of the billing profile where the savings plan is
* applied. Present only for Field-led or Customer-led customers.
*
* @return the billingProfileId value.
*/
String billingProfileId();
/**
* Gets the customerId property: Fully-qualified identifier of the customer where the savings plan is applied.
* Present only for Partner-led customers.
*
* @return the customerId value.
*/
String customerId();
/**
* Gets the billingAccountId property: Fully-qualified identifier of the billing account where the savings plan is
* applied.
*
* @return the billingAccountId value.
*/
String billingAccountId();
/**
* Gets the term property: Represents the Savings plan term in ISO 8601 format.
*
* @return the term value.
*/
SavingsPlanTerm term();
/**
* Gets the renew property: Setting this to true will automatically purchase a new benefit on the expiration date
* time.
*
* @return the renew value.
*/
Boolean renew();
/**
* Gets the renewSource property: SavingsPlan Id of the SavingsPlan from which this SavingsPlan is renewed.
*
* @return the renewSource value.
*/
String renewSource();
/**
* Gets the renewDestination property: SavingsPlan Id of the SavingsPlan which is purchased because of renew.
*
* @return the renewDestination value.
*/
String renewDestination();
/**
* Gets the renewProperties property: Properties specific to renew.
*
* @return the renewProperties value.
*/
RenewProperties renewProperties();
/**
* Gets the billingPlan property: Represents the billing plan in ISO 8601 format. Required only for monthly
* purchases.
*
* @return the billingPlan value.
*/
BillingPlan billingPlan();
/**
* Gets the appliedScopeType property: Type of the Applied Scope.
*
* @return the appliedScopeType value.
*/
AppliedScopeType appliedScopeType();
/**
* Gets the appliedScopeProperties property: Properties specific to applied scope type. Not required if not
* applicable.
*
* @return the appliedScopeProperties value.
*/
AppliedScopeProperties appliedScopeProperties();
/**
* Gets the commitment property: Commitment towards the benefit.
*
* @return the commitment value.
*/
Commitment commitment();
/**
* Gets the effectiveDateTime property: DateTime of the savings plan starting when this version is effective from.
*
* @return the effectiveDateTime value.
*/
OffsetDateTime effectiveDateTime();
/**
* Gets the benefitStartTime property: This is the DateTime when the savings plan benefit starts.
*
* @return the benefitStartTime value.
*/
OffsetDateTime benefitStartTime();
/**
* Gets the expiryDateTime property: This is the date-time when the savings plan will expire.
*
* @return the expiryDateTime value.
*/
OffsetDateTime expiryDateTime();
/**
* Gets the purchaseDateTime property: Date time when the savings plan was purchased.
*
* @return the purchaseDateTime value.
*/
OffsetDateTime purchaseDateTime();
/**
* Gets the utilization property: Savings plan utilization.
*
* @return the utilization value.
*/
Utilization utilization();
/**
* Gets the extendedStatusInfo property: Extended status information.
*
* @return the extendedStatusInfo value.
*/
ExtendedStatusInfo extendedStatusInfo();
/**
* Gets the productCode property: Represents UPN.
*
* @return the productCode value.
*/
String productCode();
/**
* Gets the inner com.azure.resourcemanager.billing.fluent.models.SavingsPlanModelInner object.
*
* @return the inner object.
*/
SavingsPlanModelInner innerModel();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy