We recommend using Azure Native.
Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi
azure.storage.ZipBlob
Explore with Pulumi AI
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:
- StorageAccount stringName 
- StorageContainer stringName 
- 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
- StorageAccount stringName 
- StorageContainer stringName 
- 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
- storageAccount StringName 
- storageContainer StringName 
- 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
- storageAccount stringName 
- storageContainer stringName 
- 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
- storage_account_ strname 
- storage_container_ strname 
- type str
- access_tier str
- cache_control str
- content
pulumi.Archive 
- content_md5 str
- content_type str
- encryption_scope str
- metadata Mapping[str, str]
- name str
- parallelism int
- size int
- source_content str
- source_uri str
- storageAccount StringName 
- storageContainer StringName 
- 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:
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) -> ZipBlobfunc 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.
- 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
- StorageAccount stringName 
- StorageContainer stringName 
- 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
- StorageAccount stringName 
- StorageContainer stringName 
- 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
- storageAccount StringName 
- storageContainer StringName 
- 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
- storageAccount stringName 
- storageContainer stringName 
- type string
- url string
- access_tier str
- cache_control str
- content
pulumi.Archive 
- content_md5 str
- content_type str
- encryption_scope str
- metadata Mapping[str, str]
- name str
- parallelism int
- size int
- source_content str
- source_uri str
- storage_account_ strname 
- storage_container_ strname 
- type str
- url str
- 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
- storageAccount StringName 
- storageContainer StringName 
- type String
- url String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.