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
Information about managed application definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApplicationDefinitionInner 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.withIdentity
(Identity identity) Set the identity property: The identity of the resource.withIsEnabled
(String isEnabled) Set the isEnabled property: A value indicating whether the package is enabled or not.withLocation
(String location) 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.withManagedBy
(String managedBy) Set the managedBy property: ID of the resource that manages this resource.withPackageFileUri
(String packageFileUri) Set the packageFileUri property: The managed application definition package file Uri.Set the sku property: The SKU of the resource.Methods inherited from class com.azure.resourcemanager.managedapplications.models.GenericResource
identity, managedBy, sku
Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ApplicationDefinitionInner
public ApplicationDefinitionInner()Creates an instance of ApplicationDefinitionInner class.
-
-
Method Details
-
withManagedBy
Set the managedBy property: ID of the resource that manages this resource.- Overrides:
withManagedBy
in classGenericResource
- Parameters:
managedBy
- the managedBy value to set.- Returns:
- the GenericResource object itself.
-
withSku
Set the sku property: The SKU of the resource.- Overrides:
withSku
in classGenericResource
- Parameters:
sku
- the sku value to set.- Returns:
- the GenericResource object itself.
-
withIdentity
Set the identity property: The identity of the resource.- Overrides:
withIdentity
in classGenericResource
- Parameters:
identity
- the identity value to set.- Returns:
- the GenericResource object itself.
-
withLocation
- Overrides:
withLocation
in classGenericResource
-
withTags
- Overrides:
withTags
in classGenericResource
-
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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner object itself.
-
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
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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner 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 ApplicationDefinitionInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classGenericResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-