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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.containerregistry.getWebhookCallbackConfig
Explore with Pulumi AI
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.73.0 published on Wednesday, Nov 20, 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:
- 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
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi