/// <summary> /// Initializes a new instance of the StaticSitePatchResource 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="defaultHostname">The default autogenerated hostname /// for the static site.</param> /// <param name="repositoryUrl">URL for the repository of the static /// site.</param> /// <param name="branch">The target branch in the repository.</param> /// <param name="customDomains">The custom domains associated with this /// static site.</param> /// <param name="repositoryToken">A user's github repository token. /// This is used to setup the Github Actions workflow file and API /// secrets.</param> /// <param name="buildProperties">Build properties to configure on the /// repository.</param> /// <param name="privateEndpointConnections">Private endpoint /// connections</param> /// <param name="stagingEnvironmentPolicy">State indicating whether /// staging environments are allowed or not allowed for a static web /// app. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="allowConfigFileUpdates"><code>false</code> /// if config file is locked for this static web app; otherwise, /// <code>true</code>.</param> /// <param name="templateProperties">Template options for generating a /// new repository.</param> /// <param name="contentDistributionEndpoint">The content distribution /// endpoint for the static site.</param> /// <param name="keyVaultReferenceIdentity">Identity to use for Key /// Vault Reference authentication.</param> /// <param name="userProvidedFunctionApps">User provided function apps /// registered with the static site</param> /// <param name="provider">The provider that submitted the last /// deployment to the primary environment of the static site.</param> public StaticSitePatchResource(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), string defaultHostname = default(string), string repositoryUrl = default(string), string branch = default(string), IList <string> customDomains = default(IList <string>), string repositoryToken = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties), IList <ResponseMessageEnvelopeRemotePrivateEndpointConnection> privateEndpointConnections = default(IList <ResponseMessageEnvelopeRemotePrivateEndpointConnection>), StagingEnvironmentPolicy?stagingEnvironmentPolicy = default(StagingEnvironmentPolicy?), bool?allowConfigFileUpdates = default(bool?), StaticSiteTemplateOptions templateProperties = default(StaticSiteTemplateOptions), string contentDistributionEndpoint = default(string), string keyVaultReferenceIdentity = default(string), IList <StaticSiteUserProvidedFunctionApp> userProvidedFunctionApps = default(IList <StaticSiteUserProvidedFunctionApp>), string provider = default(string)) : base(id, name, kind, type) { DefaultHostname = defaultHostname; RepositoryUrl = repositoryUrl; Branch = branch; CustomDomains = customDomains; RepositoryToken = repositoryToken; BuildProperties = buildProperties; PrivateEndpointConnections = privateEndpointConnections; StagingEnvironmentPolicy = stagingEnvironmentPolicy; AllowConfigFileUpdates = allowConfigFileUpdates; TemplateProperties = templateProperties; ContentDistributionEndpoint = contentDistributionEndpoint; KeyVaultReferenceIdentity = keyVaultReferenceIdentity; UserProvidedFunctionApps = userProvidedFunctionApps; Provider = provider; CustomInit(); }
/// <summary> /// Initializes a new instance of the StaticSiteARMResource class. /// </summary> /// <param name="location">Resource Location.</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="tags">Resource tags.</param> /// <param name="defaultHostname">The default autogenerated hostname /// for the static site.</param> /// <param name="repositoryUrl">URL for the repository of the static /// site.</param> /// <param name="branch">The target branch in the repository.</param> /// <param name="customDomains">The custom domains associated with this /// static site.</param> /// <param name="repositoryToken">A user's github repository token. /// This is used to setup the Github Actions workflow file and API /// secrets.</param> /// <param name="buildProperties">Build properties to configure on the /// repository.</param> /// <param name="privateEndpointConnections">Private endpoint /// connections</param> /// <param name="stagingEnvironmentPolicy">State indicating whether /// staging environments are allowed or not allowed for a static web /// app. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="allowConfigFileUpdates"><code>false</code> /// if config file is locked for this static web app; otherwise, /// <code>true</code>.</param> /// <param name="templateProperties">Template options for generating a /// new repository.</param> /// <param name="contentDistributionEndpoint">The content distribution /// endpoint for the static site.</param> /// <param name="keyVaultReferenceIdentity">Identity to use for Key /// Vault Reference authentication.</param> /// <param name="userProvidedFunctionApps">User provided function apps /// registered with the static site</param> /// <param name="provider">The provider that submitted the last /// deployment to the primary environment of the static site.</param> /// <param name="enterpriseGradeCdnStatus">State indicating the status /// of the enterprise grade CDN serving traffic to the static web app. /// Possible values include: 'Enabled', 'Enabling', 'Disabled', /// 'Disabling'</param> public StaticSiteARMResource(string location, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string defaultHostname = default(string), string repositoryUrl = default(string), string branch = default(string), IList <string> customDomains = default(IList <string>), string repositoryToken = default(string), StaticSiteBuildProperties buildProperties = default(StaticSiteBuildProperties), IList <ResponseMessageEnvelopeRemotePrivateEndpointConnection> privateEndpointConnections = default(IList <ResponseMessageEnvelopeRemotePrivateEndpointConnection>), StagingEnvironmentPolicy?stagingEnvironmentPolicy = default(StagingEnvironmentPolicy?), bool?allowConfigFileUpdates = default(bool?), StaticSiteTemplateOptions templateProperties = default(StaticSiteTemplateOptions), string contentDistributionEndpoint = default(string), string keyVaultReferenceIdentity = default(string), IList <StaticSiteUserProvidedFunctionApp> userProvidedFunctionApps = default(IList <StaticSiteUserProvidedFunctionApp>), string provider = default(string), string enterpriseGradeCdnStatus = default(string), SkuDescription sku = default(SkuDescription), ManagedServiceIdentity identity = default(ManagedServiceIdentity)) : base(location, id, name, kind, type, tags) { DefaultHostname = defaultHostname; RepositoryUrl = repositoryUrl; Branch = branch; CustomDomains = customDomains; RepositoryToken = repositoryToken; BuildProperties = buildProperties; PrivateEndpointConnections = privateEndpointConnections; StagingEnvironmentPolicy = stagingEnvironmentPolicy; AllowConfigFileUpdates = allowConfigFileUpdates; TemplateProperties = templateProperties; ContentDistributionEndpoint = contentDistributionEndpoint; KeyVaultReferenceIdentity = keyVaultReferenceIdentity; UserProvidedFunctionApps = userProvidedFunctionApps; Provider = provider; EnterpriseGradeCdnStatus = enterpriseGradeCdnStatus; Sku = sku; Identity = identity; CustomInit(); }