1. Packages
  2. Nutanix
  3. API Docs
  4. NdbMaintenanceTask
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

nutanix.NdbMaintenanceTask

Explore with Pulumi AI

nutanix logo
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    Provides a resource to associate a maintenance window with database server VM based on the input parameters.

    Example Usage

    resource to associated maintenance window with OS_PATCHING

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const name = new nutanix.NdbMaintenanceTask("name", {
        dbserverIds: ["{{ dbserver_vm_id }}"],
        maintenanceWindowId: "{{ maintenance_window_id }}",
        tasks: [{
            taskType: "OS_PATCHING",
        }],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    name = nutanix.NdbMaintenanceTask("name",
        dbserver_ids=["{{ dbserver_vm_id }}"],
        maintenance_window_id="{{ maintenance_window_id }}",
        tasks=[{
            "task_type": "OS_PATCHING",
        }])
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewNdbMaintenanceTask(ctx, "name", &nutanix.NdbMaintenanceTaskArgs{
    			DbserverIds: pulumi.StringArray{
    				pulumi.String("{{ dbserver_vm_id }}"),
    			},
    			MaintenanceWindowId: pulumi.String("{{ maintenance_window_id }}"),
    			Tasks: nutanix.NdbMaintenanceTaskTaskArray{
    				&nutanix.NdbMaintenanceTaskTaskArgs{
    					TaskType: pulumi.String("OS_PATCHING"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var name = new Nutanix.NdbMaintenanceTask("name", new()
        {
            DbserverIds = new[]
            {
                "{{ dbserver_vm_id }}",
            },
            MaintenanceWindowId = "{{ maintenance_window_id }}",
            Tasks = new[]
            {
                new Nutanix.Inputs.NdbMaintenanceTaskTaskArgs
                {
                    TaskType = "OS_PATCHING",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NdbMaintenanceTask;
    import com.pulumi.nutanix.NdbMaintenanceTaskArgs;
    import com.pulumi.nutanix.inputs.NdbMaintenanceTaskTaskArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var name = new NdbMaintenanceTask("name", NdbMaintenanceTaskArgs.builder()
                .dbserverIds("{{ dbserver_vm_id }}")
                .maintenanceWindowId("{{ maintenance_window_id }}")
                .tasks(NdbMaintenanceTaskTaskArgs.builder()
                    .taskType("OS_PATCHING")
                    .build())
                .build());
    
        }
    }
    
    resources:
      name:
        type: nutanix:NdbMaintenanceTask
        properties:
          dbserverIds:
            - '{{ dbserver_vm_id }}'
          maintenanceWindowId: '{{ maintenance_window_id }}'
          tasks:
            - taskType: OS_PATCHING
    

    resource to associated maintenance window with DB_PATCHING

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const name = new nutanix.NdbMaintenanceTask("name", {
        dbserverIds: ["{{ dbserver_vm_id }}"],
        maintenanceWindowId: "{{ maintenance_window_id }}",
        tasks: [{
            taskType: "DB_PATCHING",
        }],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    name = nutanix.NdbMaintenanceTask("name",
        dbserver_ids=["{{ dbserver_vm_id }}"],
        maintenance_window_id="{{ maintenance_window_id }}",
        tasks=[{
            "task_type": "DB_PATCHING",
        }])
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewNdbMaintenanceTask(ctx, "name", &nutanix.NdbMaintenanceTaskArgs{
    			DbserverIds: pulumi.StringArray{
    				pulumi.String("{{ dbserver_vm_id }}"),
    			},
    			MaintenanceWindowId: pulumi.String("{{ maintenance_window_id }}"),
    			Tasks: nutanix.NdbMaintenanceTaskTaskArray{
    				&nutanix.NdbMaintenanceTaskTaskArgs{
    					TaskType: pulumi.String("DB_PATCHING"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var name = new Nutanix.NdbMaintenanceTask("name", new()
        {
            DbserverIds = new[]
            {
                "{{ dbserver_vm_id }}",
            },
            MaintenanceWindowId = "{{ maintenance_window_id }}",
            Tasks = new[]
            {
                new Nutanix.Inputs.NdbMaintenanceTaskTaskArgs
                {
                    TaskType = "DB_PATCHING",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NdbMaintenanceTask;
    import com.pulumi.nutanix.NdbMaintenanceTaskArgs;
    import com.pulumi.nutanix.inputs.NdbMaintenanceTaskTaskArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var name = new NdbMaintenanceTask("name", NdbMaintenanceTaskArgs.builder()
                .dbserverIds("{{ dbserver_vm_id }}")
                .maintenanceWindowId("{{ maintenance_window_id }}")
                .tasks(NdbMaintenanceTaskTaskArgs.builder()
                    .taskType("DB_PATCHING")
                    .build())
                .build());
    
        }
    }
    
    resources:
      name:
        type: nutanix:NdbMaintenanceTask
        properties:
          dbserverIds:
            - '{{ dbserver_vm_id }}'
          maintenanceWindowId: '{{ maintenance_window_id }}'
          tasks:
            - taskType: DB_PATCHING
    

    resource to associated maintenance window with pre and post command on each task

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const name = new nutanix.NdbMaintenanceTask("name", {
        dbserverIds: ["{{ dbserver_vm_id }}"],
        maintenanceWindowId: "{{ maintenance_window_id }}",
        tasks: [
            {
                postCommand: "{{ post_command for db patching }}",
                preCommand: "{{ pre_command for db patching }}",
                taskType: "DB_PATCHING",
            },
            {
                postCommand: "{{ post_command for os patching }}",
                preCommand: "{{ pre_command for os patching}}",
                taskType: "OS_PATCHING",
            },
        ],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    name = nutanix.NdbMaintenanceTask("name",
        dbserver_ids=["{{ dbserver_vm_id }}"],
        maintenance_window_id="{{ maintenance_window_id }}",
        tasks=[
            {
                "post_command": "{{ post_command for db patching }}",
                "pre_command": "{{ pre_command for db patching }}",
                "task_type": "DB_PATCHING",
            },
            {
                "post_command": "{{ post_command for os patching }}",
                "pre_command": "{{ pre_command for os patching}}",
                "task_type": "OS_PATCHING",
            },
        ])
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewNdbMaintenanceTask(ctx, "name", &nutanix.NdbMaintenanceTaskArgs{
    			DbserverIds: pulumi.StringArray{
    				pulumi.String("{{ dbserver_vm_id }}"),
    			},
    			MaintenanceWindowId: pulumi.String("{{ maintenance_window_id }}"),
    			Tasks: nutanix.NdbMaintenanceTaskTaskArray{
    				&nutanix.NdbMaintenanceTaskTaskArgs{
    					PostCommand: pulumi.String("{{ post_command for db patching }}"),
    					PreCommand:  pulumi.String("{{ pre_command for db patching }}"),
    					TaskType:    pulumi.String("DB_PATCHING"),
    				},
    				&nutanix.NdbMaintenanceTaskTaskArgs{
    					PostCommand: pulumi.String("{{ post_command for os patching }}"),
    					PreCommand:  pulumi.String("{{ pre_command for os patching}}"),
    					TaskType:    pulumi.String("OS_PATCHING"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var name = new Nutanix.NdbMaintenanceTask("name", new()
        {
            DbserverIds = new[]
            {
                "{{ dbserver_vm_id }}",
            },
            MaintenanceWindowId = "{{ maintenance_window_id }}",
            Tasks = new[]
            {
                new Nutanix.Inputs.NdbMaintenanceTaskTaskArgs
                {
                    PostCommand = "{{ post_command for db patching }}",
                    PreCommand = "{{ pre_command for db patching }}",
                    TaskType = "DB_PATCHING",
                },
                new Nutanix.Inputs.NdbMaintenanceTaskTaskArgs
                {
                    PostCommand = "{{ post_command for os patching }}",
                    PreCommand = "{{ pre_command for os patching}}",
                    TaskType = "OS_PATCHING",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NdbMaintenanceTask;
    import com.pulumi.nutanix.NdbMaintenanceTaskArgs;
    import com.pulumi.nutanix.inputs.NdbMaintenanceTaskTaskArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var name = new NdbMaintenanceTask("name", NdbMaintenanceTaskArgs.builder()
                .dbserverIds("{{ dbserver_vm_id }}")
                .maintenanceWindowId("{{ maintenance_window_id }}")
                .tasks(            
                    NdbMaintenanceTaskTaskArgs.builder()
                        .postCommand("{{ post_command for db patching }}")
                        .preCommand("{{ pre_command for db patching }}")
                        .taskType("DB_PATCHING")
                        .build(),
                    NdbMaintenanceTaskTaskArgs.builder()
                        .postCommand("{{ post_command for os patching }}")
                        .preCommand("{{ pre_command for os patching}}")
                        .taskType("OS_PATCHING")
                        .build())
                .build());
    
        }
    }
    
    resources:
      name:
        type: nutanix:NdbMaintenanceTask
        properties:
          dbserverIds:
            - '{{ dbserver_vm_id }}'
          maintenanceWindowId: '{{ maintenance_window_id }}'
          tasks:
            - postCommand: '{{ post_command for db patching }}'
              preCommand: '{{ pre_command for db patching }}'
              taskType: DB_PATCHING
            - postCommand: '{{ post_command for os patching }}'
              preCommand: '{{ pre_command for os patching}}'
              taskType: OS_PATCHING
    

    Create NdbMaintenanceTask Resource

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

    Constructor syntax

    new NdbMaintenanceTask(name: string, args: NdbMaintenanceTaskArgs, opts?: CustomResourceOptions);
    @overload
    def NdbMaintenanceTask(resource_name: str,
                           args: NdbMaintenanceTaskArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def NdbMaintenanceTask(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           maintenance_window_id: Optional[str] = None,
                           dbserver_clusters: Optional[Sequence[str]] = None,
                           dbserver_ids: Optional[Sequence[str]] = None,
                           tasks: Optional[Sequence[NdbMaintenanceTaskTaskArgs]] = None)
    func NewNdbMaintenanceTask(ctx *Context, name string, args NdbMaintenanceTaskArgs, opts ...ResourceOption) (*NdbMaintenanceTask, error)
    public NdbMaintenanceTask(string name, NdbMaintenanceTaskArgs args, CustomResourceOptions? opts = null)
    public NdbMaintenanceTask(String name, NdbMaintenanceTaskArgs args)
    public NdbMaintenanceTask(String name, NdbMaintenanceTaskArgs args, CustomResourceOptions options)
    
    type: nutanix:NdbMaintenanceTask
    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 NdbMaintenanceTaskArgs
    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 NdbMaintenanceTaskArgs
    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 NdbMaintenanceTaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NdbMaintenanceTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NdbMaintenanceTaskArgs
    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 ndbMaintenanceTaskResource = new Nutanix.NdbMaintenanceTask("ndbMaintenanceTaskResource", new()
    {
        MaintenanceWindowId = "string",
        DbserverClusters = new[]
        {
            "string",
        },
        DbserverIds = new[]
        {
            "string",
        },
        Tasks = new[]
        {
            new Nutanix.Inputs.NdbMaintenanceTaskTaskArgs
            {
                PostCommand = "string",
                PreCommand = "string",
                TaskType = "string",
            },
        },
    });
    
    example, err := nutanix.NewNdbMaintenanceTask(ctx, "ndbMaintenanceTaskResource", &nutanix.NdbMaintenanceTaskArgs{
    	MaintenanceWindowId: pulumi.String("string"),
    	DbserverClusters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DbserverIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tasks: nutanix.NdbMaintenanceTaskTaskArray{
    		&nutanix.NdbMaintenanceTaskTaskArgs{
    			PostCommand: pulumi.String("string"),
    			PreCommand:  pulumi.String("string"),
    			TaskType:    pulumi.String("string"),
    		},
    	},
    })
    
    var ndbMaintenanceTaskResource = new NdbMaintenanceTask("ndbMaintenanceTaskResource", NdbMaintenanceTaskArgs.builder()
        .maintenanceWindowId("string")
        .dbserverClusters("string")
        .dbserverIds("string")
        .tasks(NdbMaintenanceTaskTaskArgs.builder()
            .postCommand("string")
            .preCommand("string")
            .taskType("string")
            .build())
        .build());
    
    ndb_maintenance_task_resource = nutanix.NdbMaintenanceTask("ndbMaintenanceTaskResource",
        maintenance_window_id="string",
        dbserver_clusters=["string"],
        dbserver_ids=["string"],
        tasks=[{
            "post_command": "string",
            "pre_command": "string",
            "task_type": "string",
        }])
    
    const ndbMaintenanceTaskResource = new nutanix.NdbMaintenanceTask("ndbMaintenanceTaskResource", {
        maintenanceWindowId: "string",
        dbserverClusters: ["string"],
        dbserverIds: ["string"],
        tasks: [{
            postCommand: "string",
            preCommand: "string",
            taskType: "string",
        }],
    });
    
    type: nutanix:NdbMaintenanceTask
    properties:
        dbserverClusters:
            - string
        dbserverIds:
            - string
        maintenanceWindowId: string
        tasks:
            - postCommand: string
              preCommand: string
              taskType: string
    

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

    MaintenanceWindowId string
    maintenance window id which has to be associated
    DbserverClusters List<string>
    dbserver cluster ids. Conflicts with "dbserver_id"
    DbserverIds List<string>
    dbserver vm id. Conflicts with "dbserver_cluster"
    Tasks List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceTaskTask>
    task input for Operating System Patching or Database Patching or both
    MaintenanceWindowId string
    maintenance window id which has to be associated
    DbserverClusters []string
    dbserver cluster ids. Conflicts with "dbserver_id"
    DbserverIds []string
    dbserver vm id. Conflicts with "dbserver_cluster"
    Tasks []NdbMaintenanceTaskTaskArgs
    task input for Operating System Patching or Database Patching or both
    maintenanceWindowId String
    maintenance window id which has to be associated
    dbserverClusters List<String>
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserverIds List<String>
    dbserver vm id. Conflicts with "dbserver_cluster"
    tasks List<NdbMaintenanceTaskTask>
    task input for Operating System Patching or Database Patching or both
    maintenanceWindowId string
    maintenance window id which has to be associated
    dbserverClusters string[]
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserverIds string[]
    dbserver vm id. Conflicts with "dbserver_cluster"
    tasks NdbMaintenanceTaskTask[]
    task input for Operating System Patching or Database Patching or both
    maintenance_window_id str
    maintenance window id which has to be associated
    dbserver_clusters Sequence[str]
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserver_ids Sequence[str]
    dbserver vm id. Conflicts with "dbserver_cluster"
    tasks Sequence[NdbMaintenanceTaskTaskArgs]
    task input for Operating System Patching or Database Patching or both
    maintenanceWindowId String
    maintenance window id which has to be associated
    dbserverClusters List<String>
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserverIds List<String>
    dbserver vm id. Conflicts with "dbserver_cluster"
    tasks List<Property Map>
    task input for Operating System Patching or Database Patching or both

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NdbMaintenanceTask resource produces the following output properties:

    EntityTaskAssociations List<PiersKarsenbarg.Nutanix.Outputs.NdbMaintenanceTaskEntityTaskAssociation>
    Entity Task Association List.
    Id string
    The provider-assigned unique ID for this managed resource.
    EntityTaskAssociations []NdbMaintenanceTaskEntityTaskAssociation
    Entity Task Association List.
    Id string
    The provider-assigned unique ID for this managed resource.
    entityTaskAssociations List<NdbMaintenanceTaskEntityTaskAssociation>
    Entity Task Association List.
    id String
    The provider-assigned unique ID for this managed resource.
    entityTaskAssociations NdbMaintenanceTaskEntityTaskAssociation[]
    Entity Task Association List.
    id string
    The provider-assigned unique ID for this managed resource.
    entity_task_associations Sequence[NdbMaintenanceTaskEntityTaskAssociation]
    Entity Task Association List.
    id str
    The provider-assigned unique ID for this managed resource.
    entityTaskAssociations List<Property Map>
    Entity Task Association List.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NdbMaintenanceTask Resource

    Get an existing NdbMaintenanceTask 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?: NdbMaintenanceTaskState, opts?: CustomResourceOptions): NdbMaintenanceTask
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dbserver_clusters: Optional[Sequence[str]] = None,
            dbserver_ids: Optional[Sequence[str]] = None,
            entity_task_associations: Optional[Sequence[NdbMaintenanceTaskEntityTaskAssociationArgs]] = None,
            maintenance_window_id: Optional[str] = None,
            tasks: Optional[Sequence[NdbMaintenanceTaskTaskArgs]] = None) -> NdbMaintenanceTask
    func GetNdbMaintenanceTask(ctx *Context, name string, id IDInput, state *NdbMaintenanceTaskState, opts ...ResourceOption) (*NdbMaintenanceTask, error)
    public static NdbMaintenanceTask Get(string name, Input<string> id, NdbMaintenanceTaskState? state, CustomResourceOptions? opts = null)
    public static NdbMaintenanceTask get(String name, Output<String> id, NdbMaintenanceTaskState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    DbserverClusters List<string>
    dbserver cluster ids. Conflicts with "dbserver_id"
    DbserverIds List<string>
    dbserver vm id. Conflicts with "dbserver_cluster"
    EntityTaskAssociations List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceTaskEntityTaskAssociation>
    Entity Task Association List.
    MaintenanceWindowId string
    maintenance window id which has to be associated
    Tasks List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceTaskTask>
    task input for Operating System Patching or Database Patching or both
    DbserverClusters []string
    dbserver cluster ids. Conflicts with "dbserver_id"
    DbserverIds []string
    dbserver vm id. Conflicts with "dbserver_cluster"
    EntityTaskAssociations []NdbMaintenanceTaskEntityTaskAssociationArgs
    Entity Task Association List.
    MaintenanceWindowId string
    maintenance window id which has to be associated
    Tasks []NdbMaintenanceTaskTaskArgs
    task input for Operating System Patching or Database Patching or both
    dbserverClusters List<String>
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserverIds List<String>
    dbserver vm id. Conflicts with "dbserver_cluster"
    entityTaskAssociations List<NdbMaintenanceTaskEntityTaskAssociation>
    Entity Task Association List.
    maintenanceWindowId String
    maintenance window id which has to be associated
    tasks List<NdbMaintenanceTaskTask>
    task input for Operating System Patching or Database Patching or both
    dbserverClusters string[]
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserverIds string[]
    dbserver vm id. Conflicts with "dbserver_cluster"
    entityTaskAssociations NdbMaintenanceTaskEntityTaskAssociation[]
    Entity Task Association List.
    maintenanceWindowId string
    maintenance window id which has to be associated
    tasks NdbMaintenanceTaskTask[]
    task input for Operating System Patching or Database Patching or both
    dbserver_clusters Sequence[str]
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserver_ids Sequence[str]
    dbserver vm id. Conflicts with "dbserver_cluster"
    entity_task_associations Sequence[NdbMaintenanceTaskEntityTaskAssociationArgs]
    Entity Task Association List.
    maintenance_window_id str
    maintenance window id which has to be associated
    tasks Sequence[NdbMaintenanceTaskTaskArgs]
    task input for Operating System Patching or Database Patching or both
    dbserverClusters List<String>
    dbserver cluster ids. Conflicts with "dbserver_id"
    dbserverIds List<String>
    dbserver vm id. Conflicts with "dbserver_cluster"
    entityTaskAssociations List<Property Map>
    Entity Task Association List.
    maintenanceWindowId String
    maintenance window id which has to be associated
    tasks List<Property Map>
    task input for Operating System Patching or Database Patching or both

    Supporting Types

    NdbMaintenanceTaskEntityTaskAssociation, NdbMaintenanceTaskEntityTaskAssociationArgs

    AccessLevel string
    access level of tasks
    DateCreated string
    created date of task
    DateModified string
    modified date of task
    Description string
    description of maintenance window
    Entity string
    EntityId string
    entity id
    EntityType string
    type of the entity. i.e. DBSERVER
    Id string
    id of maintenance window
    MaintenanceWindowId string
    maintenance window id which has to be associated
    MaintenanceWindowOwnerId string
    maintenance window owner id
    Name string
    name of of maintenance window
    OwnerId string
    owner id of task
    Payloads List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceTaskEntityTaskAssociationPayload>
    list of pre post commands of OS or DB task
    Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceTaskEntityTaskAssociationProperty>
    properties of task
    Status string
    status of task
    Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbMaintenanceTaskEntityTaskAssociationTag>
    tags of task
    TaskType string
    type of the task. OS or DB
    AccessLevel string
    access level of tasks
    DateCreated string
    created date of task
    DateModified string
    modified date of task
    Description string
    description of maintenance window
    Entity string
    EntityId string
    entity id
    EntityType string
    type of the entity. i.e. DBSERVER
    Id string
    id of maintenance window
    MaintenanceWindowId string
    maintenance window id which has to be associated
    MaintenanceWindowOwnerId string
    maintenance window owner id
    Name string
    name of of maintenance window
    OwnerId string
    owner id of task
    Payloads []NdbMaintenanceTaskEntityTaskAssociationPayload
    list of pre post commands of OS or DB task
    Properties []NdbMaintenanceTaskEntityTaskAssociationProperty
    properties of task
    Status string
    status of task
    Tags []NdbMaintenanceTaskEntityTaskAssociationTag
    tags of task
    TaskType string
    type of the task. OS or DB
    accessLevel String
    access level of tasks
    dateCreated String
    created date of task
    dateModified String
    modified date of task
    description String
    description of maintenance window
    entity String
    entityId String
    entity id
    entityType String
    type of the entity. i.e. DBSERVER
    id String
    id of maintenance window
    maintenanceWindowId String
    maintenance window id which has to be associated
    maintenanceWindowOwnerId String
    maintenance window owner id
    name String
    name of of maintenance window
    ownerId String
    owner id of task
    payloads List<NdbMaintenanceTaskEntityTaskAssociationPayload>
    list of pre post commands of OS or DB task
    properties List<NdbMaintenanceTaskEntityTaskAssociationProperty>
    properties of task
    status String
    status of task
    tags List<NdbMaintenanceTaskEntityTaskAssociationTag>
    tags of task
    taskType String
    type of the task. OS or DB
    accessLevel string
    access level of tasks
    dateCreated string
    created date of task
    dateModified string
    modified date of task
    description string
    description of maintenance window
    entity string
    entityId string
    entity id
    entityType string
    type of the entity. i.e. DBSERVER
    id string
    id of maintenance window
    maintenanceWindowId string
    maintenance window id which has to be associated
    maintenanceWindowOwnerId string
    maintenance window owner id
    name string
    name of of maintenance window
    ownerId string
    owner id of task
    payloads NdbMaintenanceTaskEntityTaskAssociationPayload[]
    list of pre post commands of OS or DB task
    properties NdbMaintenanceTaskEntityTaskAssociationProperty[]
    properties of task
    status string
    status of task
    tags NdbMaintenanceTaskEntityTaskAssociationTag[]
    tags of task
    taskType string
    type of the task. OS or DB
    access_level str
    access level of tasks
    date_created str
    created date of task
    date_modified str
    modified date of task
    description str
    description of maintenance window
    entity str
    entity_id str
    entity id
    entity_type str
    type of the entity. i.e. DBSERVER
    id str
    id of maintenance window
    maintenance_window_id str
    maintenance window id which has to be associated
    maintenance_window_owner_id str
    maintenance window owner id
    name str
    name of of maintenance window
    owner_id str
    owner id of task
    payloads Sequence[NdbMaintenanceTaskEntityTaskAssociationPayload]
    list of pre post commands of OS or DB task
    properties Sequence[NdbMaintenanceTaskEntityTaskAssociationProperty]
    properties of task
    status str
    status of task
    tags Sequence[NdbMaintenanceTaskEntityTaskAssociationTag]
    tags of task
    task_type str
    type of the task. OS or DB
    accessLevel String
    access level of tasks
    dateCreated String
    created date of task
    dateModified String
    modified date of task
    description String
    description of maintenance window
    entity String
    entityId String
    entity id
    entityType String
    type of the entity. i.e. DBSERVER
    id String
    id of maintenance window
    maintenanceWindowId String
    maintenance window id which has to be associated
    maintenanceWindowOwnerId String
    maintenance window owner id
    name String
    name of of maintenance window
    ownerId String
    owner id of task
    payloads List<Property Map>
    list of pre post commands of OS or DB task
    properties List<Property Map>
    properties of task
    status String
    status of task
    tags List<Property Map>
    tags of task
    taskType String
    type of the task. OS or DB

    NdbMaintenanceTaskEntityTaskAssociationPayload, NdbMaintenanceTaskEntityTaskAssociationPayloadArgs

    prePostCommands List<Property Map>
    Pre Post command of Task

    NdbMaintenanceTaskEntityTaskAssociationPayloadPrePostCommand, NdbMaintenanceTaskEntityTaskAssociationPayloadPrePostCommandArgs

    PostCommand string
    post command of task
    PreCommand string
    pre command of task
    PostCommand string
    post command of task
    PreCommand string
    pre command of task
    postCommand String
    post command of task
    preCommand String
    pre command of task
    postCommand string
    post command of task
    preCommand string
    pre command of task
    post_command str
    post command of task
    pre_command str
    pre command of task
    postCommand String
    post command of task
    preCommand String
    pre command of task

    NdbMaintenanceTaskEntityTaskAssociationProperty, NdbMaintenanceTaskEntityTaskAssociationPropertyArgs

    Name string
    name of of maintenance window
    Value string
    Name string
    name of of maintenance window
    Value string
    name String
    name of of maintenance window
    value String
    name string
    name of of maintenance window
    value string
    name str
    name of of maintenance window
    value str
    name String
    name of of maintenance window
    value String

    NdbMaintenanceTaskEntityTaskAssociationTag, NdbMaintenanceTaskEntityTaskAssociationTagArgs

    EntityId string
    entity id
    EntityType string
    type of the entity. i.e. DBSERVER
    TagId string
    TagName string
    Value string
    EntityId string
    entity id
    EntityType string
    type of the entity. i.e. DBSERVER
    TagId string
    TagName string
    Value string
    entityId String
    entity id
    entityType String
    type of the entity. i.e. DBSERVER
    tagId String
    tagName String
    value String
    entityId string
    entity id
    entityType string
    type of the entity. i.e. DBSERVER
    tagId string
    tagName string
    value string
    entity_id str
    entity id
    entity_type str
    type of the entity. i.e. DBSERVER
    tag_id str
    tag_name str
    value str
    entityId String
    entity id
    entityType String
    type of the entity. i.e. DBSERVER
    tagId String
    tagName String
    value String

    NdbMaintenanceTaskTask, NdbMaintenanceTaskTaskArgs

    PostCommand string
    command that you want to run after patching the OS/DB
    PreCommand string
    command that you want to run before patching the OS/DB
    TaskType string
    type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
    PostCommand string
    command that you want to run after patching the OS/DB
    PreCommand string
    command that you want to run before patching the OS/DB
    TaskType string
    type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
    postCommand String
    command that you want to run after patching the OS/DB
    preCommand String
    command that you want to run before patching the OS/DB
    taskType String
    type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
    postCommand string
    command that you want to run after patching the OS/DB
    preCommand string
    command that you want to run before patching the OS/DB
    taskType string
    type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
    post_command str
    command that you want to run after patching the OS/DB
    pre_command str
    command that you want to run before patching the OS/DB
    task_type str
    type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
    postCommand String
    command that you want to run after patching the OS/DB
    preCommand String
    command that you want to run before patching the OS/DB
    taskType String
    type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg