Interface Application
public interface Application
An immutable client-side representation of Application.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the Application definition.static interfaceThe Application definition stages.static interfaceThe template for Application update.static interfaceThe Application update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the allowUpdates property: A value indicating whether packages within the application may be overwritten using the same version string.Gets the defaultVersion property: The package to use if a client requests the application but does not specify a version.Gets the displayName property: The display name for the application.etag()Gets the etag property: The ETag of the resource, used for concurrency statements.id()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.batch.fluent.models.ApplicationInner object.name()Gets the name property: The name of the resource.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.type()Gets the type property: The type of the resource.update()Begins update for the Application resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
etag
String etag()Gets the etag property: The ETag of the resource, used for concurrency statements.- Returns:
- the etag value.
-
displayName
String displayName()Gets the displayName property: The display name for the application.- Returns:
- the displayName value.
-
allowUpdates
Boolean allowUpdates()Gets the allowUpdates property: A value indicating whether packages within the application may be overwritten using the same version string.- Returns:
- the allowUpdates value.
-
defaultVersion
String defaultVersion()Gets the defaultVersion property: The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.- Returns:
- the defaultVersion value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ApplicationInner innerModel()Gets the inner com.azure.resourcemanager.batch.fluent.models.ApplicationInner object.- Returns:
- the inner object.
-
update
Application.Update update()Begins update for the Application resource.- Returns:
- the stage of resource update.
-
refresh
Application refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-