Class ApplicationDefinitionProperties
java.lang.Object
com.azure.resourcemanager.managedapplications.fluent.models.ApplicationDefinitionProperties
The managed application definition properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApplicationDefinitionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the artifacts property: The collection of managed application artifacts.Get the authorizations property: The managed application provider authorizations.Get the createUiDefinition property: The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource.Get the description property: The managed application definition description.Get the displayName property: The managed application definition display name.Get the isEnabled property: A value indicating whether the package is enabled or not.Get the lockLevel property: The managed application lock level.Get the mainTemplate property: The inline main template json which has resources to be provisioned.Get the packageFileUri property: The managed application definition package file Uri.void
validate()
Validates the instance.withArtifacts
(List<ApplicationArtifact> artifacts) Set the artifacts property: The collection of managed application artifacts.withAuthorizations
(List<ApplicationProviderAuthorization> authorizations) Set the authorizations property: The managed application provider authorizations.withCreateUiDefinition
(Object createUiDefinition) Set the createUiDefinition property: The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource.withDescription
(String description) Set the description property: The managed application definition description.withDisplayName
(String displayName) Set the displayName property: The managed application definition display name.withIsEnabled
(String isEnabled) Set the isEnabled property: A value indicating whether the package is enabled or not.withLockLevel
(ApplicationLockLevel lockLevel) Set the lockLevel property: The managed application lock level.withMainTemplate
(Object mainTemplate) Set the mainTemplate property: The inline main template json which has resources to be provisioned.withPackageFileUri
(String packageFileUri) Set the packageFileUri property: The managed application definition package file Uri.
-
Constructor Details
-
ApplicationDefinitionProperties
public ApplicationDefinitionProperties()Creates an instance of ApplicationDefinitionProperties class.
-
-
Method Details
-
lockLevel
Get the lockLevel property: The managed application lock level.- Returns:
- the lockLevel value.
-
withLockLevel
Set the lockLevel property: The managed application lock level.- Parameters:
lockLevel
- the lockLevel value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
displayName
Get the displayName property: The managed application definition display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The managed application definition display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
isEnabled
Get the isEnabled property: A value indicating whether the package is enabled or not.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: A value indicating whether the package is enabled or not.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
authorizations
Get the authorizations property: The managed application provider authorizations.- Returns:
- the authorizations value.
-
withAuthorizations
public ApplicationDefinitionProperties withAuthorizations(List<ApplicationProviderAuthorization> authorizations) Set the authorizations property: The managed application provider authorizations.- Parameters:
authorizations
- the authorizations value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
artifacts
Get the artifacts property: The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.- Returns:
- the artifacts value.
-
withArtifacts
Set the artifacts property: The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.- Parameters:
artifacts
- the artifacts value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
description
Get the description property: The managed application definition description.- Returns:
- the description value.
-
withDescription
Set the description property: The managed application definition description.- Parameters:
description
- the description value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
packageFileUri
Get the packageFileUri property: The managed application definition package file Uri. Use this element.- Returns:
- the packageFileUri value.
-
withPackageFileUri
Set the packageFileUri property: The managed application definition package file Uri. Use this element.- Parameters:
packageFileUri
- the packageFileUri value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
mainTemplate
Get the mainTemplate property: The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.- Returns:
- the mainTemplate value.
-
withMainTemplate
Set the mainTemplate property: The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.- Parameters:
mainTemplate
- the mainTemplate value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
createUiDefinition
Get the createUiDefinition property: The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.- Returns:
- the createUiDefinition value.
-
withCreateUiDefinition
Set the createUiDefinition property: The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.- Parameters:
createUiDefinition
- the createUiDefinition value to set.- Returns:
- the ApplicationDefinitionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-