Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,10 @@ public AuthenticationSettingsContract()
/// </summary>
/// <param name="oAuth2">OAuth2 Authentication settings</param>
/// <param name="openid">OpenID Connect Authentication Settings</param>
/// <param name="subscriptionKeyRequired">Specifies whether
/// subscription key is required during call to this API, true - API is
/// included into closed products only, false - API is included into
/// open products alone, null - there is a mix of products.</param>
public AuthenticationSettingsContract(OAuth2AuthenticationSettingsContract oAuth2 = default(OAuth2AuthenticationSettingsContract), OpenIdAuthenticationSettingsContract openid = default(OpenIdAuthenticationSettingsContract), bool? subscriptionKeyRequired = default(bool?))
public AuthenticationSettingsContract(OAuth2AuthenticationSettingsContract oAuth2 = default(OAuth2AuthenticationSettingsContract), OpenIdAuthenticationSettingsContract openid = default(OpenIdAuthenticationSettingsContract))
{
OAuth2 = oAuth2;
Openid = openid;
SubscriptionKeyRequired = subscriptionKeyRequired;
CustomInit();
}

Expand All @@ -62,14 +57,5 @@ public AuthenticationSettingsContract()
[JsonProperty(PropertyName = "openid")]
public OpenIdAuthenticationSettingsContract Openid { get; set; }

/// <summary>
/// Gets or sets specifies whether subscription key is required during
/// call to this API, true - API is included into closed products only,
/// false - API is included into open products alone, null - there is a
/// mix of products.
/// </summary>
[JsonProperty(PropertyName = "subscriptionKeyRequired")]
public bool? SubscriptionKeyRequired { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public IdentityProviderBaseParameters()
/// <param name="type">Identity Provider Type identifier. Possible
/// values include: 'facebook', 'google', 'microsoft', 'twitter',
/// 'aad', 'aadB2C'</param>
/// <param name="signinTenant">The TenantId to use instead of Common
/// when logging into Active Directory</param>
/// <param name="allowedTenants">List of Allowed Tenants when
/// configuring Azure Active Directory login.</param>
/// <param name="authority">OpenID Connect discovery endpoint hostname
Expand All @@ -49,9 +51,10 @@ public IdentityProviderBaseParameters()
/// Only applies to AAD B2C Identity Provider.</param>
/// <param name="passwordResetPolicyName">Password Reset Policy Name.
/// Only applies to AAD B2C Identity Provider.</param>
public IdentityProviderBaseParameters(string type = default(string), IList<string> allowedTenants = default(IList<string>), string authority = default(string), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string))
public IdentityProviderBaseParameters(string type = default(string), string signinTenant = default(string), IList<string> allowedTenants = default(IList<string>), string authority = default(string), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string))
{
Type = type;
SigninTenant = signinTenant;
AllowedTenants = allowedTenants;
Authority = authority;
SignupPolicyName = signupPolicyName;
Expand All @@ -74,6 +77,13 @@ public IdentityProviderBaseParameters()
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }

/// <summary>
/// Gets or sets the TenantId to use instead of Common when logging
/// into Active Directory
/// </summary>
[JsonProperty(PropertyName = "signinTenant")]
public string SigninTenant { get; set; }

/// <summary>
/// Gets or sets list of Allowed Tenants when configuring Azure Active
/// Directory login.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public IdentityProviderContract()
/// <param name="identityProviderContractType">Identity Provider Type
/// identifier. Possible values include: 'facebook', 'google',
/// 'microsoft', 'twitter', 'aad', 'aadB2C'</param>
/// <param name="signinTenant">The TenantId to use instead of Common
/// when logging into Active Directory</param>
/// <param name="allowedTenants">List of Allowed Tenants when
/// configuring Azure Active Directory login.</param>
/// <param name="authority">OpenID Connect discovery endpoint hostname
Expand All @@ -60,10 +62,11 @@ public IdentityProviderContract()
/// Only applies to AAD B2C Identity Provider.</param>
/// <param name="passwordResetPolicyName">Password Reset Policy Name.
/// Only applies to AAD B2C Identity Provider.</param>
public IdentityProviderContract(string clientId, string clientSecret, string id = default(string), string name = default(string), string type = default(string), string identityProviderContractType = default(string), IList<string> allowedTenants = default(IList<string>), string authority = default(string), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string))
public IdentityProviderContract(string clientId, string clientSecret, string id = default(string), string name = default(string), string type = default(string), string identityProviderContractType = default(string), string signinTenant = default(string), IList<string> allowedTenants = default(IList<string>), string authority = default(string), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string))
: base(id, name, type)
{
IdentityProviderContractType = identityProviderContractType;
SigninTenant = signinTenant;
AllowedTenants = allowedTenants;
Authority = authority;
SignupPolicyName = signupPolicyName;
Expand All @@ -88,6 +91,13 @@ public IdentityProviderContract()
[JsonProperty(PropertyName = "properties.type")]
public string IdentityProviderContractType { get; set; }

/// <summary>
/// Gets or sets the TenantId to use instead of Common when logging
/// into Active Directory
/// </summary>
[JsonProperty(PropertyName = "properties.signinTenant")]
public string SigninTenant { get; set; }

/// <summary>
/// Gets or sets list of Allowed Tenants when configuring Azure Active
/// Directory login.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public IdentityProviderUpdateParameters()
/// <param name="type">Identity Provider Type identifier. Possible
/// values include: 'facebook', 'google', 'microsoft', 'twitter',
/// 'aad', 'aadB2C'</param>
/// <param name="signinTenant">The TenantId to use instead of Common
/// when logging into Active Directory</param>
/// <param name="allowedTenants">List of Allowed Tenants when
/// configuring Azure Active Directory login.</param>
/// <param name="authority">OpenID Connect discovery endpoint hostname
Expand All @@ -58,9 +60,10 @@ public IdentityProviderUpdateParameters()
/// external Identity Provider, used to authenticate login request. For
/// example, it is App Secret for Facebook login, API Key for Google
/// login, Public Key for Microsoft.</param>
public IdentityProviderUpdateParameters(string type = default(string), IList<string> allowedTenants = default(IList<string>), string authority = default(string), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string), string clientId = default(string), string clientSecret = default(string))
public IdentityProviderUpdateParameters(string type = default(string), string signinTenant = default(string), IList<string> allowedTenants = default(IList<string>), string authority = default(string), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string), string clientId = default(string), string clientSecret = default(string))
{
Type = type;
SigninTenant = signinTenant;
AllowedTenants = allowedTenants;
Authority = authority;
SignupPolicyName = signupPolicyName;
Expand All @@ -85,6 +88,13 @@ public IdentityProviderUpdateParameters()
[JsonProperty(PropertyName = "properties.type")]
public string Type { get; set; }

/// <summary>
/// Gets or sets the TenantId to use instead of Common when logging
/// into Active Directory
/// </summary>
[JsonProperty(PropertyName = "properties.signinTenant")]
public string SigninTenant { get; set; }

/// <summary>
/// Gets or sets list of Allowed Tenants when configuring Azure Active
/// Directory login.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.Peering
{
using System;
using System.Collections.Generic;
using System.Linq;

internal static partial class SdkInfo
{
public static IEnumerable<Tuple<string, string, string>> ApiInfo_PeeringManagementClient
{
get
{
return new Tuple<string, string, string>[]
{
new Tuple<string, string, string>("Peering", "CheckServiceProviderAvailability", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "LegacyPeerings", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "Operations", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "PeerAsns", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "PeeringLocations", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "PeeringServiceLocations", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "PeeringServiceProviders", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "PeeringServices", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "Peerings", "2019-09-01-preview"),
new Tuple<string, string, string>("Peering", "Prefixes", "2019-09-01-preview"),
}.AsEnumerable();
}
}
}
}
3 changes: 2 additions & 1 deletion swagger_to_sdk_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"reflect-api-versions": "",
"license-header": "MICROSOFT_MIT_NO_VERSION",
"sdkrel:csharp-sdks-folder": "./sdk",
"use": "@microsoft.azure/autorest.csharp"
"use": "@microsoft.azure/autorest.csharp",
"csharp.clear-output-folder": ""
},
"advanced_options": {
"create_sdk_pull_requests": true,
Expand Down