Class GetMetadataResult


  • public final class GetMetadataResult
    extends java.lang.Object
    • Method Detail

      • author

        public java.util.Optional<MetadataAuthorResponse> author()
        Returns:
        The creator of the content item.
      • categories

        public java.util.Optional<MetadataCategoriesResponse> categories()
        Returns:
        Categories for the solution content item
      • contentId

        public java.util.Optional<java.lang.String> contentId()
        Returns:
        Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
      • contentSchemaVersion

        public java.util.Optional<java.lang.String> contentSchemaVersion()
        Returns:
        Schema version of the content. Can be used to distinguish between different flow based on the schema version
      • customVersion

        public java.util.Optional<java.lang.String> customVersion()
        Returns:
        The custom version of the content. A optional free text
      • dependencies

        public java.util.Optional<MetadataDependenciesResponse> dependencies()
        Returns:
        Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
      • etag

        public java.util.Optional<java.lang.String> etag()
        Returns:
        Etag of the azure resource
      • firstPublishDate

        public java.util.Optional<java.lang.String> firstPublishDate()
        Returns:
        first publish date solution content item
      • icon

        public java.util.Optional<java.lang.String> icon()
        Returns:
        the icon identifier. this id can later be fetched from the solution template
      • id

        public java.lang.String id()
        Returns:
        Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
      • kind

        public java.lang.String kind()
        Returns:
        The kind of content the metadata is for.
      • lastPublishDate

        public java.util.Optional<java.lang.String> lastPublishDate()
        Returns:
        last publish date for the solution content item
      • name

        public java.lang.String name()
        Returns:
        The name of the resource
      • parentId

        public java.lang.String parentId()
        Returns:
        Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group)
      • previewImages

        public java.util.List<java.lang.String> previewImages()
        Returns:
        preview image file names. These will be taken from the solution artifacts
      • previewImagesDark

        public java.util.List<java.lang.String> previewImagesDark()
        Returns:
        preview image file names. These will be taken from the solution artifacts. used for dark theme support
      • providers

        public java.util.List<java.lang.String> providers()
        Returns:
        Providers for the solution content item
      • source

        public java.util.Optional<MetadataSourceResponse> source()
        Returns:
        Source of the content. This is where/how it was created.
      • support

        public java.util.Optional<MetadataSupportResponse> support()
        Returns:
        Support information for the metadata - type, name, contact information
      • systemData

        public SystemDataResponse systemData()
        Returns:
        Azure Resource Manager metadata containing createdBy and modifiedBy information.
      • threatAnalysisTactics

        public java.util.List<java.lang.String> threatAnalysisTactics()
        Returns:
        the tactics the resource covers
      • threatAnalysisTechniques

        public java.util.List<java.lang.String> threatAnalysisTechniques()
        Returns:
        the techniques the resource covers, these have to be aligned with the tactics being used
      • type

        public java.lang.String type()
        Returns:
        The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
      • version

        public java.util.Optional<java.lang.String> version()
        Returns:
        Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks