DiscoveredEnvironment
- Namespace:
PPDS.Auth.Discovery - Assembly:
PPDS.Auth - Kind: Class
Summary
Represents an environment discovered via the Global Discovery Service.
Members
Methods
ToString
string ToString()
Returns a string representation of the environment.
Properties
ApiUrl
string ApiUrl { get; set; }
Gets or sets the API URL for connecting to Dataverse.
EnvironmentId
string EnvironmentId { get; set; }
Gets or sets the Power Platform environment ID.
EnvironmentType
string EnvironmentType { get; }
Gets the environment type as a string. Maps from Microsoft.Xrm.Sdk.Organization.OrganizationType enum values.
FriendlyName
string FriendlyName { get; set; }
Gets or sets the friendly display name.
Id
Guid Id { get; set; }
Gets or sets the environment ID (OrganizationId).
IsEnabled
bool IsEnabled { get; }
Gets whether this environment is enabled.
IsTrial
bool IsTrial { get; }
Gets whether this is a trial environment.
IsUserSysAdmin
bool IsUserSysAdmin { get; set; }
Gets or sets whether the calling user has system administrator role.
OrganizationType
int OrganizationType { get; set; }
Gets or sets the organization type.
Region
string Region { get; set; }
Gets or sets the region code (e.g., "NAM", "EUR").
State
int State { get; set; }
Gets or sets the environment state (0 = enabled, 1 = disabled).
TenantId
Nullable<Guid> TenantId { get; set; }
Gets or sets the tenant ID.
TrialExpirationDate
Nullable<DateTimeOffset> TrialExpirationDate { get; set; }
Gets or sets the trial expiration date (if applicable).
UniqueName
string UniqueName { get; set; }
Gets or sets the unique name for the instance.
Url
string Url { get; set; }
Gets or sets the application URL.
UrlName
string UrlName { get; set; }
Gets or sets the URL name (subdomain part).
Version
string Version { get; set; }
Gets or sets the environment version.