1. Packages
  2. Intersight Provider
  3. API Docs
  4. KubernetesNetworkPolicy
intersight 1.0.64 published on Wednesday, Apr 30, 2025 by ciscodevnet

intersight.KubernetesNetworkPolicy

Explore with Pulumi AI

intersight logo
intersight 1.0.64 published on Wednesday, Apr 30, 2025 by ciscodevnet

    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:

    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors List<KubernetesNetworkPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ClassId 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.
    ClusterProfiles List<KubernetesNetworkPolicyClusterProfile>
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    CniConfigs List<KubernetesNetworkPolicyCniConfig>
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    CniType 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.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    KubernetesNetworkPolicyId string
    ModTime 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.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations List<KubernetesNetworkPolicyOrganization>
    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<KubernetesNetworkPolicyParent>
    (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:
    PermissionResources List<KubernetesNetworkPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    PodNetworkCidr string
    CIDR block to allocate Pod network IP addresses from.
    ServiceCidr string
    CIDR block to allocate cluster service IP addresses from.
    SharedScope 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.
    Tags List<KubernetesNetworkPolicyTag>
    This complex property has following sub-properties:
    VersionContexts List<KubernetesNetworkPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors []KubernetesNetworkPolicyAncestorArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ClassId 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.
    ClusterProfiles []KubernetesNetworkPolicyClusterProfileArgs
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    CniConfigs []KubernetesNetworkPolicyCniConfigArgs
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    CniType 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.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    KubernetesNetworkPolicyId string
    ModTime 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.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations []KubernetesNetworkPolicyOrganizationArgs
    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 []KubernetesNetworkPolicyParentArgs
    (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:
    PermissionResources []KubernetesNetworkPolicyPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    PodNetworkCidr string
    CIDR block to allocate Pod network IP addresses from.
    ServiceCidr string
    CIDR block to allocate cluster service IP addresses from.
    SharedScope 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.
    Tags []KubernetesNetworkPolicyTagArgs
    This complex property has following sub-properties:
    VersionContexts []KubernetesNetworkPolicyVersionContextArgs
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<KubernetesNetworkPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    classId 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.
    clusterProfiles List<KubernetesNetworkPolicyClusterProfile>
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cniConfigs List<KubernetesNetworkPolicyCniConfig>
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    cniType 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.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetesNetworkPolicyId String
    modTime 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.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations List<KubernetesNetworkPolicyOrganization>
    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<KubernetesNetworkPolicyParent>
    (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:
    permissionResources List<KubernetesNetworkPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    podNetworkCidr String
    CIDR block to allocate Pod network IP addresses from.
    serviceCidr String
    CIDR block to allocate cluster service IP addresses from.
    sharedScope 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.
    tags List<KubernetesNetworkPolicyTag>
    This complex property has following sub-properties:
    versionContexts List<KubernetesNetworkPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid string
    (ReadOnly) The Account ID for this managed object.
    additionalProperties string
    ancestors KubernetesNetworkPolicyAncestor[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    classId 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.
    clusterProfiles KubernetesNetworkPolicyClusterProfile[]
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cniConfigs KubernetesNetworkPolicyCniConfig[]
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    cniType 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.
    createTime string
    (ReadOnly) The time when this managed object was created.
    description string
    Description of the policy.
    domainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetesNetworkPolicyId string
    modTime 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.
    objectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations KubernetesNetworkPolicyOrganization[]
    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 KubernetesNetworkPolicyParent[]
    (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:
    permissionResources KubernetesNetworkPolicyPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    podNetworkCidr string
    CIDR block to allocate Pod network IP addresses from.
    serviceCidr string
    CIDR block to allocate cluster service IP addresses from.
    sharedScope 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.
    tags KubernetesNetworkPolicyTag[]
    This complex property has following sub-properties:
    versionContexts KubernetesNetworkPolicyVersionContext[]
    (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[KubernetesNetworkPolicyAncestorArgs]
    (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[KubernetesNetworkPolicyClusterProfileArgs]
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cni_configs Sequence[KubernetesNetworkPolicyCniConfigArgs]
    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_moid str
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetes_network_policy_id str
    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[KubernetesNetworkPolicyOrganizationArgs]
    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[KubernetesNetworkPolicyParentArgs]
    (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[KubernetesNetworkPolicyPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    pod_network_cidr str
    CIDR block to allocate Pod network IP addresses from.
    service_cidr str
    CIDR block to allocate cluster service IP addresses from.
    shared_scope 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.
    tags Sequence[KubernetesNetworkPolicyTagArgs]
    This complex property has following sub-properties:
    version_contexts Sequence[KubernetesNetworkPolicyVersionContextArgs]
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    classId 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.
    clusterProfiles List<Property Map>
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cniConfigs List<Property Map>
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    cniType 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.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetesNetworkPolicyId String
    modTime 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.
    objectType 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:
    permissionResources List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    podNetworkCidr String
    CIDR block to allocate Pod network IP addresses from.
    serviceCidr String
    CIDR block to allocate cluster service IP addresses from.
    sharedScope 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.
    tags List<Property Map>
    This complex property has following sub-properties:
    versionContexts 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.
    The following state arguments are supported:
    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors List<KubernetesNetworkPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ClassId 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.
    ClusterProfiles List<KubernetesNetworkPolicyClusterProfile>
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    CniConfigs List<KubernetesNetworkPolicyCniConfig>
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    CniType 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.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    KubernetesNetworkPolicyId string
    ModTime 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.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations List<KubernetesNetworkPolicyOrganization>
    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<KubernetesNetworkPolicyParent>
    (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:
    PermissionResources List<KubernetesNetworkPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    PodNetworkCidr string
    CIDR block to allocate Pod network IP addresses from.
    ServiceCidr string
    CIDR block to allocate cluster service IP addresses from.
    SharedScope 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.
    Tags List<KubernetesNetworkPolicyTag>
    This complex property has following sub-properties:
    VersionContexts List<KubernetesNetworkPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors []KubernetesNetworkPolicyAncestorArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    ClassId 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.
    ClusterProfiles []KubernetesNetworkPolicyClusterProfileArgs
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    CniConfigs []KubernetesNetworkPolicyCniConfigArgs
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    CniType 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.
    CreateTime string
    (ReadOnly) The time when this managed object was created.
    Description string
    Description of the policy.
    DomainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    KubernetesNetworkPolicyId string
    ModTime 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.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    Organizations []KubernetesNetworkPolicyOrganizationArgs
    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 []KubernetesNetworkPolicyParentArgs
    (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:
    PermissionResources []KubernetesNetworkPolicyPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    PodNetworkCidr string
    CIDR block to allocate Pod network IP addresses from.
    ServiceCidr string
    CIDR block to allocate cluster service IP addresses from.
    SharedScope 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.
    Tags []KubernetesNetworkPolicyTagArgs
    This complex property has following sub-properties:
    VersionContexts []KubernetesNetworkPolicyVersionContextArgs
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<KubernetesNetworkPolicyAncestor>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    classId 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.
    clusterProfiles List<KubernetesNetworkPolicyClusterProfile>
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cniConfigs List<KubernetesNetworkPolicyCniConfig>
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    cniType 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.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetesNetworkPolicyId String
    modTime 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.
    objectType String
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations List<KubernetesNetworkPolicyOrganization>
    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<KubernetesNetworkPolicyParent>
    (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:
    permissionResources List<KubernetesNetworkPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    podNetworkCidr String
    CIDR block to allocate Pod network IP addresses from.
    serviceCidr String
    CIDR block to allocate cluster service IP addresses from.
    sharedScope 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.
    tags List<KubernetesNetworkPolicyTag>
    This complex property has following sub-properties:
    versionContexts List<KubernetesNetworkPolicyVersionContext>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid string
    (ReadOnly) The Account ID for this managed object.
    additionalProperties string
    ancestors KubernetesNetworkPolicyAncestor[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    classId 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.
    clusterProfiles KubernetesNetworkPolicyClusterProfile[]
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cniConfigs KubernetesNetworkPolicyCniConfig[]
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    cniType 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.
    createTime string
    (ReadOnly) The time when this managed object was created.
    description string
    Description of the policy.
    domainGroupMoid string
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetesNetworkPolicyId string
    modTime 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.
    objectType string
    The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
    organizations KubernetesNetworkPolicyOrganization[]
    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 KubernetesNetworkPolicyParent[]
    (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:
    permissionResources KubernetesNetworkPolicyPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    podNetworkCidr string
    CIDR block to allocate Pod network IP addresses from.
    serviceCidr string
    CIDR block to allocate cluster service IP addresses from.
    sharedScope 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.
    tags KubernetesNetworkPolicyTag[]
    This complex property has following sub-properties:
    versionContexts KubernetesNetworkPolicyVersionContext[]
    (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[KubernetesNetworkPolicyAncestorArgs]
    (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[KubernetesNetworkPolicyClusterProfileArgs]
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cni_configs Sequence[KubernetesNetworkPolicyCniConfigArgs]
    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_moid str
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetes_network_policy_id str
    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[KubernetesNetworkPolicyOrganizationArgs]
    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[KubernetesNetworkPolicyParentArgs]
    (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[KubernetesNetworkPolicyPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    pod_network_cidr str
    CIDR block to allocate Pod network IP addresses from.
    service_cidr str
    CIDR block to allocate cluster service IP addresses from.
    shared_scope 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.
    tags Sequence[KubernetesNetworkPolicyTagArgs]
    This complex property has following sub-properties:
    version_contexts Sequence[KubernetesNetworkPolicyVersionContextArgs]
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
    accountMoid String
    (ReadOnly) The Account ID for this managed object.
    additionalProperties String
    ancestors List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    classId 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.
    clusterProfiles List<Property Map>
    An array of relationships to kubernetesClusterProfile resources. This complex property has following sub-properties:
    cniConfigs List<Property Map>
    CNI configuration for a Kubernetes cluster. This complex property has following sub-properties:
    cniType 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.
    createTime String
    (ReadOnly) The time when this managed object was created.
    description String
    Description of the policy.
    domainGroupMoid String
    (ReadOnly) The DomainGroup ID for this managed object.
    kubernetesNetworkPolicyId String
    modTime 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.
    objectType 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:
    permissionResources List<Property Map>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    podNetworkCidr String
    CIDR block to allocate Pod network IP addresses from.
    serviceCidr String
    CIDR block to allocate cluster service IP addresses from.
    sharedScope 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.
    tags List<Property Map>
    This complex property has following sub-properties:
    versionContexts List<Property Map>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:

    Supporting Types

    KubernetesNetworkPolicyAncestor, KubernetesNetworkPolicyAncestorArgs

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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

    AdditionalProperties string
    ClassId string
    NrVersion string
    Container newtork interface plugin configuration.
    ObjectType 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.
    AdditionalProperties string
    ClassId string
    NrVersion string
    Container newtork interface plugin configuration.
    ObjectType 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.
    additionalProperties String
    classId String
    nrVersion String
    Container newtork interface plugin configuration.
    objectType 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.
    additionalProperties string
    classId string
    nrVersion string
    Container newtork interface plugin configuration.
    objectType 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.
    additionalProperties String
    classId String
    nrVersion String
    Container newtork interface plugin configuration.
    objectType 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

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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

    AdditionalProperties string
    Key string
    The string representation of a tag key.
    Value string
    The string representation of a tag value.
    AdditionalProperties string
    Key string
    The string representation of a tag key.
    Value string
    The string representation of a tag value.
    additionalProperties String
    key String
    The string representation of a tag key.
    value String
    The string representation of a tag value.
    additionalProperties 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.
    additionalProperties String
    key String
    The string representation of a tag key.
    value String
    The string representation of a tag value.

    KubernetesNetworkPolicyVersionContext, KubernetesNetworkPolicyVersionContextArgs

    AdditionalProperties string
    ClassId string
    InterestedMos List<KubernetesNetworkPolicyVersionContextInterestedMo>
    This complex property has following sub-properties:
    MarkedForDeletion bool
    (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.
    NrVersion string
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    RefMos List<KubernetesNetworkPolicyVersionContextRefMo>
    (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.
    VersionType 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.
    AdditionalProperties string
    ClassId string
    InterestedMos []KubernetesNetworkPolicyVersionContextInterestedMo
    This complex property has following sub-properties:
    MarkedForDeletion bool
    (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.
    NrVersion string
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    ObjectType string
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    RefMos []KubernetesNetworkPolicyVersionContextRefMo
    (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.
    VersionType 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.
    additionalProperties String
    classId String
    interestedMos List<KubernetesNetworkPolicyVersionContextInterestedMo>
    This complex property has following sub-properties:
    markedForDeletion Boolean
    (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.
    nrVersion String
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    objectType String
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    refMos List<KubernetesNetworkPolicyVersionContextRefMo>
    (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.
    versionType 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.
    additionalProperties string
    classId string
    interestedMos KubernetesNetworkPolicyVersionContextInterestedMo[]
    This complex property has following sub-properties:
    markedForDeletion boolean
    (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.
    nrVersion string
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    objectType string
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    refMos KubernetesNetworkPolicyVersionContextRefMo[]
    (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.
    versionType 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[KubernetesNetworkPolicyVersionContextInterestedMo]
    This complex property has following sub-properties:
    marked_for_deletion bool
    (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[KubernetesNetworkPolicyVersionContextRefMo]
    (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.
    additionalProperties String
    classId String
    interestedMos List<Property Map>
    This complex property has following sub-properties:
    markedForDeletion Boolean
    (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.
    nrVersion String
    (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
    objectType String
    The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
    refMos 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.
    versionType 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

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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

    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    AdditionalProperties string
    ClassId string
    Moid string
    The Moid of the referenced REST resource.
    ObjectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties string
    classId string
    moid string
    The Moid of the referenced REST resource.
    objectType 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'.
    additionalProperties String
    classId String
    moid String
    The Moid of the referenced REST resource.
    objectType 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.
    intersight logo
    intersight 1.0.64 published on Wednesday, Apr 30, 2025 by ciscodevnet