/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java
http://github.com/WindowsAzure/azure-sdk-for-java · Java · 351 lines · 96 code · 42 blank · 213 comment · 0 complexity · 10dc2e1f5fce03c7533461531b5159fe MD5 · raw file
- /**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
- package com.microsoft.azure.management.appservice.v2018_02_01;
- import com.microsoft.azure.arm.model.HasInner;
- import com.microsoft.azure.arm.resources.models.Resource;
- import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
- import com.microsoft.azure.arm.resources.models.HasResourceGroup;
- import com.microsoft.azure.arm.model.Refreshable;
- import com.microsoft.azure.arm.model.Updatable;
- import com.microsoft.azure.arm.model.Appliable;
- import com.microsoft.azure.arm.model.Creatable;
- import com.microsoft.azure.arm.resources.models.HasManager;
- import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager;
- import java.util.Map;
- import org.joda.time.DateTime;
- import java.util.List;
- import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceCertificateOrderInner;
- /**
- * Type representing AppServiceCertificateOrder.
- */
- public interface AppServiceCertificateOrder extends HasInner<AppServiceCertificateOrderInner>, Resource, GroupableResourceCore<AppServiceManager, AppServiceCertificateOrderInner>, HasResourceGroup, Refreshable<AppServiceCertificateOrder>, Updatable<AppServiceCertificateOrder.Update>, HasManager<AppServiceManager> {
- /**
- * @return the appServiceCertificateNotRenewableReasons value.
- */
- List<String> appServiceCertificateNotRenewableReasons();
- /**
- * @return the autoRenew value.
- */
- Boolean autoRenew();
- /**
- * @return the certificates value.
- */
- Map<String, AppServiceCertificate> certificates();
- /**
- * @return the csr value.
- */
- String csr();
- /**
- * @return the distinguishedName value.
- */
- String distinguishedName();
- /**
- * @return the domainVerificationToken value.
- */
- String domainVerificationToken();
- /**
- * @return the expirationTime value.
- */
- DateTime expirationTime();
- /**
- * @return the intermediate value.
- */
- CertificateDetails intermediate();
- /**
- * @return the isPrivateKeyExternal value.
- */
- Boolean isPrivateKeyExternal();
- /**
- * @return the keySize value.
- */
- Integer keySize();
- /**
- * @return the kind value.
- */
- String kind();
- /**
- * @return the lastCertificateIssuanceTime value.
- */
- DateTime lastCertificateIssuanceTime();
- /**
- * @return the nextAutoRenewalTimeStamp value.
- */
- DateTime nextAutoRenewalTimeStamp();
- /**
- * @return the productType value.
- */
- CertificateProductType productType();
- /**
- * @return the provisioningState value.
- */
- ProvisioningState provisioningState();
- /**
- * @return the root value.
- */
- CertificateDetails root();
- /**
- * @return the serialNumber value.
- */
- String serialNumber();
- /**
- * @return the signedCertificate value.
- */
- CertificateDetails signedCertificate();
- /**
- * @return the status value.
- */
- CertificateOrderStatus status();
- /**
- * @return the validityInYears value.
- */
- Integer validityInYears();
- /**
- * The entirety of the AppServiceCertificateOrder definition.
- */
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithProductType, DefinitionStages.WithCreate {
- }
- /**
- * Grouping of AppServiceCertificateOrder definition stages.
- */
- interface DefinitionStages {
- /**
- * The first stage of a AppServiceCertificateOrder definition.
- */
- interface Blank extends GroupableResourceCore.DefinitionWithRegion<WithGroup> {
- }
- /**
- * The stage of the AppServiceCertificateOrder definition allowing to specify the resource group.
- */
- interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithProductType> {
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify ProductType.
- */
- interface WithProductType {
- /**
- * Specifies productType.
- * @param productType Certificate product type. Possible values include: 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl'
- * @return the next definition stage
- */
- WithCreate withProductType(CertificateProductType productType);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify AutoRenew.
- */
- interface WithAutoRenew {
- /**
- * Specifies autoRenew.
- * @param autoRenew <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>
- * @return the next definition stage
- */
- WithCreate withAutoRenew(Boolean autoRenew);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify Certificates.
- */
- interface WithCertificates {
- /**
- * Specifies certificates.
- * @param certificates State of the Key Vault secret
- * @return the next definition stage
- */
- WithCreate withCertificates(Map<String, AppServiceCertificate> certificates);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify Csr.
- */
- interface WithCsr {
- /**
- * Specifies csr.
- * @param csr Last CSR that was created for this order
- * @return the next definition stage
- */
- WithCreate withCsr(String csr);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify DistinguishedName.
- */
- interface WithDistinguishedName {
- /**
- * Specifies distinguishedName.
- * @param distinguishedName Certificate distinguished name
- * @return the next definition stage
- */
- WithCreate withDistinguishedName(String distinguishedName);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify KeySize.
- */
- interface WithKeySize {
- /**
- * Specifies keySize.
- * @param keySize Certificate key size
- * @return the next definition stage
- */
- WithCreate withKeySize(Integer keySize);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify Kind.
- */
- interface WithKind {
- /**
- * Specifies kind.
- * @param kind Kind of resource
- * @return the next definition stage
- */
- WithCreate withKind(String kind);
- }
- /**
- * The stage of the appservicecertificateorder definition allowing to specify ValidityInYears.
- */
- interface WithValidityInYears {
- /**
- * Specifies validityInYears.
- * @param validityInYears Duration in years (must be between 1 and 3)
- * @return the next definition stage
- */
- WithCreate withValidityInYears(Integer validityInYears);
- }
- /**
- * The stage of the definition which contains all the minimum required inputs for
- * the resource to be created (via {@link WithCreate#create()}), but also allows
- * for any other optional settings to be specified.
- */
- interface WithCreate extends Creatable<AppServiceCertificateOrder>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithAutoRenew, DefinitionStages.WithCertificates, DefinitionStages.WithCsr, DefinitionStages.WithDistinguishedName, DefinitionStages.WithKeySize, DefinitionStages.WithKind, DefinitionStages.WithValidityInYears {
- }
- }
- /**
- * The template for a AppServiceCertificateOrder update operation, containing all the settings that can be modified.
- */
- interface Update extends Appliable<AppServiceCertificateOrder>, Resource.UpdateWithTags<Update>, UpdateStages.WithAutoRenew, UpdateStages.WithCertificates, UpdateStages.WithCsr, UpdateStages.WithDistinguishedName, UpdateStages.WithKeySize, UpdateStages.WithKind, UpdateStages.WithValidityInYears {
- }
- /**
- * Grouping of AppServiceCertificateOrder update stages.
- */
- interface UpdateStages {
- /**
- * The stage of the appservicecertificateorder update allowing to specify AutoRenew.
- */
- interface WithAutoRenew {
- /**
- * Specifies autoRenew.
- * @param autoRenew <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>
- * @return the next update stage
- */
- Update withAutoRenew(Boolean autoRenew);
- }
- /**
- * The stage of the appservicecertificateorder update allowing to specify Certificates.
- */
- interface WithCertificates {
- /**
- * Specifies certificates.
- * @param certificates State of the Key Vault secret
- * @return the next update stage
- */
- Update withCertificates(Map<String, AppServiceCertificate> certificates);
- }
- /**
- * The stage of the appservicecertificateorder update allowing to specify Csr.
- */
- interface WithCsr {
- /**
- * Specifies csr.
- * @param csr Last CSR that was created for this order
- * @return the next update stage
- */
- Update withCsr(String csr);
- }
- /**
- * The stage of the appservicecertificateorder update allowing to specify DistinguishedName.
- */
- interface WithDistinguishedName {
- /**
- * Specifies distinguishedName.
- * @param distinguishedName Certificate distinguished name
- * @return the next update stage
- */
- Update withDistinguishedName(String distinguishedName);
- }
- /**
- * The stage of the appservicecertificateorder update allowing to specify KeySize.
- */
- interface WithKeySize {
- /**
- * Specifies keySize.
- * @param keySize Certificate key size
- * @return the next update stage
- */
- Update withKeySize(Integer keySize);
- }
- /**
- * The stage of the appservicecertificateorder update allowing to specify Kind.
- */
- interface WithKind {
- /**
- * Specifies kind.
- * @param kind Kind of resource
- * @return the next update stage
- */
- Update withKind(String kind);
- }
- /**
- * The stage of the appservicecertificateorder update allowing to specify ValidityInYears.
- */
- interface WithValidityInYears {
- /**
- * Specifies validityInYears.
- * @param validityInYears Duration in years (must be between 1 and 3)
- * @return the next update stage
- */
- Update withValidityInYears(Integer validityInYears);
- }
- }
- }