CloudShellProfile 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.
Cloud Shell connectivity and storage settings for a private managed cluster. For more information, see https://aka.ms/aks/CloudShellConnect.
public class CloudShellProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.CloudShellProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.CloudShellProfile>
type CloudShellProfile = class
interface IJsonModel<CloudShellProfile>
interface IPersistableModel<CloudShellProfile>
Public Class CloudShellProfile
Implements IJsonModel(Of CloudShellProfile), IPersistableModel(Of CloudShellProfile)
- Inheritance
-
CloudShellProfile
- Implements
Constructors
| Name | Description |
|---|---|
| CloudShellProfile() |
Initializes a new instance of CloudShellProfile. |
Properties
| Name | Description |
|---|---|
| Mode |
Whether Cloud Shell connectivity is disabled, uses AKS-managed network resources, or uses user-provided network resources. Defaults to Disabled when omitted during create. On update, omission preserves the existing mode. Setting this property to Disabled removes AKS-created resources and connectivity artifacts. For Custom mode, AKS unregisters the user-provided resources but does not delete them. |
| Network |
Network resources used by Cloud Shell. When configuring Custom networking, users must provide both subnetId and relayNamespaceId. When updating an existing Custom configuration, either resource ID can be changed independently; omitted fields preserve their existing values. In Custom mode, AKS returns the user-provided values. In Managed mode, AKS populates the effective values. Users may omit Managed values or resubmit values returned by GET unchanged; different values are rejected. This property must be omitted when mode is Disabled. See https://aka.ms/aks/CloudShellConnect for Custom networking requirements. |
| Storage |
Storage resources used for Cloud Shell file persistence. When configuring Custom storage, users must provide both storageAccountId and fileShareName. When updating an existing Custom configuration, either property can be changed independently; omitted fields preserve their existing values. In Custom mode, AKS returns the user-provided values. In Managed mode, AKS populates the effective values. Users may omit Managed values or resubmit values returned by GET unchanged; different values are rejected. Both properties must be omitted when mode is Disabled. See https://aka.ms/aks/CloudShellConnect for Custom storage requirements. |