Example #1
0
 /// <summary>
 /// Gets properties of a specified share.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription. The name is
 /// case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The name of the storage account within the specified resource group.
 /// Storage account names must be between 3 and 24 characters in length and use
 /// numbers and lower-case letters only.
 /// </param>
 /// <param name='shareName'>
 /// The name of the file share within the specified storage account. File share
 /// names must be between 3 and 63 characters in length and use numbers,
 /// lower-case letters and dash (-) only. Every dash (-) character must be
 /// immediately preceded and followed by a letter or number.
 /// </param>
 public static FileShare Get(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName)
 {
     return(operations.GetAsync(resourceGroupName, accountName, shareName).GetAwaiter().GetResult());
 }
Example #2
0
 /// <summary>
 /// Gets properties of a specified share.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription. The name is
 /// case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The name of the storage account within the specified resource group.
 /// Storage account names must be between 3 and 24 characters in length and use
 /// numbers and lower-case letters only.
 /// </param>
 /// <param name='shareName'>
 /// The name of the file share within the specified storage account. File share
 /// names must be between 3 and 63 characters in length and use numbers,
 /// lower-case letters and dash (-) only. Every dash (-) character must be
 /// immediately preceded and followed by a letter or number.
 /// </param>
 /// <param name='expand'>
 /// Optional, used to expand the properties within share's properties. Valid
 /// values are: stats. Should be passed as a string with delimiter ','.
 /// </param>
 /// <param name='xMsSnapshot'>
 /// Optional, used to retrieve properties of a snapshot.
 /// </param>
 public static FileShare Get(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, string expand = default(string), string xMsSnapshot = default(string))
 {
     return(operations.GetAsync(resourceGroupName, accountName, shareName, expand, xMsSnapshot).GetAwaiter().GetResult());
 }
Example #3
0
 /// <summary>
 /// Returns the requested fabric file share.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group.
 /// </param>
 /// <param name='location'>
 /// Location of the resource.
 /// </param>
 /// <param name='fileShare'>
 /// Fabric file share name.
 /// </param>
 public static FileShare Get(this IFileSharesOperations operations, string resourceGroupName, string location, string fileShare)
 {
     return(operations.GetAsync(resourceGroupName, location, fileShare).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets properties of a specified share.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription. The name is
 /// case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The name of the storage account within the specified resource group.
 /// Storage account names must be between 3 and 24 characters in length and use
 /// numbers and lower-case letters only.
 /// </param>
 /// <param name='shareName'>
 /// The name of the file share within the specified storage account. File share
 /// names must be between 3 and 63 characters in length and use numbers,
 /// lower-case letters and dash (-) only. Every dash (-) character must be
 /// immediately preceded and followed by a letter or number.
 /// </param>
 /// <param name='expand'>
 /// Optional, used to expand the properties within share's properties. Possible
 /// values include: 'stats'
 /// </param>
 public static FileShare Get(this IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, GetShareExpand?expand = default(GetShareExpand?))
 {
     return(operations.GetAsync(resourceGroupName, accountName, shareName, expand).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns the properties of the specified file share name.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The device name.
 /// </param>
 /// <param name='fileServerName'>
 /// The file server name.
 /// </param>
 /// <param name='shareName'>
 /// The file share name.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name
 /// </param>
 /// <param name='managerName'>
 /// The manager name
 /// </param>
 public static FileShare Get(this IFileSharesOperations operations, string deviceName, string fileServerName, string shareName, string resourceGroupName, string managerName)
 {
     return(operations.GetAsync(deviceName, fileServerName, shareName, resourceGroupName, managerName).GetAwaiter().GetResult());
 }