We recommend using Azure Native.
Azure Classic v6.2.0 published on Friday, Sep 27, 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
The ZipBlob resource accepts the following input properties:
- Storage
Account stringName - Storage
Container stringName - Type string
- Access
Tier string - Cache
Control string - Content Archive
- Content
Md5 string - Content
Type string - Encryption
Scope string - Metadata Dictionary<string, string>
- Name string
- Parallelism int
- Size int
- Source
Content string - Source
Uri string
- Storage
Account stringName - Storage
Container stringName - Type string
- Access
Tier string - Cache
Control string - Content
pulumi.
Archive - Content
Md5 string - Content
Type string - Encryption
Scope string - Metadata map[string]string
- Name string
- Parallelism int
- Size int
- Source
Content string - Source
Uri string
- storage
Account StringName - storage
Container StringName - type String
- access
Tier String - cache
Control String - content Archive
- content
Md5 String - content
Type String - encryption
Scope String - metadata Map<String,String>
- name String
- parallelism Integer
- size Integer
- source
Content String - source
Uri String
- storage
Account stringName - storage
Container stringName - type string
- access
Tier string - cache
Control string - content
pulumi.asset.
Archive - content
Md5 string - content
Type string - encryption
Scope string - metadata {[key: string]: string}
- name string
- parallelism number
- size number
- source
Content string - source
Uri 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
- storage
Account StringName - storage
Container StringName - type String
- access
Tier String - cache
Control String - content Archive
- content
Md5 String - content
Type String - encryption
Scope String - metadata Map<String>
- name String
- parallelism Number
- size Number
- source
Content String - source
Uri 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) -> 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.
- Access
Tier string - Cache
Control string - Content Archive
- Content
Md5 string - Content
Type string - Encryption
Scope string - Metadata Dictionary<string, string>
- Name string
- Parallelism int
- Size int
- Source
Content string - Source
Uri string - Storage
Account stringName - Storage
Container stringName - Type string
- Url string
- Access
Tier string - Cache
Control string - Content
pulumi.
Archive - Content
Md5 string - Content
Type string - Encryption
Scope string - Metadata map[string]string
- Name string
- Parallelism int
- Size int
- Source
Content string - Source
Uri string - Storage
Account stringName - Storage
Container stringName - Type string
- Url string
- access
Tier String - cache
Control String - content Archive
- content
Md5 String - content
Type String - encryption
Scope String - metadata Map<String,String>
- name String
- parallelism Integer
- size Integer
- source
Content String - source
Uri String - storage
Account StringName - storage
Container StringName - type String
- url String
- access
Tier string - cache
Control string - content
pulumi.asset.
Archive - content
Md5 string - content
Type string - encryption
Scope string - metadata {[key: string]: string}
- name string
- parallelism number
- size number
- source
Content string - source
Uri string - storage
Account stringName - storage
Container 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
- access
Tier String - cache
Control String - content Archive
- content
Md5 String - content
Type String - encryption
Scope String - metadata Map<String>
- name String
- parallelism Number
- size Number
- source
Content String - source
Uri String - storage
Account StringName - storage
Container 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
azurerm
Terraform Provider.