azure-native.hybriddata.DataManager
Explore with Pulumi AI
The DataManager resource. Azure REST API version: 2019-06-01. Prior API version in Azure Native 1.x: 2019-06-01.
Example Usage
DataManagers_CreatePUT41
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataManager = new AzureNative.HybridData.DataManager("dataManager", new()
{
DataManagerName = "TestAzureSDKOperations",
Location = "westus",
ResourceGroupName = "ResourceGroupForSDKTest",
});
});
package main
import (
hybriddata "github.com/pulumi/pulumi-azure-native-sdk/hybriddata/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybriddata.NewDataManager(ctx, "dataManager", &hybriddata.DataManagerArgs{
DataManagerName: pulumi.String("TestAzureSDKOperations"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("ResourceGroupForSDKTest"),
})
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.hybriddata.DataManager;
import com.pulumi.azurenative.hybriddata.DataManagerArgs;
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 dataManager = new DataManager("dataManager", DataManagerArgs.builder()
.dataManagerName("TestAzureSDKOperations")
.location("westus")
.resourceGroupName("ResourceGroupForSDKTest")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
data_manager = azure_native.hybriddata.DataManager("dataManager",
data_manager_name="TestAzureSDKOperations",
location="westus",
resource_group_name="ResourceGroupForSDKTest")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataManager = new azure_native.hybriddata.DataManager("dataManager", {
dataManagerName: "TestAzureSDKOperations",
location: "westus",
resourceGroupName: "ResourceGroupForSDKTest",
});
resources:
dataManager:
type: azure-native:hybriddata:DataManager
properties:
dataManagerName: TestAzureSDKOperations
location: westus
resourceGroupName: ResourceGroupForSDKTest
Create DataManager Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataManager(name: string, args: DataManagerArgs, opts?: CustomResourceOptions);
@overload
def DataManager(resource_name: str,
args: DataManagerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataManager(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
data_manager_name: Optional[str] = None,
location: Optional[str] = None,
sku: Optional[SkuArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDataManager(ctx *Context, name string, args DataManagerArgs, opts ...ResourceOption) (*DataManager, error)
public DataManager(string name, DataManagerArgs args, CustomResourceOptions? opts = null)
public DataManager(String name, DataManagerArgs args)
public DataManager(String name, DataManagerArgs args, CustomResourceOptions options)
type: azure-native:hybriddata:DataManager
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 DataManagerArgs
- 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 DataManagerArgs
- 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 DataManagerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataManagerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataManagerArgs
- 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 dataManagerResource = new AzureNative.HybridData.DataManager("dataManagerResource", new()
{
ResourceGroupName = "string",
DataManagerName = "string",
Location = "string",
Sku = new AzureNative.HybridData.Inputs.SkuArgs
{
Name = "string",
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := hybriddata.NewDataManager(ctx, "dataManagerResource", &hybriddata.DataManagerArgs{
ResourceGroupName: pulumi.String("string"),
DataManagerName: pulumi.String("string"),
Location: pulumi.String("string"),
Sku: &hybriddata.SkuArgs{
Name: pulumi.String("string"),
Tier: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var dataManagerResource = new DataManager("dataManagerResource", DataManagerArgs.builder()
.resourceGroupName("string")
.dataManagerName("string")
.location("string")
.sku(SkuArgs.builder()
.name("string")
.tier("string")
.build())
.tags(Map.of("string", "string"))
.build());
data_manager_resource = azure_native.hybriddata.DataManager("dataManagerResource",
resource_group_name="string",
data_manager_name="string",
location="string",
sku={
"name": "string",
"tier": "string",
},
tags={
"string": "string",
})
const dataManagerResource = new azure_native.hybriddata.DataManager("dataManagerResource", {
resourceGroupName: "string",
dataManagerName: "string",
location: "string",
sku: {
name: "string",
tier: "string",
},
tags: {
string: "string",
},
});
type: azure-native:hybriddata:DataManager
properties:
dataManagerName: string
location: string
resourceGroupName: string
sku:
name: string
tier: string
tags:
string: string
DataManager Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataManager resource accepts the following input properties:
- Resource
Group stringName - The Resource Group Name
- Data
Manager stringName - The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- Location string
- The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
- Sku
Pulumi.
Azure Native. Hybrid Data. Inputs. Sku - The sku type.
- Dictionary<string, string>
- The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- Resource
Group stringName - The Resource Group Name
- Data
Manager stringName - The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- Location string
- The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
- Sku
Sku
Args - The sku type.
- map[string]string
- The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- resource
Group StringName - The Resource Group Name
- data
Manager StringName - The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- location String
- The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
- sku Sku
- The sku type.
- Map<String,String>
- The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- resource
Group stringName - The Resource Group Name
- data
Manager stringName - The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- location string
- The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
- sku Sku
- The sku type.
- {[key: string]: string}
- The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- resource_
group_ strname - The Resource Group Name
- data_
manager_ strname - The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- location str
- The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
- sku
Sku
Args - The sku type.
- Mapping[str, str]
- The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- resource
Group StringName - The Resource Group Name
- data
Manager StringName - The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- location String
- The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed.
- sku Property Map
- The sku type.
- Map<String>
- The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
Outputs
All input properties are implicitly available as output properties. Additionally, the DataManager resource produces the following output properties:
Supporting Types
Sku, SkuArgs
SkuResponse, SkuResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybriddata:DataManager TestAzureSDKOperations /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0