Język

CloudShellNetworkProfile Class

Definition

Network resources used by Cloud Shell. AKS peers the subnet's virtual network with the cluster virtual network. For Custom resources, their address spaces must not overlap. See https://aka.ms/aks/CloudShellConnect.

public class CloudShellNetworkProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.CloudShellNetworkProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.CloudShellNetworkProfile>
type CloudShellNetworkProfile = class
    interface IJsonModel<CloudShellNetworkProfile>
    interface IPersistableModel<CloudShellNetworkProfile>
Public Class CloudShellNetworkProfile
Implements IJsonModel(Of CloudShellNetworkProfile), IPersistableModel(Of CloudShellNetworkProfile)
Inheritance
CloudShellNetworkProfile
Implements

Constructors

Name Description
CloudShellNetworkProfile()

Initializes a new instance of CloudShellNetworkProfile.

Properties

Name Description
RelayNamespaceId

Azure Relay namespace used by Cloud Shell. For Custom networking, this existing namespace is required with subnetId. Grant the cluster identity Reader and the Azure Container Instance service principal Contributor on the namespace. Required when Cloud Shell mode is Custom.

SubnetId

Dedicated IPv4 subnet used by Cloud Shell containers. For Custom networking, this subnet must be delegated to Microsoft.ContainerInstance/containerGroups and be /24 or larger. Grant the cluster identity Network Contributor on the containing virtual network and grant the Azure Container Instance service principal Network Contributor on this subnet or its containing virtual network. Required when Cloud Shell mode is Custom.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CloudShellNetworkProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CloudShellNetworkProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CloudShellNetworkProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CloudShellNetworkProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CloudShellNetworkProfile>.Write(ModelReaderWriterOptions)

Applies to