azure-native.containerregistry.getWebhookCallbackConfig
Explore with Pulumi AI
Gets the configuration of service URI and custom headers for the 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, 2025-04-01. 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 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)
public static Output<GetWebhookCallbackConfigResult> getWebhookCallbackConfig(GetWebhookCallbackConfigArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:containerregistry:getWebhookCallbackConfig
arguments:
# arguments dictionary
The 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.
getWebhookCallbackConfig Result
The following output properties are available:
- Service
Uri string - The service URI for the webhook to post notifications.
- Custom
Headers Dictionary<string, string> - Custom headers that will be added to the webhook notifications.
- Service
Uri string - The service URI for the webhook to post notifications.
- Custom
Headers map[string]string - Custom headers that will be added to the webhook notifications.
- service
Uri String - The service URI for the webhook to post notifications.
- custom
Headers Map<String,String> - Custom headers that will be added to the webhook notifications.
- service
Uri string - The service URI for the webhook to post notifications.
- custom
Headers {[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.
- service
Uri String - The service URI for the webhook to post notifications.
- custom
Headers 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