Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the PortalDelegationSettings class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type for API Management
 /// resource.</param>
 /// <param name="url">A delegation Url.</param>
 /// <param name="validationKey">A base64-encoded validation key to
 /// validate, that a request is coming from Azure API
 /// Management.</param>
 /// <param name="subscriptions">Subscriptions delegation
 /// settings.</param>
 /// <param name="userRegistration">User registration delegation
 /// settings.</param>
 public PortalDelegationSettings(string id = default(string), string name = default(string), string type = default(string), string url = default(string), string validationKey = default(string), SubscriptionsDelegationSettingsProperties subscriptions = default(SubscriptionsDelegationSettingsProperties), RegistrationDelegationSettingsProperties userRegistration = default(RegistrationDelegationSettingsProperties))
     : base(id, name, type)
 {
     Url              = url;
     ValidationKey    = validationKey;
     Subscriptions    = subscriptions;
     UserRegistration = userRegistration;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the PortalSettingsContract class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type for API Management
 /// resource.</param>
 /// <param name="url">A delegation Url.</param>
 /// <param name="validationKey">A base64-encoded validation key to
 /// validate, that a request is coming from Azure API
 /// Management.</param>
 /// <param name="subscriptions">Subscriptions delegation
 /// settings.</param>
 /// <param name="userRegistration">User registration delegation
 /// settings.</param>
 /// <param name="enabled">Redirect Anonymous users to the Sign-In
 /// page.</param>
 /// <param name="termsOfService">Terms of service contract
 /// properties.</param>
 public PortalSettingsContract(string id = default(string), string name = default(string), string type = default(string), string url = default(string), string validationKey = default(string), SubscriptionsDelegationSettingsProperties subscriptions = default(SubscriptionsDelegationSettingsProperties), RegistrationDelegationSettingsProperties userRegistration = default(RegistrationDelegationSettingsProperties), bool?enabled = default(bool?), TermsOfServiceProperties termsOfService = default(TermsOfServiceProperties))
     : base(id, name, type)
 {
     Url              = url;
     ValidationKey    = validationKey;
     Subscriptions    = subscriptions;
     UserRegistration = userRegistration;
     Enabled          = enabled;
     TermsOfService   = termsOfService;
     CustomInit();
 }