This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi
azure-native.mission.getApproval
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi
Get a ApprovalResource
Uses Azure REST API version 2025-05-01-preview.
Other available API versions: 2024-06-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native mission [ApiVersion]
. See the version guide for details.
Using getApproval
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApproval(args: GetApprovalArgs, opts?: InvokeOptions): Promise<GetApprovalResult>
function getApprovalOutput(args: GetApprovalOutputArgs, opts?: InvokeOptions): Output<GetApprovalResult>
def get_approval(approval_name: Optional[str] = None,
resource_uri: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApprovalResult
def get_approval_output(approval_name: Optional[pulumi.Input[str]] = None,
resource_uri: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApprovalResult]
func LookupApproval(ctx *Context, args *LookupApprovalArgs, opts ...InvokeOption) (*LookupApprovalResult, error)
func LookupApprovalOutput(ctx *Context, args *LookupApprovalOutputArgs, opts ...InvokeOption) LookupApprovalResultOutput
> Note: This function is named LookupApproval
in the Go SDK.
public static class GetApproval
{
public static Task<GetApprovalResult> InvokeAsync(GetApprovalArgs args, InvokeOptions? opts = null)
public static Output<GetApprovalResult> Invoke(GetApprovalInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApprovalResult> getApproval(GetApprovalArgs args, InvokeOptions options)
public static Output<GetApprovalResult> getApproval(GetApprovalArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:mission:getApproval
arguments:
# arguments dictionary
The following arguments are supported:
- Approval
Name string - The name of the approvals resource.
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Approval
Name string - The name of the approvals resource.
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- approval
Name String - The name of the approvals resource.
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- approval
Name string - The name of the approvals resource.
- resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- approval_
name str - The name of the approvals resource.
- resource_
uri str - The fully qualified Azure Resource manager identifier of the resource.
- approval
Name String - The name of the approvals resource.
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
getApproval Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - Provisioning State.
- Request
Metadata Pulumi.Azure Native. Mission. Outputs. Request Metadata Response - Request metadata for the approval request.
- System
Data Pulumi.Azure Native. Mission. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Approvers
List<Pulumi.
Azure Native. Mission. Outputs. Approver Response> - List of approvers for the approval request
- Created
At string - Approval request creation time
- Grandparent
Resource stringId - Parameter for optimizing query results
- Parent
Resource stringId - Parameter for optimizing query results
- State
Changed stringAt - Approval request state change time, time at which approval request state changed from pending to approved or rejected.
- Ticket
Id string - Ticket ID for the approval request
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - Provisioning State.
- Request
Metadata RequestMetadata Response - Request metadata for the approval request.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Approvers
[]Approver
Response - List of approvers for the approval request
- Created
At string - Approval request creation time
- Grandparent
Resource stringId - Parameter for optimizing query results
- Parent
Resource stringId - Parameter for optimizing query results
- State
Changed stringAt - Approval request state change time, time at which approval request state changed from pending to approved or rejected.
- Ticket
Id string - Ticket ID for the approval request
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - Provisioning State.
- request
Metadata RequestMetadata Response - Request metadata for the approval request.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- approvers
List<Approver
Response> - List of approvers for the approval request
- created
At String - Approval request creation time
- grandparent
Resource StringId - Parameter for optimizing query results
- parent
Resource StringId - Parameter for optimizing query results
- state
Changed StringAt - Approval request state change time, time at which approval request state changed from pending to approved or rejected.
- ticket
Id String - Ticket ID for the approval request
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- provisioning
State string - Provisioning State.
- request
Metadata RequestMetadata Response - Request metadata for the approval request.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- approvers
Approver
Response[] - List of approvers for the approval request
- created
At string - Approval request creation time
- grandparent
Resource stringId - Parameter for optimizing query results
- parent
Resource stringId - Parameter for optimizing query results
- state
Changed stringAt - Approval request state change time, time at which approval request state changed from pending to approved or rejected.
- ticket
Id string - Ticket ID for the approval request
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- provisioning_
state str - Provisioning State.
- request_
metadata RequestMetadata Response - Request metadata for the approval request.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- approvers
Sequence[Approver
Response] - List of approvers for the approval request
- created_
at str - Approval request creation time
- grandparent_
resource_ strid - Parameter for optimizing query results
- parent_
resource_ strid - Parameter for optimizing query results
- state_
changed_ strat - Approval request state change time, time at which approval request state changed from pending to approved or rejected.
- ticket_
id str - Ticket ID for the approval request
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - Provisioning State.
- request
Metadata Property Map - Request metadata for the approval request.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- approvers List<Property Map>
- List of approvers for the approval request
- created
At String - Approval request creation time
- grandparent
Resource StringId - Parameter for optimizing query results
- parent
Resource StringId - Parameter for optimizing query results
- state
Changed StringAt - Approval request state change time, time at which approval request state changed from pending to approved or rejected.
- ticket
Id String - Ticket ID for the approval request
Supporting Types
ApproverResponse
- Approver
Entra stringId - Entra ObjectID of the approver
- Last
Updated stringAt - approval request last updated at
- Action
Performed string - Action Performed by approver
- Approver
Entra stringId - Entra ObjectID of the approver
- Last
Updated stringAt - approval request last updated at
- Action
Performed string - Action Performed by approver
- approver
Entra StringId - Entra ObjectID of the approver
- last
Updated StringAt - approval request last updated at
- action
Performed String - Action Performed by approver
- approver
Entra stringId - Entra ObjectID of the approver
- last
Updated stringAt - approval request last updated at
- action
Performed string - Action Performed by approver
- approver_
entra_ strid - Entra ObjectID of the approver
- last_
updated_ strat - approval request last updated at
- action_
performed str - Action Performed by approver
- approver
Entra StringId - Entra ObjectID of the approver
- last
Updated StringAt - approval request last updated at
- action
Performed String - Action Performed by approver
RequestMetadataResponse
- Resource
Action string - Resource Action of the item being approved or declined.
- Approval
Callback stringPayload - Payload to be sent upon any action on approval request
- Approval
Callback stringRoute - Route name for the approval callback
- Approval
Status string - Status of the approval. Uses ApprovalStatus enum.
- Resource
Action string - Resource Action of the item being approved or declined.
- Approval
Callback stringPayload - Payload to be sent upon any action on approval request
- Approval
Callback stringRoute - Route name for the approval callback
- Approval
Status string - Status of the approval. Uses ApprovalStatus enum.
- resource
Action String - Resource Action of the item being approved or declined.
- approval
Callback StringPayload - Payload to be sent upon any action on approval request
- approval
Callback StringRoute - Route name for the approval callback
- approval
Status String - Status of the approval. Uses ApprovalStatus enum.
- resource
Action string - Resource Action of the item being approved or declined.
- approval
Callback stringPayload - Payload to be sent upon any action on approval request
- approval
Callback stringRoute - Route name for the approval callback
- approval
Status string - Status of the approval. Uses ApprovalStatus enum.
- resource_
action str - Resource Action of the item being approved or declined.
- approval_
callback_ strpayload - Payload to be sent upon any action on approval request
- approval_
callback_ strroute - Route name for the approval callback
- approval_
status str - Status of the approval. Uses ApprovalStatus enum.
- resource
Action String - Resource Action of the item being approved or declined.
- approval
Callback StringPayload - Payload to be sent upon any action on approval request
- approval
Callback StringRoute - Route name for the approval callback
- approval
Status String - Status of the approval. Uses ApprovalStatus enum.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi