Example #1
0
 /// <summary>
 /// Initializes a new instance of the ServicesProperties class.
 /// </summary>
 /// <param name="accessPolicies">The access policies of the service
 /// instance.</param>
 /// <param name="provisioningState">The provisioning state. Possible
 /// values include: 'Deleting', 'Succeeded', 'Creating', 'Accepted',
 /// 'Verifying', 'Updating', 'Failed', 'Canceled',
 /// 'Deprovisioned'</param>
 /// <param name="cosmosDbConfiguration">The settings for the Cosmos DB
 /// database backing the service.</param>
 /// <param name="authenticationConfiguration">The authentication
 /// configuration for the service instance.</param>
 /// <param name="corsConfiguration">The settings for the CORS
 /// configuration of the service instance.</param>
 public ServicesProperties(IList <ServiceAccessPolicyEntry> accessPolicies, string provisioningState = default(string), ServiceCosmosDbConfigurationInfo cosmosDbConfiguration = default(ServiceCosmosDbConfigurationInfo), ServiceAuthenticationConfigurationInfo authenticationConfiguration = default(ServiceAuthenticationConfigurationInfo), ServiceCorsConfigurationInfo corsConfiguration = default(ServiceCorsConfigurationInfo))
 {
     ProvisioningState           = provisioningState;
     AccessPolicies              = accessPolicies;
     CosmosDbConfiguration       = cosmosDbConfiguration;
     AuthenticationConfiguration = authenticationConfiguration;
     CorsConfiguration           = corsConfiguration;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the ServicesProperties class.
 /// </summary>
 /// <param name="provisioningState">The provisioning state. Possible
 /// values include: 'Deleting', 'Succeeded', 'Creating', 'Accepted',
 /// 'Verifying', 'Updating', 'Failed', 'Canceled',
 /// 'Deprovisioned'</param>
 /// <param name="accessPolicies">The access policies of the service
 /// instance.</param>
 /// <param name="cosmosDbConfiguration">The settings for the Cosmos DB
 /// database backing the service.</param>
 /// <param name="authenticationConfiguration">The authentication
 /// configuration for the service instance.</param>
 /// <param name="corsConfiguration">The settings for the CORS
 /// configuration of the service instance.</param>
 /// <param name="exportConfiguration">The settings for the export
 /// operation of the service instance.</param>
 /// <param name="privateEndpointConnections">The list of private
 /// endpoint connections that are set up for this resource.</param>
 /// <param name="publicNetworkAccess">Control permission for data plane
 /// traffic coming from public networks while private endpoint is
 /// enabled. Possible values include: 'Enabled', 'Disabled'</param>
 public ServicesProperties(string provisioningState = default(string), IList <ServiceAccessPolicyEntry> accessPolicies = default(IList <ServiceAccessPolicyEntry>), ServiceCosmosDbConfigurationInfo cosmosDbConfiguration = default(ServiceCosmosDbConfigurationInfo), ServiceAuthenticationConfigurationInfo authenticationConfiguration = default(ServiceAuthenticationConfigurationInfo), ServiceCorsConfigurationInfo corsConfiguration = default(ServiceCorsConfigurationInfo), ServiceExportConfigurationInfo exportConfiguration = default(ServiceExportConfigurationInfo), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), string publicNetworkAccess = default(string))
 {
     ProvisioningState           = provisioningState;
     AccessPolicies              = accessPolicies;
     CosmosDbConfiguration       = cosmosDbConfiguration;
     AuthenticationConfiguration = authenticationConfiguration;
     CorsConfiguration           = corsConfiguration;
     ExportConfiguration         = exportConfiguration;
     PrivateEndpointConnections  = privateEndpointConnections;
     PublicNetworkAccess         = publicNetworkAccess;
     CustomInit();
 }