diff --git a/azure_sdk/lib/azure_sdk.rb b/azure_sdk/lib/azure_sdk.rb index 3d3eabaa94..4de13c3d8b 100644 --- a/azure_sdk/lib/azure_sdk.rb +++ b/azure_sdk/lib/azure_sdk.rb @@ -2,5 +2,5 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require 'v2017_03_09/v2017_03_09_profile_client' require 'latest/latest_profile_client' +require 'v2017_03_09/v2017_03_09_profile_client' diff --git a/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/models/application.rb b/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/models/application.rb index 28fd7fa6e2..d732151e6d 100644 --- a/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/models/application.rb +++ b/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/models/application.rb @@ -49,6 +49,13 @@ def initialize # @return [Boolean] Whether to allow implicit grant flow for OAuth2 attr_accessor :oauth2allow_implicit_flow + # @return [Array] Specifies resources that this + # application requires access to and the set of OAuth permission scopes + # and application roles that it needs under each of those resources. This + # pre-configuration of required resource access drives the consent + # experience. + attr_accessor :required_resource_access + # # Mapper for Application class as Ruby Hash. @@ -189,6 +196,21 @@ def self.mapper() type: { name: 'Boolean' } + }, + required_resource_access: { + required: false, + serialized_name: 'requiredResourceAccess', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'RequiredResourceAccessElementType', + type: { + name: 'Composite', + class_name: 'RequiredResourceAccess' + } + } + } } } }