Updating a connector in Azure
Learn how to update a connector through the Azure CLI
Prerequisites
Item
Description
Update a connector
export APONO_CONNECTOR_ID=apono-connectorexport APONO_TOKEN=abcd1234-e5f6-7g8h-90123i45678export SUBSCRIPTION_ID=abcdef01-23456789-0abc-def012345678export RESOURCE_GROUP_NAME=myResourceGroup0816export REGION=$(az group show --name $RESOURCE_GROUP_NAME --query location --output tsv)az container create --subscription $SUBSCRIPTION_ID --resource-group $RESOURCE_GROUP_NAME --name $APONO_CONNECTOR_ID --ports 80 --os-type linux --image registry.apono.io/apono-connector:<<connectorVersion>> --environment-variables APONO_CONNECTOR_ID=$APONO_CONNECTOR_ID APONO_TOKEN=$APONO_TOKEN APONO_URL=api.apono.io CONNECTOR_METADATA='{"cloud_provider":"AZURE","subscription_id":"'"$SUBSCRIPTION_ID"'","resource_group":"'"$RESOURCE_GROUP_NAME"'","region":"'"$REGION"'","is_azure_admin":true}' --cpu 1 --memory 1.5 --registry-login-server registry.apono.io --registry-username apono --registry-password $APONO_TOKEN --location $REGION --assign-identity --query identity.principalId --output tsv
Last updated
Was this helpful?
