intersight.OsTemplateFile
Explore with Pulumi AI
A TemplateFile is an OS specific answer file that helps with the unattended installation. The file can also be a template file with placeholders instead of actual answers. Intersight supports the golang template syntax specified in https://golang.org/pkg/text/template/. The values for these placeholders shall be given during OS installation in the form of ‘additionalProperties’ in os.OsInstall object.
Create OsTemplateFile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OsTemplateFile(name: string, args?: OsTemplateFileArgs, opts?: CustomResourceOptions);@overload
def OsTemplateFile(resource_name: str,
                   args: Optional[OsTemplateFileArgs] = None,
                   opts: Optional[ResourceOptions] = None)
@overload
def OsTemplateFile(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_moid: Optional[str] = None,
                   additional_properties: Optional[str] = None,
                   ancestors: Optional[Sequence[OsTemplateFileAncestorArgs]] = None,
                   class_id: Optional[str] = None,
                   create_time: Optional[str] = None,
                   domain_group_moid: Optional[str] = None,
                   mod_time: Optional[str] = None,
                   moid: Optional[str] = None,
                   name: Optional[str] = None,
                   object_type: Optional[str] = None,
                   os_template_file_id: Optional[str] = None,
                   owners: Optional[Sequence[str]] = None,
                   parents: Optional[Sequence[OsTemplateFileParentArgs]] = None,
                   permission_resources: Optional[Sequence[OsTemplateFilePermissionResourceArgs]] = None,
                   placeholders: Optional[Sequence[str]] = None,
                   shared_scope: Optional[str] = None,
                   tags: Optional[Sequence[OsTemplateFileTagArgs]] = None,
                   template_content: Optional[str] = None,
                   version_contexts: Optional[Sequence[OsTemplateFileVersionContextArgs]] = None)func NewOsTemplateFile(ctx *Context, name string, args *OsTemplateFileArgs, opts ...ResourceOption) (*OsTemplateFile, error)public OsTemplateFile(string name, OsTemplateFileArgs? args = null, CustomResourceOptions? opts = null)
public OsTemplateFile(String name, OsTemplateFileArgs args)
public OsTemplateFile(String name, OsTemplateFileArgs args, CustomResourceOptions options)
type: intersight:OsTemplateFile
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 OsTemplateFileArgs
- 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 OsTemplateFileArgs
- 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 OsTemplateFileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OsTemplateFileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OsTemplateFileArgs
- 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 osTemplateFileResource = new Intersight.OsTemplateFile("osTemplateFileResource", new()
{
    AccountMoid = "string",
    AdditionalProperties = "string",
    Ancestors = new[]
    {
        new Intersight.Inputs.OsTemplateFileAncestorArgs
        {
            AdditionalProperties = "string",
            ClassId = "string",
            Moid = "string",
            ObjectType = "string",
            Selector = "string",
        },
    },
    ClassId = "string",
    CreateTime = "string",
    DomainGroupMoid = "string",
    ModTime = "string",
    Moid = "string",
    Name = "string",
    ObjectType = "string",
    OsTemplateFileId = "string",
    Owners = new[]
    {
        "string",
    },
    Parents = new[]
    {
        new Intersight.Inputs.OsTemplateFileParentArgs
        {
            AdditionalProperties = "string",
            ClassId = "string",
            Moid = "string",
            ObjectType = "string",
            Selector = "string",
        },
    },
    PermissionResources = new[]
    {
        new Intersight.Inputs.OsTemplateFilePermissionResourceArgs
        {
            AdditionalProperties = "string",
            ClassId = "string",
            Moid = "string",
            ObjectType = "string",
            Selector = "string",
        },
    },
    Placeholders = new[]
    {
        "string",
    },
    SharedScope = "string",
    Tags = new[]
    {
        new Intersight.Inputs.OsTemplateFileTagArgs
        {
            AdditionalProperties = "string",
            Key = "string",
            Value = "string",
        },
    },
    TemplateContent = "string",
    VersionContexts = new[]
    {
        new Intersight.Inputs.OsTemplateFileVersionContextArgs
        {
            AdditionalProperties = "string",
            ClassId = "string",
            InterestedMos = new[]
            {
                new Intersight.Inputs.OsTemplateFileVersionContextInterestedMoArgs
                {
                    AdditionalProperties = "string",
                    ClassId = "string",
                    Moid = "string",
                    ObjectType = "string",
                    Selector = "string",
                },
            },
            MarkedForDeletion = false,
            NrVersion = "string",
            ObjectType = "string",
            RefMos = new[]
            {
                new Intersight.Inputs.OsTemplateFileVersionContextRefMoArgs
                {
                    AdditionalProperties = "string",
                    ClassId = "string",
                    Moid = "string",
                    ObjectType = "string",
                    Selector = "string",
                },
            },
            Timestamp = "string",
            VersionType = "string",
        },
    },
});
example, err := intersight.NewOsTemplateFile(ctx, "osTemplateFileResource", &intersight.OsTemplateFileArgs{
	AccountMoid:          pulumi.String("string"),
	AdditionalProperties: pulumi.String("string"),
	Ancestors: intersight.OsTemplateFileAncestorArray{
		&intersight.OsTemplateFileAncestorArgs{
			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"),
	DomainGroupMoid:  pulumi.String("string"),
	ModTime:          pulumi.String("string"),
	Moid:             pulumi.String("string"),
	Name:             pulumi.String("string"),
	ObjectType:       pulumi.String("string"),
	OsTemplateFileId: pulumi.String("string"),
	Owners: pulumi.StringArray{
		pulumi.String("string"),
	},
	Parents: intersight.OsTemplateFileParentArray{
		&intersight.OsTemplateFileParentArgs{
			AdditionalProperties: pulumi.String("string"),
			ClassId:              pulumi.String("string"),
			Moid:                 pulumi.String("string"),
			ObjectType:           pulumi.String("string"),
			Selector:             pulumi.String("string"),
		},
	},
	PermissionResources: intersight.OsTemplateFilePermissionResourceArray{
		&intersight.OsTemplateFilePermissionResourceArgs{
			AdditionalProperties: pulumi.String("string"),
			ClassId:              pulumi.String("string"),
			Moid:                 pulumi.String("string"),
			ObjectType:           pulumi.String("string"),
			Selector:             pulumi.String("string"),
		},
	},
	Placeholders: pulumi.StringArray{
		pulumi.String("string"),
	},
	SharedScope: pulumi.String("string"),
	Tags: intersight.OsTemplateFileTagArray{
		&intersight.OsTemplateFileTagArgs{
			AdditionalProperties: pulumi.String("string"),
			Key:                  pulumi.String("string"),
			Value:                pulumi.String("string"),
		},
	},
	TemplateContent: pulumi.String("string"),
	VersionContexts: intersight.OsTemplateFileVersionContextArray{
		&intersight.OsTemplateFileVersionContextArgs{
			AdditionalProperties: pulumi.String("string"),
			ClassId:              pulumi.String("string"),
			InterestedMos: intersight.OsTemplateFileVersionContextInterestedMoArray{
				&intersight.OsTemplateFileVersionContextInterestedMoArgs{
					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.OsTemplateFileVersionContextRefMoArray{
				&intersight.OsTemplateFileVersionContextRefMoArgs{
					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 osTemplateFileResource = new OsTemplateFile("osTemplateFileResource", OsTemplateFileArgs.builder()
    .accountMoid("string")
    .additionalProperties("string")
    .ancestors(OsTemplateFileAncestorArgs.builder()
        .additionalProperties("string")
        .classId("string")
        .moid("string")
        .objectType("string")
        .selector("string")
        .build())
    .classId("string")
    .createTime("string")
    .domainGroupMoid("string")
    .modTime("string")
    .moid("string")
    .name("string")
    .objectType("string")
    .osTemplateFileId("string")
    .owners("string")
    .parents(OsTemplateFileParentArgs.builder()
        .additionalProperties("string")
        .classId("string")
        .moid("string")
        .objectType("string")
        .selector("string")
        .build())
    .permissionResources(OsTemplateFilePermissionResourceArgs.builder()
        .additionalProperties("string")
        .classId("string")
        .moid("string")
        .objectType("string")
        .selector("string")
        .build())
    .placeholders("string")
    .sharedScope("string")
    .tags(OsTemplateFileTagArgs.builder()
        .additionalProperties("string")
        .key("string")
        .value("string")
        .build())
    .templateContent("string")
    .versionContexts(OsTemplateFileVersionContextArgs.builder()
        .additionalProperties("string")
        .classId("string")
        .interestedMos(OsTemplateFileVersionContextInterestedMoArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .markedForDeletion(false)
        .nrVersion("string")
        .objectType("string")
        .refMos(OsTemplateFileVersionContextRefMoArgs.builder()
            .additionalProperties("string")
            .classId("string")
            .moid("string")
            .objectType("string")
            .selector("string")
            .build())
        .timestamp("string")
        .versionType("string")
        .build())
    .build());
os_template_file_resource = intersight.OsTemplateFile("osTemplateFileResource",
    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",
    domain_group_moid="string",
    mod_time="string",
    moid="string",
    name="string",
    object_type="string",
    os_template_file_id="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",
    }],
    placeholders=["string"],
    shared_scope="string",
    tags=[{
        "additional_properties": "string",
        "key": "string",
        "value": "string",
    }],
    template_content="string",
    version_contexts=[{
        "additional_properties": "string",
        "class_id": "string",
        "interested_mos": [{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        "marked_for_deletion": False,
        "nr_version": "string",
        "object_type": "string",
        "ref_mos": [{
            "additional_properties": "string",
            "class_id": "string",
            "moid": "string",
            "object_type": "string",
            "selector": "string",
        }],
        "timestamp": "string",
        "version_type": "string",
    }])
const osTemplateFileResource = new intersight.OsTemplateFile("osTemplateFileResource", {
    accountMoid: "string",
    additionalProperties: "string",
    ancestors: [{
        additionalProperties: "string",
        classId: "string",
        moid: "string",
        objectType: "string",
        selector: "string",
    }],
    classId: "string",
    createTime: "string",
    domainGroupMoid: "string",
    modTime: "string",
    moid: "string",
    name: "string",
    objectType: "string",
    osTemplateFileId: "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",
    }],
    placeholders: ["string"],
    sharedScope: "string",
    tags: [{
        additionalProperties: "string",
        key: "string",
        value: "string",
    }],
    templateContent: "string",
    versionContexts: [{
        additionalProperties: "string",
        classId: "string",
        interestedMos: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        markedForDeletion: false,
        nrVersion: "string",
        objectType: "string",
        refMos: [{
            additionalProperties: "string",
            classId: "string",
            moid: "string",
            objectType: "string",
            selector: "string",
        }],
        timestamp: "string",
        versionType: "string",
    }],
});
type: intersight:OsTemplateFile
properties:
    accountMoid: string
    additionalProperties: string
    ancestors:
        - additionalProperties: string
          classId: string
          moid: string
          objectType: string
          selector: string
    classId: string
    createTime: string
    domainGroupMoid: string
    modTime: string
    moid: string
    name: string
    objectType: string
    osTemplateFileId: 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
    placeholders:
        - string
    sharedScope: string
    tags:
        - additionalProperties: string
          key: string
          value: string
    templateContent: string
    versionContexts:
        - additionalProperties: string
          classId: string
          interestedMos:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
          markedForDeletion: false
          nrVersion: string
          objectType: string
          refMos:
            - additionalProperties: string
              classId: string
              moid: string
              objectType: string
              selector: string
          timestamp: string
          versionType: string
OsTemplateFile 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 OsTemplateFile resource accepts the following input properties:
- AccountMoid string
- (ReadOnly) The Account ID for this managed object.
- AdditionalProperties string
- Ancestors
List<OsTemplate File Ancestor> 
- (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.
- DomainGroup stringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- ModTime string
- (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- The name of the OS Template File that user uploads for unattended installation.
- ObjectType string
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- OsTemplate stringFile Id 
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<OsTemplate File Parent> 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- PermissionResources List<OsTemplate File Permission Resource> 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Placeholders List<string>
- (Array of schema.TypeString) -
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- 
List<OsTemplate File Tag> 
- This complex property has following sub-properties:
- TemplateContent string
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- VersionContexts List<OsTemplate File Version Context> 
- (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
[]OsTemplate File Ancestor Args 
- (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.
- DomainGroup stringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- ModTime string
- (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- The name of the OS Template File that user uploads for unattended installation.
- ObjectType string
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- OsTemplate stringFile Id 
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]OsTemplate File Parent Args 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- PermissionResources []OsTemplate File Permission Resource Args 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Placeholders []string
- (Array of schema.TypeString) -
- 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.
- 
[]OsTemplate File Tag Args 
- This complex property has following sub-properties:
- TemplateContent string
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- VersionContexts []OsTemplate File Version Context Args 
- (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<OsTemplate File Ancestor> 
- (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.
- domainGroup StringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- modTime String
- (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- The name of the OS Template File that user uploads for unattended installation.
- objectType String
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- osTemplate StringFile Id 
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<OsTemplate File Parent> 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permissionResources List<OsTemplate File Permission Resource> 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- placeholders List<String>
- (Array of schema.TypeString) -
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- 
List<OsTemplate File Tag> 
- This complex property has following sub-properties:
- templateContent String
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- versionContexts List<OsTemplate File Version Context> 
- (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
OsTemplate File Ancestor[] 
- (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.
- domainGroup stringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- modTime string
- (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- name string
- The name of the OS Template File that user uploads for unattended installation.
- objectType string
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- osTemplate stringFile Id 
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
OsTemplate File Parent[] 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permissionResources OsTemplate File Permission Resource[] 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- placeholders string[]
- (Array of schema.TypeString) -
- 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.
- 
OsTemplate File Tag[] 
- This complex property has following sub-properties:
- templateContent string
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- versionContexts OsTemplate File Version Context[] 
- (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_moid str
- (ReadOnly) The Account ID for this managed object.
- additional_properties str
- ancestors
Sequence[OsTemplate File Ancestor Args] 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class_id str
- The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- create_time str
- (ReadOnly) The time when this managed object was created.
- domain_group_ strmoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- 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
- The name of the OS Template File that user uploads for unattended installation.
- object_type str
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- os_template_ strfile_ id 
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[OsTemplate File Parent Args] 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission_resources Sequence[OsTemplate File Permission Resource Args] 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- placeholders Sequence[str]
- (Array of schema.TypeString) -
- str
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- 
Sequence[OsTemplate File Tag Args] 
- This complex property has following sub-properties:
- template_content str
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- version_contexts Sequence[OsTemplate File Version Context Args] 
- (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.
- domainGroup StringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- modTime String
- (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- The name of the OS Template File that user uploads for unattended installation.
- objectType String
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- osTemplate StringFile Id 
- 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:
- placeholders List<String>
- (Array of schema.TypeString) -
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Property Map>
- This complex property has following sub-properties:
- templateContent String
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- 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 OsTemplateFile 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 OsTemplateFile Resource
Get an existing OsTemplateFile 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?: OsTemplateFileState, opts?: CustomResourceOptions): OsTemplateFile@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[OsTemplateFileAncestorArgs]] = None,
        class_id: Optional[str] = None,
        create_time: Optional[str] = None,
        domain_group_moid: Optional[str] = None,
        mod_time: Optional[str] = None,
        moid: Optional[str] = None,
        name: Optional[str] = None,
        object_type: Optional[str] = None,
        os_template_file_id: Optional[str] = None,
        owners: Optional[Sequence[str]] = None,
        parents: Optional[Sequence[OsTemplateFileParentArgs]] = None,
        permission_resources: Optional[Sequence[OsTemplateFilePermissionResourceArgs]] = None,
        placeholders: Optional[Sequence[str]] = None,
        shared_scope: Optional[str] = None,
        tags: Optional[Sequence[OsTemplateFileTagArgs]] = None,
        template_content: Optional[str] = None,
        version_contexts: Optional[Sequence[OsTemplateFileVersionContextArgs]] = None) -> OsTemplateFilefunc GetOsTemplateFile(ctx *Context, name string, id IDInput, state *OsTemplateFileState, opts ...ResourceOption) (*OsTemplateFile, error)public static OsTemplateFile Get(string name, Input<string> id, OsTemplateFileState? state, CustomResourceOptions? opts = null)public static OsTemplateFile get(String name, Output<String> id, OsTemplateFileState state, CustomResourceOptions options)resources:  _:    type: intersight:OsTemplateFile    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.
- AccountMoid string
- (ReadOnly) The Account ID for this managed object.
- AdditionalProperties string
- Ancestors
List<OsTemplate File Ancestor> 
- (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.
- DomainGroup stringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- ModTime string
- (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- The name of the OS Template File that user uploads for unattended installation.
- ObjectType string
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- OsTemplate stringFile Id 
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<OsTemplate File Parent> 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- PermissionResources List<OsTemplate File Permission Resource> 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Placeholders List<string>
- (Array of schema.TypeString) -
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- 
List<OsTemplate File Tag> 
- This complex property has following sub-properties:
- TemplateContent string
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- VersionContexts List<OsTemplate File Version Context> 
- (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
[]OsTemplate File Ancestor Args 
- (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.
- DomainGroup stringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- ModTime string
- (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Name string
- The name of the OS Template File that user uploads for unattended installation.
- ObjectType string
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- OsTemplate stringFile Id 
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]OsTemplate File Parent Args 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- PermissionResources []OsTemplate File Permission Resource Args 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Placeholders []string
- (Array of schema.TypeString) -
- 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.
- 
[]OsTemplate File Tag Args 
- This complex property has following sub-properties:
- TemplateContent string
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- VersionContexts []OsTemplate File Version Context Args 
- (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<OsTemplate File Ancestor> 
- (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.
- domainGroup StringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- modTime String
- (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- The name of the OS Template File that user uploads for unattended installation.
- objectType String
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- osTemplate StringFile Id 
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<OsTemplate File Parent> 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permissionResources List<OsTemplate File Permission Resource> 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- placeholders List<String>
- (Array of schema.TypeString) -
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- 
List<OsTemplate File Tag> 
- This complex property has following sub-properties:
- templateContent String
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- versionContexts List<OsTemplate File Version Context> 
- (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
OsTemplate File Ancestor[] 
- (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.
- domainGroup stringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- modTime string
- (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- name string
- The name of the OS Template File that user uploads for unattended installation.
- objectType string
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- osTemplate stringFile Id 
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
OsTemplate File Parent[] 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permissionResources OsTemplate File Permission Resource[] 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- placeholders string[]
- (Array of schema.TypeString) -
- 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.
- 
OsTemplate File Tag[] 
- This complex property has following sub-properties:
- templateContent string
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- versionContexts OsTemplate File Version Context[] 
- (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_moid str
- (ReadOnly) The Account ID for this managed object.
- additional_properties str
- ancestors
Sequence[OsTemplate File Ancestor Args] 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class_id str
- The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data.
- create_time str
- (ReadOnly) The time when this managed object was created.
- domain_group_ strmoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- 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
- The name of the OS Template File that user uploads for unattended installation.
- object_type str
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- os_template_ strfile_ id 
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[OsTemplate File Parent Args] 
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission_resources Sequence[OsTemplate File Permission Resource Args] 
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- placeholders Sequence[str]
- (Array of schema.TypeString) -
- str
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- 
Sequence[OsTemplate File Tag Args] 
- This complex property has following sub-properties:
- template_content str
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- version_contexts Sequence[OsTemplate File Version Context Args] 
- (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.
- domainGroup StringMoid 
- (ReadOnly) The DomainGroup ID for this managed object.
- modTime String
- (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- name String
- The name of the OS Template File that user uploads for unattended installation.
- objectType String
- The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property.
- osTemplate StringFile Id 
- 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:
- placeholders List<String>
- (Array of schema.TypeString) -
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Property Map>
- This complex property has following sub-properties:
- templateContent String
- The content of the entire template file is stored as value. The contentcan either be a static file content or a template content.The template is expected to conform to the golang template syntax. The placeholders, if any, would be populated and the values provided would be used to populate this template.
- versionContexts List<Property Map>
- (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Supporting Types
OsTemplateFileAncestor, OsTemplateFileAncestorArgs        
- 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'.
OsTemplateFileParent, OsTemplateFileParentArgs        
- 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'.
OsTemplateFilePermissionResource, OsTemplateFilePermissionResourceArgs          
- 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'.
OsTemplateFileTag, OsTemplateFileTagArgs        
- 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.
OsTemplateFileVersionContext, OsTemplateFileVersionContextArgs          
- AdditionalProperties string
- ClassId string
- InterestedMos List<OsTemplate File Version Context Interested Mo> 
- This complex property has following sub-properties:
- MarkedFor boolDeletion 
- (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- 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<OsTemplate File Version Context Ref Mo> 
- (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- Timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- 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 []OsTemplate File Version Context Interested Mo 
- This complex property has following sub-properties:
- MarkedFor boolDeletion 
- (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- 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 []OsTemplate File Version Context Ref Mo 
- (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- Timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- 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<OsTemplate File Version Context Interested Mo> 
- This complex property has following sub-properties:
- markedFor BooleanDeletion 
- (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- 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<OsTemplate File Version Context Ref Mo> 
- (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp String
- (ReadOnly) The time this versioned Managed Object was created.
- 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 OsTemplate File Version Context Interested Mo[] 
- This complex property has following sub-properties:
- markedFor booleanDeletion 
- (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- 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 OsTemplate File Version Context Ref Mo[] 
- (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- 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[OsTemplate File Version Context Interested Mo] 
- This complex property has following sub-properties:
- marked_for_ booldeletion 
- (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr_version str
- (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object_type str
- The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref_mos Sequence[OsTemplate File Version Context Ref Mo] 
- (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp str
- (ReadOnly) The time this versioned Managed Object was created.
- version_type str
- (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.* Modified- Version created every time an object is modified.*Configured- Version created every time an object is configured to the service profile.*Deployed- Version created for objects related to a service profile when it is deployed.
- additionalProperties String
- classId String
- interestedMos List<Property Map>
- This complex property has following sub-properties:
- markedFor BooleanDeletion 
- (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- 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.
OsTemplateFileVersionContextInterestedMo, OsTemplateFileVersionContextInterestedMoArgs              
- 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'.
OsTemplateFileVersionContextRefMo, OsTemplateFileVersionContextRefMoArgs              
- 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_os_template_file can be imported using the Moid of the object, e.g.
$ pulumi import intersight:index/osTemplateFile:OsTemplateFile 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 intersightTerraform Provider.