/// <summary>
 /// Initializes a new instance of the RestoreRequestResource class with
 /// required arguments.
 /// </summary>
 public RestoreRequestResource(RestoreRequest properties)
     : this()
 {
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Properties = properties;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the RestoreRequestResource class.
 /// </summary>
 /// <param name="id">Resource Id represents the complete path to the
 /// resource.</param>
 /// <param name="name">Resource name associated with the
 /// resource.</param>
 /// <param name="type">Resource type represents the complete path of
 /// the form Namespace/ResourceType/ResourceType/...</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="eTag">Optional ETag.</param>
 /// <param name="properties">RestoreRequestResource properties</param>
 public RestoreRequestResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string eTag = default(string), RestoreRequest properties = default(RestoreRequest))
     : base(id, name, type, location, tags, eTag)
 {
     Properties = properties;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the CrossRegionRestoreRequest class.
 /// </summary>
 /// <param name="crossRegionRestoreAccessDetails">Access details for
 /// cross region restore</param>
 /// <param name="restoreRequest">Request object for triggering
 /// restore</param>
 public CrossRegionRestoreRequest(CrrAccessToken crossRegionRestoreAccessDetails = default(CrrAccessToken), RestoreRequest restoreRequest = default(RestoreRequest))
 {
     CrossRegionRestoreAccessDetails = crossRegionRestoreAccessDetails;
     RestoreRequest = restoreRequest;
     CustomInit();
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the ValidateRestoreOperationRequest
 /// class.
 /// </summary>
 /// <param name="restoreRequest">Sets restore request to be
 /// validated</param>
 public ValidateRestoreOperationRequest(RestoreRequest restoreRequest = default(RestoreRequest))
 {
     RestoreRequest = restoreRequest;
     CustomInit();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the
 /// ValidateIaasVMRestoreOperationRequest class.
 /// </summary>
 /// <param name="restoreRequest">Sets restore request to be
 /// validated</param>
 public ValidateIaasVMRestoreOperationRequest(RestoreRequest restoreRequest = default(RestoreRequest))
     : base(restoreRequest)
 {
     CustomInit();
 }