Skip to main content

microsoft_ads

Creates, updates, deletes, gets or lists a microsoft_ads resource.

Overview​

Namemicrosoft_ads
TypeResource
Idaws.ds.microsoft_ads

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_microsoft_adinsertregion, Name, Password, VpcSettingsCreates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed Microsoft AD in the Directory Service Admin Guide. Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

INSERT examples​

Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed Microsoft AD in the Directory Service Admin Guide. Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

INSERT INTO aws.ds.microsoft_ads (
Name,
ShortName,
Password,
Description,
VpcSettings,
Edition,
Tags,
NetworkType,
region
)
SELECT
'{{ Name }}' /* required */,
'{{ ShortName }}',
'{{ Password }}' /* required */,
'{{ Description }}',
'{{ VpcSettings }}' /* required */,
'{{ Edition }}',
'{{ Tags }}',
'{{ NetworkType }}',
'{{ region }}'
RETURNING
directory_id
;