1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. getWebhookCallbackConfig
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.containerregistry.getWebhookCallbackConfig

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Gets the configuration of service URI and custom headers for the webhook. Azure REST API version: 2022-12-01.

    Other available API versions: 2023-01-01-preview, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview.

    Using getWebhookCallbackConfig

    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 getWebhookCallbackConfig(args: GetWebhookCallbackConfigArgs, opts?: InvokeOptions): Promise<GetWebhookCallbackConfigResult>
    function getWebhookCallbackConfigOutput(args: GetWebhookCallbackConfigOutputArgs, opts?: InvokeOptions): Output<GetWebhookCallbackConfigResult>
    def get_webhook_callback_config(registry_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    webhook_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetWebhookCallbackConfigResult
    def get_webhook_callback_config_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[GetWebhookCallbackConfigResult]
    func GetWebhookCallbackConfig(ctx *Context, args *GetWebhookCallbackConfigArgs, opts ...InvokeOption) (*GetWebhookCallbackConfigResult, error)
    func GetWebhookCallbackConfigOutput(ctx *Context, args *GetWebhookCallbackConfigOutputArgs, opts ...InvokeOption) GetWebhookCallbackConfigResultOutput

    > Note: This function is named GetWebhookCallbackConfig in the Go SDK.

    public static class GetWebhookCallbackConfig 
    {
        public static Task<GetWebhookCallbackConfigResult> InvokeAsync(GetWebhookCallbackConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetWebhookCallbackConfigResult> Invoke(GetWebhookCallbackConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWebhookCallbackConfigResult> getWebhookCallbackConfig(GetWebhookCallbackConfigArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:containerregistry:getWebhookCallbackConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WebhookName string
    The name of the webhook.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WebhookName string
    The name of the webhook.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    webhookName String
    The name of the webhook.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    webhookName string
    The name of the webhook.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    webhook_name str
    The name of the webhook.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    webhookName String
    The name of the webhook.

    getWebhookCallbackConfig Result

    The following output properties are available:

    ServiceUri string
    The service URI for the webhook to post notifications.
    CustomHeaders Dictionary<string, string>
    Custom headers that will be added to the webhook notifications.
    ServiceUri string
    The service URI for the webhook to post notifications.
    CustomHeaders map[string]string
    Custom headers that will be added to the webhook notifications.
    serviceUri String
    The service URI for the webhook to post notifications.
    customHeaders Map<String,String>
    Custom headers that will be added to the webhook notifications.
    serviceUri string
    The service URI for the webhook to post notifications.
    customHeaders {[key: string]: string}
    Custom headers that will be added to the webhook notifications.
    service_uri str
    The service URI for the webhook to post notifications.
    custom_headers Mapping[str, str]
    Custom headers that will be added to the webhook notifications.
    serviceUri String
    The service URI for the webhook to post notifications.
    customHeaders Map<String>
    Custom headers that will be added to the webhook notifications.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi