Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the VolumeProperties class.
 /// </summary>
 /// <param name="description">User readable description of the
 /// volume.</param>
 /// <param name="status">Status of the volume. Possible values include:
 /// 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
 /// 'Failed'</param>
 /// <param name="statusDetails">Gives additional information about the
 /// current status of the volume.</param>
 /// <param name="azureFileParameters">This type describes a volume
 /// provided by an Azure Files file share.</param>
 public VolumeProperties(string description = default(string), string status = default(string), string statusDetails = default(string), VolumeProviderParametersAzureFile azureFileParameters = default(VolumeProviderParametersAzureFile))
 {
     Description         = description;
     Status              = status;
     StatusDetails       = statusDetails;
     AzureFileParameters = azureFileParameters;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VolumeResourceDescription class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified identifier for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="provisioningState">State of the resource.</param>
 /// <param name="description">User readable description of the
 /// volume.</param>
 /// <param name="status">Status of the volume. Possible values include:
 /// 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
 /// 'Failed'</param>
 /// <param name="statusDetails">Gives additional information about the
 /// current status of the volume.</param>
 /// <param name="azureFileParameters">This type describes a volume
 /// provided by an Azure Files file share.</param>
 public VolumeResourceDescription(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), string description = default(string), string status = default(string), string statusDetails = default(string), VolumeProviderParametersAzureFile azureFileParameters = default(VolumeProviderParametersAzureFile))
     : base(location, id, name, type, tags)
 {
     ProvisioningState   = provisioningState;
     Description         = description;
     Status              = status;
     StatusDetails       = statusDetails;
     AzureFileParameters = azureFileParameters;
     CustomInit();
 }