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

intersight.SshPolicy

Explore with Pulumi AI

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

    Secure shell policy on the endpoint.

    Usage Example

    Resource Creation

    import * as pulumi from "@pulumi/pulumi";
    import * as intersight from "@pulumi/intersight";
    
    const config = new pulumi.Config();
    const organization = config.require("organization");
    const profile = config.require("profile");
    const sshPolicy1 = new intersight.SshPolicy("sshPolicy1", {
        description: "ssh policy",
        enabled: true,
        port: 22,
        timeout: 1800,
        organizations: [{
            objectType: "organization.Organization",
            moid: organization,
        }],
        profiles: [{
            moid: profile,
            objectType: "server.Profile",
        }],
    });
    
    import pulumi
    import pulumi_intersight as intersight
    
    config = pulumi.Config()
    organization = config.require("organization")
    profile = config.require("profile")
    ssh_policy1 = intersight.SshPolicy("sshPolicy1",
        description="ssh policy",
        enabled=True,
        port=22,
        timeout=1800,
        organizations=[{
            "object_type": "organization.Organization",
            "moid": organization,
        }],
        profiles=[{
            "moid": profile,
            "object_type": "server.Profile",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/intersight/intersight"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		organization := cfg.Require("organization")
    		profile := cfg.Require("profile")
    		_, err := intersight.NewSshPolicy(ctx, "sshPolicy1", &intersight.SshPolicyArgs{
    			Description: pulumi.String("ssh policy"),
    			Enabled:     pulumi.Bool(true),
    			Port:        pulumi.Float64(22),
    			Timeout:     pulumi.Float64(1800),
    			Organizations: intersight.SshPolicyOrganizationArray{
    				&intersight.SshPolicyOrganizationArgs{
    					ObjectType: pulumi.String("organization.Organization"),
    					Moid:       pulumi.String(organization),
    				},
    			},
    			Profiles: intersight.SshPolicyProfileArray{
    				&intersight.SshPolicyProfileArgs{
    					Moid:       pulumi.String(profile),
    					ObjectType: pulumi.String("server.Profile"),
    				},
    			},
    		})
    		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 config = new Config();
        var organization = config.Require("organization");
        var profile = config.Require("profile");
        var sshPolicy1 = new Intersight.SshPolicy("sshPolicy1", new()
        {
            Description = "ssh policy",
            Enabled = true,
            Port = 22,
            Timeout = 1800,
            Organizations = new[]
            {
                new Intersight.Inputs.SshPolicyOrganizationArgs
                {
                    ObjectType = "organization.Organization",
                    Moid = organization,
                },
            },
            Profiles = new[]
            {
                new Intersight.Inputs.SshPolicyProfileArgs
                {
                    Moid = profile,
                    ObjectType = "server.Profile",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.intersight.SshPolicy;
    import com.pulumi.intersight.SshPolicyArgs;
    import com.pulumi.intersight.inputs.SshPolicyOrganizationArgs;
    import com.pulumi.intersight.inputs.SshPolicyProfileArgs;
    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) {
            final var config = ctx.config();
            final var organization = config.get("organization");
            final var profile = config.get("profile");
            var sshPolicy1 = new SshPolicy("sshPolicy1", SshPolicyArgs.builder()
                .description("ssh policy")
                .enabled(true)
                .port(22)
                .timeout(1800)
                .organizations(SshPolicyOrganizationArgs.builder()
                    .objectType("organization.Organization")
                    .moid(organization)
                    .build())
                .profiles(SshPolicyProfileArgs.builder()
                    .moid(profile)
                    .objectType("server.Profile")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      organization:
        type: string
      profile:
        type: string
    resources:
      sshPolicy1:
        type: intersight:SshPolicy
        properties:
          description: ssh policy
          enabled: true
          port: 22
          timeout: 1800
          organizations:
            - objectType: organization.Organization
              moid: ${organization}
          profiles:
            - moid: ${profile}
              objectType: server.Profile
    

    Create SshPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SshPolicy(name: string, args?: SshPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def SshPolicy(resource_name: str,
                  args: Optional[SshPolicyArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def SshPolicy(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  account_moid: Optional[str] = None,
                  additional_properties: Optional[str] = None,
                  ancestors: Optional[Sequence[SshPolicyAncestorArgs]] = None,
                  class_id: Optional[str] = None,
                  create_time: Optional[str] = None,
                  description: Optional[str] = None,
                  domain_group_moid: Optional[str] = None,
                  enabled: Optional[bool] = None,
                  mod_time: Optional[str] = None,
                  moid: Optional[str] = None,
                  name: Optional[str] = None,
                  object_type: Optional[str] = None,
                  organizations: Optional[Sequence[SshPolicyOrganizationArgs]] = None,
                  owners: Optional[Sequence[str]] = None,
                  parents: Optional[Sequence[SshPolicyParentArgs]] = None,
                  permission_resources: Optional[Sequence[SshPolicyPermissionResourceArgs]] = None,
                  port: Optional[float] = None,
                  profiles: Optional[Sequence[SshPolicyProfileArgs]] = None,
                  shared_scope: Optional[str] = None,
                  ssh_policy_id: Optional[str] = None,
                  tags: Optional[Sequence[SshPolicyTagArgs]] = None,
                  timeout: Optional[float] = None,
                  version_contexts: Optional[Sequence[SshPolicyVersionContextArgs]] = None)
    func NewSshPolicy(ctx *Context, name string, args *SshPolicyArgs, opts ...ResourceOption) (*SshPolicy, error)
    public SshPolicy(string name, SshPolicyArgs? args = null, CustomResourceOptions? opts = null)
    public SshPolicy(String name, SshPolicyArgs args)
    public SshPolicy(String name, SshPolicyArgs args, CustomResourceOptions options)
    
    type: intersight:SshPolicy
    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 SshPolicyArgs
    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 SshPolicyArgs
    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 SshPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SshPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SshPolicyArgs
    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 sshPolicyResource = new Intersight.SshPolicy("sshPolicyResource", new()
    {
        AccountMoid = "string",
        AdditionalProperties = "string",
        Ancestors = new[]
        {
            new Intersight.Inputs.SshPolicyAncestorArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        ClassId = "string",
        CreateTime = "string",
        Description = "string",
        DomainGroupMoid = "string",
        Enabled = false,
        ModTime = "string",
        Moid = "string",
        Name = "string",
        ObjectType = "string",
        Organizations = new[]
        {
            new Intersight.Inputs.SshPolicyOrganizationArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        Owners = new[]
        {
            "string",
        },
        Parents = new[]
        {
            new Intersight.Inputs.SshPolicyParentArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        PermissionResources = new[]
        {
            new Intersight.Inputs.SshPolicyPermissionResourceArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        Port = 0,
        Profiles = new[]
        {
            new Intersight.Inputs.SshPolicyProfileArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                Moid = "string",
                ObjectType = "string",
                Selector = "string",
            },
        },
        SharedScope = "string",
        SshPolicyId = "string",
        Tags = new[]
        {
            new Intersight.Inputs.SshPolicyTagArgs
            {
                AdditionalProperties = "string",
                Key = "string",
                Value = "string",
            },
        },
        Timeout = 0,
        VersionContexts = new[]
        {
            new Intersight.Inputs.SshPolicyVersionContextArgs
            {
                AdditionalProperties = "string",
                ClassId = "string",
                InterestedMos = new[]
                {
                    new Intersight.Inputs.SshPolicyVersionContextInterestedMoArgs
                    {
                        AdditionalProperties = "string",
                        ClassId = "string",
                        Moid = "string",
                        ObjectType = "string",
                        Selector = "string",
                    },
                },
                MarkedForDeletion = false,
                NrVersion = "string",
                ObjectType = "string",
                RefMos = new[]
                {
                    new Intersight.Inputs.SshPolicyVersionContextRefMoArgs
                    {
                        AdditionalProperties = "string",
                        ClassId = "string",
                        Moid = "string",
                        ObjectType = "string",
                        Selector = "string",
                    },
                },
                Timestamp = "string",
                VersionType = "string",
            },
        },
    });
    
    example, err := intersight.NewSshPolicy(ctx, "sshPolicyResource", &intersight.SshPolicyArgs{
    	AccountMoid:          pulumi.String("string"),
    	AdditionalProperties: pulumi.String("string"),
    	Ancestors: intersight.SshPolicyAncestorArray{
    		&intersight.SshPolicyAncestorArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	ClassId:         pulumi.String("string"),
    	CreateTime:      pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	DomainGroupMoid: pulumi.String("string"),
    	Enabled:         pulumi.Bool(false),
    	ModTime:         pulumi.String("string"),
    	Moid:            pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	ObjectType:      pulumi.String("string"),
    	Organizations: intersight.SshPolicyOrganizationArray{
    		&intersight.SshPolicyOrganizationArgs{
    			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.SshPolicyParentArray{
    		&intersight.SshPolicyParentArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	PermissionResources: intersight.SshPolicyPermissionResourceArray{
    		&intersight.SshPolicyPermissionResourceArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	Port: pulumi.Float64(0),
    	Profiles: intersight.SshPolicyProfileArray{
    		&intersight.SshPolicyProfileArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			Moid:                 pulumi.String("string"),
    			ObjectType:           pulumi.String("string"),
    			Selector:             pulumi.String("string"),
    		},
    	},
    	SharedScope: pulumi.String("string"),
    	SshPolicyId: pulumi.String("string"),
    	Tags: intersight.SshPolicyTagArray{
    		&intersight.SshPolicyTagArgs{
    			AdditionalProperties: pulumi.String("string"),
    			Key:                  pulumi.String("string"),
    			Value:                pulumi.String("string"),
    		},
    	},
    	Timeout: pulumi.Float64(0),
    	VersionContexts: intersight.SshPolicyVersionContextArray{
    		&intersight.SshPolicyVersionContextArgs{
    			AdditionalProperties: pulumi.String("string"),
    			ClassId:              pulumi.String("string"),
    			InterestedMos: intersight.SshPolicyVersionContextInterestedMoArray{
    				&intersight.SshPolicyVersionContextInterestedMoArgs{
    					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.SshPolicyVersionContextRefMoArray{
    				&intersight.SshPolicyVersionContextRefMoArgs{
    					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 sshPolicyResource = new SshPolicy("sshPolicyResource", SshPolicyArgs.builder()
        .accountMoid("string")
        .additionalProperties("string")
        .ancestors(SshPolicyAncestorArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .classId("string")
        .createTime("string")
        .description("string")
        .domainGroupMoid("string")
        .enabled(false)
        .modTime("string")
        .moid("string")
        .name("string")
        .objectType("string")
        .organizations(SshPolicyOrganizationArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .owners("string")
        .parents(SshPolicyParentArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .permissionResources(SshPolicyPermissionResourceArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .port(0)
        .profiles(SshPolicyProfileArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .sharedScope("string")
        .sshPolicyId("string")
        .tags(SshPolicyTagArgs.builder()
            .additionalProperties("string")
            .key("string")
            .value("string")
            .build())
        .timeout(0)
        .versionContexts(SshPolicyVersionContextArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .interestedMos(SshPolicyVersionContextInterestedMoArgs.builder()
                .additionalProperties("string")
                .classId("string")
                .moid("string")
                .objectType("string")
                .selector("string")
                .build())
            .markedForDeletion(false)
            .nrVersion("string")
            .objectType("string")
            .refMos(SshPolicyVersionContextRefMoArgs.builder()
                .additionalProperties("string")
                .classId("string")
                .moid("string")
                .objectType("string")
                .selector("string")
                .build())
            .timestamp("string")
            .versionType("string")
            .build())
        .build());
    
    ssh_policy_resource = intersight.SshPolicy("sshPolicyResource",
        account_moid="string",
        additional_properties="string",
        ancestors=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        class_id="string",
        create_time="string",
        description="string",
        domain_group_moid="string",
        enabled=False,
        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",
        }],
        port=0,
        profiles=[{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        shared_scope="string",
        ssh_policy_id="string",
        tags=[{
            "additional_properties": "string",
            "key": "string",
            "value": "string",
        }],
        timeout=0,
        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 sshPolicyResource = new intersight.SshPolicy("sshPolicyResource", {
        accountMoid: "string",
        additionalProperties: "string",
        ancestors: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        classId: "string",
        createTime: "string",
        description: "string",
        domainGroupMoid: "string",
        enabled: false,
        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",
        }],
        port: 0,
        profiles: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        sharedScope: "string",
        sshPolicyId: "string",
        tags: [{
            additionalProperties: "string",
            key: "string",
            value: "string",
        }],
        timeout: 0,
        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:SshPolicy
    properties:
        accountMoid: string
        additionalProperties: string
        ancestors:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        classId: string
        createTime: string
        description: string
        domainGroupMoid: string
        enabled: false
        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
        port: 0
        profiles:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
        sharedScope: string
        sshPolicyId: string
        tags:
            - additionalProperties: string
              key: string
              value: string
        timeout: 0
        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
    

    SshPolicy 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 SshPolicy resource accepts the following input properties:

    AccountMoid string
    (ReadOnly) The Account ID for this managed object.
    AdditionalProperties string
    Ancestors List<SshPolicyAncestor>
    (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.
    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.
    Enabled bool
    State of SSH service on the endpoint.
    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<SshPolicyOrganization>
    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<SshPolicyParent>
    (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<SshPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Port double
    Port used for secure shell access.
    Profiles List<SshPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    SshPolicyId string
    Tags List<SshPolicyTag>
    This complex property has following sub-properties:
    Timeout double
    Number of seconds to wait before the system considers a SSH request to have timed out.
    VersionContexts List<SshPolicyVersionContext>
    (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 []SshPolicyAncestorArgs
    (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.
    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.
    Enabled bool
    State of SSH service on the endpoint.
    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 []SshPolicyOrganizationArgs
    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 []SshPolicyParentArgs
    (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 []SshPolicyPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Port float64
    Port used for secure shell access.
    Profiles []SshPolicyProfileArgs
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    SshPolicyId string
    Tags []SshPolicyTagArgs
    This complex property has following sub-properties:
    Timeout float64
    Number of seconds to wait before the system considers a SSH request to have timed out.
    VersionContexts []SshPolicyVersionContextArgs
    (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<SshPolicyAncestor>
    (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.
    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.
    enabled Boolean
    State of SSH service on the endpoint.
    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<SshPolicyOrganization>
    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<SshPolicyParent>
    (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<SshPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    port Double
    Port used for secure shell access.
    profiles List<SshPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    sshPolicyId String
    tags List<SshPolicyTag>
    This complex property has following sub-properties:
    timeout Double
    Number of seconds to wait before the system considers a SSH request to have timed out.
    versionContexts List<SshPolicyVersionContext>
    (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 SshPolicyAncestor[]
    (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.
    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.
    enabled boolean
    State of SSH service on the endpoint.
    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 SshPolicyOrganization[]
    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 SshPolicyParent[]
    (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 SshPolicyPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    port number
    Port used for secure shell access.
    profiles SshPolicyProfile[]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    sshPolicyId string
    tags SshPolicyTag[]
    This complex property has following sub-properties:
    timeout number
    Number of seconds to wait before the system considers a SSH request to have timed out.
    versionContexts SshPolicyVersionContext[]
    (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[SshPolicyAncestorArgs]
    (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.
    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.
    enabled bool
    State of SSH service on the endpoint.
    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[SshPolicyOrganizationArgs]
    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[SshPolicyParentArgs]
    (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[SshPolicyPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    port float
    Port used for secure shell access.
    profiles Sequence[SshPolicyProfileArgs]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    ssh_policy_id str
    tags Sequence[SshPolicyTagArgs]
    This complex property has following sub-properties:
    timeout float
    Number of seconds to wait before the system considers a SSH request to have timed out.
    version_contexts Sequence[SshPolicyVersionContextArgs]
    (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.
    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.
    enabled Boolean
    State of SSH service on the endpoint.
    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:
    port Number
    Port used for secure shell access.
    profiles List<Property Map>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    sshPolicyId String
    tags List<Property Map>
    This complex property has following sub-properties:
    timeout Number
    Number of seconds to wait before the system considers a SSH request to have timed out.
    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 SshPolicy 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 SshPolicy Resource

    Get an existing SshPolicy 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?: SshPolicyState, opts?: CustomResourceOptions): SshPolicy
    @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[SshPolicyAncestorArgs]] = None,
            class_id: Optional[str] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            domain_group_moid: Optional[str] = None,
            enabled: Optional[bool] = None,
            mod_time: Optional[str] = None,
            moid: Optional[str] = None,
            name: Optional[str] = None,
            object_type: Optional[str] = None,
            organizations: Optional[Sequence[SshPolicyOrganizationArgs]] = None,
            owners: Optional[Sequence[str]] = None,
            parents: Optional[Sequence[SshPolicyParentArgs]] = None,
            permission_resources: Optional[Sequence[SshPolicyPermissionResourceArgs]] = None,
            port: Optional[float] = None,
            profiles: Optional[Sequence[SshPolicyProfileArgs]] = None,
            shared_scope: Optional[str] = None,
            ssh_policy_id: Optional[str] = None,
            tags: Optional[Sequence[SshPolicyTagArgs]] = None,
            timeout: Optional[float] = None,
            version_contexts: Optional[Sequence[SshPolicyVersionContextArgs]] = None) -> SshPolicy
    func GetSshPolicy(ctx *Context, name string, id IDInput, state *SshPolicyState, opts ...ResourceOption) (*SshPolicy, error)
    public static SshPolicy Get(string name, Input<string> id, SshPolicyState? state, CustomResourceOptions? opts = null)
    public static SshPolicy get(String name, Output<String> id, SshPolicyState state, CustomResourceOptions options)
    resources:  _:    type: intersight:SshPolicy    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<SshPolicyAncestor>
    (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.
    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.
    Enabled bool
    State of SSH service on the endpoint.
    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<SshPolicyOrganization>
    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<SshPolicyParent>
    (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<SshPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Port double
    Port used for secure shell access.
    Profiles List<SshPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    SshPolicyId string
    Tags List<SshPolicyTag>
    This complex property has following sub-properties:
    Timeout double
    Number of seconds to wait before the system considers a SSH request to have timed out.
    VersionContexts List<SshPolicyVersionContext>
    (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 []SshPolicyAncestorArgs
    (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.
    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.
    Enabled bool
    State of SSH service on the endpoint.
    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 []SshPolicyOrganizationArgs
    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 []SshPolicyParentArgs
    (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 []SshPolicyPermissionResourceArgs
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    Port float64
    Port used for secure shell access.
    Profiles []SshPolicyProfileArgs
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    SshPolicyId string
    Tags []SshPolicyTagArgs
    This complex property has following sub-properties:
    Timeout float64
    Number of seconds to wait before the system considers a SSH request to have timed out.
    VersionContexts []SshPolicyVersionContextArgs
    (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<SshPolicyAncestor>
    (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.
    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.
    enabled Boolean
    State of SSH service on the endpoint.
    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<SshPolicyOrganization>
    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<SshPolicyParent>
    (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<SshPolicyPermissionResource>
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    port Double
    Port used for secure shell access.
    profiles List<SshPolicyProfile>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    sshPolicyId String
    tags List<SshPolicyTag>
    This complex property has following sub-properties:
    timeout Double
    Number of seconds to wait before the system considers a SSH request to have timed out.
    versionContexts List<SshPolicyVersionContext>
    (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 SshPolicyAncestor[]
    (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.
    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.
    enabled boolean
    State of SSH service on the endpoint.
    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 SshPolicyOrganization[]
    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 SshPolicyParent[]
    (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 SshPolicyPermissionResource[]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    port number
    Port used for secure shell access.
    profiles SshPolicyProfile[]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    sshPolicyId string
    tags SshPolicyTag[]
    This complex property has following sub-properties:
    timeout number
    Number of seconds to wait before the system considers a SSH request to have timed out.
    versionContexts SshPolicyVersionContext[]
    (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[SshPolicyAncestorArgs]
    (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.
    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.
    enabled bool
    State of SSH service on the endpoint.
    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[SshPolicyOrganizationArgs]
    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[SshPolicyParentArgs]
    (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[SshPolicyPermissionResourceArgs]
    (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
    port float
    Port used for secure shell access.
    profiles Sequence[SshPolicyProfileArgs]
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    ssh_policy_id str
    tags Sequence[SshPolicyTagArgs]
    This complex property has following sub-properties:
    timeout float
    Number of seconds to wait before the system considers a SSH request to have timed out.
    version_contexts Sequence[SshPolicyVersionContextArgs]
    (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.
    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.
    enabled Boolean
    State of SSH service on the endpoint.
    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:
    port Number
    Port used for secure shell access.
    profiles List<Property Map>
    An array of relationships to policyAbstractConfigProfile resources. This complex property has following sub-properties:
    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.
    sshPolicyId String
    tags List<Property Map>
    This complex property has following sub-properties:
    timeout Number
    Number of seconds to wait before the system considers a SSH request to have timed out.
    versionContexts List<Property Map>
    (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:

    Supporting Types

    SshPolicyAncestor, SshPolicyAncestorArgs

    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'.

    SshPolicyOrganization, SshPolicyOrganizationArgs

    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'.

    SshPolicyParent, SshPolicyParentArgs

    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'.

    SshPolicyPermissionResource, SshPolicyPermissionResourceArgs

    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'.

    SshPolicyProfile, SshPolicyProfileArgs

    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'.

    SshPolicyTag, SshPolicyTagArgs

    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.

    SshPolicyVersionContext, SshPolicyVersionContextArgs

    AdditionalProperties string
    ClassId string
    InterestedMos List<SshPolicyVersionContextInterestedMo>
    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<SshPolicyVersionContextRefMo>
    (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 []SshPolicyVersionContextInterestedMo
    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 []SshPolicyVersionContextRefMo
    (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<SshPolicyVersionContextInterestedMo>
    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<SshPolicyVersionContextRefMo>
    (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 SshPolicyVersionContextInterestedMo[]
    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 SshPolicyVersionContextRefMo[]
    (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[SshPolicyVersionContextInterestedMo]
    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[SshPolicyVersionContextRefMo]
    (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.

    SshPolicyVersionContextInterestedMo, SshPolicyVersionContextInterestedMoArgs

    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'.

    SshPolicyVersionContextRefMo, SshPolicyVersionContextRefMoArgs

    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_ssh_policy can be imported using the Moid of the object, e.g.

    $ pulumi import intersight:index/sshPolicy:SshPolicy 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