/// <summary>
 /// Initializes a new instance of the ApiPortalProperties class.
 /// </summary>
 /// <param name="provisioningState">State of the API portal. Possible
 /// values include: 'Creating', 'Updating', 'Succeeded', 'Failed',
 /// 'Deleting'</param>
 /// <param name="publicProperty">Indicates whether the API portal
 /// exposes endpoint.</param>
 /// <param name="url">URL of the API portal, exposed when 'public' is
 /// true.</param>
 /// <param name="httpsOnly">Indicate if only https is allowed.</param>
 /// <param name="gatewayIds">The array of resource Ids of gateway to
 /// integrate with API portal.</param>
 /// <param name="sourceUrls">Collection of OpenAPI source URL
 /// locations.</param>
 /// <param name="resourceRequests">The requested resource quantity for
 /// required CPU and Memory.</param>
 /// <param name="instances">Collection of instances belong to API
 /// portal.</param>
 public ApiPortalProperties(string provisioningState = default(string), bool?publicProperty = default(bool?), string url = default(string), bool?httpsOnly = default(bool?), IList <string> gatewayIds = default(IList <string>), IList <string> sourceUrls = default(IList <string>), SsoProperties ssoProperties = default(SsoProperties), ApiPortalResourceRequests resourceRequests = default(ApiPortalResourceRequests), IList <ApiPortalInstance> instances = default(IList <ApiPortalInstance>))
 {
     ProvisioningState = provisioningState;
     PublicProperty    = publicProperty;
     Url              = url;
     HttpsOnly        = httpsOnly;
     GatewayIds       = gatewayIds;
     SourceUrls       = sourceUrls;
     SsoProperties    = ssoProperties;
     ResourceRequests = resourceRequests;
     Instances        = instances;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the GatewayProperties class.
 /// </summary>
 /// <param name="provisioningState">State of the Spring Cloud Gateway.
 /// Possible values include: 'Creating', 'Updating', 'Succeeded',
 /// 'Failed', 'Deleting'</param>
 /// <param name="publicProperty">Indicates whether the Spring Cloud
 /// Gateway exposes endpoint.</param>
 /// <param name="url">URL of the Spring Cloud Gateway, exposed when
 /// 'public' is true.</param>
 /// <param name="httpsOnly">Indicate if only https is allowed.</param>
 /// <param name="resourceRequests">The requested resource quantity for
 /// required CPU and Memory.</param>
 /// <param name="instances">Collection of instances belong to Spring
 /// Cloud Gateway.</param>
 public GatewayProperties(string provisioningState = default(string), bool?publicProperty = default(bool?), string url = default(string), bool?httpsOnly = default(bool?), SsoProperties ssoProperties = default(SsoProperties), GatewayApiMetadataProperties apiMetadataProperties = default(GatewayApiMetadataProperties), GatewayCorsProperties corsProperties = default(GatewayCorsProperties), GatewayResourceRequests resourceRequests = default(GatewayResourceRequests), IList <GatewayInstance> instances = default(IList <GatewayInstance>), GatewayOperatorProperties operatorProperties = default(GatewayOperatorProperties))
 {
     ProvisioningState = provisioningState;
     PublicProperty    = publicProperty;
     Url                   = url;
     HttpsOnly             = httpsOnly;
     SsoProperties         = ssoProperties;
     ApiMetadataProperties = apiMetadataProperties;
     CorsProperties        = corsProperties;
     ResourceRequests      = resourceRequests;
     Instances             = instances;
     OperatorProperties    = operatorProperties;
     CustomInit();
 }