1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
class ApplicationUpdateParameters(Model):
"""Request parameters for updating an existing application.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param app_roles: The collection of application roles that an application
may declare. These roles can be assigned to users, groups or service
principals.
:type app_roles: list[~azure.graphrbac.models.AppRole]
:param available_to_other_tenants: Whether the application is available to
other tenants
:type available_to_other_tenants: bool
:param display_name: The display name of the application.
:type display_name: str
:param homepage: The home page of the application.
:type homepage: str
:param identifier_uris: A collection of URIs for the application.
:type identifier_uris: list[str]
:param reply_urls: A collection of reply URLs for the application.
:type reply_urls: list[str]
:param key_credentials: The list of KeyCredential objects.
:type key_credentials: list[~azure.graphrbac.models.KeyCredential]
:param password_credentials: The list of PasswordCredential objects.
:type password_credentials:
list[~azure.graphrbac.models.PasswordCredential]
:param oauth2_allow_implicit_flow: Whether to allow implicit grant flow
for OAuth2
:type oauth2_allow_implicit_flow: bool
:param required_resource_access: 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.
:type required_resource_access:
list[~azure.graphrbac.models.RequiredResourceAccess]
"""
_attribute_map = {
'additional_properties': {'key': '', 'type': '{object}'},
'app_roles': {'key': 'appRoles', 'type': '[AppRole]'},
'available_to_other_tenants': {'key': 'availableToOtherTenants', 'type': 'bool'},
'display_name': {'key': 'displayName', 'type': 'str'},
'homepage': {'key': 'homepage', 'type': 'str'},
'identifier_uris': {'key': 'identifierUris', 'type': '[str]'},
'reply_urls': {'key': 'replyUrls', 'type': '[str]'},
'key_credentials': {'key': 'keyCredentials', 'type': '[KeyCredential]'},
'password_credentials': {'key': 'passwordCredentials', 'type': '[PasswordCredential]'},
'oauth2_allow_implicit_flow': {'key': 'oauth2AllowImplicitFlow', 'type': 'bool'},
'required_resource_access': {'key': 'requiredResourceAccess', 'type': '[RequiredResourceAccess]'},
}
def __init__(self, *, additional_properties=None, app_roles=None, available_to_other_tenants: bool=None, display_name: str=None, homepage: str=None, identifier_uris=None, reply_urls=None, key_credentials=None, password_credentials=None, oauth2_allow_implicit_flow: bool=None, required_resource_access=None, **kwargs) -> None:
super(ApplicationUpdateParameters, self).__init__(**kwargs)
self.additional_properties = additional_properties
self.app_roles = app_roles
self.available_to_other_tenants = available_to_other_tenants
self.display_name = display_name
self.homepage = homepage
self.identifier_uris = identifier_uris
self.reply_urls = reply_urls
self.key_credentials = key_credentials
self.password_credentials = password_credentials
self.oauth2_allow_implicit_flow = oauth2_allow_implicit_flow
self.required_resource_access = required_resource_access
|