nutanix.SelfServiceAppPatch
Explore with Pulumi AI
Run the specified patch on the application by running patch action to update vm configuration, add nics, add disks, add/delete categories.
Example 1: Update VM Configuration
This will run set patch config action in application.
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// Provision Application
const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
bpName: "NAME OF BLUEPRINT",
appName: "NAME OF APPLICATION",
appDescription: "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
const testSelfServiceAppPatch = new nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", {
appUuid: testSelfServiceAppProvision.id,
patchName: "NAME OF PATCH ACTION",
configName: "NAME OF PATCH CONFIG",
});
import pulumi
import pulumi_nutanix as nutanix
# Provision Application
test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
bp_name="NAME OF BLUEPRINT",
app_name="NAME OF APPLICATION",
app_description="DESCRIPTION OF APPLICATION")
# Run patch config (update config)
test_self_service_app_patch = nutanix.SelfServiceAppPatch("testSelfServiceAppPatch",
app_uuid=test_self_service_app_provision.id,
patch_name="NAME OF PATCH ACTION",
config_name="NAME OF PATCH CONFIG")
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 {
// Provision Application
testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
BpName: pulumi.String("NAME OF BLUEPRINT"),
AppName: pulumi.String("NAME OF APPLICATION"),
AppDescription: pulumi.String("DESCRIPTION OF APPLICATION"),
})
if err != nil {
return err
}
// Run patch config (update config)
_, err = nutanix.NewSelfServiceAppPatch(ctx, "testSelfServiceAppPatch", &nutanix.SelfServiceAppPatchArgs{
AppUuid: testSelfServiceAppProvision.ID(),
PatchName: pulumi.String("NAME OF PATCH ACTION"),
ConfigName: pulumi.String("NAME OF PATCH CONFIG"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// Provision Application
var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
{
BpName = "NAME OF BLUEPRINT",
AppName = "NAME OF APPLICATION",
AppDescription = "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
var testSelfServiceAppPatch = new Nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", new()
{
AppUuid = testSelfServiceAppProvision.Id,
PatchName = "NAME OF PATCH ACTION",
ConfigName = "NAME OF PATCH CONFIG",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppProvision;
import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
import com.pulumi.nutanix.SelfServiceAppPatch;
import com.pulumi.nutanix.SelfServiceAppPatchArgs;
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) {
// Provision Application
var testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
.bpName("NAME OF BLUEPRINT")
.appName("NAME OF APPLICATION")
.appDescription("DESCRIPTION OF APPLICATION")
.build());
// Run patch config (update config)
var testSelfServiceAppPatch = new SelfServiceAppPatch("testSelfServiceAppPatch", SelfServiceAppPatchArgs.builder()
.appUuid(testSelfServiceAppProvision.id())
.patchName("NAME OF PATCH ACTION")
.configName("NAME OF PATCH CONFIG")
.build());
}
}
resources:
# Provision Application
testSelfServiceAppProvision:
type: nutanix:SelfServiceAppProvision
properties:
bpName: NAME OF BLUEPRINT
appName: NAME OF APPLICATION
appDescription: DESCRIPTION OF APPLICATION
# Run patch config (update config)
testSelfServiceAppPatch:
type: nutanix:SelfServiceAppPatch
properties:
appUuid: ${testSelfServiceAppProvision.id}
patchName: NAME OF PATCH ACTION
configName: NAME OF PATCH CONFIG
Example 2: Update VM Configuration with runtime editable
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// Provision Application
const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
bpName: "NAME OF BLUEPRINT",
appName: "NAME OF APPLICATION",
appDescription: "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
const testSelfServiceAppPatch = new nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", {
appUuid: testSelfServiceAppProvision.id,
patchName: "NAME OF PATCH ACTION",
configName: "NAME OF PATCH CONFIG",
vmConfigs: [{
memorySizeMib: "SIZE IN MiB",
numSockets: "vCPU count",
numVcpusPerSocket: "NUMBER OF CORES VCPU",
}],
});
import pulumi
import pulumi_nutanix as nutanix
# Provision Application
test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
bp_name="NAME OF BLUEPRINT",
app_name="NAME OF APPLICATION",
app_description="DESCRIPTION OF APPLICATION")
# Run patch config (update config)
test_self_service_app_patch = nutanix.SelfServiceAppPatch("testSelfServiceAppPatch",
app_uuid=test_self_service_app_provision.id,
patch_name="NAME OF PATCH ACTION",
config_name="NAME OF PATCH CONFIG",
vm_configs=[{
"memory_size_mib": "SIZE IN MiB",
"num_sockets": "vCPU count",
"num_vcpus_per_socket": "NUMBER OF CORES VCPU",
}])
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 {
// Provision Application
testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
BpName: pulumi.String("NAME OF BLUEPRINT"),
AppName: pulumi.String("NAME OF APPLICATION"),
AppDescription: pulumi.String("DESCRIPTION OF APPLICATION"),
})
if err != nil {
return err
}
// Run patch config (update config)
_, err = nutanix.NewSelfServiceAppPatch(ctx, "testSelfServiceAppPatch", &nutanix.SelfServiceAppPatchArgs{
AppUuid: testSelfServiceAppProvision.ID(),
PatchName: pulumi.String("NAME OF PATCH ACTION"),
ConfigName: pulumi.String("NAME OF PATCH CONFIG"),
VmConfigs: nutanix.SelfServiceAppPatchVmConfigArray{
&nutanix.SelfServiceAppPatchVmConfigArgs{
MemorySizeMib: pulumi.Int("SIZE IN MiB"),
NumSockets: pulumi.Int("vCPU count"),
NumVcpusPerSocket: pulumi.Int("NUMBER OF CORES VCPU"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// Provision Application
var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
{
BpName = "NAME OF BLUEPRINT",
AppName = "NAME OF APPLICATION",
AppDescription = "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
var testSelfServiceAppPatch = new Nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", new()
{
AppUuid = testSelfServiceAppProvision.Id,
PatchName = "NAME OF PATCH ACTION",
ConfigName = "NAME OF PATCH CONFIG",
VmConfigs = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchVmConfigArgs
{
MemorySizeMib = "SIZE IN MiB",
NumSockets = "vCPU count",
NumVcpusPerSocket = "NUMBER OF CORES VCPU",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppProvision;
import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
import com.pulumi.nutanix.SelfServiceAppPatch;
import com.pulumi.nutanix.SelfServiceAppPatchArgs;
import com.pulumi.nutanix.inputs.SelfServiceAppPatchVmConfigArgs;
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) {
// Provision Application
var testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
.bpName("NAME OF BLUEPRINT")
.appName("NAME OF APPLICATION")
.appDescription("DESCRIPTION OF APPLICATION")
.build());
// Run patch config (update config)
var testSelfServiceAppPatch = new SelfServiceAppPatch("testSelfServiceAppPatch", SelfServiceAppPatchArgs.builder()
.appUuid(testSelfServiceAppProvision.id())
.patchName("NAME OF PATCH ACTION")
.configName("NAME OF PATCH CONFIG")
.vmConfigs(SelfServiceAppPatchVmConfigArgs.builder()
.memorySizeMib("SIZE IN MiB")
.numSockets("vCPU count")
.numVcpusPerSocket("NUMBER OF CORES VCPU")
.build())
.build());
}
}
resources:
# Provision Application
testSelfServiceAppProvision:
type: nutanix:SelfServiceAppProvision
properties:
bpName: NAME OF BLUEPRINT
appName: NAME OF APPLICATION
appDescription: DESCRIPTION OF APPLICATION
# Run patch config (update config)
testSelfServiceAppPatch:
type: nutanix:SelfServiceAppPatch
properties:
appUuid: ${testSelfServiceAppProvision.id}
patchName: NAME OF PATCH ACTION
configName: NAME OF PATCH CONFIG
vmConfigs:
- memorySizeMib: SIZE IN MiB
numSockets: vCPU count
numVcpusPerSocket: NUMBER OF CORES VCPU
Example 3: Add Category
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// Provision Application
const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
bpName: "NAME OF BLUEPRINT",
appName: "NAME OF APPLICATION",
appDescription: "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
const testSelfServiceAppPatch = new nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", {
appUuid: testSelfServiceAppProvision.id,
patchName: "NAME OF PATCH ACTION",
configName: "NAME OF PATCH CONFIG",
categories: [{
value: "CATEGORY TO BE ADDED (KEY:VALUE PAIR)",
operation: "add",
}],
});
import pulumi
import pulumi_nutanix as nutanix
# Provision Application
test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
bp_name="NAME OF BLUEPRINT",
app_name="NAME OF APPLICATION",
app_description="DESCRIPTION OF APPLICATION")
# Run patch config (update config)
test_self_service_app_patch = nutanix.SelfServiceAppPatch("testSelfServiceAppPatch",
app_uuid=test_self_service_app_provision.id,
patch_name="NAME OF PATCH ACTION",
config_name="NAME OF PATCH CONFIG",
categories=[{
"value": "CATEGORY TO BE ADDED (KEY:VALUE PAIR)",
"operation": "add",
}])
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 {
// Provision Application
testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
BpName: pulumi.String("NAME OF BLUEPRINT"),
AppName: pulumi.String("NAME OF APPLICATION"),
AppDescription: pulumi.String("DESCRIPTION OF APPLICATION"),
})
if err != nil {
return err
}
// Run patch config (update config)
_, err = nutanix.NewSelfServiceAppPatch(ctx, "testSelfServiceAppPatch", &nutanix.SelfServiceAppPatchArgs{
AppUuid: testSelfServiceAppProvision.ID(),
PatchName: pulumi.String("NAME OF PATCH ACTION"),
ConfigName: pulumi.String("NAME OF PATCH CONFIG"),
Categories: nutanix.SelfServiceAppPatchCategoryArray{
&nutanix.SelfServiceAppPatchCategoryArgs{
Value: pulumi.String("CATEGORY TO BE ADDED (KEY:VALUE PAIR)"),
Operation: pulumi.String("add"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// Provision Application
var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
{
BpName = "NAME OF BLUEPRINT",
AppName = "NAME OF APPLICATION",
AppDescription = "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
var testSelfServiceAppPatch = new Nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", new()
{
AppUuid = testSelfServiceAppProvision.Id,
PatchName = "NAME OF PATCH ACTION",
ConfigName = "NAME OF PATCH CONFIG",
Categories = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchCategoryArgs
{
Value = "CATEGORY TO BE ADDED (KEY:VALUE PAIR)",
Operation = "add",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppProvision;
import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
import com.pulumi.nutanix.SelfServiceAppPatch;
import com.pulumi.nutanix.SelfServiceAppPatchArgs;
import com.pulumi.nutanix.inputs.SelfServiceAppPatchCategoryArgs;
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) {
// Provision Application
var testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
.bpName("NAME OF BLUEPRINT")
.appName("NAME OF APPLICATION")
.appDescription("DESCRIPTION OF APPLICATION")
.build());
// Run patch config (update config)
var testSelfServiceAppPatch = new SelfServiceAppPatch("testSelfServiceAppPatch", SelfServiceAppPatchArgs.builder()
.appUuid(testSelfServiceAppProvision.id())
.patchName("NAME OF PATCH ACTION")
.configName("NAME OF PATCH CONFIG")
.categories(SelfServiceAppPatchCategoryArgs.builder()
.value("CATEGORY TO BE ADDED (KEY:VALUE PAIR)")
.operation("add")
.build())
.build());
}
}
resources:
# Provision Application
testSelfServiceAppProvision:
type: nutanix:SelfServiceAppProvision
properties:
bpName: NAME OF BLUEPRINT
appName: NAME OF APPLICATION
appDescription: DESCRIPTION OF APPLICATION
# Run patch config (update config)
testSelfServiceAppPatch:
type: nutanix:SelfServiceAppPatch
properties:
appUuid: ${testSelfServiceAppProvision.id}
patchName: NAME OF PATCH ACTION
configName: NAME OF PATCH CONFIG
categories:
- value: CATEGORY TO BE ADDED (KEY:VALUE PAIR)
operation: add
Example 4: Delete Category
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// Provision Application
const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
bpName: "NAME OF BLUEPRINT",
appName: "NAME OF APPLICATION",
appDescription: "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
const testSelfServiceAppPatch = new nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", {
appUuid: testSelfServiceAppProvision.id,
patchName: "NAME OF PATCH ACTION",
configName: "NAME OF PATCH CONFIG",
categories: [{
value: "CATEGORY TO BE ADDED (KEY:VALUE PAIR)",
operation: "delete",
}],
});
import pulumi
import pulumi_nutanix as nutanix
# Provision Application
test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
bp_name="NAME OF BLUEPRINT",
app_name="NAME OF APPLICATION",
app_description="DESCRIPTION OF APPLICATION")
# Run patch config (update config)
test_self_service_app_patch = nutanix.SelfServiceAppPatch("testSelfServiceAppPatch",
app_uuid=test_self_service_app_provision.id,
patch_name="NAME OF PATCH ACTION",
config_name="NAME OF PATCH CONFIG",
categories=[{
"value": "CATEGORY TO BE ADDED (KEY:VALUE PAIR)",
"operation": "delete",
}])
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 {
// Provision Application
testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
BpName: pulumi.String("NAME OF BLUEPRINT"),
AppName: pulumi.String("NAME OF APPLICATION"),
AppDescription: pulumi.String("DESCRIPTION OF APPLICATION"),
})
if err != nil {
return err
}
// Run patch config (update config)
_, err = nutanix.NewSelfServiceAppPatch(ctx, "testSelfServiceAppPatch", &nutanix.SelfServiceAppPatchArgs{
AppUuid: testSelfServiceAppProvision.ID(),
PatchName: pulumi.String("NAME OF PATCH ACTION"),
ConfigName: pulumi.String("NAME OF PATCH CONFIG"),
Categories: nutanix.SelfServiceAppPatchCategoryArray{
&nutanix.SelfServiceAppPatchCategoryArgs{
Value: pulumi.String("CATEGORY TO BE ADDED (KEY:VALUE PAIR)"),
Operation: pulumi.String("delete"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// Provision Application
var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
{
BpName = "NAME OF BLUEPRINT",
AppName = "NAME OF APPLICATION",
AppDescription = "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
var testSelfServiceAppPatch = new Nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", new()
{
AppUuid = testSelfServiceAppProvision.Id,
PatchName = "NAME OF PATCH ACTION",
ConfigName = "NAME OF PATCH CONFIG",
Categories = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchCategoryArgs
{
Value = "CATEGORY TO BE ADDED (KEY:VALUE PAIR)",
Operation = "delete",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppProvision;
import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
import com.pulumi.nutanix.SelfServiceAppPatch;
import com.pulumi.nutanix.SelfServiceAppPatchArgs;
import com.pulumi.nutanix.inputs.SelfServiceAppPatchCategoryArgs;
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) {
// Provision Application
var testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
.bpName("NAME OF BLUEPRINT")
.appName("NAME OF APPLICATION")
.appDescription("DESCRIPTION OF APPLICATION")
.build());
// Run patch config (update config)
var testSelfServiceAppPatch = new SelfServiceAppPatch("testSelfServiceAppPatch", SelfServiceAppPatchArgs.builder()
.appUuid(testSelfServiceAppProvision.id())
.patchName("NAME OF PATCH ACTION")
.configName("NAME OF PATCH CONFIG")
.categories(SelfServiceAppPatchCategoryArgs.builder()
.value("CATEGORY TO BE ADDED (KEY:VALUE PAIR)")
.operation("delete")
.build())
.build());
}
}
resources:
# Provision Application
testSelfServiceAppProvision:
type: nutanix:SelfServiceAppProvision
properties:
bpName: NAME OF BLUEPRINT
appName: NAME OF APPLICATION
appDescription: DESCRIPTION OF APPLICATION
# Run patch config (update config)
testSelfServiceAppPatch:
type: nutanix:SelfServiceAppPatch
properties:
appUuid: ${testSelfServiceAppProvision.id}
patchName: NAME OF PATCH ACTION
configName: NAME OF PATCH CONFIG
categories:
- value: CATEGORY TO BE ADDED (KEY:VALUE PAIR)
operation: delete
Example 5: Add Disk
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// Provision Application
const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
bpName: "NAME OF BLUEPRINT",
appName: "NAME OF APPLICATION",
appDescription: "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
const testSelfServiceAppPatch = new nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", {
appUuid: testSelfServiceAppProvision.id,
patchName: "NAME OF PATCH ACTION",
configName: "NAME OF PATCH CONFIG",
disks: [{
diskSizeMib: "SIZE OF DISK IN MiB",
operation: "add",
}],
});
import pulumi
import pulumi_nutanix as nutanix
# Provision Application
test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
bp_name="NAME OF BLUEPRINT",
app_name="NAME OF APPLICATION",
app_description="DESCRIPTION OF APPLICATION")
# Run patch config (update config)
test_self_service_app_patch = nutanix.SelfServiceAppPatch("testSelfServiceAppPatch",
app_uuid=test_self_service_app_provision.id,
patch_name="NAME OF PATCH ACTION",
config_name="NAME OF PATCH CONFIG",
disks=[{
"disk_size_mib": "SIZE OF DISK IN MiB",
"operation": "add",
}])
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 {
// Provision Application
testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
BpName: pulumi.String("NAME OF BLUEPRINT"),
AppName: pulumi.String("NAME OF APPLICATION"),
AppDescription: pulumi.String("DESCRIPTION OF APPLICATION"),
})
if err != nil {
return err
}
// Run patch config (update config)
_, err = nutanix.NewSelfServiceAppPatch(ctx, "testSelfServiceAppPatch", &nutanix.SelfServiceAppPatchArgs{
AppUuid: testSelfServiceAppProvision.ID(),
PatchName: pulumi.String("NAME OF PATCH ACTION"),
ConfigName: pulumi.String("NAME OF PATCH CONFIG"),
Disks: nutanix.SelfServiceAppPatchDiskArray{
&nutanix.SelfServiceAppPatchDiskArgs{
DiskSizeMib: pulumi.Int("SIZE OF DISK IN MiB"),
Operation: pulumi.String("add"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// Provision Application
var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
{
BpName = "NAME OF BLUEPRINT",
AppName = "NAME OF APPLICATION",
AppDescription = "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
var testSelfServiceAppPatch = new Nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", new()
{
AppUuid = testSelfServiceAppProvision.Id,
PatchName = "NAME OF PATCH ACTION",
ConfigName = "NAME OF PATCH CONFIG",
Disks = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchDiskArgs
{
DiskSizeMib = "SIZE OF DISK IN MiB",
Operation = "add",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppProvision;
import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
import com.pulumi.nutanix.SelfServiceAppPatch;
import com.pulumi.nutanix.SelfServiceAppPatchArgs;
import com.pulumi.nutanix.inputs.SelfServiceAppPatchDiskArgs;
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) {
// Provision Application
var testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
.bpName("NAME OF BLUEPRINT")
.appName("NAME OF APPLICATION")
.appDescription("DESCRIPTION OF APPLICATION")
.build());
// Run patch config (update config)
var testSelfServiceAppPatch = new SelfServiceAppPatch("testSelfServiceAppPatch", SelfServiceAppPatchArgs.builder()
.appUuid(testSelfServiceAppProvision.id())
.patchName("NAME OF PATCH ACTION")
.configName("NAME OF PATCH CONFIG")
.disks(SelfServiceAppPatchDiskArgs.builder()
.diskSizeMib("SIZE OF DISK IN MiB")
.operation("add")
.build())
.build());
}
}
resources:
# Provision Application
testSelfServiceAppProvision:
type: nutanix:SelfServiceAppProvision
properties:
bpName: NAME OF BLUEPRINT
appName: NAME OF APPLICATION
appDescription: DESCRIPTION OF APPLICATION
# Run patch config (update config)
testSelfServiceAppPatch:
type: nutanix:SelfServiceAppPatch
properties:
appUuid: ${testSelfServiceAppProvision.id}
patchName: NAME OF PATCH ACTION
configName: NAME OF PATCH CONFIG
disks:
- diskSizeMib: SIZE OF DISK IN MiB
operation: add
Example 6: Add Nic
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
// Provision Application
const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
bpName: "NAME OF BLUEPRINT",
appName: "NAME OF APPLICATION",
appDescription: "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
const testSelfServiceAppPatch = new nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", {
appUuid: testSelfServiceAppProvision.id,
patchName: "NAME OF PATCH ACTION",
configName: "NAME OF PATCH CONFIG",
nics: [{
index: "DUMMY INDEX VALUE",
operation: "add",
subnetUuid: "VALID SUBNET UUID IN PROJECT ATTACHED TO APP",
}],
});
import pulumi
import pulumi_nutanix as nutanix
# Provision Application
test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
bp_name="NAME OF BLUEPRINT",
app_name="NAME OF APPLICATION",
app_description="DESCRIPTION OF APPLICATION")
# Run patch config (update config)
test_self_service_app_patch = nutanix.SelfServiceAppPatch("testSelfServiceAppPatch",
app_uuid=test_self_service_app_provision.id,
patch_name="NAME OF PATCH ACTION",
config_name="NAME OF PATCH CONFIG",
nics=[{
"index": "DUMMY INDEX VALUE",
"operation": "add",
"subnet_uuid": "VALID SUBNET UUID IN PROJECT ATTACHED TO APP",
}])
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 {
// Provision Application
testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
BpName: pulumi.String("NAME OF BLUEPRINT"),
AppName: pulumi.String("NAME OF APPLICATION"),
AppDescription: pulumi.String("DESCRIPTION OF APPLICATION"),
})
if err != nil {
return err
}
// Run patch config (update config)
_, err = nutanix.NewSelfServiceAppPatch(ctx, "testSelfServiceAppPatch", &nutanix.SelfServiceAppPatchArgs{
AppUuid: testSelfServiceAppProvision.ID(),
PatchName: pulumi.String("NAME OF PATCH ACTION"),
ConfigName: pulumi.String("NAME OF PATCH CONFIG"),
Nics: nutanix.SelfServiceAppPatchNicArray{
&nutanix.SelfServiceAppPatchNicArgs{
Index: pulumi.Int("DUMMY INDEX VALUE"),
Operation: pulumi.String("add"),
SubnetUuid: pulumi.String("VALID SUBNET UUID IN PROJECT ATTACHED TO APP"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
// Provision Application
var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
{
BpName = "NAME OF BLUEPRINT",
AppName = "NAME OF APPLICATION",
AppDescription = "DESCRIPTION OF APPLICATION",
});
// Run patch config (update config)
var testSelfServiceAppPatch = new Nutanix.SelfServiceAppPatch("testSelfServiceAppPatch", new()
{
AppUuid = testSelfServiceAppProvision.Id,
PatchName = "NAME OF PATCH ACTION",
ConfigName = "NAME OF PATCH CONFIG",
Nics = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchNicArgs
{
Index = "DUMMY INDEX VALUE",
Operation = "add",
SubnetUuid = "VALID SUBNET UUID IN PROJECT ATTACHED TO APP",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppProvision;
import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
import com.pulumi.nutanix.SelfServiceAppPatch;
import com.pulumi.nutanix.SelfServiceAppPatchArgs;
import com.pulumi.nutanix.inputs.SelfServiceAppPatchNicArgs;
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) {
// Provision Application
var testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
.bpName("NAME OF BLUEPRINT")
.appName("NAME OF APPLICATION")
.appDescription("DESCRIPTION OF APPLICATION")
.build());
// Run patch config (update config)
var testSelfServiceAppPatch = new SelfServiceAppPatch("testSelfServiceAppPatch", SelfServiceAppPatchArgs.builder()
.appUuid(testSelfServiceAppProvision.id())
.patchName("NAME OF PATCH ACTION")
.configName("NAME OF PATCH CONFIG")
.nics(SelfServiceAppPatchNicArgs.builder()
.index("DUMMY INDEX VALUE")
.operation("add")
.subnetUuid("VALID SUBNET UUID IN PROJECT ATTACHED TO APP")
.build())
.build());
}
}
resources:
# Provision Application
testSelfServiceAppProvision:
type: nutanix:SelfServiceAppProvision
properties:
bpName: NAME OF BLUEPRINT
appName: NAME OF APPLICATION
appDescription: DESCRIPTION OF APPLICATION
# Run patch config (update config)
testSelfServiceAppPatch:
type: nutanix:SelfServiceAppPatch
properties:
appUuid: ${testSelfServiceAppProvision.id}
patchName: NAME OF PATCH ACTION
configName: NAME OF PATCH CONFIG
nics:
- index: DUMMY INDEX VALUE
operation: add
subnetUuid: VALID SUBNET UUID IN PROJECT ATTACHED TO APP
Create SelfServiceAppPatch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SelfServiceAppPatch(name: string, args: SelfServiceAppPatchArgs, opts?: CustomResourceOptions);
@overload
def SelfServiceAppPatch(resource_name: str,
args: SelfServiceAppPatchArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SelfServiceAppPatch(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_uuid: Optional[str] = None,
config_name: Optional[str] = None,
patch_name: Optional[str] = None,
categories: Optional[Sequence[SelfServiceAppPatchCategoryArgs]] = None,
disks: Optional[Sequence[SelfServiceAppPatchDiskArgs]] = None,
nics: Optional[Sequence[SelfServiceAppPatchNicArgs]] = None,
runlog_uuid: Optional[str] = None,
vm_configs: Optional[Sequence[SelfServiceAppPatchVmConfigArgs]] = None)
func NewSelfServiceAppPatch(ctx *Context, name string, args SelfServiceAppPatchArgs, opts ...ResourceOption) (*SelfServiceAppPatch, error)
public SelfServiceAppPatch(string name, SelfServiceAppPatchArgs args, CustomResourceOptions? opts = null)
public SelfServiceAppPatch(String name, SelfServiceAppPatchArgs args)
public SelfServiceAppPatch(String name, SelfServiceAppPatchArgs args, CustomResourceOptions options)
type: nutanix:SelfServiceAppPatch
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 SelfServiceAppPatchArgs
- 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 SelfServiceAppPatchArgs
- 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 SelfServiceAppPatchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SelfServiceAppPatchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SelfServiceAppPatchArgs
- 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 selfServiceAppPatchResource = new Nutanix.SelfServiceAppPatch("selfServiceAppPatchResource", new()
{
AppUuid = "string",
ConfigName = "string",
PatchName = "string",
Categories = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchCategoryArgs
{
Operation = "string",
Value = "string",
},
},
Disks = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchDiskArgs
{
Operation = "string",
DiskSizeMib = 0,
},
},
Nics = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchNicArgs
{
Index = 0,
Operation = "string",
SubnetUuid = "string",
},
},
RunlogUuid = "string",
VmConfigs = new[]
{
new Nutanix.Inputs.SelfServiceAppPatchVmConfigArgs
{
MemorySizeMib = 0,
NumSockets = 0,
NumVcpusPerSocket = 0,
},
},
});
example, err := nutanix.NewSelfServiceAppPatch(ctx, "selfServiceAppPatchResource", &nutanix.SelfServiceAppPatchArgs{
AppUuid: pulumi.String("string"),
ConfigName: pulumi.String("string"),
PatchName: pulumi.String("string"),
Categories: nutanix.SelfServiceAppPatchCategoryArray{
&nutanix.SelfServiceAppPatchCategoryArgs{
Operation: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Disks: nutanix.SelfServiceAppPatchDiskArray{
&nutanix.SelfServiceAppPatchDiskArgs{
Operation: pulumi.String("string"),
DiskSizeMib: pulumi.Int(0),
},
},
Nics: nutanix.SelfServiceAppPatchNicArray{
&nutanix.SelfServiceAppPatchNicArgs{
Index: pulumi.Int(0),
Operation: pulumi.String("string"),
SubnetUuid: pulumi.String("string"),
},
},
RunlogUuid: pulumi.String("string"),
VmConfigs: nutanix.SelfServiceAppPatchVmConfigArray{
&nutanix.SelfServiceAppPatchVmConfigArgs{
MemorySizeMib: pulumi.Int(0),
NumSockets: pulumi.Int(0),
NumVcpusPerSocket: pulumi.Int(0),
},
},
})
var selfServiceAppPatchResource = new SelfServiceAppPatch("selfServiceAppPatchResource", SelfServiceAppPatchArgs.builder()
.appUuid("string")
.configName("string")
.patchName("string")
.categories(SelfServiceAppPatchCategoryArgs.builder()
.operation("string")
.value("string")
.build())
.disks(SelfServiceAppPatchDiskArgs.builder()
.operation("string")
.diskSizeMib(0)
.build())
.nics(SelfServiceAppPatchNicArgs.builder()
.index(0)
.operation("string")
.subnetUuid("string")
.build())
.runlogUuid("string")
.vmConfigs(SelfServiceAppPatchVmConfigArgs.builder()
.memorySizeMib(0)
.numSockets(0)
.numVcpusPerSocket(0)
.build())
.build());
self_service_app_patch_resource = nutanix.SelfServiceAppPatch("selfServiceAppPatchResource",
app_uuid="string",
config_name="string",
patch_name="string",
categories=[{
"operation": "string",
"value": "string",
}],
disks=[{
"operation": "string",
"disk_size_mib": 0,
}],
nics=[{
"index": 0,
"operation": "string",
"subnet_uuid": "string",
}],
runlog_uuid="string",
vm_configs=[{
"memory_size_mib": 0,
"num_sockets": 0,
"num_vcpus_per_socket": 0,
}])
const selfServiceAppPatchResource = new nutanix.SelfServiceAppPatch("selfServiceAppPatchResource", {
appUuid: "string",
configName: "string",
patchName: "string",
categories: [{
operation: "string",
value: "string",
}],
disks: [{
operation: "string",
diskSizeMib: 0,
}],
nics: [{
index: 0,
operation: "string",
subnetUuid: "string",
}],
runlogUuid: "string",
vmConfigs: [{
memorySizeMib: 0,
numSockets: 0,
numVcpusPerSocket: 0,
}],
});
type: nutanix:SelfServiceAppPatch
properties:
appUuid: string
categories:
- operation: string
value: string
configName: string
disks:
- diskSizeMib: 0
operation: string
nics:
- index: 0
operation: string
subnetUuid: string
patchName: string
runlogUuid: string
vmConfigs:
- memorySizeMib: 0
numSockets: 0
numVcpusPerSocket: 0
SelfServiceAppPatch 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 SelfServiceAppPatch resource accepts the following input properties:
- App
Uuid string - (Required) The UUID of the application.
- Config
Name string - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- Patch
Name string - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Self Service App Patch Category> - Disks
List<Piers
Karsenbarg. Nutanix. Inputs. Self Service App Patch Disk> - Nics
List<Piers
Karsenbarg. Nutanix. Inputs. Self Service App Patch Nic> - Runlog
Uuid string - (Computed) The UUID of the runlog that records the patch operation's execution details.
- Vm
Configs List<PiersKarsenbarg. Nutanix. Inputs. Self Service App Patch Vm Config>
- App
Uuid string - (Required) The UUID of the application.
- Config
Name string - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- Patch
Name string - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- Categories
[]Self
Service App Patch Category Args - Disks
[]Self
Service App Patch Disk Args - Nics
[]Self
Service App Patch Nic Args - Runlog
Uuid string - (Computed) The UUID of the runlog that records the patch operation's execution details.
- Vm
Configs []SelfService App Patch Vm Config Args
- app
Uuid String - (Required) The UUID of the application.
- config
Name String - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- patch
Name String - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- categories
List<Self
Service App Patch Category> - disks
List<Self
Service App Patch Disk> - nics
List<Self
Service App Patch Nic> - runlog
Uuid String - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm
Configs List<SelfService App Patch Vm Config>
- app
Uuid string - (Required) The UUID of the application.
- config
Name string - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- patch
Name string - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- categories
Self
Service App Patch Category[] - disks
Self
Service App Patch Disk[] - nics
Self
Service App Patch Nic[] - runlog
Uuid string - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm
Configs SelfService App Patch Vm Config[]
- app_
uuid str - (Required) The UUID of the application.
- config_
name str - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- patch_
name str - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- categories
Sequence[Self
Service App Patch Category Args] - disks
Sequence[Self
Service App Patch Disk Args] - nics
Sequence[Self
Service App Patch Nic Args] - runlog_
uuid str - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm_
configs Sequence[SelfService App Patch Vm Config Args]
- app
Uuid String - (Required) The UUID of the application.
- config
Name String - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- patch
Name String - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- categories List<Property Map>
- disks List<Property Map>
- nics List<Property Map>
- runlog
Uuid String - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm
Configs List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the SelfServiceAppPatch 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 SelfServiceAppPatch Resource
Get an existing SelfServiceAppPatch 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?: SelfServiceAppPatchState, opts?: CustomResourceOptions): SelfServiceAppPatch
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_uuid: Optional[str] = None,
categories: Optional[Sequence[SelfServiceAppPatchCategoryArgs]] = None,
config_name: Optional[str] = None,
disks: Optional[Sequence[SelfServiceAppPatchDiskArgs]] = None,
nics: Optional[Sequence[SelfServiceAppPatchNicArgs]] = None,
patch_name: Optional[str] = None,
runlog_uuid: Optional[str] = None,
vm_configs: Optional[Sequence[SelfServiceAppPatchVmConfigArgs]] = None) -> SelfServiceAppPatch
func GetSelfServiceAppPatch(ctx *Context, name string, id IDInput, state *SelfServiceAppPatchState, opts ...ResourceOption) (*SelfServiceAppPatch, error)
public static SelfServiceAppPatch Get(string name, Input<string> id, SelfServiceAppPatchState? state, CustomResourceOptions? opts = null)
public static SelfServiceAppPatch get(String name, Output<String> id, SelfServiceAppPatchState state, CustomResourceOptions options)
resources: _: type: nutanix:SelfServiceAppPatch 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.
- App
Uuid string - (Required) The UUID of the application.
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Self Service App Patch Category> - Config
Name string - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- Disks
List<Piers
Karsenbarg. Nutanix. Inputs. Self Service App Patch Disk> - Nics
List<Piers
Karsenbarg. Nutanix. Inputs. Self Service App Patch Nic> - Patch
Name string - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- Runlog
Uuid string - (Computed) The UUID of the runlog that records the patch operation's execution details.
- Vm
Configs List<PiersKarsenbarg. Nutanix. Inputs. Self Service App Patch Vm Config>
- App
Uuid string - (Required) The UUID of the application.
- Categories
[]Self
Service App Patch Category Args - Config
Name string - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- Disks
[]Self
Service App Patch Disk Args - Nics
[]Self
Service App Patch Nic Args - Patch
Name string - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- Runlog
Uuid string - (Computed) The UUID of the runlog that records the patch operation's execution details.
- Vm
Configs []SelfService App Patch Vm Config Args
- app
Uuid String - (Required) The UUID of the application.
- categories
List<Self
Service App Patch Category> - config
Name String - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- disks
List<Self
Service App Patch Disk> - nics
List<Self
Service App Patch Nic> - patch
Name String - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- runlog
Uuid String - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm
Configs List<SelfService App Patch Vm Config>
- app
Uuid string - (Required) The UUID of the application.
- categories
Self
Service App Patch Category[] - config
Name string - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- disks
Self
Service App Patch Disk[] - nics
Self
Service App Patch Nic[] - patch
Name string - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- runlog
Uuid string - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm
Configs SelfService App Patch Vm Config[]
- app_
uuid str - (Required) The UUID of the application.
- categories
Sequence[Self
Service App Patch Category Args] - config_
name str - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- disks
Sequence[Self
Service App Patch Disk Args] - nics
Sequence[Self
Service App Patch Nic Args] - patch_
name str - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- runlog_
uuid str - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm_
configs Sequence[SelfService App Patch Vm Config Args]
- app
Uuid String - (Required) The UUID of the application.
- categories List<Property Map>
- config
Name String - (Required) The name of the patch configuration. (Same as patch_name for SINGLE VM)
- disks List<Property Map>
- nics List<Property Map>
- patch
Name String - (Required) The name of the patch to be applied. This is used to identify the action name which needs to be executed to update an application.
- runlog
Uuid String - (Computed) The UUID of the runlog that records the patch operation's execution details.
- vm
Configs List<Property Map>
Supporting Types
SelfServiceAppPatchCategory, SelfServiceAppPatchCategoryArgs
SelfServiceAppPatchDisk, SelfServiceAppPatchDiskArgs
- Operation string
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- Disk
Size intMib - (Optional, integer) The size of the disk to allocate (in MiB).
- Operation string
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- Disk
Size intMib - (Optional, integer) The size of the disk to allocate (in MiB).
- operation String
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- disk
Size IntegerMib - (Optional, integer) The size of the disk to allocate (in MiB).
- operation string
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- disk
Size numberMib - (Optional, integer) The size of the disk to allocate (in MiB).
- operation str
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- disk_
size_ intmib - (Optional, integer) The size of the disk to allocate (in MiB).
- operation String
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- disk
Size NumberMib - (Optional, integer) The size of the disk to allocate (in MiB).
SelfServiceAppPatchNic, SelfServiceAppPatchNicArgs
- Index int
- (Optional, string) The index of the NIC. A dummy string for now.
- Operation string
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- Subnet
Uuid string - (Optional, string) The UUID of the subnet to which the NIC should be attached.
- Index int
- (Optional, string) The index of the NIC. A dummy string for now.
- Operation string
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- Subnet
Uuid string - (Optional, string) The UUID of the subnet to which the NIC should be attached.
- index Integer
- (Optional, string) The index of the NIC. A dummy string for now.
- operation String
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- subnet
Uuid String - (Optional, string) The UUID of the subnet to which the NIC should be attached.
- index number
- (Optional, string) The index of the NIC. A dummy string for now.
- operation string
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- subnet
Uuid string - (Optional, string) The UUID of the subnet to which the NIC should be attached.
- index int
- (Optional, string) The index of the NIC. A dummy string for now.
- operation str
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- subnet_
uuid str - (Optional, string) The UUID of the subnet to which the NIC should be attached.
- index Number
- (Optional, string) The index of the NIC. A dummy string for now.
- operation String
- (Optional) The operation to perform on the category. (e.g. "add", "delete")
- subnet
Uuid String - (Optional, string) The UUID of the subnet to which the NIC should be attached.
SelfServiceAppPatchVmConfig, SelfServiceAppPatchVmConfigArgs
- Memory
Size intMib - (Optional, integer) The amount of memory (in MiB) to allocate for the VM.
- Num
Sockets int - (Optional, integer) The number of vCPUs to assign.
- Num
Vcpus intPer Socket - (Optional, integer) The number of cores per vCPU to assign to the VM.
- Memory
Size intMib - (Optional, integer) The amount of memory (in MiB) to allocate for the VM.
- Num
Sockets int - (Optional, integer) The number of vCPUs to assign.
- Num
Vcpus intPer Socket - (Optional, integer) The number of cores per vCPU to assign to the VM.
- memory
Size IntegerMib - (Optional, integer) The amount of memory (in MiB) to allocate for the VM.
- num
Sockets Integer - (Optional, integer) The number of vCPUs to assign.
- num
Vcpus IntegerPer Socket - (Optional, integer) The number of cores per vCPU to assign to the VM.
- memory
Size numberMib - (Optional, integer) The amount of memory (in MiB) to allocate for the VM.
- num
Sockets number - (Optional, integer) The number of vCPUs to assign.
- num
Vcpus numberPer Socket - (Optional, integer) The number of cores per vCPU to assign to the VM.
- memory_
size_ intmib - (Optional, integer) The amount of memory (in MiB) to allocate for the VM.
- num_
sockets int - (Optional, integer) The number of vCPUs to assign.
- num_
vcpus_ intper_ socket - (Optional, integer) The number of cores per vCPU to assign to the VM.
- memory
Size NumberMib - (Optional, integer) The amount of memory (in MiB) to allocate for the VM.
- num
Sockets Number - (Optional, integer) The number of vCPUs to assign.
- num
Vcpus NumberPer Socket - (Optional, integer) The number of cores per vCPU to assign to the VM.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.