Show / Hide Table of Contents

Class Share

Manages a File Share within Azure Storage.

Inheritance
System.Object
Resource
CustomResource
Share
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Storage
Assembly: Pulumi.Azure.dll
Syntax
public class Share : CustomResource

Constructors

View Source

Share(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 Source

Acls

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>>
View Source

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>>
View Source

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>
View Source

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>>
View Source

ResourceManagerId

The Resource Manager ID of this File Share.

Declaration
public Output<string> ResourceManagerId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

Url

The URL of the File Share

Declaration
public Output<string> Url { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.