Class Share
Manages a File Share within Azure Storage.
Inherited Members
Namespace: Pulumi.Azure.Storage
Assembly: Pulumi.Azure.dll
Syntax
public class Share : CustomResource
Constructors
View SourceShare(String, ShareArgs, CustomResourceOptions)
Create a Share resource with the given unique name, arguments, and options.
Declaration
public Share(string name, ShareArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ShareArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAcls
One or more acl blocks as defined below.
Declaration
public Output<ImmutableArray<ShareAcl>> Acls { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ShareAcl>> |
Metadata
A mapping of MetaData for this File Share.
Declaration
public Output<ImmutableDictionary<string, string>> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Name
The name of the share. Must be unique within the storage account where the share is located.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Quota
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.
Declaration
public Output<int?> Quota { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
ResourceManagerId
The Resource Manager ID of this File Share.
Declaration
public Output<string> ResourceManagerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageAccountName
Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
Declaration
public Output<string> StorageAccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Url
The URL of the File Share
Declaration
public Output<string> Url { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ShareState, CustomResourceOptions)
Get an existing Share resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Share Get(string name, Input<string> id, ShareState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ShareState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Share |