nutanix.NdbMaintenanceTask
Explore with Pulumi AI
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:
- Maintenance
Window stringId - maintenance window id which has to be associated
- Dbserver
Clusters List<string> - dbserver cluster ids. Conflicts with "dbserver_id"
- Dbserver
Ids List<string> - dbserver vm id. Conflicts with "dbserver_cluster"
- Tasks
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Maintenance Task Task> - task input for Operating System Patching or Database Patching or both
- Maintenance
Window stringId - maintenance window id which has to be associated
- Dbserver
Clusters []string - dbserver cluster ids. Conflicts with "dbserver_id"
- Dbserver
Ids []string - dbserver vm id. Conflicts with "dbserver_cluster"
- Tasks
[]Ndb
Maintenance Task Task Args - task input for Operating System Patching or Database Patching or both
- maintenance
Window StringId - maintenance window id which has to be associated
- dbserver
Clusters List<String> - dbserver cluster ids. Conflicts with "dbserver_id"
- dbserver
Ids List<String> - dbserver vm id. Conflicts with "dbserver_cluster"
- tasks
List<Ndb
Maintenance Task Task> - task input for Operating System Patching or Database Patching or both
- maintenance
Window stringId - maintenance window id which has to be associated
- dbserver
Clusters string[] - dbserver cluster ids. Conflicts with "dbserver_id"
- dbserver
Ids string[] - dbserver vm id. Conflicts with "dbserver_cluster"
- tasks
Ndb
Maintenance Task Task[] - task input for Operating System Patching or Database Patching or both
- maintenance_
window_ strid - 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[Ndb
Maintenance Task Task Args] - task input for Operating System Patching or Database Patching or both
- maintenance
Window StringId - maintenance window id which has to be associated
- dbserver
Clusters List<String> - dbserver cluster ids. Conflicts with "dbserver_id"
- dbserver
Ids 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:
- Entity
Task List<PiersAssociations Karsenbarg. Nutanix. Outputs. Ndb Maintenance Task Entity Task Association> - Entity Task Association List.
- Id string
- The provider-assigned unique ID for this managed resource.
- Entity
Task []NdbAssociations Maintenance Task Entity Task Association - Entity Task Association List.
- Id string
- The provider-assigned unique ID for this managed resource.
- entity
Task List<NdbAssociations Maintenance Task Entity Task Association> - Entity Task Association List.
- id String
- The provider-assigned unique ID for this managed resource.
- entity
Task NdbAssociations Maintenance Task Entity Task Association[] - Entity Task Association List.
- id string
- The provider-assigned unique ID for this managed resource.
- entity_
task_ Sequence[Ndbassociations Maintenance Task Entity Task Association] - Entity Task Association List.
- id str
- The provider-assigned unique ID for this managed resource.
- entity
Task List<Property Map>Associations - 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.
- Dbserver
Clusters List<string> - dbserver cluster ids. Conflicts with "dbserver_id"
- Dbserver
Ids List<string> - dbserver vm id. Conflicts with "dbserver_cluster"
- Entity
Task List<PiersAssociations Karsenbarg. Nutanix. Inputs. Ndb Maintenance Task Entity Task Association> - Entity Task Association List.
- Maintenance
Window stringId - maintenance window id which has to be associated
- Tasks
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Maintenance Task Task> - task input for Operating System Patching or Database Patching or both
- Dbserver
Clusters []string - dbserver cluster ids. Conflicts with "dbserver_id"
- Dbserver
Ids []string - dbserver vm id. Conflicts with "dbserver_cluster"
- Entity
Task []NdbAssociations Maintenance Task Entity Task Association Args - Entity Task Association List.
- Maintenance
Window stringId - maintenance window id which has to be associated
- Tasks
[]Ndb
Maintenance Task Task Args - task input for Operating System Patching or Database Patching or both
- dbserver
Clusters List<String> - dbserver cluster ids. Conflicts with "dbserver_id"
- dbserver
Ids List<String> - dbserver vm id. Conflicts with "dbserver_cluster"
- entity
Task List<NdbAssociations Maintenance Task Entity Task Association> - Entity Task Association List.
- maintenance
Window StringId - maintenance window id which has to be associated
- tasks
List<Ndb
Maintenance Task Task> - task input for Operating System Patching or Database Patching or both
- dbserver
Clusters string[] - dbserver cluster ids. Conflicts with "dbserver_id"
- dbserver
Ids string[] - dbserver vm id. Conflicts with "dbserver_cluster"
- entity
Task NdbAssociations Maintenance Task Entity Task Association[] - Entity Task Association List.
- maintenance
Window stringId - maintenance window id which has to be associated
- tasks
Ndb
Maintenance Task Task[] - 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_ Sequence[Ndbassociations Maintenance Task Entity Task Association Args] - Entity Task Association List.
- maintenance_
window_ strid - maintenance window id which has to be associated
- tasks
Sequence[Ndb
Maintenance Task Task Args] - task input for Operating System Patching or Database Patching or both
- dbserver
Clusters List<String> - dbserver cluster ids. Conflicts with "dbserver_id"
- dbserver
Ids List<String> - dbserver vm id. Conflicts with "dbserver_cluster"
- entity
Task List<Property Map>Associations - Entity Task Association List.
- maintenance
Window StringId - 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
- Access
Level string - access level of tasks
- Date
Created string - created date of task
- Date
Modified string - modified date of task
- Description string
- description of maintenance window
- Entity string
- Entity
Id string - entity id
- Entity
Type string - type of the entity. i.e. DBSERVER
- Id string
- id of maintenance window
- Maintenance
Window stringId - maintenance window id which has to be associated
- Maintenance
Window stringOwner Id - maintenance window owner id
- Name string
- name of of maintenance window
- Owner
Id string - owner id of task
- Payloads
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Maintenance Task Entity Task Association Payload> - list of pre post commands of OS or DB task
- Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Maintenance Task Entity Task Association Property> - properties of task
- Status string
- status of task
- List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Maintenance Task Entity Task Association Tag> - tags of task
- Task
Type string - type of the task. OS or DB
- Access
Level string - access level of tasks
- Date
Created string - created date of task
- Date
Modified string - modified date of task
- Description string
- description of maintenance window
- Entity string
- Entity
Id string - entity id
- Entity
Type string - type of the entity. i.e. DBSERVER
- Id string
- id of maintenance window
- Maintenance
Window stringId - maintenance window id which has to be associated
- Maintenance
Window stringOwner Id - maintenance window owner id
- Name string
- name of of maintenance window
- Owner
Id string - owner id of task
- Payloads
[]Ndb
Maintenance Task Entity Task Association Payload - list of pre post commands of OS or DB task
- Properties
[]Ndb
Maintenance Task Entity Task Association Property - properties of task
- Status string
- status of task
- []Ndb
Maintenance Task Entity Task Association Tag - tags of task
- Task
Type string - type of the task. OS or DB
- access
Level String - access level of tasks
- date
Created String - created date of task
- date
Modified String - modified date of task
- description String
- description of maintenance window
- entity String
- entity
Id String - entity id
- entity
Type String - type of the entity. i.e. DBSERVER
- id String
- id of maintenance window
- maintenance
Window StringId - maintenance window id which has to be associated
- maintenance
Window StringOwner Id - maintenance window owner id
- name String
- name of of maintenance window
- owner
Id String - owner id of task
- payloads
List<Ndb
Maintenance Task Entity Task Association Payload> - list of pre post commands of OS or DB task
- properties
List<Ndb
Maintenance Task Entity Task Association Property> - properties of task
- status String
- status of task
- List<Ndb
Maintenance Task Entity Task Association Tag> - tags of task
- task
Type String - type of the task. OS or DB
- access
Level string - access level of tasks
- date
Created string - created date of task
- date
Modified string - modified date of task
- description string
- description of maintenance window
- entity string
- entity
Id string - entity id
- entity
Type string - type of the entity. i.e. DBSERVER
- id string
- id of maintenance window
- maintenance
Window stringId - maintenance window id which has to be associated
- maintenance
Window stringOwner Id - maintenance window owner id
- name string
- name of of maintenance window
- owner
Id string - owner id of task
- payloads
Ndb
Maintenance Task Entity Task Association Payload[] - list of pre post commands of OS or DB task
- properties
Ndb
Maintenance Task Entity Task Association Property[] - properties of task
- status string
- status of task
- Ndb
Maintenance Task Entity Task Association Tag[] - tags of task
- task
Type 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_ strid - maintenance window id which has to be associated
- maintenance_
window_ strowner_ id - maintenance window owner id
- name str
- name of of maintenance window
- owner_
id str - owner id of task
- payloads
Sequence[Ndb
Maintenance Task Entity Task Association Payload] - list of pre post commands of OS or DB task
- properties
Sequence[Ndb
Maintenance Task Entity Task Association Property] - properties of task
- status str
- status of task
- Sequence[Ndb
Maintenance Task Entity Task Association Tag] - tags of task
- task_
type str - type of the task. OS or DB
- access
Level String - access level of tasks
- date
Created String - created date of task
- date
Modified String - modified date of task
- description String
- description of maintenance window
- entity String
- entity
Id String - entity id
- entity
Type String - type of the entity. i.e. DBSERVER
- id String
- id of maintenance window
- maintenance
Window StringId - maintenance window id which has to be associated
- maintenance
Window StringOwner Id - maintenance window owner id
- name String
- name of of maintenance window
- owner
Id 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
- List<Property Map>
- tags of task
- task
Type String - type of the task. OS or DB
NdbMaintenanceTaskEntityTaskAssociationPayload, NdbMaintenanceTaskEntityTaskAssociationPayloadArgs
- Pre
Post []NdbCommands Maintenance Task Entity Task Association Payload Pre Post Command - Pre Post command of Task
- pre
Post List<NdbCommands Maintenance Task Entity Task Association Payload Pre Post Command> - Pre Post command of Task
- pre
Post NdbCommands Maintenance Task Entity Task Association Payload Pre Post Command[] - Pre Post command of Task
- pre_
post_ Sequence[Ndbcommands Maintenance Task Entity Task Association Payload Pre Post Command] - Pre Post command of Task
- pre
Post List<Property Map>Commands - Pre Post command of Task
NdbMaintenanceTaskEntityTaskAssociationPayloadPrePostCommand, NdbMaintenanceTaskEntityTaskAssociationPayloadPrePostCommandArgs
- Post
Command string - post command of task
- Pre
Command string - pre command of task
- Post
Command string - post command of task
- Pre
Command string - pre command of task
- post
Command String - post command of task
- pre
Command String - pre command of task
- post
Command string - post command of task
- pre
Command string - pre command of task
- post_
command str - post command of task
- pre_
command str - pre command of task
- post
Command String - post command of task
- pre
Command String - pre command of task
NdbMaintenanceTaskEntityTaskAssociationProperty, NdbMaintenanceTaskEntityTaskAssociationPropertyArgs
NdbMaintenanceTaskEntityTaskAssociationTag, NdbMaintenanceTaskEntityTaskAssociationTagArgs
- Entity
Id string - entity id
- Entity
Type string - type of the entity. i.e. DBSERVER
- Tag
Id string - Tag
Name string - Value string
- Entity
Id string - entity id
- Entity
Type string - type of the entity. i.e. DBSERVER
- Tag
Id string - Tag
Name string - Value string
- entity
Id String - entity id
- entity
Type String - type of the entity. i.e. DBSERVER
- tag
Id String - tag
Name String - value String
- entity
Id string - entity id
- entity
Type string - type of the entity. i.e. DBSERVER
- tag
Id string - tag
Name 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
- entity
Id String - entity id
- entity
Type String - type of the entity. i.e. DBSERVER
- tag
Id String - tag
Name String - value String
NdbMaintenanceTaskTask, NdbMaintenanceTaskTaskArgs
- Post
Command string - command that you want to run after patching the OS/DB
- Pre
Command string - command that you want to run before patching the OS/DB
- Task
Type string - type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
- Post
Command string - command that you want to run after patching the OS/DB
- Pre
Command string - command that you want to run before patching the OS/DB
- Task
Type string - type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
- post
Command String - command that you want to run after patching the OS/DB
- pre
Command String - command that you want to run before patching the OS/DB
- task
Type String - type of task. Supports [ "OS_PATCHING", "DB_PATCHING" ]
- post
Command string - command that you want to run after patching the OS/DB
- pre
Command string - command that you want to run before patching the OS/DB
- task
Type 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" ]
- post
Command String - command that you want to run after patching the OS/DB
- pre
Command String - command that you want to run before patching the OS/DB
- task
Type 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.