1. Packages
  2. Azure Native
  3. API Docs
  4. scvmm
  5. Cloud
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

azure-native.scvmm.Cloud

Explore with Pulumi AI

azure-native logo
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

    The Clouds resource definition. API Version: 2020-06-05-preview.

    Example Usage

    CreateCloud

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloud = new AzureNative.ScVmm.Cloud("cloud", new()
        {
            CloudName = "HRCloud",
            ExtendedLocation = new AzureNative.ScVmm.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso",
                Type = "customLocation",
            },
            Location = "East US",
            ResourceGroupName = "testrg",
            Uuid = "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            VmmServerId = "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer",
        });
    
    });
    
    package main
    
    import (
    	scvmm "github.com/pulumi/pulumi-azure-native-sdk/scvmm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scvmm.NewCloud(ctx, "cloud", &scvmm.CloudArgs{
    			CloudName: pulumi.String("HRCloud"),
    			ExtendedLocation: &scvmm.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"),
    				Type: pulumi.String("customLocation"),
    			},
    			Location:          pulumi.String("East US"),
    			ResourceGroupName: pulumi.String("testrg"),
    			Uuid:              pulumi.String("aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"),
    			VmmServerId:       pulumi.String("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer"),
    		})
    		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.scvmm.Cloud;
    import com.pulumi.azurenative.scvmm.CloudArgs;
    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 cloud = new Cloud("cloud", CloudArgs.builder()        
                .cloudName("HRCloud")
                .extendedLocation(Map.ofEntries(
                    Map.entry("name", "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"),
                    Map.entry("type", "customLocation")
                ))
                .location("East US")
                .resourceGroupName("testrg")
                .uuid("aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
                .vmmServerId("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud = azure_native.scvmm.Cloud("cloud",
        cloud_name="HRCloud",
        extended_location=azure_native.scvmm.ExtendedLocationArgs(
            name="/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso",
            type="customLocation",
        ),
        location="East US",
        resource_group_name="testrg",
        uuid="aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        vmm_server_id="/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cloud = new azure_native.scvmm.Cloud("cloud", {
        cloudName: "HRCloud",
        extendedLocation: {
            name: "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso",
            type: "customLocation",
        },
        location: "East US",
        resourceGroupName: "testrg",
        uuid: "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        vmmServerId: "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer",
    });
    
    resources:
      cloud:
        type: azure-native:scvmm:Cloud
        properties:
          cloudName: HRCloud
          extendedLocation:
            name: /subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso
            type: customLocation
          location: East US
          resourceGroupName: testrg
          uuid: aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
          vmmServerId: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/VMMServers/ContosoVMMServer
    

    Create Cloud Resource

    new Cloud(name: string, args: CloudArgs, opts?: CustomResourceOptions);
    @overload
    def Cloud(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              cloud_name: Optional[str] = None,
              extended_location: Optional[ExtendedLocationArgs] = None,
              inventory_item_id: Optional[str] = None,
              location: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None,
              uuid: Optional[str] = None,
              vmm_server_id: Optional[str] = None)
    @overload
    def Cloud(resource_name: str,
              args: CloudArgs,
              opts: Optional[ResourceOptions] = None)
    func NewCloud(ctx *Context, name string, args CloudArgs, opts ...ResourceOption) (*Cloud, error)
    public Cloud(string name, CloudArgs args, CustomResourceOptions? opts = null)
    public Cloud(String name, CloudArgs args)
    public Cloud(String name, CloudArgs args, CustomResourceOptions options)
    
    type: azure-native:scvmm:Cloud
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args CloudArgs
    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 CloudArgs
    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 CloudArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Cloud 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 Cloud resource accepts the following input properties:

    ExtendedLocation Pulumi.AzureNative.ScVmm.Inputs.ExtendedLocationArgs

    The extended location.

    ResourceGroupName string

    The name of the resource group.

    CloudName string

    Name of the Cloud.

    InventoryItemId string

    Gets or sets the inventory Item ID for the resource.

    Location string

    Gets or sets the location.

    Tags Dictionary<string, string>

    Resource tags

    Uuid string

    Unique ID of the cloud.

    VmmServerId string

    ARM Id of the vmmServer resource in which this resource resides.

    ExtendedLocation ExtendedLocationArgs

    The extended location.

    ResourceGroupName string

    The name of the resource group.

    CloudName string

    Name of the Cloud.

    InventoryItemId string

    Gets or sets the inventory Item ID for the resource.

    Location string

    Gets or sets the location.

    Tags map[string]string

    Resource tags

    Uuid string

    Unique ID of the cloud.

    VmmServerId string

    ARM Id of the vmmServer resource in which this resource resides.

    extendedLocation ExtendedLocationArgs

    The extended location.

    resourceGroupName String

    The name of the resource group.

    cloudName String

    Name of the Cloud.

    inventoryItemId String

    Gets or sets the inventory Item ID for the resource.

    location String

    Gets or sets the location.

    tags Map<String,String>

    Resource tags

    uuid String

    Unique ID of the cloud.

    vmmServerId String

    ARM Id of the vmmServer resource in which this resource resides.

    extendedLocation ExtendedLocationArgs

    The extended location.

    resourceGroupName string

    The name of the resource group.

    cloudName string

    Name of the Cloud.

    inventoryItemId string

    Gets or sets the inventory Item ID for the resource.

    location string

    Gets or sets the location.

    tags {[key: string]: string}

    Resource tags

    uuid string

    Unique ID of the cloud.

    vmmServerId string

    ARM Id of the vmmServer resource in which this resource resides.

    extended_location ExtendedLocationArgs

    The extended location.

    resource_group_name str

    The name of the resource group.

    cloud_name str

    Name of the Cloud.

    inventory_item_id str

    Gets or sets the inventory Item ID for the resource.

    location str

    Gets or sets the location.

    tags Mapping[str, str]

    Resource tags

    uuid str

    Unique ID of the cloud.

    vmm_server_id str

    ARM Id of the vmmServer resource in which this resource resides.

    extendedLocation Property Map

    The extended location.

    resourceGroupName String

    The name of the resource group.

    cloudName String

    Name of the Cloud.

    inventoryItemId String

    Gets or sets the inventory Item ID for the resource.

    location String

    Gets or sets the location.

    tags Map<String>

    Resource tags

    uuid String

    Unique ID of the cloud.

    vmmServerId String

    ARM Id of the vmmServer resource in which this resource resides.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cloud resource produces the following output properties:

    CloudCapacity Pulumi.AzureNative.ScVmm.Outputs.CloudCapacityResponse

    Capacity of the cloud.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    Resource Name

    ProvisioningState string

    Gets or sets the provisioning state.

    StorageQoSPolicies List<Pulumi.AzureNative.ScVmm.Outputs.StorageQoSPolicyResponse>

    List of QoS policies available for the cloud.

    SystemData Pulumi.AzureNative.ScVmm.Outputs.SystemDataResponse

    The system data.

    Type string

    Resource Type

    CloudCapacity CloudCapacityResponse

    Capacity of the cloud.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    Resource Name

    ProvisioningState string

    Gets or sets the provisioning state.

    StorageQoSPolicies []StorageQoSPolicyResponse

    List of QoS policies available for the cloud.

    SystemData SystemDataResponse

    The system data.

    Type string

    Resource Type

    cloudCapacity CloudCapacityResponse

    Capacity of the cloud.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    Resource Name

    provisioningState String

    Gets or sets the provisioning state.

    storageQoSPolicies List<StorageQoSPolicyResponse>

    List of QoS policies available for the cloud.

    systemData SystemDataResponse

    The system data.

    type String

    Resource Type

    cloudCapacity CloudCapacityResponse

    Capacity of the cloud.

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    Resource Name

    provisioningState string

    Gets or sets the provisioning state.

    storageQoSPolicies StorageQoSPolicyResponse[]

    List of QoS policies available for the cloud.

    systemData SystemDataResponse

    The system data.

    type string

    Resource Type

    cloud_capacity CloudCapacityResponse

    Capacity of the cloud.

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    Resource Name

    provisioning_state str

    Gets or sets the provisioning state.

    storage_qo_s_policies Sequence[StorageQoSPolicyResponse]

    List of QoS policies available for the cloud.

    system_data SystemDataResponse

    The system data.

    type str

    Resource Type

    cloudCapacity Property Map

    Capacity of the cloud.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    Resource Name

    provisioningState String

    Gets or sets the provisioning state.

    storageQoSPolicies List<Property Map>

    List of QoS policies available for the cloud.

    systemData Property Map

    The system data.

    type String

    Resource Type

    Supporting Types

    CloudCapacityResponse

    CpuCount double

    CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

    MemoryMB double

    MemoryMB specifies a memory usage limit in megabytes.

    VmCount double

    VMCount gives the max number of VMs that can be deployed in the cloud.

    CpuCount float64

    CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

    MemoryMB float64

    MemoryMB specifies a memory usage limit in megabytes.

    VmCount float64

    VMCount gives the max number of VMs that can be deployed in the cloud.

    cpuCount Double

    CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

    memoryMB Double

    MemoryMB specifies a memory usage limit in megabytes.

    vmCount Double

    VMCount gives the max number of VMs that can be deployed in the cloud.

    cpuCount number

    CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

    memoryMB number

    MemoryMB specifies a memory usage limit in megabytes.

    vmCount number

    VMCount gives the max number of VMs that can be deployed in the cloud.

    cpu_count float

    CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

    memory_mb float

    MemoryMB specifies a memory usage limit in megabytes.

    vm_count float

    VMCount gives the max number of VMs that can be deployed in the cloud.

    cpuCount Number

    CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

    memoryMB Number

    MemoryMB specifies a memory usage limit in megabytes.

    vmCount Number

    VMCount gives the max number of VMs that can be deployed in the cloud.

    ExtendedLocation

    Name string

    The extended location name.

    Type string

    The extended location type.

    Name string

    The extended location name.

    Type string

    The extended location type.

    name String

    The extended location name.

    type String

    The extended location type.

    name string

    The extended location name.

    type string

    The extended location type.

    name str

    The extended location name.

    type str

    The extended location type.

    name String

    The extended location name.

    type String

    The extended location type.

    ExtendedLocationResponse

    Name string

    The extended location name.

    Type string

    The extended location type.

    Name string

    The extended location name.

    Type string

    The extended location type.

    name String

    The extended location name.

    type String

    The extended location type.

    name string

    The extended location name.

    type string

    The extended location type.

    name str

    The extended location name.

    type str

    The extended location type.

    name String

    The extended location name.

    type String

    The extended location type.

    StorageQoSPolicyResponse

    BandwidthLimit double

    The Bandwidth Limit for internet traffic.

    Id string

    The ID of the QoS policy.

    IopsMaximum double

    The maximum IO operations per second.

    IopsMinimum double

    The minimum IO operations per second.

    Name string

    The name of the policy.

    PolicyId string

    The underlying policy.

    BandwidthLimit float64

    The Bandwidth Limit for internet traffic.

    Id string

    The ID of the QoS policy.

    IopsMaximum float64

    The maximum IO operations per second.

    IopsMinimum float64

    The minimum IO operations per second.

    Name string

    The name of the policy.

    PolicyId string

    The underlying policy.

    bandwidthLimit Double

    The Bandwidth Limit for internet traffic.

    id String

    The ID of the QoS policy.

    iopsMaximum Double

    The maximum IO operations per second.

    iopsMinimum Double

    The minimum IO operations per second.

    name String

    The name of the policy.

    policyId String

    The underlying policy.

    bandwidthLimit number

    The Bandwidth Limit for internet traffic.

    id string

    The ID of the QoS policy.

    iopsMaximum number

    The maximum IO operations per second.

    iopsMinimum number

    The minimum IO operations per second.

    name string

    The name of the policy.

    policyId string

    The underlying policy.

    bandwidth_limit float

    The Bandwidth Limit for internet traffic.

    id str

    The ID of the QoS policy.

    iops_maximum float

    The maximum IO operations per second.

    iops_minimum float

    The minimum IO operations per second.

    name str

    The name of the policy.

    policy_id str

    The underlying policy.

    bandwidthLimit Number

    The Bandwidth Limit for internet traffic.

    id String

    The ID of the QoS policy.

    iopsMaximum Number

    The maximum IO operations per second.

    iopsMinimum Number

    The minimum IO operations per second.

    name String

    The name of the policy.

    policyId String

    The underlying policy.

    SystemDataResponse

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string

    The type of identity that created the resource.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string

    The type of identity that last modified the resource.

    created_at str

    The timestamp of resource creation (UTC).

    created_by str

    The identity that created the resource.

    created_by_type str

    The type of identity that created the resource.

    last_modified_at str

    The timestamp of resource last modification (UTC)

    last_modified_by str

    The identity that last modified the resource.

    last_modified_by_type str

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:scvmm:Cloud HRCloud /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.SCVMM/Clouds/HRCloud 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi