AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateVirtualNode operation. Creates a virtual node within a service mesh.

A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can specify the service discovery information for your task group.

Any inbound traffic that your virtual node expects should be specified as a listener. Any outbound traffic that your virtual node expects to reach should be specified as a backend.

The response metadata for your new virtual node contains the arn that is associated with the virtual node. Set this value (either the full ARN or the truncated resource name: for example, mesh/default/virtualNode/simpleapp) as the APPMESH_VIRTUAL_NODE_NAME environment variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to the node.id and node.cluster Envoy parameters.

If you require your Envoy stats or tracing to use a different name, you can override the node.cluster value that is set by APPMESH_VIRTUAL_NODE_NAME with the APPMESH_VIRTUAL_NODE_CLUSTER environment variable.

For more information about virtual nodes, see Virtual Nodes.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppMesh.AmazonAppMeshRequest
      Amazon.AppMesh.Model.CreateVirtualNodeRequest

Namespace: Amazon.AppMesh.Model
Assembly: AWSSDK.AppMesh.dll
Version: 3.x.y.z

Syntax

C#
public class CreateVirtualNodeRequest : AmazonAppMeshRequest
         IAmazonWebServiceRequest

The CreateVirtualNodeRequest type exposes the following members

Constructors

NameDescription
Public Method CreateVirtualNodeRequest()

Properties

NameTypeDescription
Public Property ClientToken System.String

Gets and sets the property ClientToken.

Unique, case-sensitive identifier that you provide to ensure the idempotency of therequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.

Public Property MeshName System.String

Gets and sets the property MeshName.

The name of the service mesh to create the virtual node in.

Public Property MeshOwner System.String

Gets and sets the property MeshOwner.

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with Shared Meshes.

Public Property Spec Amazon.AppMesh.Model.VirtualNodeSpec

Gets and sets the property Spec.

The virtual node specification to apply.

Public Property Tags System.Collections.Generic.List<Amazon.AppMesh.Model.TagRef>

Gets and sets the property Tags.

Optional metadata that you can apply to the virtual node to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

Public Property VirtualNodeName System.String

Gets and sets the property VirtualNodeName.

The name to use for the virtual node.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms