IspCustomerArgs

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

Represents the high level Nodes needed to provision isp customer resources 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

ispCustomer CreateOrUpdate - generated by MaximumSet rule

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ispCustomer = new AzureNative.ConnectedCache.IspCustomer("ispCustomer", new()
{
CustomerResourceName = "MccRPTest2",
Location = "westus",
Properties = new AzureNative.ConnectedCache.Inputs.CustomerPropertyArgs
{
AdditionalCustomerProperties = new AzureNative.ConnectedCache.Inputs.AdditionalCustomerPropertiesArgs
{
CustomerAsn = "hgrelgnrtdkleisnepfolu",
CustomerEmail = "zdjgibsidydyzm",
CustomerEntitlementExpiration = "2024-01-30T00:54:04.773Z",
CustomerEntitlementSkuGuid = "rvzmdpxyflgqetvpwupnfaxsweiiz",
CustomerEntitlementSkuId = "b",
CustomerEntitlementSkuName = "waaqfijr",
CustomerTransitAsn = "habgklnxqzmozqpazoyejwiphezpi",
CustomerTransitState = "voblixkxfejbmhxilb",
OptionalProperty1 = "qhmwxza",
OptionalProperty2 = "l",
OptionalProperty3 = "mblwwvbie",
OptionalProperty4 = "vzuek",
OptionalProperty5 = "fzjodscdfcdr",
},
Customer = new AzureNative.ConnectedCache.Inputs.CustomerEntityArgs
{
ClientTenantId = "fproidkpgvpdnac",
ContactEmail = "xquos",
ContactName = "wxyqjoyoscmvimgwhpitxky",
ContactPhone = "vue",
CustomerName = "mkpzynfqihnjfdbaqbqwyhd",
FullyQualifiedResourceId = "uqsbtgae",
IsEnterpriseManaged = true,
IsEntitled = true,
ReleaseVersion = 20,
ResendSignupCode = true,
ShouldMigrate = true,
VerifySignupCode = true,
VerifySignupPhrase = "tprjvttkgmrqlsyicnidhm",
},
},
ResourceGroupName = "rgConnectedCache",
Tags =
{
{ "key1878", "warz" },
},
});
});
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.NewIspCustomer(ctx, "ispCustomer", &connectedcache.IspCustomerArgs{
CustomerResourceName: pulumi.String("MccRPTest2"),
Location: pulumi.String("westus"),
Properties: &connectedcache.CustomerPropertyArgs{
AdditionalCustomerProperties: &connectedcache.AdditionalCustomerPropertiesArgs{
CustomerAsn: pulumi.String("hgrelgnrtdkleisnepfolu"),
CustomerEmail: pulumi.String("zdjgibsidydyzm"),
CustomerEntitlementExpiration: pulumi.String("2024-01-30T00:54:04.773Z"),
CustomerEntitlementSkuGuid: pulumi.String("rvzmdpxyflgqetvpwupnfaxsweiiz"),
CustomerEntitlementSkuId: pulumi.String("b"),
CustomerEntitlementSkuName: pulumi.String("waaqfijr"),
CustomerTransitAsn: pulumi.String("habgklnxqzmozqpazoyejwiphezpi"),
CustomerTransitState: pulumi.String("voblixkxfejbmhxilb"),
OptionalProperty1: pulumi.String("qhmwxza"),
OptionalProperty2: pulumi.String("l"),
OptionalProperty3: pulumi.String("mblwwvbie"),
OptionalProperty4: pulumi.String("vzuek"),
OptionalProperty5: pulumi.String("fzjodscdfcdr"),
},
Customer: &connectedcache.CustomerEntityArgs{
ClientTenantId: pulumi.String("fproidkpgvpdnac"),
ContactEmail: pulumi.String("xquos"),
ContactName: pulumi.String("wxyqjoyoscmvimgwhpitxky"),
ContactPhone: pulumi.String("vue"),
CustomerName: pulumi.String("mkpzynfqihnjfdbaqbqwyhd"),
FullyQualifiedResourceId: pulumi.String("uqsbtgae"),
IsEnterpriseManaged: pulumi.Bool(true),
IsEntitled: pulumi.Bool(true),
ReleaseVersion: pulumi.Int(20),
ResendSignupCode: pulumi.Bool(true),
ShouldMigrate: pulumi.Bool(true),
VerifySignupCode: pulumi.Bool(true),
VerifySignupPhrase: pulumi.String("tprjvttkgmrqlsyicnidhm"),
},
},
ResourceGroupName: pulumi.String("rgConnectedCache"),
Tags: pulumi.StringMap{
"key1878": pulumi.String("warz"),
},
})
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.IspCustomer;
import com.pulumi.azurenative.connectedcache.IspCustomerArgs;
import com.pulumi.azurenative.connectedcache.inputs.CustomerPropertyArgs;
import com.pulumi.azurenative.connectedcache.inputs.AdditionalCustomerPropertiesArgs;
import com.pulumi.azurenative.connectedcache.inputs.CustomerEntityArgs;
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 ispCustomer = new IspCustomer("ispCustomer", IspCustomerArgs.builder()
.customerResourceName("MccRPTest2")
.location("westus")
.properties(CustomerPropertyArgs.builder()
.additionalCustomerProperties(AdditionalCustomerPropertiesArgs.builder()
.customerAsn("hgrelgnrtdkleisnepfolu")
.customerEmail("zdjgibsidydyzm")
.customerEntitlementExpiration("2024-01-30T00:54:04.773Z")
.customerEntitlementSkuGuid("rvzmdpxyflgqetvpwupnfaxsweiiz")
.customerEntitlementSkuId("b")
.customerEntitlementSkuName("waaqfijr")
.customerTransitAsn("habgklnxqzmozqpazoyejwiphezpi")
.customerTransitState("voblixkxfejbmhxilb")
.optionalProperty1("qhmwxza")
.optionalProperty2("l")
.optionalProperty3("mblwwvbie")
.optionalProperty4("vzuek")
.optionalProperty5("fzjodscdfcdr")
.build())
.customer(CustomerEntityArgs.builder()
.clientTenantId("fproidkpgvpdnac")
.contactEmail("xquos")
.contactName("wxyqjoyoscmvimgwhpitxky")
.contactPhone("vue")
.customerName("mkpzynfqihnjfdbaqbqwyhd")
.fullyQualifiedResourceId("uqsbtgae")
.isEnterpriseManaged(true)
.isEntitled(true)
.releaseVersion(20)
.resendSignupCode(true)
.shouldMigrate(true)
.verifySignupCode(true)
.verifySignupPhrase("tprjvttkgmrqlsyicnidhm")
.build())
.build())
.resourceGroupName("rgConnectedCache")
.tags(Map.of("key1878", "warz"))
.build());
}
}

Import

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

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

Constructors

Link copied to clipboard
constructor(customerResourceName: Output<String>? = null, location: Output<String>? = null, properties: Output<CustomerPropertyArgs>? = 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
val properties: Output<CustomerPropertyArgs>? = null

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(): IspCustomerArgs