azure-native.containerregistry.listWebhookEvents
Explore with Pulumi AI
Lists recent events for the specified webhook.
Uses Azure REST API version 2024-11-01-preview.
Other available API versions: 2019-12-01-preview, 2020-11-01-preview, 2021-06-01-preview, 2021-08-01-preview, 2021-09-01, 2021-12-01-preview, 2022-02-01-preview, 2022-12-01, 2023-01-01-preview, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]. See the version guide for details.
Using listWebhookEvents
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 listWebhookEvents(args: ListWebhookEventsArgs, opts?: InvokeOptions): Promise<ListWebhookEventsResult>
function listWebhookEventsOutput(args: ListWebhookEventsOutputArgs, opts?: InvokeOptions): Output<ListWebhookEventsResult>def list_webhook_events(registry_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        webhook_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> ListWebhookEventsResult
def list_webhook_events_output(registry_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        webhook_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[ListWebhookEventsResult]func ListWebhookEvents(ctx *Context, args *ListWebhookEventsArgs, opts ...InvokeOption) (*ListWebhookEventsResult, error)
func ListWebhookEventsOutput(ctx *Context, args *ListWebhookEventsOutputArgs, opts ...InvokeOption) ListWebhookEventsResultOutput> Note: This function is named ListWebhookEvents in the Go SDK.
public static class ListWebhookEvents 
{
    public static Task<ListWebhookEventsResult> InvokeAsync(ListWebhookEventsArgs args, InvokeOptions? opts = null)
    public static Output<ListWebhookEventsResult> Invoke(ListWebhookEventsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListWebhookEventsResult> listWebhookEvents(ListWebhookEventsArgs args, InvokeOptions options)
public static Output<ListWebhookEventsResult> listWebhookEvents(ListWebhookEventsArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:containerregistry:listWebhookEvents
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Registry
Name string - The name of the container registry.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Webhook
Name string - The name of the webhook.
 
- Registry
Name string - The name of the container registry.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Webhook
Name string - The name of the webhook.
 
- registry
Name String - The name of the container registry.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - webhook
Name String - The name of the webhook.
 
- registry
Name string - The name of the container registry.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - webhook
Name string - The name of the webhook.
 
- registry_
name str - The name of the container registry.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 - webhook_
name str - The name of the webhook.
 
- registry
Name String - The name of the container registry.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - webhook
Name String - The name of the webhook.
 
listWebhookEvents Result
The following output properties are available:
- Next
Link string - The URI that can be used to request the next list of events.
 - Value
List<Pulumi.
Azure Native. Container Registry. Outputs. Event Response>  - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
 
- Next
Link string - The URI that can be used to request the next list of events.
 - Value
[]Event
Response  - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
 
- next
Link String - The URI that can be used to request the next list of events.
 - value
List<Event
Response>  - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
 
- next
Link string - The URI that can be used to request the next list of events.
 - value
Event
Response[]  - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
 
- next_
link str - The URI that can be used to request the next list of events.
 - value
Sequence[Event
Response]  - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
 
- next
Link String - The URI that can be used to request the next list of events.
 - value List<Property Map>
 - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
 
Supporting Types
ActorResponse 
- Name string
 - The subject or username associated with the request context that generated the event.
 
- Name string
 - The subject or username associated with the request context that generated the event.
 
- name String
 - The subject or username associated with the request context that generated the event.
 
- name string
 - The subject or username associated with the request context that generated the event.
 
- name str
 - The subject or username associated with the request context that generated the event.
 
- name String
 - The subject or username associated with the request context that generated the event.
 
EventContentResponse  
- Action string
 - The action that encompasses the provided event.
 - Actor
Pulumi.
Azure Native. Container Registry. Inputs. Actor Response  - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
 - Id string
 - The event ID.
 - Request
Pulumi.
Azure Native. Container Registry. Inputs. Request Response  - The request that generated the event.
 - Source
Pulumi.
Azure Native. Container Registry. Inputs. Source Response  - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
 - Target
Pulumi.
Azure Native. Container Registry. Inputs. Target Response  - The target of the event.
 - Timestamp string
 - The time at which the event occurred.
 
- Action string
 - The action that encompasses the provided event.
 - Actor
Actor
Response  - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
 - Id string
 - The event ID.
 - Request
Request
Response  - The request that generated the event.
 - Source
Source
Response  - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
 - Target
Target
Response  - The target of the event.
 - Timestamp string
 - The time at which the event occurred.
 
- action String
 - The action that encompasses the provided event.
 - actor
Actor
Response  - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
 - id String
 - The event ID.
 - request
Request
Response  - The request that generated the event.
 - source
Source
Response  - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
 - target
Target
Response  - The target of the event.
 - timestamp String
 - The time at which the event occurred.
 
- action string
 - The action that encompasses the provided event.
 - actor
Actor
Response  - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
 - id string
 - The event ID.
 - request
Request
Response  - The request that generated the event.
 - source
Source
Response  - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
 - target
Target
Response  - The target of the event.
 - timestamp string
 - The time at which the event occurred.
 
- action str
 - The action that encompasses the provided event.
 - actor
Actor
Response  - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
 - id str
 - The event ID.
 - request
Request
Response  - The request that generated the event.
 - source
Source
Response  - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
 - target
Target
Response  - The target of the event.
 - timestamp str
 - The time at which the event occurred.
 
- action String
 - The action that encompasses the provided event.
 - actor Property Map
 - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
 - id String
 - The event ID.
 - request Property Map
 - The request that generated the event.
 - source Property Map
 - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
 - target Property Map
 - The target of the event.
 - timestamp String
 - The time at which the event occurred.
 
EventRequestMessageResponse   
- Content
Pulumi.
Azure Native. Container Registry. Inputs. Event Content Response  - The content of the event request message.
 - Headers Dictionary<string, string>
 - The headers of the event request message.
 - Method string
 - The HTTP method used to send the event request message.
 - Request
Uri string - The URI used to send the event request message.
 - Version string
 - The HTTP message version.
 
- Content
Event
Content Response  - The content of the event request message.
 - Headers map[string]string
 - The headers of the event request message.
 - Method string
 - The HTTP method used to send the event request message.
 - Request
Uri string - The URI used to send the event request message.
 - Version string
 - The HTTP message version.
 
- content
Event
Content Response  - The content of the event request message.
 - headers Map<String,String>
 - The headers of the event request message.
 - method String
 - The HTTP method used to send the event request message.
 - request
Uri String - The URI used to send the event request message.
 - version String
 - The HTTP message version.
 
- content
Event
Content Response  - The content of the event request message.
 - headers {[key: string]: string}
 - The headers of the event request message.
 - method string
 - The HTTP method used to send the event request message.
 - request
Uri string - The URI used to send the event request message.
 - version string
 - The HTTP message version.
 
- content
Event
Content Response  - The content of the event request message.
 - headers Mapping[str, str]
 - The headers of the event request message.
 - method str
 - The HTTP method used to send the event request message.
 - request_
uri str - The URI used to send the event request message.
 - version str
 - The HTTP message version.
 
- content Property Map
 - The content of the event request message.
 - headers Map<String>
 - The headers of the event request message.
 - method String
 - The HTTP method used to send the event request message.
 - request
Uri String - The URI used to send the event request message.
 - version String
 - The HTTP message version.
 
EventResponse 
- Event
Request Pulumi.Message Azure Native. Container Registry. Inputs. Event Request Message Response  - The event request message sent to the service URI.
 - Event
Response Pulumi.Message Azure Native. Container Registry. Inputs. Event Response Message Response  - The event response message received from the service URI.
 - Id string
 - The event ID.
 
- Event
Request EventMessage Request Message Response  - The event request message sent to the service URI.
 - Event
Response EventMessage Response Message Response  - The event response message received from the service URI.
 - Id string
 - The event ID.
 
- event
Request EventMessage Request Message Response  - The event request message sent to the service URI.
 - event
Response EventMessage Response Message Response  - The event response message received from the service URI.
 - id String
 - The event ID.
 
- event
Request EventMessage Request Message Response  - The event request message sent to the service URI.
 - event
Response EventMessage Response Message Response  - The event response message received from the service URI.
 - id string
 - The event ID.
 
- event_
request_ Eventmessage Request Message Response  - The event request message sent to the service URI.
 - event_
response_ Eventmessage Response Message Response  - The event response message received from the service URI.
 - id str
 - The event ID.
 
- event
Request Property MapMessage  - The event request message sent to the service URI.
 - event
Response Property MapMessage  - The event response message received from the service URI.
 - id String
 - The event ID.
 
EventResponseMessageResponse   
- Content string
 - The content of the event response message.
 - Headers Dictionary<string, string>
 - The headers of the event response message.
 - Reason
Phrase string - The reason phrase of the event response message.
 - Status
Code string - The status code of the event response message.
 - Version string
 - The HTTP message version.
 
- Content string
 - The content of the event response message.
 - Headers map[string]string
 - The headers of the event response message.
 - Reason
Phrase string - The reason phrase of the event response message.
 - Status
Code string - The status code of the event response message.
 - Version string
 - The HTTP message version.
 
- content String
 - The content of the event response message.
 - headers Map<String,String>
 - The headers of the event response message.
 - reason
Phrase String - The reason phrase of the event response message.
 - status
Code String - The status code of the event response message.
 - version String
 - The HTTP message version.
 
- content string
 - The content of the event response message.
 - headers {[key: string]: string}
 - The headers of the event response message.
 - reason
Phrase string - The reason phrase of the event response message.
 - status
Code string - The status code of the event response message.
 - version string
 - The HTTP message version.
 
- content str
 - The content of the event response message.
 - headers Mapping[str, str]
 - The headers of the event response message.
 - reason_
phrase str - The reason phrase of the event response message.
 - status_
code str - The status code of the event response message.
 - version str
 - The HTTP message version.
 
- content String
 - The content of the event response message.
 - headers Map<String>
 - The headers of the event response message.
 - reason
Phrase String - The reason phrase of the event response message.
 - status
Code String - The status code of the event response message.
 - version String
 - The HTTP message version.
 
RequestResponse 
- Addr string
 - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
 - Host string
 - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
 - Id string
 - The ID of the request that initiated the event.
 - Method string
 - The request method that generated the event.
 - Useragent string
 - The user agent header of the request.
 
- Addr string
 - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
 - Host string
 - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
 - Id string
 - The ID of the request that initiated the event.
 - Method string
 - The request method that generated the event.
 - Useragent string
 - The user agent header of the request.
 
- addr String
 - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
 - host String
 - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
 - id String
 - The ID of the request that initiated the event.
 - method String
 - The request method that generated the event.
 - useragent String
 - The user agent header of the request.
 
- addr string
 - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
 - host string
 - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
 - id string
 - The ID of the request that initiated the event.
 - method string
 - The request method that generated the event.
 - useragent string
 - The user agent header of the request.
 
- addr str
 - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
 - host str
 - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
 - id str
 - The ID of the request that initiated the event.
 - method str
 - The request method that generated the event.
 - useragent str
 - The user agent header of the request.
 
- addr String
 - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
 - host String
 - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
 - id String
 - The ID of the request that initiated the event.
 - method String
 - The request method that generated the event.
 - useragent String
 - The user agent header of the request.
 
SourceResponse 
- Addr string
 - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
 - Instance
ID string - The running instance of an application. Changes after each restart.
 
- Addr string
 - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
 - Instance
ID string - The running instance of an application. Changes after each restart.
 
- addr String
 - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
 - instance
ID String - The running instance of an application. Changes after each restart.
 
- addr string
 - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
 - instance
ID string - The running instance of an application. Changes after each restart.
 
- addr str
 - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
 - instance_
id str - The running instance of an application. Changes after each restart.
 
- addr String
 - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
 - instance
ID String - The running instance of an application. Changes after each restart.
 
TargetResponse 
- Digest string
 - The digest of the content, as defined by the Registry V2 HTTP API Specification.
 - Length double
 - The number of bytes of the content. Same as Size field.
 - Media
Type string - The MIME type of the referenced object.
 - Name string
 - The name of the artifact.
 - Repository string
 - The repository name.
 - Size double
 - The number of bytes of the content. Same as Length field.
 - Tag string
 - The tag name.
 - Url string
 - The direct URL to the content.
 - Version string
 - The version of the artifact.
 
- Digest string
 - The digest of the content, as defined by the Registry V2 HTTP API Specification.
 - Length float64
 - The number of bytes of the content. Same as Size field.
 - Media
Type string - The MIME type of the referenced object.
 - Name string
 - The name of the artifact.
 - Repository string
 - The repository name.
 - Size float64
 - The number of bytes of the content. Same as Length field.
 - Tag string
 - The tag name.
 - Url string
 - The direct URL to the content.
 - Version string
 - The version of the artifact.
 
- digest String
 - The digest of the content, as defined by the Registry V2 HTTP API Specification.
 - length Double
 - The number of bytes of the content. Same as Size field.
 - media
Type String - The MIME type of the referenced object.
 - name String
 - The name of the artifact.
 - repository String
 - The repository name.
 - size Double
 - The number of bytes of the content. Same as Length field.
 - tag String
 - The tag name.
 - url String
 - The direct URL to the content.
 - version String
 - The version of the artifact.
 
- digest string
 - The digest of the content, as defined by the Registry V2 HTTP API Specification.
 - length number
 - The number of bytes of the content. Same as Size field.
 - media
Type string - The MIME type of the referenced object.
 - name string
 - The name of the artifact.
 - repository string
 - The repository name.
 - size number
 - The number of bytes of the content. Same as Length field.
 - tag string
 - The tag name.
 - url string
 - The direct URL to the content.
 - version string
 - The version of the artifact.
 
- digest str
 - The digest of the content, as defined by the Registry V2 HTTP API Specification.
 - length float
 - The number of bytes of the content. Same as Size field.
 - media_
type str - The MIME type of the referenced object.
 - name str
 - The name of the artifact.
 - repository str
 - The repository name.
 - size float
 - The number of bytes of the content. Same as Length field.
 - tag str
 - The tag name.
 - url str
 - The direct URL to the content.
 - version str
 - The version of the artifact.
 
- digest String
 - The digest of the content, as defined by the Registry V2 HTTP API Specification.
 - length Number
 - The number of bytes of the content. Same as Size field.
 - media
Type String - The MIME type of the referenced object.
 - name String
 - The name of the artifact.
 - repository String
 - The repository name.
 - size Number
 - The number of bytes of the content. Same as Length field.
 - tag String
 - The tag name.
 - url String
 - The direct URL to the content.
 - version String
 - The version of the artifact.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0