Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
az apim nv
Manage Azure API Management Named Values.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az apim nv create |
Create an API Management Named Value. |
Core | GA |
| az apim nv delete |
Delete an API Management Named Value. |
Core | GA |
| az apim nv list |
List API Management Named Values. |
Core | GA |
| az apim nv show |
Show details of an API Management Named Value. |
Core | GA |
| az apim nv show-secret |
Gets the secret of an API Management Named Value. |
Core | GA |
| az apim nv update |
Update an API Management Named Value. |
Core | GA |
| az apim nv wait |
Place the CLI in a waiting state until a condition of an apim named value is met. |
Core | GA |
az apim nv create
Create an API Management Named Value.
az apim nv create --display-name
--named-value-id
--resource-group
--service-name
[--acquire-policy-token]
[--change-reference]
[--if-match]
[--no-wait]
[--secret {false, true}]
[--tags]
[--value]
Examples
Create a Named Value.
az apim nv create --service-name MyApim -g MyResourceGroup --named-value-id MyNamedValue --display-name 'My Named Value' --value 'foo'
Required Parameters
The Display name of the Named Value.
Unique name for the Named Value to be created.
Must be unique in the current API Management service instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
ETag of the Entity.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Determines whether the value is a secret and should be encrypted or not. Default value is false.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The value of the Named Value.
az apim nv delete
Delete an API Management Named Value.
az apim nv delete --named-value-id
--resource-group
--service-name
[--acquire-policy-token]
[--change-reference]
[--yes]
Required Parameters
Identifier of the NamedValue.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
az apim nv list
List API Management Named Values.
az apim nv list --resource-group
--service-name
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
az apim nv show
Show details of an API Management Named Value.
az apim nv show --named-value-id
--resource-group
--service-name
Required Parameters
Identifier of the NamedValue.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
az apim nv show-secret
Gets the secret of an API Management Named Value.
az apim nv show-secret --named-value-id
--resource-group
--service-name
[--acquire-policy-token]
[--change-reference]
Required Parameters
Identifier of the NamedValue.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
az apim nv update
Update an API Management Named Value.
az apim nv update --named-value-id
--resource-group
--service-name
[--acquire-policy-token]
[--add]
[--change-reference]
[--force-string]
[--if-match]
[--remove]
[--secret {false, true}]
[--set]
[--tags]
[--value]
Examples
Create a basic API.
az apim nv update --service-name MyApim -g MyResourceGroup --named-value-id MyNamedValue --value foo
Required Parameters
Unique name of the api to be created.
Must be unique in the current API Management service instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | [] |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | False |
ETag of the Entity.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | [] |
Determines whether the value is a secret and should be encrypted or not. Default value is false.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | [] |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The value of the Named Value.
az apim nv wait
Place the CLI in a waiting state until a condition of an apim named value is met.
az apim nv wait --named-value-id
--resource-group
--service-name
[--acquire-policy-token]
[--change-reference]
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Place the CLI in a waiting state until a condition of a apim api is met.
az apim nv wait --created --service-name MyApim -g MyResourceGroup --named-value-id MyNamedValue --resource-group MyResourceGroup
Required Parameters
Identifier of the NamedValue.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Wait until created with 'provisioningState' at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
Wait until deleted.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the resource exists.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Polling interval in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 30 |
Maximum wait in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Feedback
Was this page helpful?
