intersight.KubernetesNetworkPolicy
Explore with Pulumi AI
A policy specifying the CIDR for internal networks in a Kubernetes cluster like Pod network, and Service network.
Usage Example
Resource Creation
import * as pulumi from "@pulumi/pulumi";
import * as intersight from "@pulumi/intersight";
const kubernetesNetworkPolicy1 = new intersight.KubernetesNetworkPolicy("kubernetesNetworkPolicy1", {
description: "kubernetes network policy",
cniType: "Calico",
organizations: [{
objectType: "organization.Organization",
moid: _var.organization,
}],
});
import pulumi
import pulumi_intersight as intersight
kubernetes_network_policy1 = intersight.KubernetesNetworkPolicy("kubernetesNetworkPolicy1",
description="kubernetes network policy",
cni_type="Calico",
organizations=[{
"object_type": "organization.Organization",
"moid": var["organization"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/intersight/intersight"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := intersight.NewKubernetesNetworkPolicy(ctx, "kubernetesNetworkPolicy1", &intersight.KubernetesNetworkPolicyArgs{
Description: pulumi.String("kubernetes network policy"),
CniType: pulumi.String("Calico"),
Organizations: intersight.KubernetesNetworkPolicyOrganizationArray{
&intersight.KubernetesNetworkPolicyOrganizationArgs{
ObjectType: pulumi.String("organization.Organization"),
Moid: pulumi.Any(_var.Organization),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Intersight = Pulumi.Intersight;
return await Deployment.RunAsync(() =>
{
var kubernetesNetworkPolicy1 = new Intersight.KubernetesNetworkPolicy("kubernetesNetworkPolicy1", new()
{
Description = "kubernetes network policy",
CniType = "Calico",
Organizations = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyOrganizationArgs
{
ObjectType = "organization.Organization",
Moid = @var.Organization,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.intersight.KubernetesNetworkPolicy;
import com.pulumi.intersight.KubernetesNetworkPolicyArgs;
import com.pulumi.intersight.inputs.KubernetesNetworkPolicyOrganizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var kubernetesNetworkPolicy1 = new KubernetesNetworkPolicy("kubernetesNetworkPolicy1", KubernetesNetworkPolicyArgs.builder()
.description("kubernetes network policy")
.cniType("Calico")
.organizations(KubernetesNetworkPolicyOrganizationArgs.builder()
.objectType("organization.Organization")
.moid(var_.organization())
.build())
.build());
}
}
resources:
kubernetesNetworkPolicy1:
type: intersight:KubernetesNetworkPolicy
properties:
description: kubernetes network policy
cniType: Calico
organizations:
- objectType: organization.Organization
moid: ${var.organization}
Create KubernetesNetworkPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesNetworkPolicy(name: string, args?: KubernetesNetworkPolicyArgs, opts?: CustomResourceOptions);
@overload
def KubernetesNetworkPolicy(resource_name: str,
args: Optional[KubernetesNetworkPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesNetworkPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_moid: Optional[str] = None,
additional_properties: Optional[str] = None,
ancestors: Optional[Sequence[KubernetesNetworkPolicyAncestorArgs]] = None,
class_id: Optional[str] = None,
cluster_profiles: Optional[Sequence[KubernetesNetworkPolicyClusterProfileArgs]] = None,
cni_configs: Optional[Sequence[KubernetesNetworkPolicyCniConfigArgs]] = None,
cni_type: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
domain_group_moid: Optional[str] = None,
kubernetes_network_policy_id: Optional[str] = None,
mod_time: Optional[str] = None,
moid: Optional[str] = None,
name: Optional[str] = None,
object_type: Optional[str] = None,
organizations: Optional[Sequence[KubernetesNetworkPolicyOrganizationArgs]] = None,
owners: Optional[Sequence[str]] = None,
parents: Optional[Sequence[KubernetesNetworkPolicyParentArgs]] = None,
permission_resources: Optional[Sequence[KubernetesNetworkPolicyPermissionResourceArgs]] = None,
pod_network_cidr: Optional[str] = None,
service_cidr: Optional[str] = None,
shared_scope: Optional[str] = None,
tags: Optional[Sequence[KubernetesNetworkPolicyTagArgs]] = None,
version_contexts: Optional[Sequence[KubernetesNetworkPolicyVersionContextArgs]] = None)
func NewKubernetesNetworkPolicy(ctx *Context, name string, args *KubernetesNetworkPolicyArgs, opts ...ResourceOption) (*KubernetesNetworkPolicy, error)
public KubernetesNetworkPolicy(string name, KubernetesNetworkPolicyArgs? args = null, CustomResourceOptions? opts = null)
public KubernetesNetworkPolicy(String name, KubernetesNetworkPolicyArgs args)
public KubernetesNetworkPolicy(String name, KubernetesNetworkPolicyArgs args, CustomResourceOptions options)
type: intersight:KubernetesNetworkPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KubernetesNetworkPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KubernetesNetworkPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KubernetesNetworkPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesNetworkPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesNetworkPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var kubernetesNetworkPolicyResource = new Intersight.KubernetesNetworkPolicy("kubernetesNetworkPolicyResource", new()
{
AccountMoid = "string",
AdditionalProperties = "string",
Ancestors = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyAncestorArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
ClassId = "string",
ClusterProfiles = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyClusterProfileArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
CniConfigs = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyCniConfigArgs
{
AdditionalProperties = "string",
ClassId = "string",
NrVersion = "string",
ObjectType = "string",
Registry = "string",
},
},
CniType = "string",
CreateTime = "string",
Description = "string",
DomainGroupMoid = "string",
KubernetesNetworkPolicyId = "string",
ModTime = "string",
Moid = "string",
Name = "string",
ObjectType = "string",
Organizations = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyOrganizationArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
Owners = new[]
{
"string",
},
Parents = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyParentArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
PermissionResources = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyPermissionResourceArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
PodNetworkCidr = "string",
ServiceCidr = "string",
SharedScope = "string",
Tags = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyTagArgs
{
AdditionalProperties = "string",
Key = "string",
Value = "string",
},
},
VersionContexts = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyVersionContextArgs
{
AdditionalProperties = "string",
ClassId = "string",
InterestedMos = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyVersionContextInterestedMoArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
MarkedForDeletion = false,
NrVersion = "string",
ObjectType = "string",
RefMos = new[]
{
new Intersight.Inputs.KubernetesNetworkPolicyVersionContextRefMoArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
Timestamp = "string",
VersionType = "string",
},
},
});
example, err := intersight.NewKubernetesNetworkPolicy(ctx, "kubernetesNetworkPolicyResource", &intersight.KubernetesNetworkPolicyArgs{
AccountMoid: pulumi.String("string"),
AdditionalProperties: pulumi.String("string"),
Ancestors: intersight.KubernetesNetworkPolicyAncestorArray{
&intersight.KubernetesNetworkPolicyAncestorArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
ClassId: pulumi.String("string"),
ClusterProfiles: intersight.KubernetesNetworkPolicyClusterProfileArray{
&intersight.KubernetesNetworkPolicyClusterProfileArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
CniConfigs: intersight.KubernetesNetworkPolicyCniConfigArray{
&intersight.KubernetesNetworkPolicyCniConfigArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
NrVersion: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Registry: pulumi.String("string"),
},
},
CniType: pulumi.String("string"),
CreateTime: pulumi.String("string"),
Description: pulumi.String("string"),
DomainGroupMoid: pulumi.String("string"),
KubernetesNetworkPolicyId: pulumi.String("string"),
ModTime: pulumi.String("string"),
Moid: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Organizations: intersight.KubernetesNetworkPolicyOrganizationArray{
&intersight.KubernetesNetworkPolicyOrganizationArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
Owners: pulumi.StringArray{
pulumi.String("string"),
},
Parents: intersight.KubernetesNetworkPolicyParentArray{
&intersight.KubernetesNetworkPolicyParentArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
PermissionResources: intersight.KubernetesNetworkPolicyPermissionResourceArray{
&intersight.KubernetesNetworkPolicyPermissionResourceArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
PodNetworkCidr: pulumi.String("string"),
ServiceCidr: pulumi.String("string"),
SharedScope: pulumi.String("string"),
Tags: intersight.KubernetesNetworkPolicyTagArray{
&intersight.KubernetesNetworkPolicyTagArgs{
AdditionalProperties: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VersionContexts: intersight.KubernetesNetworkPolicyVersionContextArray{
&intersight.KubernetesNetworkPolicyVersionContextArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
InterestedMos: intersight.KubernetesNetworkPolicyVersionContextInterestedMoArray{
&intersight.KubernetesNetworkPolicyVersionContextInterestedMoArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
MarkedForDeletion: pulumi.Bool(false),
NrVersion: pulumi.String("string"),
ObjectType: pulumi.String("string"),
RefMos: intersight.KubernetesNetworkPolicyVersionContextRefMoArray{
&intersight.KubernetesNetworkPolicyVersionContextRefMoArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
Timestamp: pulumi.String("string"),
VersionType: pulumi.String("string"),
},
},
})
var kubernetesNetworkPolicyResource = new KubernetesNetworkPolicy("kubernetesNetworkPolicyResource", KubernetesNetworkPolicyArgs.builder()
.accountMoid("string")
.additionalProperties("string")
.ancestors(KubernetesNetworkPolicyAncestorArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.classId("string")
.clusterProfiles(KubernetesNetworkPolicyClusterProfileArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.cniConfigs(KubernetesNetworkPolicyCniConfigArgs.builder()
.additionalProperties("string")
.classId("string")
.nrVersion("string")
.objectType("string")
.registry("string")
.build())
.cniType("string")
.createTime("string")
.description("string")
.domainGroupMoid("string")
.kubernetesNetworkPolicyId("string")
.modTime("string")
.moid("string")
.name("string")
.objectType("string")
.organizations(KubernetesNetworkPolicyOrganizationArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.owners("string")
.parents(KubernetesNetworkPolicyParentArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.permissionResources(KubernetesNetworkPolicyPermissionResourceArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.podNetworkCidr("string")
.serviceCidr("string")
.sharedScope("string")
.tags(KubernetesNetworkPolicyTagArgs.builder()
.additionalProperties("string")
.key("string")
.value("string")
.build())
.versionContexts(KubernetesNetworkPolicyVersionContextArgs.builder()
.additionalProperties("string")
.classId("string")
.interestedMos(KubernetesNetworkPolicyVersionContextInterestedMoArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.markedForDeletion(false)
.nrVersion("string")
.objectType("string")
.refMos(KubernetesNetworkPolicyVersionContextRefMoArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.timestamp("string")
.versionType("string")
.build())
.build());
kubernetes_network_policy_resource = intersight.KubernetesNetworkPolicy("kubernetesNetworkPolicyResource",
account_moid="string",
additional_properties="string",
ancestors=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
class_id="string",
cluster_profiles=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
cni_configs=[{
"additional_properties": "string",
"class_id": "string",
"nr_version": "string",
"object_type": "string",
"registry": "string",
}],
cni_type="string",
create_time="string",
description="string",
domain_group_moid="string",
kubernetes_network_policy_id="string",
mod_time="string",
moid="string",
name="string",
object_type="string",
organizations=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
owners=["string"],
parents=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
permission_resources=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
pod_network_cidr="string",
service_cidr="string",
shared_scope="string",
tags=[{
"additional_properties": "string",
"key": "string",
"value": "string",
}],
version_contexts=[{
"additional_properties": "string",
"class_id": "string",
"interested_mos": [{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
"marked_for_deletion": False,
"nr_version": "string",
"object_type": "string",
"ref_mos": [{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
"timestamp": "string",
"version_type": "string",
}])
const kubernetesNetworkPolicyResource = new intersight.KubernetesNetworkPolicy("kubernetesNetworkPolicyResource", {
accountMoid: "string",
additionalProperties: "string",
ancestors: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
classId: "string",
clusterProfiles: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
cniConfigs: [{
additionalProperties: "string",
classId: "string",
nrVersion: "string",
objectType: "string",
registry: "string",
}],
cniType: "string",
createTime: "string",
description: "string",
domainGroupMoid: "string",
kubernetesNetworkPolicyId: "string",
modTime: "string",
moid: "string",
name: "string",
objectType: "string",
organizations: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
owners: ["string"],
parents: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
permissionResources: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
podNetworkCidr: "string",
serviceCidr: "string",
sharedScope: "string",
tags: [{
additionalProperties: "string",
key: "string",
value: "string",
}],
versionContexts: [{
additionalProperties: "string",
classId: "string",
interestedMos: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
markedForDeletion: false,
nrVersion: "string",
objectType: "string",
refMos: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
timestamp: "string",
versionType: "string",
}],
});
type: intersight:KubernetesNetworkPolicy
properties:
accountMoid: string
additionalProperties: string
ancestors:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
classId: string
clusterProfiles:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
cniConfigs:
- additionalProperties: string
classId: string
nrVersion: string
objectType: string
registry: string
cniType: string
createTime: string
description: string
domainGroupMoid: string
kubernetesNetworkPolicyId: string
modTime: string
moid: string
name: string
objectType: string
organizations:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
owners:
- string
parents:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
permissionResources:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
podNetworkCidr: string
serviceCidr: string
sharedScope: string
tags:
- additionalProperties: string
key: string
value: string
versionContexts:
- additionalProperties: string
classId: string
interestedMos:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
markedForDeletion: false
nrVersion: string
objectType: string
refMos:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
timestamp: string
versionType: string
KubernetesNetworkPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KubernetesNetworkPolicy resource accepts the following input properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
List<Kubernetes
Network Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- Cluster
Profiles List<KubernetesNetwork Policy Cluster Profile> - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- Cni
Configs List<KubernetesNetwork Policy Cni Config> - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- Cni
Type string - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Kubernetes
Network stringPolicy Id - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
List<Kubernetes
Network Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<Kubernetes
Network Policy Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources List<KubernetesNetwork Policy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Pod
Network stringCidr - CIDR block to allocate Pod network IP addresses from.
- Service
Cidr string - CIDR block to allocate cluster service IP addresses from.
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Kubernetes
Network Policy Tag> - This complex property has following sub-properties:
- Version
Contexts List<KubernetesNetwork Policy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
[]Kubernetes
Network Policy Ancestor Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- Cluster
Profiles []KubernetesNetwork Policy Cluster Profile Args - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- Cni
Configs []KubernetesNetwork Policy Cni Config Args - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- Cni
Type string - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Kubernetes
Network stringPolicy Id - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
[]Kubernetes
Network Policy Organization Args - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]Kubernetes
Network Policy Parent Args - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources []KubernetesNetwork Policy Permission Resource Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Pod
Network stringCidr - CIDR block to allocate Pod network IP addresses from.
- Service
Cidr string - CIDR block to allocate cluster service IP addresses from.
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- []Kubernetes
Network Policy Tag Args - This complex property has following sub-properties:
- Version
Contexts []KubernetesNetwork Policy Version Context Args - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors
List<Kubernetes
Network Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster
Profiles List<KubernetesNetwork Policy Cluster Profile> - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni
Configs List<KubernetesNetwork Policy Cni Config> - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni
Type String - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes
Network StringPolicy Id - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
List<Kubernetes
Network Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<Kubernetes
Network Policy Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<KubernetesNetwork Policy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod
Network StringCidr - CIDR block to allocate Pod network IP addresses from.
- service
Cidr String - CIDR block to allocate cluster service IP addresses from.
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Kubernetes
Network Policy Tag> - This complex property has following sub-properties:
- version
Contexts List<KubernetesNetwork Policy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid string - (ReadOnly) The Account ID for this managed object.
- additional
Properties string - ancestors
Kubernetes
Network Policy Ancestor[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster
Profiles KubernetesNetwork Policy Cluster Profile[] - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni
Configs KubernetesNetwork Policy Cni Config[] - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni
Type string - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create
Time string - (ReadOnly) The time when this managed object was created.
- description string
- Description of the policy.
- domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes
Network stringPolicy Id - mod
Time string - (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- name string
- Name of the concrete policy.
- object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Kubernetes
Network Policy Organization[] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Kubernetes
Network Policy Parent[] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources KubernetesNetwork Policy Permission Resource[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod
Network stringCidr - CIDR block to allocate Pod network IP addresses from.
- service
Cidr string - CIDR block to allocate cluster service IP addresses from.
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Kubernetes
Network Policy Tag[] - This complex property has following sub-properties:
- version
Contexts KubernetesNetwork Policy Version Context[] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_
moid str - (ReadOnly) The Account ID for this managed object.
- additional_
properties str - ancestors
Sequence[Kubernetes
Network Policy Ancestor Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class_
id str - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster_
profiles Sequence[KubernetesNetwork Policy Cluster Profile Args] - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni_
configs Sequence[KubernetesNetwork Policy Cni Config Args] - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni_
type str - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create_
time str - (ReadOnly) The time when this managed object was created.
- description str
- Description of the policy.
- domain_
group_ strmoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes_
network_ strpolicy_ id - mod_
time str - (ReadOnly) The time when this managed object was last modified.
- moid str
- The unique identifier of this Managed Object instance.
- name str
- Name of the concrete policy.
- object_
type str - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Sequence[Kubernetes
Network Policy Organization Args] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[Kubernetes
Network Policy Parent Args] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission_
resources Sequence[KubernetesNetwork Policy Permission Resource Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod_
network_ strcidr - CIDR block to allocate Pod network IP addresses from.
- service_
cidr str - CIDR block to allocate cluster service IP addresses from.
- str
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Sequence[Kubernetes
Network Policy Tag Args] - This complex property has following sub-properties:
- version_
contexts Sequence[KubernetesNetwork Policy Version Context Args] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors List<Property Map>
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster
Profiles List<Property Map> - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni
Configs List<Property Map> - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni
Type String - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes
Network StringPolicy Id - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations List<Property Map>
- A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents List<Property Map>
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<Property Map> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod
Network StringCidr - CIDR block to allocate Pod network IP addresses from.
- service
Cidr String - CIDR block to allocate cluster service IP addresses from.
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Property Map>
- This complex property has following sub-properties:
- version
Contexts List<Property Map> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesNetworkPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KubernetesNetworkPolicy Resource
Get an existing KubernetesNetworkPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KubernetesNetworkPolicyState, opts?: CustomResourceOptions): KubernetesNetworkPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_moid: Optional[str] = None,
additional_properties: Optional[str] = None,
ancestors: Optional[Sequence[KubernetesNetworkPolicyAncestorArgs]] = None,
class_id: Optional[str] = None,
cluster_profiles: Optional[Sequence[KubernetesNetworkPolicyClusterProfileArgs]] = None,
cni_configs: Optional[Sequence[KubernetesNetworkPolicyCniConfigArgs]] = None,
cni_type: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
domain_group_moid: Optional[str] = None,
kubernetes_network_policy_id: Optional[str] = None,
mod_time: Optional[str] = None,
moid: Optional[str] = None,
name: Optional[str] = None,
object_type: Optional[str] = None,
organizations: Optional[Sequence[KubernetesNetworkPolicyOrganizationArgs]] = None,
owners: Optional[Sequence[str]] = None,
parents: Optional[Sequence[KubernetesNetworkPolicyParentArgs]] = None,
permission_resources: Optional[Sequence[KubernetesNetworkPolicyPermissionResourceArgs]] = None,
pod_network_cidr: Optional[str] = None,
service_cidr: Optional[str] = None,
shared_scope: Optional[str] = None,
tags: Optional[Sequence[KubernetesNetworkPolicyTagArgs]] = None,
version_contexts: Optional[Sequence[KubernetesNetworkPolicyVersionContextArgs]] = None) -> KubernetesNetworkPolicy
func GetKubernetesNetworkPolicy(ctx *Context, name string, id IDInput, state *KubernetesNetworkPolicyState, opts ...ResourceOption) (*KubernetesNetworkPolicy, error)
public static KubernetesNetworkPolicy Get(string name, Input<string> id, KubernetesNetworkPolicyState? state, CustomResourceOptions? opts = null)
public static KubernetesNetworkPolicy get(String name, Output<String> id, KubernetesNetworkPolicyState state, CustomResourceOptions options)
resources: _: type: intersight:KubernetesNetworkPolicy get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
List<Kubernetes
Network Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- Cluster
Profiles List<KubernetesNetwork Policy Cluster Profile> - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- Cni
Configs List<KubernetesNetwork Policy Cni Config> - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- Cni
Type string - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Kubernetes
Network stringPolicy Id - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
List<Kubernetes
Network Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<Kubernetes
Network Policy Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources List<KubernetesNetwork Policy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Pod
Network stringCidr - CIDR block to allocate Pod network IP addresses from.
- Service
Cidr string - CIDR block to allocate cluster service IP addresses from.
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Kubernetes
Network Policy Tag> - This complex property has following sub-properties:
- Version
Contexts List<KubernetesNetwork Policy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
[]Kubernetes
Network Policy Ancestor Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- Cluster
Profiles []KubernetesNetwork Policy Cluster Profile Args - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- Cni
Configs []KubernetesNetwork Policy Cni Config Args - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- Cni
Type string - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - Create
Time string - (ReadOnly) The time when this managed object was created.
- Description string
- Description of the policy.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Kubernetes
Network stringPolicy Id - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- Name of the concrete policy.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- Organizations
[]Kubernetes
Network Policy Organization Args - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]Kubernetes
Network Policy Parent Args - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources []KubernetesNetwork Policy Permission Resource Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Pod
Network stringCidr - CIDR block to allocate Pod network IP addresses from.
- Service
Cidr string - CIDR block to allocate cluster service IP addresses from.
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- []Kubernetes
Network Policy Tag Args - This complex property has following sub-properties:
- Version
Contexts []KubernetesNetwork Policy Version Context Args - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors
List<Kubernetes
Network Policy Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster
Profiles List<KubernetesNetwork Policy Cluster Profile> - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni
Configs List<KubernetesNetwork Policy Cni Config> - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni
Type String - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes
Network StringPolicy Id - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
List<Kubernetes
Network Policy Organization> - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<Kubernetes
Network Policy Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<KubernetesNetwork Policy Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod
Network StringCidr - CIDR block to allocate Pod network IP addresses from.
- service
Cidr String - CIDR block to allocate cluster service IP addresses from.
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Kubernetes
Network Policy Tag> - This complex property has following sub-properties:
- version
Contexts List<KubernetesNetwork Policy Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid string - (ReadOnly) The Account ID for this managed object.
- additional
Properties string - ancestors
Kubernetes
Network Policy Ancestor[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster
Profiles KubernetesNetwork Policy Cluster Profile[] - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni
Configs KubernetesNetwork Policy Cni Config[] - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni
Type string - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create
Time string - (ReadOnly) The time when this managed object was created.
- description string
- Description of the policy.
- domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes
Network stringPolicy Id - mod
Time string - (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- name string
- Name of the concrete policy.
- object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Kubernetes
Network Policy Organization[] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Kubernetes
Network Policy Parent[] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources KubernetesNetwork Policy Permission Resource[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod
Network stringCidr - CIDR block to allocate Pod network IP addresses from.
- service
Cidr string - CIDR block to allocate cluster service IP addresses from.
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Kubernetes
Network Policy Tag[] - This complex property has following sub-properties:
- version
Contexts KubernetesNetwork Policy Version Context[] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_
moid str - (ReadOnly) The Account ID for this managed object.
- additional_
properties str - ancestors
Sequence[Kubernetes
Network Policy Ancestor Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class_
id str - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster_
profiles Sequence[KubernetesNetwork Policy Cluster Profile Args] - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni_
configs Sequence[KubernetesNetwork Policy Cni Config Args] - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni_
type str - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create_
time str - (ReadOnly) The time when this managed object was created.
- description str
- Description of the policy.
- domain_
group_ strmoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes_
network_ strpolicy_ id - mod_
time str - (ReadOnly) The time when this managed object was last modified.
- moid str
- The unique identifier of this Managed Object instance.
- name str
- Name of the concrete policy.
- object_
type str - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations
Sequence[Kubernetes
Network Policy Organization Args] - A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[Kubernetes
Network Policy Parent Args] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission_
resources Sequence[KubernetesNetwork Policy Permission Resource Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod_
network_ strcidr - CIDR block to allocate Pod network IP addresses from.
- service_
cidr str - CIDR block to allocate cluster service IP addresses from.
- str
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Sequence[Kubernetes
Network Policy Tag Args] - This complex property has following sub-properties:
- version_
contexts Sequence[KubernetesNetwork Policy Version Context Args] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors List<Property Map>
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- cluster
Profiles List<Property Map> - An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
- cni
Configs List<Property Map> - CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
- cni
Type String - Supported CNI type. Currently we only support Calico.*
Calico
- Calico CNI plugin as described in https://github.com/projectcalico/cni-plugin.*Aci
- Cisco ACI Container Network Interface plugin. - create
Time String - (ReadOnly) The time when this managed object was created.
- description String
- Description of the policy.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- kubernetes
Network StringPolicy Id - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- Name of the concrete policy.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- organizations List<Property Map>
- A reference to a organizationOrganization resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents List<Property Map>
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<Property Map> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- pod
Network StringCidr - CIDR block to allocate Pod network IP addresses from.
- service
Cidr String - CIDR block to allocate cluster service IP addresses from.
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Property Map>
- This complex property has following sub-properties:
- version
Contexts List<Property Map> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Supporting Types
KubernetesNetworkPolicyAncestor, KubernetesNetworkPolicyAncestorArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
KubernetesNetworkPolicyClusterProfile, KubernetesNetworkPolicyClusterProfileArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
KubernetesNetworkPolicyCniConfig, KubernetesNetworkPolicyCniConfigArgs
- Additional
Properties string - Class
Id string - Nr
Version string - Container newtork interface plugin configuration.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Registry string
- CNI Image registry location.
- Additional
Properties string - Class
Id string - Nr
Version string - Container newtork interface plugin configuration.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Registry string
- CNI Image registry location.
- additional
Properties String - class
Id String - nr
Version String - Container newtork interface plugin configuration.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.The enum values provides the list of concrete types that can be instantiated from this abstract type.
- registry String
- CNI Image registry location.
- additional
Properties string - class
Id string - nr
Version string - Container newtork interface plugin configuration.
- object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.The enum values provides the list of concrete types that can be instantiated from this abstract type.
- registry string
- CNI Image registry location.
- additional_
properties str - class_
id str - nr_
version str - Container newtork interface plugin configuration.
- object_
type str - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.The enum values provides the list of concrete types that can be instantiated from this abstract type.
- registry str
- CNI Image registry location.
- additional
Properties String - class
Id String - nr
Version String - Container newtork interface plugin configuration.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.The enum values provides the list of concrete types that can be instantiated from this abstract type.
- registry String
- CNI Image registry location.
KubernetesNetworkPolicyOrganization, KubernetesNetworkPolicyOrganizationArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
KubernetesNetworkPolicyParent, KubernetesNetworkPolicyParentArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
KubernetesNetworkPolicyPermissionResource, KubernetesNetworkPolicyPermissionResourceArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
KubernetesNetworkPolicyTag, KubernetesNetworkPolicyTagArgs
- Additional
Properties string - Key string
- The string representation of a tag key.
- Value string
- The string representation of a tag value.
- Additional
Properties string - Key string
- The string representation of a tag key.
- Value string
- The string representation of a tag value.
- additional
Properties String - key String
- The string representation of a tag key.
- value String
- The string representation of a tag value.
- additional
Properties string - key string
- The string representation of a tag key.
- value string
- The string representation of a tag value.
- additional_
properties str - key str
- The string representation of a tag key.
- value str
- The string representation of a tag value.
- additional
Properties String - key String
- The string representation of a tag key.
- value String
- The string representation of a tag value.
KubernetesNetworkPolicyVersionContext, KubernetesNetworkPolicyVersionContextArgs
- Additional
Properties string - Class
Id string - Interested
Mos List<KubernetesNetwork Policy Version Context Interested Mo> - This complex property has following sub-properties:
- Marked
For boolDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- Nr
Version string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- Ref
Mos List<KubernetesNetwork Policy Version Context Ref Mo> - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- Timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- Version
Type string - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- Additional
Properties string - Class
Id string - Interested
Mos []KubernetesNetwork Policy Version Context Interested Mo - This complex property has following sub-properties:
- Marked
For boolDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- Nr
Version string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- Ref
Mos []KubernetesNetwork Policy Version Context Ref Mo - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- Timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- Version
Type string - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional
Properties String - class
Id String - interested
Mos List<KubernetesNetwork Policy Version Context Interested Mo> - This complex property has following sub-properties:
- marked
For BooleanDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr
Version String - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos List<KubernetesNetwork Policy Version Context Ref Mo> - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp String
- (ReadOnly) The time this versioned Managed Object was created.
- version
Type String - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional
Properties string - class
Id string - interested
Mos KubernetesNetwork Policy Version Context Interested Mo[] - This complex property has following sub-properties:
- marked
For booleanDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr
Version string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos KubernetesNetwork Policy Version Context Ref Mo[] - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- version
Type string - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional_
properties str - class_
id str - interested_
mos Sequence[KubernetesNetwork Policy Version Context Interested Mo] - This complex property has following sub-properties:
- marked_
for_ booldeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr_
version str - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object_
type str - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref_
mos Sequence[KubernetesNetwork Policy Version Context Ref Mo] - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp str
- (ReadOnly) The time this versioned Managed Object was created.
- version_
type str - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional
Properties String - class
Id String - interested
Mos List<Property Map> - This complex property has following sub-properties:
- marked
For BooleanDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr
Version String - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos List<Property Map> - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp String
- (ReadOnly) The time this versioned Managed Object was created.
- version
Type String - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
KubernetesNetworkPolicyVersionContextInterestedMo, KubernetesNetworkPolicyVersionContextInterestedMoArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
KubernetesNetworkPolicyVersionContextRefMo, KubernetesNetworkPolicyVersionContextRefMoArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
Import
intersight_kubernetes_network_policy
can be imported using the Moid of the object, e.g.
$ pulumi import intersight:index/kubernetesNetworkPolicy:KubernetesNetworkPolicy example 1234567890987654321abcde
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- intersight ciscodevnet/terraform-provider-intersight
- License
- Notes
- This Pulumi package is based on the
intersight
Terraform Provider.