Example #1
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (TemporaryDisk != null)
     {
         TemporaryDisk.Validate();
     }
     if (PersistentDisk != null)
     {
         PersistentDisk.Validate();
     }
     if (CustomPersistentDisks != null)
     {
         foreach (var element in CustomPersistentDisks)
         {
             if (element != null)
             {
                 element.Validate();
             }
         }
     }
     if (LoadedCertificates != null)
     {
         foreach (var element1 in LoadedCertificates)
         {
             if (element1 != null)
             {
                 element1.Validate();
             }
         }
     }
 }
 /// <summary>
 /// Initializes a new instance of the AppResourceProperties class.
 /// </summary>
 /// <param name="publicProperty">Indicates whether the App exposes
 /// public endpoint</param>
 /// <param name="url">URL of the App</param>
 /// <param name="provisioningState">Provisioning state of the App.
 /// Possible values include: 'Succeeded', 'Failed', 'Creating',
 /// 'Updating'</param>
 /// <param name="activeDeploymentName">Name of the active deployment of
 /// the App</param>
 /// <param name="createdTime">Date time when the resource is
 /// created</param>
 /// <param name="temporaryDisk">Temporary disk settings</param>
 /// <param name="persistentDisk">Persistent disk settings</param>
 public AppResourceProperties(bool?publicProperty = default(bool?), string url = default(string), string provisioningState = default(string), string activeDeploymentName = default(string), System.DateTime?createdTime = default(System.DateTime?), TemporaryDisk temporaryDisk = default(TemporaryDisk), PersistentDisk persistentDisk = default(PersistentDisk))
 {
     PublicProperty       = publicProperty;
     Url                  = url;
     ProvisioningState    = provisioningState;
     ActiveDeploymentName = activeDeploymentName;
     CreatedTime          = createdTime;
     TemporaryDisk        = temporaryDisk;
     PersistentDisk       = persistentDisk;
     CustomInit();
 }
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (TemporaryDisk != null)
     {
         TemporaryDisk.Validate();
     }
     if (PersistentDisk != null)
     {
         PersistentDisk.Validate();
     }
 }
 /// <summary>
 /// Initializes a new instance of the AppResourceProperties class.
 /// </summary>
 /// <param name="publicProperty">Indicates whether the App exposes
 /// public endpoint</param>
 /// <param name="url">URL of the App</param>
 /// <param name="provisioningState">Provisioning state of the App.
 /// Possible values include: 'Succeeded', 'Failed', 'Creating',
 /// 'Updating'</param>
 /// <param name="activeDeploymentName">Name of the active deployment of
 /// the App</param>
 /// <param name="fqdn">Fully qualified dns Name.</param>
 /// <param name="httpsOnly">Indicate if only https is allowed.</param>
 /// <param name="createdTime">Date time when the resource is
 /// created</param>
 /// <param name="temporaryDisk">Temporary disk settings</param>
 /// <param name="persistentDisk">Persistent disk settings</param>
 /// <param name="enableEndToEndTLS">Indicate if end to end TLS is
 /// enabled.</param>
 public AppResourceProperties(bool?publicProperty = default(bool?), string url = default(string), string provisioningState = default(string), string activeDeploymentName = default(string), string fqdn = default(string), bool?httpsOnly = default(bool?), System.DateTime?createdTime = default(System.DateTime?), TemporaryDisk temporaryDisk = default(TemporaryDisk), PersistentDisk persistentDisk = default(PersistentDisk), bool?enableEndToEndTLS = default(bool?))
 {
     PublicProperty       = publicProperty;
     Url                  = url;
     ProvisioningState    = provisioningState;
     ActiveDeploymentName = activeDeploymentName;
     Fqdn                 = fqdn;
     HttpsOnly            = httpsOnly;
     CreatedTime          = createdTime;
     TemporaryDisk        = temporaryDisk;
     PersistentDisk       = persistentDisk;
     EnableEndToEndTLS    = enableEndToEndTLS;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AppResourceProperties class.
 /// </summary>
 /// <param name="publicProperty">Indicates whether the App exposes
 /// public endpoint</param>
 /// <param name="url">URL of the App</param>
 /// <param name="addonConfigs">Collection of addons</param>
 /// <param name="provisioningState">Provisioning state of the App.
 /// Possible values include: 'Succeeded', 'Failed', 'Creating',
 /// 'Updating', 'Deleting'</param>
 /// <param name="fqdn">Fully qualified dns Name.</param>
 /// <param name="httpsOnly">Indicate if only https is allowed.</param>
 /// <param name="temporaryDisk">Temporary disk settings</param>
 /// <param name="persistentDisk">Persistent disk settings</param>
 /// <param name="customPersistentDisks">List of custom persistent
 /// disks</param>
 /// <param name="enableEndToEndTLS">Indicate if end to end TLS is
 /// enabled.</param>
 /// <param name="loadedCertificates">Collection of loaded
 /// certificates</param>
 public AppResourceProperties(bool?publicProperty = default(bool?), string url = default(string), IDictionary <string, IDictionary <string, object> > addonConfigs = default(IDictionary <string, IDictionary <string, object> >), string provisioningState = default(string), string fqdn = default(string), bool?httpsOnly = default(bool?), TemporaryDisk temporaryDisk = default(TemporaryDisk), PersistentDisk persistentDisk = default(PersistentDisk), IList <CustomPersistentDiskResource> customPersistentDisks = default(IList <CustomPersistentDiskResource>), bool?enableEndToEndTLS = default(bool?), IList <LoadedCertificate> loadedCertificates = default(IList <LoadedCertificate>))
 {
     PublicProperty        = publicProperty;
     Url                   = url;
     AddonConfigs          = addonConfigs;
     ProvisioningState     = provisioningState;
     Fqdn                  = fqdn;
     HttpsOnly             = httpsOnly;
     TemporaryDisk         = temporaryDisk;
     PersistentDisk        = persistentDisk;
     CustomPersistentDisks = customPersistentDisks;
     EnableEndToEndTLS     = enableEndToEndTLS;
     LoadedCertificates    = loadedCertificates;
     CustomInit();
 }