CacheNodesOperationArgs

data class CacheNodesOperationArgs(val customerResourceName: Output<String>? = null, val location: Output<String>? = null, val properties: Output<CacheNodeOldResponseArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CacheNodesOperationArgs>

Concrete tracked resource types can be created by aliasing this type using a specific property type. Uses Azure REST API version 2023-05-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-05-01-preview.

Example Usage

CacheNodesOperations_CreateorUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cacheNodesOperation = new AzureNative.ConnectedCache.CacheNodesOperation("cacheNodesOperation", new()
{
CustomerResourceName = "lwrsyhvfpcfrwrim",
Location = "westus",
Properties = new AzureNative.ConnectedCache.Inputs.CacheNodeOldResponseArgs
{
StatusCode = "movtzupooyhdqk",
StatusDetails = "quuziibkwtgf",
StatusText = "bjnsrpzaofjntleoesjwammgbi",
},
ResourceGroupName = "rgConnectedCache",
Tags =
{
{ "key8256", "oreqiywrjkmate" },
},
});
});
package main
import (
connectedcache "github.com/pulumi/pulumi-azure-native-sdk/connectedcache/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connectedcache.NewCacheNodesOperation(ctx, "cacheNodesOperation", &connectedcache.CacheNodesOperationArgs{
CustomerResourceName: pulumi.String("lwrsyhvfpcfrwrim"),
Location: pulumi.String("westus"),
Properties: &connectedcache.CacheNodeOldResponseArgs{
StatusCode: pulumi.String("movtzupooyhdqk"),
StatusDetails: pulumi.String("quuziibkwtgf"),
StatusText: pulumi.String("bjnsrpzaofjntleoesjwammgbi"),
},
ResourceGroupName: pulumi.String("rgConnectedCache"),
Tags: pulumi.StringMap{
"key8256": pulumi.String("oreqiywrjkmate"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.connectedcache.CacheNodesOperation;
import com.pulumi.azurenative.connectedcache.CacheNodesOperationArgs;
import com.pulumi.azurenative.connectedcache.inputs.CacheNodeOldResponseArgs;
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 cacheNodesOperation = new CacheNodesOperation("cacheNodesOperation", CacheNodesOperationArgs.builder()
.customerResourceName("lwrsyhvfpcfrwrim")
.location("westus")
.properties(CacheNodeOldResponseArgs.builder()
.statusCode("movtzupooyhdqk")
.statusDetails("quuziibkwtgf")
.statusText("bjnsrpzaofjntleoesjwammgbi")
.build())
.resourceGroupName("rgConnectedCache")
.tags(Map.of("key8256", "oreqiywrjkmate"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:connectedcache:CacheNodesOperation MCCTPTest2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/cacheNodes/{customerResourceName}

Constructors

Link copied to clipboard
constructor(customerResourceName: Output<String>? = null, location: Output<String>? = null, properties: Output<CacheNodeOldResponseArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val customerResourceName: Output<String>? = null

Name of the Customer resource

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard

The resource-specific properties for this resource.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): CacheNodesOperationArgs