Bind
All the listed privileges are required -
Privileges | Description |
---|---|
GLOBAL_CONFIG_MANAGEMENT | Caller should have permission to this privilege, to perform this operation. |
Request
URI
POST
https://{api_host}/rest/external/v1/ad-domains/action/bind
COPY
Request Body
ADDomainSpec
of type(s)
application/json
Required
Show optional properties
{
"ad_domain_advanced_settings": {
"ad_domain_context": "dc=abc,dc=com",
"port": 389
},
"dns_name": "example.com",
"netbios_name": "EXAMPLE",
"primary_account": {
"password": [
{}
],
"username": "Administrator"
}
}
{
"ad_domain_advanced_settings": {
"ad_domain_auto_discovery": true,
"ad_domain_context": "dc=abc,dc=com",
"ad_domain_controllers": [
"example.com",
"example1.com"
],
"ad_domain_preferred_site": "Bengaluru",
"port": 389
},
"dns_name": "example.com",
"netbios_name": "EXAMPLE",
"primary_account": {
"password": [
"<password>"
],
"username": "Administrator"
}
}
object
ad_domain_advanced_settings
Required
Information related to untrusted Domain advance settings.
string
As ^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\.)+[A-Za-z0-9]{2,63}$
dns_name
Required
The DNS name of the domain.
string
netbios_name
Required
The NetBIOS name of the domain.
object
primary_account
Required
Information related to untrusted Domain service accounts.
Responses
201
Created
Returns
ADDomainBindInfo
of type(s)
*/*
"ADDomainBindInfo Object"
string
id
Optional
Unique ID representing the AD domain.
400
Bad Request
Operation doesn't return any data structure
401
User is not authenticated
Operation doesn't return any data structure
403
Access to the resource is forbidden
Operation doesn't return any data structure
409
Conflict
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ad_domain_advanced_settings:"object","dns_name:"string","netbios_name:"string","primary_account:"object"}' https://{api_host}/rest/external/v1/ad-domains/action/bind
External Operations
GET
List AD Domains
POST
Bind
POST
Update Auxiliary Accounts
POST
Add Auxiliary Accounts
POST
Delete Auxiliary Accounts
POST
Unbind
POST
Update
GET
List AD Containers
GET
Get Default AD Container
GET
Get AD Container
GET
List AD User Or Group Summary
POST
Change User Password
POST
Bulk Hold User Or Group
POST
Bulk Release Hold User Or Group
POST
Validate AD User Encrypted Credentials
GET
List Held Users Or Groups
GET
Get AD User Or Group Info
GET
List Audit Events
GET
Get Agent Upgrade History
GET
Audit Events Extended Attributes
GET
List Base Snapshots
GET
List Base V Ms
GET
List Customization Specs
GET
List Datacenters
GET
List Datastore Clusters
GET
List Datastore Paths
GET
Listdatastores
POST
Compute Space Requirements
POST
Compute Vsan Cost
GET
List Domains
GET
List Hosts Or Clusters
GET
List Network Interface Cards
GET
List Network Labels
GET
List Resource Pools
GET
List Virtual Disks
GET
List Virtual Machines
GET
List VM Folders
GET
List VM Templates
GET
List AD Domains V2
POST
Bulk Hold User Or Group V2
POST
Bulk Release Hold User Or Group V2
GET
Get AD User Or Group Info V2
GET
List Audit Events V2
GET
List Base Snapshots V2
GET
List Base V Ms V2
GET
Get Base V Ms V2
POST
Compute Space Requirements V2
GET
List Network Interface Cards V2
GET
List VM Templates V2
GET
List AD Domains V3
GET
List Base V Ms V3