FileShareCollection Class
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.
A class representing a collection of FileShareResource and their operations. Each FileShareResource in the collection will belong to the same instance of FileServiceResource. To get a FileShareCollection instance call the GetFileShares method from an instance of FileServiceResource.
public class FileShareCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Storage.FileShareResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.FileShareResource>
type FileShareCollection = class
inherit ArmCollection
interface seq<FileShareResource>
interface IEnumerable
interface IAsyncEnumerable<FileShareResource>
Public Class FileShareCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of FileShareResource), IEnumerable(Of FileShareResource)
- Inheritance
- Implements
Constructors
FileShareCollection() |
Initializes a new instance of the FileShareCollection class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmCollection) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmCollection) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmCollection) |
Id |
Gets the resource identifier. (Inherited from ArmCollection) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmCollection) |
Methods
CreateOrUpdate(WaitUntil, String, FileShareData, String, CancellationToken) |
Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
CreateOrUpdateAsync(WaitUntil, String, FileShareData, String, CancellationToken) |
Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
Exists(String, String, String, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, String, String, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, String, String, CancellationToken) |
Gets properties of a specified share.
|
GetAll(Nullable<Int32>, String, String, CancellationToken) |
Lists all shares.
|
GetAll(String, String, String, CancellationToken) |
Lists all shares.
|
GetAllAsync(Nullable<Int32>, String, String, CancellationToken) |
Lists all shares.
|
GetAllAsync(String, String, String, CancellationToken) |
Lists all shares.
|
GetAsync(String, String, String, CancellationToken) |
Gets properties of a specified share.
|
GetIfExists(String, String, String, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, String, String, CancellationToken) |
Tries to get details for this resource from the service.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmCollection) |
Explicit Interface Implementations
IAsyncEnumerable<FileShareResource>.GetAsyncEnumerator(CancellationToken) |
Returns an enumerator that iterates asynchronously through the collection. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
IEnumerable<FileShareResource>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |