EventGridModelFactory.ContainerRegistryEventTarget 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 ContainerRegistryEventTarget.
public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventTarget ContainerRegistryEventTarget (string mediaType = default, long? size = default, string digest = default, long? length = default, string repository = default, string url = default, string tag = default);
static member ContainerRegistryEventTarget : string * Nullable<int64> * string * Nullable<int64> * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventTarget
Public Shared Function ContainerRegistryEventTarget (Optional mediaType As String = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional digest As String = Nothing, Optional length As Nullable(Of Long) = Nothing, Optional repository As String = Nothing, Optional url As String = Nothing, Optional tag As String = Nothing) As ContainerRegistryEventTarget
Parameters
- mediaType
- String
The MIME type of the referenced object.
- digest
- String
The digest of the content, as defined by the Registry V2 HTTP API Specification.
- repository
- String
The repository name.
- url
- String
The direct URL to the content.
- tag
- String
The tag name.
Returns
A new ContainerRegistryEventTarget instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET