AzureStorageFileShare Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AzureStorageFileShare(CloudFileShare, AzureStorageContext)
Azure storage file constructor
public AzureStorageFileShare (Microsoft.Azure.Storage.File.CloudFileShare share, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Microsoft.Azure.Storage.File.CloudFileShare * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (share As CloudFileShare, storageContext As AzureStorageContext)
Parameters
- share
- CloudFileShare
Cloud file share object
- storageContext
- AzureStorageContext
Storage context containing account information used to construct ShareClient.
Applies to
AzureStorageFileShare(CloudFileShare, AzureStorageContext)
Azure storage file constructor
public AzureStorageFileShare (Microsoft.Azure.Storage.File.CloudFileShare share, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Microsoft.Azure.Storage.File.CloudFileShare * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (share As CloudFileShare, storageContext As AzureStorageContext)
Parameters
- share
- CloudFileShare
Cloud file share object
- storageContext
- AzureStorageContext
Storage context containing account information used to construct ShareClient.
Applies to
AzureStorageFileShare(ShareClient, AzureStorageContext, ShareItem, ShareClientOptions)
Azure storage file share constructor from Track2 list share output
public AzureStorageFileShare (Azure.Storage.Files.Shares.ShareClient shareClient, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, Azure.Storage.Files.Shares.Models.ShareItem shareItem, Azure.Storage.Files.Shares.ShareClientOptions clientOptions = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Azure.Storage.Files.Shares.ShareClient * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * Azure.Storage.Files.Shares.Models.ShareItem * Azure.Storage.Files.Shares.ShareClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (shareClient As ShareClient, storageContext As AzureStorageContext, shareItem As ShareItem, Optional clientOptions As ShareClientOptions = Nothing)
Parameters
- shareClient
- ShareClient
- storageContext
- AzureStorageContext
- shareItem
- ShareItem
- clientOptions
- ShareClientOptions
Applies to
AzureStorageFileShare(ShareClient, AzureStorageContext, ShareProperties, ShareClientOptions)
Azure storage file share constructor from Track2 get file properties output
public AzureStorageFileShare (Azure.Storage.Files.Shares.ShareClient shareClient, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, Azure.Storage.Files.Shares.Models.ShareProperties shareProperties = default, Azure.Storage.Files.Shares.ShareClientOptions clientOptions = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Azure.Storage.Files.Shares.ShareClient * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * Azure.Storage.Files.Shares.Models.ShareProperties * Azure.Storage.Files.Shares.ShareClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (shareClient As ShareClient, storageContext As AzureStorageContext, Optional shareProperties As ShareProperties = Nothing, Optional clientOptions As ShareClientOptions = Nothing)
Parameters
- shareClient
- ShareClient
- storageContext
- AzureStorageContext
- shareProperties
- ShareProperties
- clientOptions
- ShareClientOptions
Applies to
AzureStorageFileShare(ShareClient, AzureStorageContext, ShareItem, ShareClientOptions)
Azure storage file share constructor from Track2 list share output
public AzureStorageFileShare (Azure.Storage.Files.Shares.ShareClient shareClient, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, Azure.Storage.Files.Shares.Models.ShareItem shareItem, Azure.Storage.Files.Shares.ShareClientOptions clientOptions = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Azure.Storage.Files.Shares.ShareClient * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * Azure.Storage.Files.Shares.Models.ShareItem * Azure.Storage.Files.Shares.ShareClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (shareClient As ShareClient, storageContext As AzureStorageContext, shareItem As ShareItem, Optional clientOptions As ShareClientOptions = Nothing)
Parameters
- shareClient
- ShareClient
- storageContext
- AzureStorageContext
- shareItem
- ShareItem
- clientOptions
- ShareClientOptions
Applies to
AzureStorageFileShare(ShareClient, AzureStorageContext, ShareProperties, ShareClientOptions)
Azure storage file share constructor from Track2 get file properties output
public AzureStorageFileShare (Azure.Storage.Files.Shares.ShareClient shareClient, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, Azure.Storage.Files.Shares.Models.ShareProperties shareProperties = default, Azure.Storage.Files.Shares.ShareClientOptions clientOptions = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Azure.Storage.Files.Shares.ShareClient * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * Azure.Storage.Files.Shares.Models.ShareProperties * Azure.Storage.Files.Shares.ShareClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (shareClient As ShareClient, storageContext As AzureStorageContext, Optional shareProperties As ShareProperties = Nothing, Optional clientOptions As ShareClientOptions = Nothing)
Parameters
- shareClient
- ShareClient
- storageContext
- AzureStorageContext
- shareProperties
- ShareProperties
- clientOptions
- ShareClientOptions
Applies to
AzureStorageFileShare(ShareServiceClient, String, AzureStorageContext, ShareItem, ShareClientOptions)
Azure storage file share constructor from Track2 list share output, with deleted share
public AzureStorageFileShare (Azure.Storage.Files.Shares.ShareServiceClient shareService, string shareName, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, Azure.Storage.Files.Shares.Models.ShareItem shareItem, Azure.Storage.Files.Shares.ShareClientOptions clientOptions = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Azure.Storage.Files.Shares.ShareServiceClient * string * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * Azure.Storage.Files.Shares.Models.ShareItem * Azure.Storage.Files.Shares.ShareClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (shareService As ShareServiceClient, shareName As String, storageContext As AzureStorageContext, shareItem As ShareItem, Optional clientOptions As ShareClientOptions = Nothing)
Parameters
- shareService
- ShareServiceClient
- shareName
- String
- storageContext
- AzureStorageContext
- shareItem
- ShareItem
- clientOptions
- ShareClientOptions
Applies to
AzureStorageFileShare(ShareServiceClient, String, AzureStorageContext, ShareItem, ShareClientOptions)
Azure storage file share constructor from Track2 list share output, with deleted share
public AzureStorageFileShare (Azure.Storage.Files.Shares.ShareServiceClient shareService, string shareName, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, Azure.Storage.Files.Shares.Models.ShareItem shareItem, Azure.Storage.Files.Shares.ShareClientOptions clientOptions = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare : Azure.Storage.Files.Shares.ShareServiceClient * string * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * Azure.Storage.Files.Shares.Models.ShareItem * Azure.Storage.Files.Shares.ShareClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageFileShare
Public Sub New (shareService As ShareServiceClient, shareName As String, storageContext As AzureStorageContext, shareItem As ShareItem, Optional clientOptions As ShareClientOptions = Nothing)
Parameters
- shareService
- ShareServiceClient
- shareName
- String
- storageContext
- AzureStorageContext
- shareItem
- ShareItem
- clientOptions
- ShareClientOptions