CmdID / az / az mission / az mission approval
az mission approval create
Create a ApprovalResource Azure CLI extensions reference
1 example 8 options Its page in the Azure CLI extensions reference
Examples
Approval_CreateOrUpdate
az mission approval create --resource-uri subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection --approval-name TestApprovals --parent-resource-id /subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave --grandparent-resource-id /subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity --request-metadata "{resource-action:string,approval-status:Approved,approval-callback-route:approvalCallback,approval-callback-payload:\'{\n "key1": "value1",\n "key2": "value2"\n}\'}" --approvers "[{approver-entra-id:00000000-0000-0000-0000-000000000000,action-performed:Approved,last-updated-at:'2023-03-17T20:43:17.760Z'}]" --ticket-id string --created-at 2023-03-17T20:43:17.760Z --state-changed-at 2023-03-17T20:43:17.760ZIdentify--resource-uriThe fully qualified Azure Resource manager identifier of the resource.--approval-nameThe name of the approvals resource.--parent-resource-idParameter for optimizing query results--grandparent-resource-idParameter for optimizing query results--request-metadataRequest metadata for the approval request.--approversList of approvers for the approval request--ticket-idTicket ID for the approval request--created-atApproval request creation time--state-changed-atApproval request state change time, time at which approval request state changed from pending to approved or rejected.Options
--approval-nameThe name of the approvals resource.--approversList of approvers for the approval request--created-atApproval request creation time--grandparent-resource-id, --parent-resource-idParameter for optimizing query results--request-metadataRequest metadata for the approval request.--resource-uriThe fully qualified Azure Resource manager identifier of the resource.--state-changed-atApproval request state change time, time at which approval request state changed from pending to approved or rejected.--ticket-idTicket ID for the approval request