CloudEnvironment Klasse
Bündelt alle cloudspezifischen Dienstendpunkte für eine bestimmte Azure Umgebung. Verwenden Sie vordefinierte Instanzen (PUBLIC, US_GOV, US_GOV_DOD, CHINA) oder erstellen Sie eine benutzerdefinierte Instanz über with_overrides().
Konstruktor
CloudEnvironment(login_endpoint: str, login_tenant: str, bot_scope: str, token_service_url: str, openid_metadata_url: str, token_issuer: str, graph_scope: str)
Parameter
| Name | Beschreibung |
|---|---|
|
login_endpoint
Erforderlich
|
|
|
login_tenant
Erforderlich
|
|
|
bot_scope
Erforderlich
|
|
|
token_service_url
Erforderlich
|
|
|
openid_metadata_url
Erforderlich
|
|
|
token_issuer
Erforderlich
|
|
|
graph_scope
Erforderlich
|
|
Attribute
bot_scope
api.botframework.com/.default").
bot_scope: str
graph_scope
graph.microsoft.com/.default").
graph_scope: str
login_endpoint
login.microsoftonline.com").
login_endpoint: str
login_tenant
Der standardmäßige Mehrinstanzen-Anmeldemandant (z. B. "botframework.com").
login_tenant: str
openid_metadata_url
Die OpenID-Metadaten-URL für die Tokenüberprüfung.
openid_metadata_url: str
token_issuer
api.botframework.com").
token_issuer: str
token_service_url
token.botframework.com").
token_service_url: str