@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.62 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The Get Domain Service operation retrieves a json representation of the Domain Service.
*
* Uses Azure REST API version 2022-12-01.
*
* Other available API versions: 2025-05-01, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native aad [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDomainService(args: GetDomainServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainServiceResult>;
export interface GetDomainServiceArgs {
/**
* The name of the domain service.
*/
domainServiceName: string;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Domain service.
*/
export interface GetDomainServiceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Configuration diagnostics data containing latest execution from client.
*/
readonly configDiagnostics?: outputs.aad.ConfigDiagnosticsResponse;
/**
* Deployment Id
*/
readonly deploymentId: string;
/**
* Domain Configuration Type
*/
readonly domainConfigurationType?: string;
/**
* The name of the Azure domain that the user would like to deploy Domain Services to.
*/
readonly domainName?: string;
/**
* DomainSecurity Settings
*/
readonly domainSecuritySettings?: outputs.aad.DomainSecuritySettingsResponse;
/**
* Resource etag
*/
readonly etag?: string;
/**
* Enabled or Disabled flag to turn on Group-based filtered sync
*/
readonly filteredSync?: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Secure LDAP Settings
*/
readonly ldapsSettings?: outputs.aad.LdapsSettingsResponse;
/**
* Resource location
*/
readonly location?: string;
/**
* Migration Properties
*/
readonly migrationProperties: outputs.aad.MigrationPropertiesResponse;
/**
* Resource name
*/
readonly name: string;
/**
* Notification Settings
*/
readonly notificationSettings?: outputs.aad.NotificationSettingsResponse;
/**
* the current deployment or provisioning state, which only appears in the response.
*/
readonly provisioningState: string;
/**
* List of ReplicaSets
*/
readonly replicaSets?: outputs.aad.ReplicaSetResponse[];
/**
* Resource Forest Settings
*/
readonly resourceForestSettings?: outputs.aad.ResourceForestSettingsResponse;
/**
* Sku Type
*/
readonly sku?: string;
/**
* The unique sync application id of the Azure AD Domain Services deployment.
*/
readonly syncApplicationId: string;
/**
* SyncOwner ReplicaSet Id
*/
readonly syncOwner: string;
/**
* All or CloudOnly, All users in AAD are synced to AAD DS domain or only users actively syncing in the cloud
*/
readonly syncScope?: string;
/**
* The system meta data relating to this resource.
*/
readonly systemData: outputs.aad.SystemDataResponse;
/**
* Resource tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* Azure Active Directory Tenant Id
*/
readonly tenantId: string;
/**
* Resource type
*/
readonly type: string;
/**
* Data Model Version
*/
readonly version: number;
}
/**
* The Get Domain Service operation retrieves a json representation of the Domain Service.
*
* Uses Azure REST API version 2022-12-01.
*
* Other available API versions: 2025-05-01, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native aad [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDomainServiceOutput(args: GetDomainServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainServiceResult>;
export interface GetDomainServiceOutputArgs {
/**
* The name of the domain service.
*/
domainServiceName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}