azure-native.vmwarecloudsimple.DedicatedCloudService
Explore with Pulumi AI
Dedicated cloud service model API Version: 2019-04-01.
Example Usage
CreateDedicatedCloudService
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dedicatedCloudService = new AzureNative.VMwareCloudSimple.DedicatedCloudService("dedicatedCloudService", new()
{
DedicatedCloudServiceName = "myService",
GatewaySubnet = "10.0.0.0",
Location = "westus",
ResourceGroupName = "myResourceGroup",
});
});
package main
import (
vmwarecloudsimple "github.com/pulumi/pulumi-azure-native-sdk/vmwarecloudsimple"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vmwarecloudsimple.NewDedicatedCloudService(ctx, "dedicatedCloudService", &vmwarecloudsimple.DedicatedCloudServiceArgs{
DedicatedCloudServiceName: pulumi.String("myService"),
GatewaySubnet: pulumi.String("10.0.0.0"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("myResourceGroup"),
})
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.vmwarecloudsimple.DedicatedCloudService;
import com.pulumi.azurenative.vmwarecloudsimple.DedicatedCloudServiceArgs;
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 dedicatedCloudService = new DedicatedCloudService("dedicatedCloudService", DedicatedCloudServiceArgs.builder()
.dedicatedCloudServiceName("myService")
.gatewaySubnet("10.0.0.0")
.location("westus")
.resourceGroupName("myResourceGroup")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
dedicated_cloud_service = azure_native.vmwarecloudsimple.DedicatedCloudService("dedicatedCloudService",
dedicated_cloud_service_name="myService",
gateway_subnet="10.0.0.0",
location="westus",
resource_group_name="myResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dedicatedCloudService = new azure_native.vmwarecloudsimple.DedicatedCloudService("dedicatedCloudService", {
dedicatedCloudServiceName: "myService",
gatewaySubnet: "10.0.0.0",
location: "westus",
resourceGroupName: "myResourceGroup",
});
resources:
dedicatedCloudService:
type: azure-native:vmwarecloudsimple:DedicatedCloudService
properties:
dedicatedCloudServiceName: myService
gatewaySubnet: 10.0.0.0
location: westus
resourceGroupName: myResourceGroup
Create DedicatedCloudService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DedicatedCloudService(name: string, args: DedicatedCloudServiceArgs, opts?: CustomResourceOptions);
@overload
def DedicatedCloudService(resource_name: str,
args: DedicatedCloudServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DedicatedCloudService(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_subnet: Optional[str] = None,
resource_group_name: Optional[str] = None,
dedicated_cloud_service_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDedicatedCloudService(ctx *Context, name string, args DedicatedCloudServiceArgs, opts ...ResourceOption) (*DedicatedCloudService, error)
public DedicatedCloudService(string name, DedicatedCloudServiceArgs args, CustomResourceOptions? opts = null)
public DedicatedCloudService(String name, DedicatedCloudServiceArgs args)
public DedicatedCloudService(String name, DedicatedCloudServiceArgs args, CustomResourceOptions options)
type: azure-native:vmwarecloudsimple:DedicatedCloudService
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 DedicatedCloudServiceArgs
- 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 DedicatedCloudServiceArgs
- 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 DedicatedCloudServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DedicatedCloudServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DedicatedCloudServiceArgs
- 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 dedicatedCloudServiceResource = new AzureNative.Vmwarecloudsimple.DedicatedCloudService("dedicatedCloudServiceResource", new()
{
GatewaySubnet = "string",
ResourceGroupName = "string",
DedicatedCloudServiceName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := vmwarecloudsimple.NewDedicatedCloudService(ctx, "dedicatedCloudServiceResource", &vmwarecloudsimple.DedicatedCloudServiceArgs{
GatewaySubnet: "string",
ResourceGroupName: "string",
DedicatedCloudServiceName: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var dedicatedCloudServiceResource = new DedicatedCloudService("dedicatedCloudServiceResource", DedicatedCloudServiceArgs.builder()
.gatewaySubnet("string")
.resourceGroupName("string")
.dedicatedCloudServiceName("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
dedicated_cloud_service_resource = azure_native.vmwarecloudsimple.DedicatedCloudService("dedicatedCloudServiceResource",
gateway_subnet=string,
resource_group_name=string,
dedicated_cloud_service_name=string,
location=string,
tags={
string: string,
})
const dedicatedCloudServiceResource = new azure_native.vmwarecloudsimple.DedicatedCloudService("dedicatedCloudServiceResource", {
gatewaySubnet: "string",
resourceGroupName: "string",
dedicatedCloudServiceName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:vmwarecloudsimple:DedicatedCloudService
properties:
dedicatedCloudServiceName: string
gatewaySubnet: string
location: string
resourceGroupName: string
tags:
string: string
DedicatedCloudService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DedicatedCloudService resource accepts the following input properties:
- Gateway
Subnet string - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
- Resource
Group stringName - The name of the resource group
- Dedicated
Cloud stringService Name - dedicated cloud Service name
- Location string
- Azure region
- Dictionary<string, string>
- The list of tags
- Gateway
Subnet string - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
- Resource
Group stringName - The name of the resource group
- Dedicated
Cloud stringService Name - dedicated cloud Service name
- Location string
- Azure region
- map[string]string
- The list of tags
- gateway
Subnet String - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
- resource
Group StringName - The name of the resource group
- dedicated
Cloud StringService Name - dedicated cloud Service name
- location String
- Azure region
- Map<String,String>
- The list of tags
- gateway
Subnet string - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
- resource
Group stringName - The name of the resource group
- dedicated
Cloud stringService Name - dedicated cloud Service name
- location string
- Azure region
- {[key: string]: string}
- The list of tags
- gateway_
subnet str - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
- resource_
group_ strname - The name of the resource group
- dedicated_
cloud_ strservice_ name - dedicated cloud Service name
- location str
- Azure region
- Mapping[str, str]
- The list of tags
- gateway
Subnet String - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
- resource
Group StringName - The name of the resource group
- dedicated
Cloud StringService Name - dedicated cloud Service name
- location String
- Azure region
- Map<String>
- The list of tags
Outputs
All input properties are implicitly available as output properties. Additionally, the DedicatedCloudService resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Account stringOnboarded - indicates whether account onboarded or not in a given region
- Name string
- {dedicatedCloudServiceName}
- Nodes int
- total nodes purchased
- Service
URL string - link to a service management web portal
- Type string
- {resourceProviderNamespace}/{resourceType}
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Account stringOnboarded - indicates whether account onboarded or not in a given region
- Name string
- {dedicatedCloudServiceName}
- Nodes int
- total nodes purchased
- Service
URL string - link to a service management web portal
- Type string
- {resourceProviderNamespace}/{resourceType}
- id String
- The provider-assigned unique ID for this managed resource.
- is
Account StringOnboarded - indicates whether account onboarded or not in a given region
- name String
- {dedicatedCloudServiceName}
- nodes Integer
- total nodes purchased
- service
URL String - link to a service management web portal
- type String
- {resourceProviderNamespace}/{resourceType}
- id string
- The provider-assigned unique ID for this managed resource.
- is
Account stringOnboarded - indicates whether account onboarded or not in a given region
- name string
- {dedicatedCloudServiceName}
- nodes number
- total nodes purchased
- service
URL string - link to a service management web portal
- type string
- {resourceProviderNamespace}/{resourceType}
- id str
- The provider-assigned unique ID for this managed resource.
- is_
account_ stronboarded - indicates whether account onboarded or not in a given region
- name str
- {dedicatedCloudServiceName}
- nodes int
- total nodes purchased
- service_
url str - link to a service management web portal
- type str
- {resourceProviderNamespace}/{resourceType}
- id String
- The provider-assigned unique ID for this managed resource.
- is
Account StringOnboarded - indicates whether account onboarded or not in a given region
- name String
- {dedicatedCloudServiceName}
- nodes Number
- total nodes purchased
- service
URL String - link to a service management web portal
- type String
- {resourceProviderNamespace}/{resourceType}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:vmwarecloudsimple:DedicatedCloudService myService /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0