Fortinet black logo

CLI Reference

config system azure

Use this command to configure the FortiADC VM that is deployed on the Azure Cloud Platform.

Before you begin:
  • You must have read-write permission for system settings.
  • You must have deployed a FortiADC VM on the Azure Cloud Platform.

Syntax

config system azure

set tenant-id <tenant-id>

set subscription-id <subscription-id>

set client-id <client-id>

set client-secret <client-secret>

set azure-region {china|germany|global|usgov}

set resource-group <resource-group>

end

tenant-id

Specify the Azure Tenant ID (directory ID).

subscription-id

Specify the Azure subscription ID.

client-id

Specify the Azure client ID (application ID).

client-secret

Specify the Azure client secret (application key).

azure-region

Select one of the following regions:

  • china
  • germany
  • global
  • usgov

resource-group

Specify the Azure resource group.

Example

FAD-HA-vm1 # config system azure
FAD-HA-vm1 (azure) # set tenant-id XXXXXXXXXXXXXXXXXXXXX
FAD-HA-vm1 (azure) # set client-id XXXXXXXXXXXXXXXXXXXXXXXXXXX
FAD-HA-vm1 (azure) # set client-secret XXXXXXXXXXXXXXXXXXXXXXXXXXXX
FAD-HA-vm1 (azure) # set azure-region global
FAD-HA-vm1 (azure) # end

FAD-HA-vm1 # get sys azure
tenant-id : XXXXXXXXXXXXXXXXXXXXX
subscription-id : 
client-id : XXXXXXXXXXXXXXXXXXXXXXXXXXXX 
client-secret : *
azure-region : global
resource-group :

Use this command to configure the FortiADC VM that is deployed on the Azure Cloud Platform.

Before you begin:
  • You must have read-write permission for system settings.
  • You must have deployed a FortiADC VM on the Azure Cloud Platform.

Syntax

config system azure

set tenant-id <tenant-id>

set subscription-id <subscription-id>

set client-id <client-id>

set client-secret <client-secret>

set azure-region {china|germany|global|usgov}

set resource-group <resource-group>

end

tenant-id

Specify the Azure Tenant ID (directory ID).

subscription-id

Specify the Azure subscription ID.

client-id

Specify the Azure client ID (application ID).

client-secret

Specify the Azure client secret (application key).

azure-region

Select one of the following regions:

  • china
  • germany
  • global
  • usgov

resource-group

Specify the Azure resource group.

Example

FAD-HA-vm1 # config system azure
FAD-HA-vm1 (azure) # set tenant-id XXXXXXXXXXXXXXXXXXXXX
FAD-HA-vm1 (azure) # set client-id XXXXXXXXXXXXXXXXXXXXXXXXXXX
FAD-HA-vm1 (azure) # set client-secret XXXXXXXXXXXXXXXXXXXXXXXXXXXX
FAD-HA-vm1 (azure) # set azure-region global
FAD-HA-vm1 (azure) # end

FAD-HA-vm1 # get sys azure
tenant-id : XXXXXXXXXXXXXXXXXXXXX
subscription-id : 
client-id : XXXXXXXXXXXXXXXXXXXXXXXXXXXX 
client-secret : *
azure-region : global
resource-group :