PowerPlatformApiDiscovery Class
Discovery helper for Power Platform API endpoints.
Constructor
PowerPlatformApiDiscovery(cluster_category: Literal['local', 'dev', 'test', 'preprod', 'firstrelease', 'prod', 'gov', 'high', 'dod', 'mooncake', 'ex', 'rx'])
Parameters
| Name | Description |
|---|---|
|
cluster_category
Required
|
|
Methods
| get_tenant_endpoint | |
| get_tenant_island_cluster_endpoint | |
| get_token_audience | |
| get_token_endpoint_host |
get_tenant_endpoint
get_tenant_endpoint(tenant_id: str) -> str
Parameters
| Name | Description |
|---|---|
|
tenant_id
Required
|
|
get_tenant_island_cluster_endpoint
get_tenant_island_cluster_endpoint(tenant_id: str) -> str
Parameters
| Name | Description |
|---|---|
|
tenant_id
Required
|
|
get_token_audience
get_token_audience() -> str
get_token_endpoint_host
get_token_endpoint_host() -> str