Class ApplicationDefinitionInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.managedapplications.models.GenericResource
com.azure.resourcemanager.managedapplications.fluent.models.ApplicationDefinitionInner

public final class ApplicationDefinitionInner extends GenericResource
Information about managed application definition.
  • Constructor Details

    • ApplicationDefinitionInner

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

    • withManagedBy

      public ApplicationDefinitionInner withManagedBy(String managedBy)
      Set the managedBy property: ID of the resource that manages this resource.
      Overrides:
      withManagedBy in class GenericResource
      Parameters:
      managedBy - the managedBy value to set.
      Returns:
      the GenericResource object itself.
    • withSku

      public ApplicationDefinitionInner withSku(Sku sku)
      Set the sku property: The SKU of the resource.
      Overrides:
      withSku in class GenericResource
      Parameters:
      sku - the sku value to set.
      Returns:
      the GenericResource object itself.
    • withIdentity

      public ApplicationDefinitionInner withIdentity(Identity identity)
      Set the identity property: The identity of the resource.
      Overrides:
      withIdentity in class GenericResource
      Parameters:
      identity - the identity value to set.
      Returns:
      the GenericResource object itself.
    • withLocation

      public ApplicationDefinitionInner withLocation(String location)
      Overrides:
      withLocation in class GenericResource
    • withTags

      public ApplicationDefinitionInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class GenericResource
    • lockLevel

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

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

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

      public ApplicationDefinitionInner withDisplayName(String displayName)
      Set the displayName property: The managed application definition display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner object itself.
    • authorizations

      public List<ApplicationProviderAuthorization> authorizations()
      Get the authorizations property: The managed application provider authorizations.
      Returns:
      the authorizations value.
    • withAuthorizations

      public ApplicationDefinitionInner withAuthorizations(List<ApplicationProviderAuthorization> authorizations)
      Set the authorizations property: The managed application provider authorizations.
      Parameters:
      authorizations - the authorizations value to set.
      Returns:
      the ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner object itself.
    • description

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

      public ApplicationDefinitionInner withDescription(String description)
      Set the description property: The managed application definition description.
      Parameters:
      description - the description value to set.
      Returns:
      the ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class GenericResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.