你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerAppProtocol Struct

Definition

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.

public readonly struct ContainerAppProtocol : IEquatable<Azure.ResourceManager.AppContainers.Models.ContainerAppProtocol>
type ContainerAppProtocol = struct
Public Structure ContainerAppProtocol
Implements IEquatable(Of ContainerAppProtocol)
Inheritance
ContainerAppProtocol
Implements

Constructors

ContainerAppProtocol(String)

Initializes a new instance of ContainerAppProtocol.

Properties

Grpc

grpc.

Http

http.

Methods

Equals(ContainerAppProtocol)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ContainerAppProtocol, ContainerAppProtocol)

Determines if two ContainerAppProtocol values are the same.

Implicit(String to ContainerAppProtocol)

Converts a string to a ContainerAppProtocol.

Inequality(ContainerAppProtocol, ContainerAppProtocol)

Determines if two ContainerAppProtocol values are not the same.

Applies to