com.microsoft.azure.management.batch.ApplicationPackage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-batch Show documentation
Show all versions of azure-mgmt-batch Show documentation
This package contains Microsoft Azure Batch Account Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-batch is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.batch;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.batch.implementation.ApplicationPackageInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;
import org.joda.time.DateTime;
/**
* An immutable client-side representation of an Azure batch account application.
*/
@Fluent
public interface ApplicationPackage extends
ExternalChildResource,
Wrapper {
/**
* @return the name of application package.
*/
String name();
/**
* @return the sate of the application package
*/
PackageState state();
/**
* @return the format of application package
*/
String format();
/**
* @return the storage Url of application package where application should be uploaded
*/
String storageUrl();
/**
* @return the expiry of the storage url for application package
*/
DateTime storageUrlExpiry();
/**
* @return the date when last time this application package was activate.
*/
DateTime lastActivationTime();
/**
* Activates the application package.
*
* @param format format of the uploaded package supported values zip, tar
*/
void activate(String format);
/**
* Deletes the application package.
*/
void delete();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy