Class StorageAccount


  • public final class StorageAccount
    extends Object
    The details about the associated storage account.
    • Constructor Detail

      • StorageAccount

        public StorageAccount()
    • Method Detail

      • id

        public String id()
        Get the id property: The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage).
        Returns:
        the id value.
      • withId

        public StorageAccount withId​(String id)
        Set the id property: The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage).
        Parameters:
        id - the id value to set.
        Returns:
        the StorageAccount object itself.
      • identity

        public ResourceIdentity identity()
        Get the identity property: A managed identity that Video Analyzer will use to access the storage account.
        Returns:
        the identity value.
      • withIdentity

        public StorageAccount withIdentity​(ResourceIdentity identity)
        Set the identity property: A managed identity that Video Analyzer will use to access the storage account.
        Parameters:
        identity - the identity value to set.
        Returns:
        the StorageAccount object itself.
      • status

        public String status()
        Get the status property: The current status of the storage account mapping.
        Returns:
        the status value.
      • validate

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