Azureadconfig

Resource Fields

Writeable Fields

Field Type Create Update Default Notes
accessMode string Yes - unrestricted  
adminAccountPassword string Yes - -  
adminAccountUsername string Yes - -  
clientId string Optional - -  
domain string Optional - -  
enabled boolean Optional - -  
name string Optional Yes -  
tenantId string Optional - -  


Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.

Operations

CreatePOST: /v2-beta/projects/${PROJECT_ID}/azureadconfigs

curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
	"accessMode": "unrestricted",
	"adminAccountPassword": "string",
	"adminAccountUsername": "string",
	"clientId": "string",
	"domain": "string",
	"enabled": false,
	"name": "string",
	"tenantId": "string"
}' 'http://${RANCHER_URL}:8080/v2-beta/projects/${PROJECT_ID}/azureadconfigs'

UpdatePUT: /v2-beta/projects/${PROJECT_ID}/azureadconfigs/${ID}

curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X PUT \
-H 'Content-Type: application/json' \
-d '{
	"name": "string"
}' 'http://${RANCHER_URL}:8080/v2-beta/projects/${PROJECT_ID}/azureadconfigs/${ID}'
Edit this page