We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a File Share within Azure Storage.
Note: The storage share supports two storage tiers: premium and standard. Standard file shares are created in general purpose (GPv1 or GPv2) storage accounts and premium file shares are created in FileStorage storage accounts. For further information, refer to the section “What storage tiers are supported in Azure Files?” of documentation.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleShare = new Azure.Storage.Share("exampleShare", new Azure.Storage.ShareArgs
{
StorageAccountName = exampleAccount.Name,
Quota = 50,
Acls =
{
new Azure.Storage.Inputs.ShareAclArgs
{
Id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
AccessPolicies =
{
new Azure.Storage.Inputs.ShareAclAccessPolicyArgs
{
Permissions = "rwdl",
Start = "2019-07-02T09:38:21.0000000Z",
Expiry = "2019-07-02T10:38:21.0000000Z",
},
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
_, err = storage.NewShare(ctx, "exampleShare", &storage.ShareArgs{
StorageAccountName: exampleAccount.Name,
Quota: pulumi.Int(50),
Acls: storage.ShareAclArray{
&storage.ShareAclArgs{
Id: pulumi.String("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"),
AccessPolicies: storage.ShareAclAccessPolicyArray{
&storage.ShareAclAccessPolicyArgs{
Permissions: pulumi.String("rwdl"),
Start: pulumi.String("2019-07-02T09:38:21.0000000Z"),
Expiry: pulumi.String("2019-07-02T10:38:21.0000000Z"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleShare = new azure.storage.Share("exampleShare", {
storageAccountName: exampleAccount.name,
quota: 50,
acls: [{
id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
accessPolicies: [{
permissions: "rwdl",
start: "2019-07-02T09:38:21.0000000Z",
expiry: "2019-07-02T10:38:21.0000000Z",
}],
}],
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_share = azure.storage.Share("exampleShare",
storage_account_name=example_account.name,
quota=50,
acls=[azure.storage.ShareAclArgs(
id="MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
access_policies=[azure.storage.ShareAclAccessPolicyArgs(
permissions="rwdl",
start="2019-07-02T09:38:21.0000000Z",
expiry="2019-07-02T10:38:21.0000000Z",
)],
)])
Example coming soon!
Create Share Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Share(name: string, args: ShareArgs, opts?: CustomResourceOptions);@overload
def Share(resource_name: str,
args: ShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Share(resource_name: str,
opts: Optional[ResourceOptions] = None,
storage_account_name: Optional[str] = None,
acls: Optional[Sequence[ShareAclArgs]] = None,
enabled_protocol: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
quota: Optional[int] = None)func NewShare(ctx *Context, name string, args ShareArgs, opts ...ResourceOption) (*Share, error)public Share(string name, ShareArgs args, CustomResourceOptions? opts = null)type: azure:storage:Share
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 ShareArgs
- 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 ShareArgs
- 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 ShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ShareArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azureShareResource = new Azure.Storage.Share("azureShareResource", new()
{
StorageAccountName = "string",
Acls = new[]
{
new Azure.Storage.Inputs.ShareAclArgs
{
Id = "string",
AccessPolicies = new[]
{
new Azure.Storage.Inputs.ShareAclAccessPolicyArgs
{
Permissions = "string",
Expiry = "string",
Start = "string",
},
},
},
},
EnabledProtocol = "string",
Metadata =
{
{ "string", "string" },
},
Name = "string",
Quota = 0,
});
example, err := storage.NewShare(ctx, "azureShareResource", &storage.ShareArgs{
StorageAccountName: pulumi.String("string"),
Acls: storage.ShareAclArray{
&storage.ShareAclArgs{
Id: pulumi.String("string"),
AccessPolicies: storage.ShareAclAccessPolicyArray{
&storage.ShareAclAccessPolicyArgs{
Permissions: pulumi.String("string"),
Expiry: pulumi.String("string"),
Start: pulumi.String("string"),
},
},
},
},
EnabledProtocol: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Quota: pulumi.Int(0),
})
var azureShareResource = new com.pulumi.azure.storage.Share("azureShareResource", com.pulumi.azure.storage.ShareArgs.builder()
.storageAccountName("string")
.acls(ShareAclArgs.builder()
.id("string")
.accessPolicies(ShareAclAccessPolicyArgs.builder()
.permissions("string")
.expiry("string")
.start("string")
.build())
.build())
.enabledProtocol("string")
.metadata(Map.of("string", "string"))
.name("string")
.quota(0)
.build());
azure_share_resource = azure.storage.Share("azureShareResource",
storage_account_name="string",
acls=[{
"id": "string",
"access_policies": [{
"permissions": "string",
"expiry": "string",
"start": "string",
}],
}],
enabled_protocol="string",
metadata={
"string": "string",
},
name="string",
quota=0)
const azureShareResource = new azure.storage.Share("azureShareResource", {
storageAccountName: "string",
acls: [{
id: "string",
accessPolicies: [{
permissions: "string",
expiry: "string",
start: "string",
}],
}],
enabledProtocol: "string",
metadata: {
string: "string",
},
name: "string",
quota: 0,
});
type: azure:storage:Share
properties:
acls:
- accessPolicies:
- expiry: string
permissions: string
start: string
id: string
enabledProtocol: string
metadata:
string: string
name: string
quota: 0
storageAccountName: string
Share 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 Share resource accepts the following input properties:
- Storage
Account stringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- Acls
List<Share
Acl> - One or more
aclblocks as defined below. - Enabled
Protocol string - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - Metadata Dictionary<string, string>
- A mapping of MetaData for this File Share.
- Name string
- The name of the share. Must be unique within the storage account where the share is located.
- Quota int
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- Storage
Account stringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- Acls
[]Share
Acl Args - One or more
aclblocks as defined below. - Enabled
Protocol string - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - Metadata map[string]string
- A mapping of MetaData for this File Share.
- Name string
- The name of the share. Must be unique within the storage account where the share is located.
- Quota int
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- storage
Account StringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- acls
List<Share
Acl> - One or more
aclblocks as defined below. - enabled
Protocol String - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata Map<String,String>
- A mapping of MetaData for this File Share.
- name String
- The name of the share. Must be unique within the storage account where the share is located.
- quota Integer
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- storage
Account stringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- acls
Share
Acl[] - One or more
aclblocks as defined below. - enabled
Protocol string - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata {[key: string]: string}
- A mapping of MetaData for this File Share.
- name string
- The name of the share. Must be unique within the storage account where the share is located.
- quota number
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- storage_
account_ strname - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- acls
Sequence[Share
Acl Args] - One or more
aclblocks as defined below. - enabled_
protocol str - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata Mapping[str, str]
- A mapping of MetaData for this File Share.
- name str
- The name of the share. Must be unique within the storage account where the share is located.
- quota int
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- storage
Account StringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- acls List<Property Map>
- One or more
aclblocks as defined below. - enabled
Protocol String - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata Map<String>
- A mapping of MetaData for this File Share.
- name String
- The name of the share. Must be unique within the storage account where the share is located.
- quota Number
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
Outputs
All input properties are implicitly available as output properties. Additionally, the Share resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Manager stringId - The Resource Manager ID of this File Share.
- Url string
- The URL of the File Share
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Manager stringId - The Resource Manager ID of this File Share.
- Url string
- The URL of the File Share
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Manager StringId - The Resource Manager ID of this File Share.
- url String
- The URL of the File Share
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Manager stringId - The Resource Manager ID of this File Share.
- url string
- The URL of the File Share
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
manager_ strid - The Resource Manager ID of this File Share.
- url str
- The URL of the File Share
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Manager StringId - The Resource Manager ID of this File Share.
- url String
- The URL of the File Share
Look up Existing Share Resource
Get an existing Share 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?: ShareState, opts?: CustomResourceOptions): Share@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acls: Optional[Sequence[ShareAclArgs]] = None,
enabled_protocol: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
quota: Optional[int] = None,
resource_manager_id: Optional[str] = None,
storage_account_name: Optional[str] = None,
url: Optional[str] = None) -> Sharefunc GetShare(ctx *Context, name string, id IDInput, state *ShareState, opts ...ResourceOption) (*Share, error)public static Share Get(string name, Input<string> id, ShareState? state, CustomResourceOptions? opts = null)public static Share get(String name, Output<String> id, ShareState state, CustomResourceOptions options)resources: _: type: azure:storage:Share get: id: ${id}- 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.
- Acls
List<Share
Acl> - One or more
aclblocks as defined below. - Enabled
Protocol string - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - Metadata Dictionary<string, string>
- A mapping of MetaData for this File Share.
- Name string
- The name of the share. Must be unique within the storage account where the share is located.
- Quota int
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- Resource
Manager stringId - The Resource Manager ID of this File Share.
- Storage
Account stringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- Url string
- The URL of the File Share
- Acls
[]Share
Acl Args - One or more
aclblocks as defined below. - Enabled
Protocol string - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - Metadata map[string]string
- A mapping of MetaData for this File Share.
- Name string
- The name of the share. Must be unique within the storage account where the share is located.
- Quota int
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- Resource
Manager stringId - The Resource Manager ID of this File Share.
- Storage
Account stringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- Url string
- The URL of the File Share
- acls
List<Share
Acl> - One or more
aclblocks as defined below. - enabled
Protocol String - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata Map<String,String>
- A mapping of MetaData for this File Share.
- name String
- The name of the share. Must be unique within the storage account where the share is located.
- quota Integer
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- resource
Manager StringId - The Resource Manager ID of this File Share.
- storage
Account StringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- url String
- The URL of the File Share
- acls
Share
Acl[] - One or more
aclblocks as defined below. - enabled
Protocol string - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata {[key: string]: string}
- A mapping of MetaData for this File Share.
- name string
- The name of the share. Must be unique within the storage account where the share is located.
- quota number
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- resource
Manager stringId - The Resource Manager ID of this File Share.
- storage
Account stringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- url string
- The URL of the File Share
- acls
Sequence[Share
Acl Args] - One or more
aclblocks as defined below. - enabled_
protocol str - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata Mapping[str, str]
- A mapping of MetaData for this File Share.
- name str
- The name of the share. Must be unique within the storage account where the share is located.
- quota int
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- resource_
manager_ strid - The Resource Manager ID of this File Share.
- storage_
account_ strname - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- url str
- The URL of the File Share
- acls List<Property Map>
- One or more
aclblocks as defined below. - enabled
Protocol String - The protocol used for the share. Possible values are
SMBandNFS. TheSBMindicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. TheNFSindicates the share can be accessed by NFSv4.1. Defaults toSMB. Changing this forces a new resource to be created. - metadata Map<String>
- A mapping of MetaData for this File Share.
- name String
- The name of the share. Must be unique within the storage account where the share is located.
- quota Number
- The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
- resource
Manager StringId - The Resource Manager ID of this File Share.
- storage
Account StringName - Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
- url String
- The URL of the File Share
Supporting Types
ShareAcl, ShareAclArgs
- Id string
- The ID which should be used for this Shared Identifier.
- Access
Policies List<ShareAcl Access Policy> - An
access_policyblock as defined below.
- Id string
- The ID which should be used for this Shared Identifier.
- Access
Policies []ShareAcl Access Policy - An
access_policyblock as defined below.
- id String
- The ID which should be used for this Shared Identifier.
- access
Policies List<ShareAcl Access Policy> - An
access_policyblock as defined below.
- id string
- The ID which should be used for this Shared Identifier.
- access
Policies ShareAcl Access Policy[] - An
access_policyblock as defined below.
- id str
- The ID which should be used for this Shared Identifier.
- access_
policies Sequence[ShareAcl Access Policy] - An
access_policyblock as defined below.
- id String
- The ID which should be used for this Shared Identifier.
- access
Policies List<Property Map> - An
access_policyblock as defined below.
ShareAclAccessPolicy, ShareAclAccessPolicyArgs
- Permissions string
- The permissions which should be associated with this Shared Identifier. Possible value is combination of
r(read),w(write),d(delete), andl(list). - Expiry string
- The time at which this Access Policy should be valid until, in ISO8601 format.
- Start string
- The time at which this Access Policy should be valid from, in ISO8601 format.
- Permissions string
- The permissions which should be associated with this Shared Identifier. Possible value is combination of
r(read),w(write),d(delete), andl(list). - Expiry string
- The time at which this Access Policy should be valid until, in ISO8601 format.
- Start string
- The time at which this Access Policy should be valid from, in ISO8601 format.
- permissions String
- The permissions which should be associated with this Shared Identifier. Possible value is combination of
r(read),w(write),d(delete), andl(list). - expiry String
- The time at which this Access Policy should be valid until, in ISO8601 format.
- start String
- The time at which this Access Policy should be valid from, in ISO8601 format.
- permissions string
- The permissions which should be associated with this Shared Identifier. Possible value is combination of
r(read),w(write),d(delete), andl(list). - expiry string
- The time at which this Access Policy should be valid until, in ISO8601 format.
- start string
- The time at which this Access Policy should be valid from, in ISO8601 format.
- permissions str
- The permissions which should be associated with this Shared Identifier. Possible value is combination of
r(read),w(write),d(delete), andl(list). - expiry str
- The time at which this Access Policy should be valid until, in ISO8601 format.
- start str
- The time at which this Access Policy should be valid from, in ISO8601 format.
- permissions String
- The permissions which should be associated with this Shared Identifier. Possible value is combination of
r(read),w(write),d(delete), andl(list). - expiry String
- The time at which this Access Policy should be valid until, in ISO8601 format.
- start String
- The time at which this Access Policy should be valid from, in ISO8601 format.
Import
Storage Shares can be imported using the resource id, e.g.
$ pulumi import azure:storage/share:Share exampleShare https://account1.file.core.windows.net/share1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
