Class ApplicationDefinitionProperties

java.lang.Object
com.azure.resourcemanager.managedapplications.fluent.models.ApplicationDefinitionProperties

public final class ApplicationDefinitionProperties extends Object
The managed application definition properties.
  • Constructor Details

    • ApplicationDefinitionProperties

      public ApplicationDefinitionProperties()
      Creates an instance of ApplicationDefinitionProperties class.
  • Method Details

    • lockLevel

      public ApplicationLockLevel lockLevel()
      Get the lockLevel property: The managed application lock level.
      Returns:
      the lockLevel value.
    • withLockLevel

      public ApplicationDefinitionProperties withLockLevel(ApplicationLockLevel lockLevel)
      Set the lockLevel property: The managed application lock level.
      Parameters:
      lockLevel - the lockLevel value to set.
      Returns:
      the ApplicationDefinitionProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: The managed application definition display name.
      Returns:
      the displayName value.
    • withDisplayName

      public ApplicationDefinitionProperties withDisplayName(String displayName)
      Set the displayName property: The managed application definition display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApplicationDefinitionProperties object itself.
    • isEnabled

      public String isEnabled()
      Get the isEnabled property: A value indicating whether the package is enabled or not.
      Returns:
      the isEnabled value.
    • withIsEnabled

      public ApplicationDefinitionProperties withIsEnabled(String isEnabled)
      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

      public List<ApplicationProviderAuthorization> 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

      public List<ApplicationArtifact> 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

      public ApplicationDefinitionProperties withArtifacts(List<ApplicationArtifact> artifacts)
      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

      public String description()
      Get the description property: The managed application definition description.
      Returns:
      the description value.
    • withDescription

      public ApplicationDefinitionProperties withDescription(String description)
      Set the description property: The managed application definition description.
      Parameters:
      description - the description value to set.
      Returns:
      the ApplicationDefinitionProperties object itself.
    • packageFileUri

      public String packageFileUri()
      Get the packageFileUri property: The managed application definition package file Uri. Use this element.
      Returns:
      the packageFileUri value.
    • withPackageFileUri

      public ApplicationDefinitionProperties withPackageFileUri(String packageFileUri)
      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

      public Object 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

      public ApplicationDefinitionProperties withMainTemplate(Object mainTemplate)
      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

      public Object 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

      public ApplicationDefinitionProperties withCreateUiDefinition(Object createUiDefinition)
      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.