az mobile-network sim
Note
This reference is part of the mobile-network extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az mobile-network sim command. Learn more about extensions.
Manage sim.
Commands
Name | Description | Type | Status |
---|---|---|---|
az mobile-network sim create |
Create a SIM. |
Extension | GA |
az mobile-network sim delete |
Delete the specified SIM. |
Extension | GA |
az mobile-network sim group |
Manage sim group. |
Extension | GA |
az mobile-network sim group bulk-delete-sims |
Bulk delete SIMs from a SIM group. |
Extension | GA |
az mobile-network sim group bulk-upload-sims |
Bulk upload SIMs to a SIM group. |
Extension | GA |
az mobile-network sim group create |
Create a SIM group. |
Extension | GA |
az mobile-network sim group delete |
Delete the specified SIM group. |
Extension | GA |
az mobile-network sim group list |
List all the SIM groups in a subscription. |
Extension | GA |
az mobile-network sim group show |
Get information about the specified SIM group. |
Extension | GA |
az mobile-network sim group update |
Update a SIM group. |
Extension | GA |
az mobile-network sim group wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az mobile-network sim list |
List all the SIMs in a SIM group. |
Extension | GA |
az mobile-network sim policy |
Manage sim policy. |
Extension | GA |
az mobile-network sim policy create |
Create a SIM policy. |
Extension | GA |
az mobile-network sim policy delete |
Delete the specified SIM policy. |
Extension | GA |
az mobile-network sim policy list |
List all the SIM policies in a mobile network. |
Extension | GA |
az mobile-network sim policy show |
Get information about the specified SIM policy. |
Extension | GA |
az mobile-network sim policy update |
Update a SIM policy. |
Extension | GA |
az mobile-network sim policy wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az mobile-network sim show |
Get information about the specified SIM. |
Extension | GA |
az mobile-network sim wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az mobile-network sim create
Create a SIM.
az mobile-network sim create --international-msi
--name
--resource-group
--sim-group-name
[--authentication-key]
[--device-type]
[--icc-id]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--operator-key-code]
[--sim-policy]
[--static-ip-config]
Examples
Create sim
az mobile-network sim create -g rg --sim-group-name sim-group-name -n sim-name --international-msi 0000000000 --operator-key-code 00000000000000000000000000000000 --authentication-key 00000000000000000000000000000000
Required Parameters
The international mobile subscriber identity (IMSI) for the SIM.
The name of the SIM.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the SIM Group.
Optional Parameters
The Ki value for the SIM.
An optional free-form text field that can be used to record the device type this SIM is associated with, for example 'Video camera'. The Azure portal allows SIMs to be grouped and filtered based on this value.
The integrated circuit card ID (ICCID) for the SIM.
Do not wait for the long-running operation to finish.
The Opc value for the SIM.
The SIM policy used by this SIM. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
A list of static IP addresses assigned to this SIM. Each address is assigned at a defined network scope, made up of {attached data network, slice}. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az mobile-network sim delete
Delete the specified SIM.
az mobile-network sim delete [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--sim-group-name]
[--subscription]
[--yes]
Examples
Delete sim
az mobile-network sim delete -g rg -n sim-name --sim-group-name sim-group-name -y
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the SIM.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the SIM Group.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az mobile-network sim list
List all the SIMs in a SIM group.
az mobile-network sim list --resource-group
--sim-group-name
[--max-items]
[--next-token]
Examples
List sims by resource group
az mobile-network sim list -g rg --sim-group-name sim-group-name
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the SIM Group.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az mobile-network sim show
Get information about the specified SIM.
az mobile-network sim show [--ids]
[--name]
[--resource-group]
[--sim-group-name]
[--subscription]
Examples
Show sim
az mobile-network sim show -g rg -n sim-name --sim-group-name sim-group-name
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the SIM.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the SIM Group.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az mobile-network sim wait
Place the CLI in a waiting state until a condition is met.
az mobile-network sim wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--resource-group]
[--sim-group-name]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
The name of the SIM.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the SIM Group.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.