Share via


HttpsCertificateConfigurationCallbackAnnotationContext.Arguments Property

Definition

Gets the command line arguments associated with the callback context. Values can be either a string or a path value provider such as CertificatePath or KeyPath.

public System.Collections.Generic.List<object> Arguments { get; init; }
member this.Arguments : System.Collections.Generic.List<obj> with get, set
Public Property Arguments As List(Of Object)

Property Value

Remarks

builder.AddContainer("my-resource", "my-image:latest")
   .WithHttpsCertificateConfiguration(ctx =>
   {
       ctx.Arguments.Add("--certificate");
       ctx.Arguments.Add(ctx.CertificatePath);
       ctx.Arguments.Add("--key");
       ctx.Arguments.Add(ctx.KeyPath);
       return Task.CompletedTask;
   });

Applies to