ManagedClusterNamespaceProperties 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.
Properties of a namespace managed by ARM Serialized Name: NamespaceProperties
public class ManagedClusterNamespaceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterNamespaceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterNamespaceProperties>
type ManagedClusterNamespaceProperties = class
interface IJsonModel<ManagedClusterNamespaceProperties>
interface IPersistableModel<ManagedClusterNamespaceProperties>
Public Class ManagedClusterNamespaceProperties
Implements IJsonModel(Of ManagedClusterNamespaceProperties), IPersistableModel(Of ManagedClusterNamespaceProperties)
- Inheritance
-
ManagedClusterNamespaceProperties
- Implements
Constructors
| Name | Description |
|---|---|
| ManagedClusterNamespaceProperties() |
Initializes a new instance of ManagedClusterNamespaceProperties. |
Properties
| Name | Description |
|---|---|
| AdoptionPolicy |
Action if Kubernetes namespace with same name already exists. Serialized Name: NamespaceProperties.adoptionPolicy |
| Annotations |
The annotations of managed namespace. Serialized Name: NamespaceProperties.annotations |
| DefaultNetworkPolicy |
The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. Network policies are additive; if a policy or policies apply to a given pod for a given direction, the connections allowed in that direction for the pod is the union of what all applicable policies allow. Serialized Name: NamespaceProperties.defaultNetworkPolicy |
| DefaultResourceQuota |
The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. Resource quotas are additive; if multiple resource quotas are applied to a given namespace, then the effective limit will be one such that all quotas on the namespace can be satisfied. Serialized Name: NamespaceProperties.defaultResourceQuota |
| DeletePolicy |
Delete options of a namespace. Serialized Name: NamespaceProperties.deletePolicy |
| Labels |
The labels of managed namespace. Serialized Name: NamespaceProperties.labels |
| PortalFqdn |
The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly. Serialized Name: NamespaceProperties.portalFqdn |
| ProvisioningState |
The current provisioning state of the namespace. Serialized Name: NamespaceProperties.provisioningState |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<ManagedClusterNamespaceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<ManagedClusterNamespaceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<ManagedClusterNamespaceProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<ManagedClusterNamespaceProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<ManagedClusterNamespaceProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |