ApplicationImpl Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.ExternalChildResourceImpl<Application, ApplicationInner, BatchAccountImpl, BatchAccount>
      • com.microsoft.azure.management.batch.implementation.ApplicationImpl

public class ApplicationImpl implements Application,Application.Definition<BatchAccount.DefinitionStages.WithApplicationAndStorage>,Application.UpdateDefinition<BatchAccount.Update>,Application.Update

Implementation for BatchAccount Application and its parent interfaces.

Constructor Summary

Constructor Description
ApplicationImpl(String name, BatchAccountImpl batchAccount, ApplicationInner inner)

Method Summary

Modifier and Type Method and Description
Map<String, ApplicationPackage> applicationPackages()
BatchAccountImpl attach()
Observable<Application> createResourceAsync()
String defaultVersion()
ApplicationImpl defineNewApplicationPackage(String applicationPackageName)

First stage to create new application package in Batch account application.

Observable<Void> deleteResourceAsync()
String displayName()
Observable<ApplicationInner> getInnerAsync()
String id()
ApplicationImpl newApplication(String name, BatchAccountImpl parent)
Observable<Application> refreshAsync()

Refreshes the resource to sync with Azure.

Observable<Application> updateResourceAsync()
boolean updatesAllowed()
ApplicationImpl withAllowUpdates(boolean allowUpdates)

Allows automatic application updates.

ApplicationImpl withDisplayName(String displayName)

Specifies the display name for the application.

Application.Update withoutApplicationPackage(String applicationPackageName)

Deletes specified application package from the application.

Inherited Members

Constructor Details

ApplicationImpl

protected ApplicationImpl(String name, BatchAccountImpl batchAccount, ApplicationInner inner)

Parameters:

name
batchAccount
inner

Method Details

applicationPackages

public Map applicationPackages()

Overrides:

ApplicationImpl.applicationPackages()

Returns:

application packages

attach

public BatchAccountImpl attach()

createResourceAsync

public Observable createResourceAsync()

defaultVersion

public String defaultVersion()

Overrides:

ApplicationImpl.defaultVersion()

Returns:

the default version for the application.

defineNewApplicationPackage

public ApplicationImpl defineNewApplicationPackage(String applicationPackageName)

First stage to create new application package in Batch account application.

Overrides:

ApplicationImpl.defineNewApplicationPackage(String applicationPackageName)

Parameters:

version - the version of the application

Returns:

next stage to create the application.

deleteResourceAsync

public Observable deleteResourceAsync()

displayName

public String displayName()

Overrides:

ApplicationImpl.displayName()

Returns:

the display name of the application

getInnerAsync

protected Observable getInnerAsync()

id

public String id()

Overrides:

ApplicationImpl.id()

Returns:

the id of the external child resource

newApplication

protected static ApplicationImpl newApplication(String name, BatchAccountImpl parent)

Parameters:

name
parent

refreshAsync

public Observable refreshAsync()

Refreshes the resource to sync with Azure.

Overrides:

ApplicationImpl.refreshAsync()

Returns:

the Observable to refreshed resource

updateResourceAsync

public Observable updateResourceAsync()

updatesAllowed

public boolean updatesAllowed()

Overrides:

ApplicationImpl.updatesAllowed()

Returns:

true if automatic updates are allowed, otherwise false

withAllowUpdates

public ApplicationImpl withAllowUpdates(boolean allowUpdates)

Allows automatic application updates.

Overrides:

ApplicationImpl.withAllowUpdates(boolean allowUpdates)

Parameters:

allowUpdates - true to allow the automatic updates of the application, otherwise false

Returns:

the next stage of the update

withDisplayName

public ApplicationImpl withDisplayName(String displayName)

Specifies the display name for the application.

Overrides:

ApplicationImpl.withDisplayName(String displayName)

Parameters:

displayName - a display name

Returns:

the next stage of the update

withoutApplicationPackage

public Update withoutApplicationPackage(String applicationPackageName)

Deletes specified application package from the application.

Overrides:

ApplicationImpl.withoutApplicationPackage(String applicationPackageName)

Parameters:

version - the reference version of the application to be removed

Returns:

the stage representing updatable batch account definition.

Applies to