Class VMGalleryApplication


  • public final class VMGalleryApplication
    extends Object
    Specifies the required information to reference a compute gallery application version.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String configurationReference()
      Get the configurationReference property: Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided.
      Integer order()
      Get the order property: Optional, Specifies the order in which the packages have to be installed.
      String packageReferenceId()
      Get the packageReferenceId property: Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}.
      String tags()
      Get the tags property: Optional, Specifies a passthrough value for more generic context.
      void validate()
      Validates the instance.
      VMGalleryApplication withConfigurationReference​(String configurationReference)
      Set the configurationReference property: Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided.
      VMGalleryApplication withOrder​(Integer order)
      Set the order property: Optional, Specifies the order in which the packages have to be installed.
      VMGalleryApplication withPackageReferenceId​(String packageReferenceId)
      Set the packageReferenceId property: Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}.
      VMGalleryApplication withTags​(String tags)
      Set the tags property: Optional, Specifies a passthrough value for more generic context.
    • Constructor Detail

      • VMGalleryApplication

        public VMGalleryApplication()
    • Method Detail

      • tags

        public String tags()
        Get the tags property: Optional, Specifies a passthrough value for more generic context.
        Returns:
        the tags value.
      • withTags

        public VMGalleryApplication withTags​(String tags)
        Set the tags property: Optional, Specifies a passthrough value for more generic context.
        Parameters:
        tags - the tags value to set.
        Returns:
        the VMGalleryApplication object itself.
      • order

        public Integer order()
        Get the order property: Optional, Specifies the order in which the packages have to be installed.
        Returns:
        the order value.
      • withOrder

        public VMGalleryApplication withOrder​(Integer order)
        Set the order property: Optional, Specifies the order in which the packages have to be installed.
        Parameters:
        order - the order value to set.
        Returns:
        the VMGalleryApplication object itself.
      • packageReferenceId

        public String packageReferenceId()
        Get the packageReferenceId property: Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}.
        Returns:
        the packageReferenceId value.
      • withPackageReferenceId

        public VMGalleryApplication withPackageReferenceId​(String packageReferenceId)
        Set the packageReferenceId property: Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}.
        Parameters:
        packageReferenceId - the packageReferenceId value to set.
        Returns:
        the VMGalleryApplication object itself.
      • configurationReference

        public String configurationReference()
        Get the configurationReference property: Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided.
        Returns:
        the configurationReference value.
      • withConfigurationReference

        public VMGalleryApplication withConfigurationReference​(String configurationReference)
        Set the configurationReference property: Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided.
        Parameters:
        configurationReference - the configurationReference value to set.
        Returns:
        the VMGalleryApplication object itself.
      • validate

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