ArmContainerRegistryModelFactory.ContainerRegistryWebhookCreateOrUpdateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerRegistryWebhookCreateOrUpdateContent.
public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookCreateOrUpdateContent ContainerRegistryWebhookCreateOrUpdateContent (System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Uri serviceUri = default, System.Collections.Generic.IDictionary<string,string> customHeaders = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookStatus? status = default, string scope = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookAction> actions = default);
static member ContainerRegistryWebhookCreateOrUpdateContent : System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Uri * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookStatus> * string * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookAction> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookCreateOrUpdateContent
Public Shared Function ContainerRegistryWebhookCreateOrUpdateContent (Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional serviceUri As Uri = Nothing, Optional customHeaders As IDictionary(Of String, String) = Nothing, Optional status As Nullable(Of ContainerRegistryWebhookStatus) = Nothing, Optional scope As String = Nothing, Optional actions As IEnumerable(Of ContainerRegistryWebhookAction) = Nothing) As ContainerRegistryWebhookCreateOrUpdateContent
Parameters
- tags
- IDictionary<String,String>
The tags for the webhook.
- location
- AzureLocation
The location of the webhook. This cannot be changed after the resource is created.
- serviceUri
- Uri
The service URI for the webhook to post notifications.
- customHeaders
- IDictionary<String,String>
Custom headers that will be added to the webhook notifications.
The status of the webhook at the time the operation was called.
- scope
- String
The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
The list of actions that trigger the webhook to post notifications.
Returns
A new ContainerRegistryWebhookCreateOrUpdateContent instance for mocking.
Applies to
Azure SDK for .NET