FirewallPolicyKubeSelectorGroupProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicyKubeSelectorGroupProperties
- com.
Implements
public final class FirewallPolicyKubeSelectorGroupProperties
implements JsonSerializable<FirewallPolicyKubeSelectorGroupProperties>
Properties of the Kubernetes Selector Group.
Constructor Summary
| Constructor | Description |
|---|---|
| FirewallPolicyKubeSelectorGroupProperties() |
Creates an instance of Firewall |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
|
Kube |
namespaceSelector()
Get the namespace |
|
Kube |
podSelector()
Get the pod |
|
Common |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Firewall |
withNamespaceSelector(KubeLabelSelector namespaceSelector)
Set the namespace |
|
Firewall |
withPodSelector(KubeLabelSelector podSelector)
Set the pod |
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyKubeSelectorGroupProperties
public FirewallPolicyKubeSelectorGroupProperties()
Creates an instance of FirewallPolicyKubeSelectorGroupProperties class.
Method Details
fromJson
public static FirewallPolicyKubeSelectorGroupProperties fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyKubeSelectorGroupProperties from the JsonReader.
Parameters:
Returns:
Throws:
namespaceSelector
public KubeLabelSelector namespaceSelector()
Get the namespaceSelector property: Kubernetes Namespace selector for matching namespaces in the Kubernetes cluster.
Returns:
podSelector
public KubeLabelSelector podSelector()
Get the podSelector property: Kubernetes Pod selector for matching pods in the Kubernetes cluster.
Returns:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the firewall policy Kubernetes selector group resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNamespaceSelector
public FirewallPolicyKubeSelectorGroupProperties withNamespaceSelector(KubeLabelSelector namespaceSelector)
Set the namespaceSelector property: Kubernetes Namespace selector for matching namespaces in the Kubernetes cluster.
Parameters:
Returns:
withPodSelector
public FirewallPolicyKubeSelectorGroupProperties withPodSelector(KubeLabelSelector podSelector)
Set the podSelector property: Kubernetes Pod selector for matching pods in the Kubernetes cluster.
Parameters:
Returns: