CloudShellNetworkProfile Class
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.
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. |