1. Packages
  2. Azure Classic
  3. API Docs
  4. storage
  5. ZipBlob

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.storage.ZipBlob

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi
    Deprecated: ZipBlob resource is deprecated in the 2.0 version of the provider. Use Blob resource instead.

    Create ZipBlob Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZipBlob(name: string, args: ZipBlobArgs, opts?: CustomResourceOptions);
    @overload
    def ZipBlob(resource_name: str,
                args: ZipBlobArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZipBlob(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                access_tier: Optional[str] = None,
                cache_control: Optional[str] = None,
                content: Optional[pulumi.Archive] = None,
                content_md5: Optional[str] = None,
                content_type: Optional[str] = None,
                encryption_scope: Optional[str] = None,
                metadata: Optional[Mapping[str, str]] = None,
                name: Optional[str] = None,
                parallelism: Optional[int] = None,
                size: Optional[int] = None,
                source_content: Optional[str] = None,
                source_uri: Optional[str] = None,
                storage_account_name: Optional[str] = None,
                storage_container_name: Optional[str] = None,
                type: Optional[str] = None)
    func NewZipBlob(ctx *Context, name string, args ZipBlobArgs, opts ...ResourceOption) (*ZipBlob, error)
    public ZipBlob(string name, ZipBlobArgs args, CustomResourceOptions? opts = null)
    public ZipBlob(String name, ZipBlobArgs args)
    public ZipBlob(String name, ZipBlobArgs args, CustomResourceOptions options)
    
    type: azure:storage:ZipBlob
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZipBlobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZipBlobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZipBlobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZipBlobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZipBlobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ZipBlob Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZipBlob resource accepts the following input properties:

    StorageAccountName string
    StorageContainerName string
    Type string
    AccessTier string
    CacheControl string
    Content Archive
    ContentMd5 string
    ContentType string
    EncryptionScope string
    Metadata Dictionary<string, string>
    Name string
    Parallelism int
    Size int
    SourceContent string
    SourceUri string
    StorageAccountName string
    StorageContainerName string
    Type string
    AccessTier string
    CacheControl string
    Content pulumi.Archive
    ContentMd5 string
    ContentType string
    EncryptionScope string
    Metadata map[string]string
    Name string
    Parallelism int
    Size int
    SourceContent string
    SourceUri string
    storageAccountName String
    storageContainerName String
    type String
    accessTier String
    cacheControl String
    content Archive
    contentMd5 String
    contentType String
    encryptionScope String
    metadata Map<String,String>
    name String
    parallelism Integer
    size Integer
    sourceContent String
    sourceUri String
    storageAccountName string
    storageContainerName string
    type string
    accessTier string
    cacheControl string
    content pulumi.asset.Archive
    contentMd5 string
    contentType string
    encryptionScope string
    metadata {[key: string]: string}
    name string
    parallelism number
    size number
    sourceContent string
    sourceUri string
    storageAccountName String
    storageContainerName String
    type String
    accessTier String
    cacheControl String
    content Archive
    contentMd5 String
    contentType String
    encryptionScope String
    metadata Map<String>
    name String
    parallelism Number
    size Number
    sourceContent String
    sourceUri String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZipBlob resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    id String
    The provider-assigned unique ID for this managed resource.
    url String

    Look up Existing ZipBlob Resource

    Get an existing ZipBlob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZipBlobState, opts?: CustomResourceOptions): ZipBlob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_tier: Optional[str] = None,
            cache_control: Optional[str] = None,
            content: Optional[pulumi.Archive] = None,
            content_md5: Optional[str] = None,
            content_type: Optional[str] = None,
            encryption_scope: Optional[str] = None,
            metadata: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            parallelism: Optional[int] = None,
            size: Optional[int] = None,
            source_content: Optional[str] = None,
            source_uri: Optional[str] = None,
            storage_account_name: Optional[str] = None,
            storage_container_name: Optional[str] = None,
            type: Optional[str] = None,
            url: Optional[str] = None) -> ZipBlob
    func GetZipBlob(ctx *Context, name string, id IDInput, state *ZipBlobState, opts ...ResourceOption) (*ZipBlob, error)
    public static ZipBlob Get(string name, Input<string> id, ZipBlobState? state, CustomResourceOptions? opts = null)
    public static ZipBlob get(String name, Output<String> id, ZipBlobState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessTier string
    CacheControl string
    Content Archive
    ContentMd5 string
    ContentType string
    EncryptionScope string
    Metadata Dictionary<string, string>
    Name string
    Parallelism int
    Size int
    SourceContent string
    SourceUri string
    StorageAccountName string
    StorageContainerName string
    Type string
    Url string
    AccessTier string
    CacheControl string
    Content pulumi.Archive
    ContentMd5 string
    ContentType string
    EncryptionScope string
    Metadata map[string]string
    Name string
    Parallelism int
    Size int
    SourceContent string
    SourceUri string
    StorageAccountName string
    StorageContainerName string
    Type string
    Url string
    accessTier String
    cacheControl String
    content Archive
    contentMd5 String
    contentType String
    encryptionScope String
    metadata Map<String,String>
    name String
    parallelism Integer
    size Integer
    sourceContent String
    sourceUri String
    storageAccountName String
    storageContainerName String
    type String
    url String
    accessTier string
    cacheControl string
    content pulumi.asset.Archive
    contentMd5 string
    contentType string
    encryptionScope string
    metadata {[key: string]: string}
    name string
    parallelism number
    size number
    sourceContent string
    sourceUri string
    storageAccountName string
    storageContainerName string
    type string
    url string
    accessTier String
    cacheControl String
    content Archive
    contentMd5 String
    contentType String
    encryptionScope String
    metadata Map<String>
    name String
    parallelism Number
    size Number
    sourceContent String
    sourceUri String
    storageAccountName String
    storageContainerName String
    type String
    url String

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi