/// <summary> /// Initializes a new instance of the AzureStaticWebApps 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="enabled"><code>false</code> if the Azure /// Static Web Apps provider should not be enabled despite the set /// registration; otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the Azure /// Static Web Apps registration.</param> public AzureStaticWebApps(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), AzureStaticWebAppsRegistration registration = default(AzureStaticWebAppsRegistration)) : base(id, name, kind, type) { Enabled = enabled; Registration = registration; CustomInit(); }
/// <summary> /// Initializes a new instance of the AzureStaticWebApps class. /// </summary> /// <param name="enabled"><code>false</code> if the Azure /// Static Web Apps provider should not be enabled despite the set /// registration; otherwise, <code>true</code>.</param> /// <param name="registration">The configuration settings of the Azure /// Static Web Apps registration.</param> public AzureStaticWebApps(bool?enabled = default(bool?), AzureStaticWebAppsRegistration registration = default(AzureStaticWebAppsRegistration)) { Enabled = enabled; Registration = registration; CustomInit(); }