1. Packages
  2. Azure Native
  3. API Docs
  4. vmwarecloudsimple
  5. DedicatedCloudService
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.36.0 published on Monday, Apr 8, 2024 by Pulumi

azure-native.vmwarecloudsimple.DedicatedCloudService

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.36.0 published on Monday, Apr 8, 2024 by Pulumi

    Dedicated cloud service model Azure REST API version: 2019-04-01. Prior API version in Azure Native 1.x: 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 (
    	"github.com/pulumi/pulumi-azure-native-sdk/vmwarecloudsimple/v2"
    	"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.

    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: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    DedicatedCloudServiceName: pulumi.String("string"),
    Location: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var dedicatedCloudServiceResource = new DedicatedCloudService("dedicatedCloudServiceResource", DedicatedCloudServiceArgs.builder()        
        .gatewaySubnet("string")
        .resourceGroupName("string")
        .dedicatedCloudServiceName("string")
        .location("string")
        .tags(Map.of("string", "string"))
        .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:

    GatewaySubnet string
    gateway Subnet for the account. It will collect the subnet address and always treat it as /28
    ResourceGroupName string
    The name of the resource group
    DedicatedCloudServiceName string
    dedicated cloud Service name
    Location string
    Azure region
    Tags Dictionary<string, string>
    The list of tags
    GatewaySubnet string
    gateway Subnet for the account. It will collect the subnet address and always treat it as /28
    ResourceGroupName string
    The name of the resource group
    DedicatedCloudServiceName string
    dedicated cloud Service name
    Location string
    Azure region
    Tags map[string]string
    The list of tags
    gatewaySubnet String
    gateway Subnet for the account. It will collect the subnet address and always treat it as /28
    resourceGroupName String
    The name of the resource group
    dedicatedCloudServiceName String
    dedicated cloud Service name
    location String
    Azure region
    tags Map<String,String>
    The list of tags
    gatewaySubnet string
    gateway Subnet for the account. It will collect the subnet address and always treat it as /28
    resourceGroupName string
    The name of the resource group
    dedicatedCloudServiceName string
    dedicated cloud Service name
    location string
    Azure region
    tags {[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_name str
    The name of the resource group
    dedicated_cloud_service_name str
    dedicated cloud Service name
    location str
    Azure region
    tags Mapping[str, str]
    The list of tags
    gatewaySubnet String
    gateway Subnet for the account. It will collect the subnet address and always treat it as /28
    resourceGroupName String
    The name of the resource group
    dedicatedCloudServiceName String
    dedicated cloud Service name
    location String
    Azure region
    tags 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.
    IsAccountOnboarded string
    indicates whether account onboarded or not in a given region
    Name string
    {dedicatedCloudServiceName}
    Nodes int
    total nodes purchased
    ServiceURL string
    link to a service management web portal
    Type string
    {resourceProviderNamespace}/{resourceType}
    Id string
    The provider-assigned unique ID for this managed resource.
    IsAccountOnboarded string
    indicates whether account onboarded or not in a given region
    Name string
    {dedicatedCloudServiceName}
    Nodes int
    total nodes purchased
    ServiceURL string
    link to a service management web portal
    Type string
    {resourceProviderNamespace}/{resourceType}
    id String
    The provider-assigned unique ID for this managed resource.
    isAccountOnboarded String
    indicates whether account onboarded or not in a given region
    name String
    {dedicatedCloudServiceName}
    nodes Integer
    total nodes purchased
    serviceURL String
    link to a service management web portal
    type String
    {resourceProviderNamespace}/{resourceType}
    id string
    The provider-assigned unique ID for this managed resource.
    isAccountOnboarded string
    indicates whether account onboarded or not in a given region
    name string
    {dedicatedCloudServiceName}
    nodes number
    total nodes purchased
    serviceURL 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_onboarded str
    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.
    isAccountOnboarded String
    indicates whether account onboarded or not in a given region
    name String
    {dedicatedCloudServiceName}
    nodes Number
    total nodes purchased
    serviceURL 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.36.0 published on Monday, Apr 8, 2024 by Pulumi