azure-native.scvmm.Cloud
Explore with Pulumi AI
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cloud(name: string, args: CloudArgs, opts?: CustomResourceOptions);
@overload
def Cloud(resource_name: str,
args: CloudArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cloud(resource_name: str,
opts: Optional[ResourceOptions] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
resource_group_name: Optional[str] = None,
cloud_name: Optional[str] = None,
inventory_item_id: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
uuid: Optional[str] = None,
vmm_server_id: Optional[str] = None)
func NewCloud(ctx *Context, name string, args CloudArgs, opts ...ResourceOption) (*Cloud, error)
public Cloud(string name, CloudArgs args, CustomResourceOptions? opts = null)
type: azure-native:scvmm:Cloud
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudResource = new AzureNative.Scvmm.Cloud("cloudResource", new()
{
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
ResourceGroupName = "string",
CloudName = "string",
InventoryItemId = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
Uuid = "string",
VmmServerId = "string",
});
example, err := scvmm.NewCloud(ctx, "cloudResource", &scvmm.CloudArgs{
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
ResourceGroupName: "string",
CloudName: "string",
InventoryItemId: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
Uuid: "string",
VmmServerId: "string",
})
var cloudResource = new Cloud("cloudResource", CloudArgs.builder()
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.cloudName("string")
.inventoryItemId("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.uuid("string")
.vmmServerId("string")
.build());
cloud_resource = azure_native.scvmm.Cloud("cloudResource",
extended_location={
name: string,
type: string,
},
resource_group_name=string,
cloud_name=string,
inventory_item_id=string,
location=string,
tags={
string: string,
},
uuid=string,
vmm_server_id=string)
const cloudResource = new azure_native.scvmm.Cloud("cloudResource", {
extendedLocation: {
name: "string",
type: "string",
},
resourceGroupName: "string",
cloudName: "string",
inventoryItemId: "string",
location: "string",
tags: {
string: "string",
},
uuid: "string",
vmmServerId: "string",
});
type: azure-native:scvmm:Cloud
properties:
cloudName: string
extendedLocation:
name: string
type: string
inventoryItemId: string
location: string
resourceGroupName: string
tags:
string: string
uuid: string
vmmServerId: string
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:
- Extended
Location Pulumi.Azure Native. Sc Vmm. Inputs. Extended Location - The extended location.
- Resource
Group stringName - The name of the resource group.
- Cloud
Name string - Name of the Cloud.
- Inventory
Item stringId - Gets or sets the inventory Item ID for the resource.
- Location string
- Gets or sets the location.
- Dictionary<string, string>
- Resource tags
- Uuid string
- Unique ID of the cloud.
- Vmm
Server stringId - ARM Id of the vmmServer resource in which this resource resides.
- Extended
Location ExtendedLocation Args - The extended location.
- Resource
Group stringName - The name of the resource group.
- Cloud
Name string - Name of the Cloud.
- Inventory
Item stringId - Gets or sets the inventory Item ID for the resource.
- Location string
- Gets or sets the location.
- map[string]string
- Resource tags
- Uuid string
- Unique ID of the cloud.
- Vmm
Server stringId - ARM Id of the vmmServer resource in which this resource resides.
- extended
Location ExtendedLocation - The extended location.
- resource
Group StringName - The name of the resource group.
- cloud
Name String - Name of the Cloud.
- inventory
Item StringId - Gets or sets the inventory Item ID for the resource.
- location String
- Gets or sets the location.
- Map<String,String>
- Resource tags
- uuid String
- Unique ID of the cloud.
- vmm
Server StringId - ARM Id of the vmmServer resource in which this resource resides.
- extended
Location ExtendedLocation - The extended location.
- resource
Group stringName - The name of the resource group.
- cloud
Name string - Name of the Cloud.
- inventory
Item stringId - Gets or sets the inventory Item ID for the resource.
- location string
- Gets or sets the location.
- {[key: string]: string}
- Resource tags
- uuid string
- Unique ID of the cloud.
- vmm
Server stringId - ARM Id of the vmmServer resource in which this resource resides.
- extended_
location ExtendedLocation Args - The extended location.
- resource_
group_ strname - The name of the resource group.
- cloud_
name str - Name of the Cloud.
- inventory_
item_ strid - Gets or sets the inventory Item ID for the resource.
- location str
- Gets or sets the location.
- Mapping[str, str]
- Resource tags
- uuid str
- Unique ID of the cloud.
- vmm_
server_ strid - ARM Id of the vmmServer resource in which this resource resides.
- extended
Location Property Map - The extended location.
- resource
Group StringName - The name of the resource group.
- cloud
Name String - Name of the Cloud.
- inventory
Item StringId - Gets or sets the inventory Item ID for the resource.
- location String
- Gets or sets the location.
- Map<String>
- Resource tags
- uuid String
- Unique ID of the cloud.
- vmm
Server StringId - 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:
- Cloud
Capacity Pulumi.Azure Native. Sc Vmm. Outputs. Cloud Capacity Response - Capacity of the cloud.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource Name
- Provisioning
State string - Gets or sets the provisioning state.
- Storage
Qo List<Pulumi.SPolicies Azure Native. Sc Vmm. Outputs. Storage Qo SPolicy Response> - List of QoS policies available for the cloud.
- System
Data Pulumi.Azure Native. Sc Vmm. Outputs. System Data Response - The system data.
- Type string
- Resource Type
- Cloud
Capacity CloudCapacity Response - Capacity of the cloud.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource Name
- Provisioning
State string - Gets or sets the provisioning state.
- Storage
Qo []StorageSPolicies Qo SPolicy Response - List of QoS policies available for the cloud.
- System
Data SystemData Response - The system data.
- Type string
- Resource Type
- cloud
Capacity CloudCapacity Response - Capacity of the cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource Name
- provisioning
State String - Gets or sets the provisioning state.
- storage
Qo List<StorageSPolicies Qo SPolicy Response> - List of QoS policies available for the cloud.
- system
Data SystemData Response - The system data.
- type String
- Resource Type
- cloud
Capacity CloudCapacity Response - Capacity of the cloud.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource Name
- provisioning
State string - Gets or sets the provisioning state.
- storage
Qo StorageSPolicies Qo SPolicy Response[] - List of QoS policies available for the cloud.
- system
Data SystemData Response - The system data.
- type string
- Resource Type
- cloud_
capacity CloudCapacity Response - 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_ Sequence[Storages_ policies Qo SPolicy Response] - List of QoS policies available for the cloud.
- system_
data SystemData Response - The system data.
- type str
- Resource Type
- cloud
Capacity Property Map - Capacity of the cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource Name
- provisioning
State String - Gets or sets the provisioning state.
- storage
Qo List<Property Map>SPolicies - List of QoS policies available for the cloud.
- system
Data Property Map - The system data.
- type String
- Resource Type
Supporting Types
CloudCapacityResponse, CloudCapacityResponseArgs
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
StorageQoSPolicyResponse, StorageQoSPolicyResponseArgs
- Bandwidth
Limit double - The Bandwidth Limit for internet traffic.
- Id string
- The ID of the QoS policy.
- Iops
Maximum double - The maximum IO operations per second.
- Iops
Minimum double - The minimum IO operations per second.
- Name string
- The name of the policy.
- Policy
Id string - The underlying policy.
- Bandwidth
Limit float64 - The Bandwidth Limit for internet traffic.
- Id string
- The ID of the QoS policy.
- Iops
Maximum float64 - The maximum IO operations per second.
- Iops
Minimum float64 - The minimum IO operations per second.
- Name string
- The name of the policy.
- Policy
Id string - The underlying policy.
- bandwidth
Limit Double - The Bandwidth Limit for internet traffic.
- id String
- The ID of the QoS policy.
- iops
Maximum Double - The maximum IO operations per second.
- iops
Minimum Double - The minimum IO operations per second.
- name String
- The name of the policy.
- policy
Id String - The underlying policy.
- bandwidth
Limit number - The Bandwidth Limit for internet traffic.
- id string
- The ID of the QoS policy.
- iops
Maximum number - The maximum IO operations per second.
- iops
Minimum number - The minimum IO operations per second.
- name string
- The name of the policy.
- policy
Id 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.
- bandwidth
Limit Number - The Bandwidth Limit for internet traffic.
- id String
- The ID of the QoS policy.
- iops
Maximum Number - The maximum IO operations per second.
- iops
Minimum Number - The minimum IO operations per second.
- name String
- The name of the policy.
- policy
Id String - The underlying policy.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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
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