func GetRegistryWebhook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryWebhookState, opts ...pulumi.ResourceOption) (*RegistryWebhook, error) {
	var resource RegistryWebhook
	err := ctx.ReadResource("azure:containerservice/registryWebhook:RegistryWebhook", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetRegistryWebhook gets an existing RegistryWebhook resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetRegistryWebhook gets an existing RegistryWebhook resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetRegistryWebhook gets an existing RegistryWebhook resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetRegistryWebhook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryWebhookState, opts ...pulumi.ResourceOption) (*RegistryWebhook, error) {
	var resource RegistryWebhook
	err := ctx.ReadResource("azure:containerservice/registryWebhook:RegistryWebhook", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetRegistryWebhook ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * RegistryWebhookState , opts ... pulumi . ResourceOption ) ( * RegistryWebhook , error ) { var resource RegistryWebhook err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetRegistryWebhook gets an existing RegistryWebhook resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetRegistryWebhook gets an existing RegistryWebhook resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .