get Service
Gets information about an Active Directory Domain Service.
Supported Modes: At present this data source only supports User Forest mode and not Resource Forest mode. Read more about the different operation modes for this service.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.domainservices.DomainservicesFunctions;
import com.pulumi.azure.domainservices.inputs.GetServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DomainservicesFunctions.getService(GetServiceArgs.builder()
.name("example-aadds")
.resourceGroupName("example-aadds-rg")
.build());
}
}
Return
A collection of values returned by getService.
Parameters
A collection of arguments for invoking getService.
Return
A collection of values returned by getService.
See also
Parameters
The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.
The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.
A mapping of tags assigned to the resource.
Return
A collection of values returned by getService.
See also
Parameters
Builder for com.pulumi.azure.domainservices.kotlin.inputs.GetServicePlainArgs.