Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Graph.RBAC' (Azure#6145)
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5873'
REST Spec PR Author 'yugangw-msft'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and mentat9 committed Jun 10, 2019
1 parent 93b3946 commit b804f7f
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public Application()
/// <param name="homepage">The home page of the application.</param>
/// <param name="identifierUris">A collection of URIs for the
/// application.</param>
/// <param name="informationalUrls">urls with more informations of the
/// application.</param>
/// <param name="informationalUrls">URLs with more information about
/// the application.</param>
/// <param name="isDeviceOnlyAuthSupported">Specifies whether this
/// application supports device authentication without a user. The
/// default is false.</param>
Expand Down Expand Up @@ -235,7 +235,7 @@ public Application()
public IList<string> IdentifierUris { get; set; }

/// <summary>
/// Gets or sets urls with more informations of the application.
/// Gets or sets uRLs with more information about the application.
/// </summary>
[JsonProperty(PropertyName = "informationalUrls")]
public InformationalUrl InformationalUrls { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public ApplicationBase()
/// issued in a user or OAuth 2.0 access token that the app
/// expects.</param>
/// <param name="homepage">The home page of the application.</param>
/// <param name="informationalUrls">urls with more informations of the
/// application.</param>
/// <param name="informationalUrls">URLs with more information about
/// the application.</param>
/// <param name="isDeviceOnlyAuthSupported">Specifies whether this
/// application supports device authentication without a user. The
/// default is false.</param>
Expand Down Expand Up @@ -204,7 +204,7 @@ public ApplicationBase()
public string Homepage { get; set; }

/// <summary>
/// Gets or sets urls with more informations of the application.
/// Gets or sets uRLs with more information about the application.
/// </summary>
[JsonProperty(PropertyName = "informationalUrls")]
public InformationalUrl InformationalUrls { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public ApplicationCreateParameters()
/// issued in a user or OAuth 2.0 access token that the app
/// expects.</param>
/// <param name="homepage">The home page of the application.</param>
/// <param name="informationalUrls">urls with more informations of the
/// application.</param>
/// <param name="informationalUrls">URLs with more information about
/// the application.</param>
/// <param name="isDeviceOnlyAuthSupported">Specifies whether this
/// application supports device authentication without a user. The
/// default is false.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public ApplicationUpdateParameters()
/// issued in a user or OAuth 2.0 access token that the app
/// expects.</param>
/// <param name="homepage">The home page of the application.</param>
/// <param name="informationalUrls">urls with more informations of the
/// application.</param>
/// <param name="informationalUrls">URLs with more information about
/// the application.</param>
/// <param name="isDeviceOnlyAuthSupported">Specifies whether this
/// application supports device authentication without a user. The
/// default is false.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ServicePrincipal()
/// principal</param>
/// <param name="tags">Optional list of tags that you can apply to your
/// service principals. Not nullable.</param>
public ServicePrincipal(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string objectId = default(string), System.DateTime? deletionTimestamp = default(System.DateTime?), string accountEnabled = default(string), IList<string> alternativeNames = default(IList<string>), string appDisplayName = default(string), string appId = default(string), string appOwnerTenantId = default(string), bool? appRoleAssignmentRequired = default(bool?), IList<AppRole> appRoles = default(IList<AppRole>), string displayName = default(string), string errorUrl = default(string), string homepage = default(string), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), string logoutUrl = default(string), IList<OAuth2Permission> oauth2Permissions = default(IList<OAuth2Permission>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string preferredTokenSigningKeyThumbprint = default(string), string publisherName = default(string), IList<string> replyUrls = default(IList<string>), string samlMetadataUrl = default(string), IList<string> servicePrincipalNames = default(IList<string>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
public ServicePrincipal(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string objectId = default(string), System.DateTime? deletionTimestamp = default(System.DateTime?), bool? accountEnabled = default(bool?), IList<string> alternativeNames = default(IList<string>), string appDisplayName = default(string), string appId = default(string), string appOwnerTenantId = default(string), bool? appRoleAssignmentRequired = default(bool?), IList<AppRole> appRoles = default(IList<AppRole>), string displayName = default(string), string errorUrl = default(string), string homepage = default(string), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), string logoutUrl = default(string), IList<OAuth2Permission> oauth2Permissions = default(IList<OAuth2Permission>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string preferredTokenSigningKeyThumbprint = default(string), string publisherName = default(string), IList<string> replyUrls = default(IList<string>), string samlMetadataUrl = default(string), IList<string> servicePrincipalNames = default(IList<string>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
: base(additionalProperties, objectId, deletionTimestamp)
{
AccountEnabled = accountEnabled;
Expand Down Expand Up @@ -116,7 +116,7 @@ public ServicePrincipal()
/// enabled
/// </summary>
[JsonProperty(PropertyName = "accountEnabled")]
public string AccountEnabled { get; set; }
public bool? AccountEnabled { get; set; }

/// <summary>
/// Gets or sets alternative names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ServicePrincipalBase()
/// principal</param>
/// <param name="tags">Optional list of tags that you can apply to your
/// service principals. Not nullable.</param>
public ServicePrincipalBase(string accountEnabled = default(string), bool? appRoleAssignmentRequired = default(bool?), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
public ServicePrincipalBase(bool? accountEnabled = default(bool?), bool? appRoleAssignmentRequired = default(bool?), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
{
AccountEnabled = accountEnabled;
AppRoleAssignmentRequired = appRoleAssignmentRequired;
Expand All @@ -66,7 +66,7 @@ public ServicePrincipalBase()
/// enabled
/// </summary>
[JsonProperty(PropertyName = "accountEnabled")]
public string AccountEnabled { get; set; }
public bool? AccountEnabled { get; set; }

/// <summary>
/// Gets or sets specifies whether an AppRoleAssignment to a user or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ServicePrincipalCreateParameters()
/// principal</param>
/// <param name="tags">Optional list of tags that you can apply to your
/// service principals. Not nullable.</param>
public ServicePrincipalCreateParameters(string appId, string accountEnabled = default(string), bool? appRoleAssignmentRequired = default(bool?), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
public ServicePrincipalCreateParameters(string appId, bool? accountEnabled = default(bool?), bool? appRoleAssignmentRequired = default(bool?), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
: base(accountEnabled, appRoleAssignmentRequired, keyCredentials, passwordCredentials, servicePrincipalType, tags)
{
AppId = appId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ServicePrincipalUpdateParameters()
/// principal</param>
/// <param name="tags">Optional list of tags that you can apply to your
/// service principals. Not nullable.</param>
public ServicePrincipalUpdateParameters(string accountEnabled = default(string), bool? appRoleAssignmentRequired = default(bool?), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
public ServicePrincipalUpdateParameters(bool? accountEnabled = default(bool?), bool? appRoleAssignmentRequired = default(bool?), IList<KeyCredential> keyCredentials = default(IList<KeyCredential>), IList<PasswordCredential> passwordCredentials = default(IList<PasswordCredential>), string servicePrincipalType = default(string), IList<string> tags = default(IList<string>))
: base(accountEnabled, appRoleAssignmentRequired, keyCredentials, passwordCredentials, servicePrincipalType, tags)
{
CustomInit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_GraphRbacManage
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/graphrbac/data-plane/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\graph\\azure-sdk-for-net\\src\\SDKs";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "86b303185361978f61feb1c20be1e3cf48a98260";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}

0 comments on commit b804f7f

Please sign in to comment.