/// <summary>
 /// Initializes a new instance of the SnapshotRecoveryRequestInner
 /// class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="snapshotTime">Point in time in which the app recovery
 /// should be attempted.</param>
 /// <param name="recoveryTarget">Specifies the web app that snapshot
 /// contents will be written to.</param>
 /// <param name="overwrite">&lt;code&gt;true&lt;/code&gt; if the
 /// recovery operation can overwrite source app; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="recoverConfiguration">Site configuration, in addition
 /// to content, will be reverted if this is true.</param>
 public SnapshotRecoveryRequestInner(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), System.DateTime?snapshotTime = default(System.DateTime?), SnapshotRecoveryTarget recoveryTarget = default(SnapshotRecoveryTarget), bool?overwrite = default(bool?), bool?recoverConfiguration = default(bool?))
     : base(id, name, kind, type)
 {
     SnapshotTime         = snapshotTime;
     RecoveryTarget       = recoveryTarget;
     Overwrite            = overwrite;
     RecoverConfiguration = recoverConfiguration;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the SnapshotRecoveryRequestInner
 /// class.
 /// </summary>
 /// <param name="overwrite">If &lt;code&gt;true&lt;/code&gt; the
 /// recovery operation can overwrite source app; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="snapshotTime">Point in time in which the app recovery
 /// should be attempted, formatted as a DateTime string.</param>
 /// <param name="recoveryTarget">Specifies the web app that snapshot
 /// contents will be written to.</param>
 /// <param name="recoverConfiguration">If true, site configuration, in
 /// addition to content, will be reverted.</param>
 /// <param name="ignoreConflictingHostNames">If true, custom hostname
 /// conflicts will be ignored when recovering to a target web app.
 /// This setting is only necessary when RecoverConfiguration is
 /// enabled.</param>
 public SnapshotRecoveryRequestInner(bool overwrite, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string snapshotTime = default(string), SnapshotRecoveryTarget recoveryTarget = default(SnapshotRecoveryTarget), bool?recoverConfiguration = default(bool?), bool?ignoreConflictingHostNames = default(bool?))
     : base(id, name, kind, type)
 {
     SnapshotTime               = snapshotTime;
     RecoveryTarget             = recoveryTarget;
     Overwrite                  = overwrite;
     RecoverConfiguration       = recoverConfiguration;
     IgnoreConflictingHostNames = ignoreConflictingHostNames;
     CustomInit();
 }