hsdp.ConnectMdmBlobDataContract
Explore with Pulumi AI
Create and manage MDM BlobDataContract resources
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const contract = new hsdp.ConnectMdmBlobDataContract("contract", {
dataTypeId: hsdp_connect_mdm_data_type.first.id,
bucketId: hsdp_connect_mdm_bucket.first.id,
storageClassId: data.connect_mdm_storage_class.first.id,
rootPathInBucket: "/",
loggingEnabled: true,
crossRegionReplicationEnabled: false,
});
import pulumi
import pulumi_hsdp as hsdp
contract = hsdp.ConnectMdmBlobDataContract("contract",
data_type_id=hsdp_connect_mdm_data_type["first"]["id"],
bucket_id=hsdp_connect_mdm_bucket["first"]["id"],
storage_class_id=data["connect_mdm_storage_class"]["first"]["id"],
root_path_in_bucket="/",
logging_enabled=True,
cross_region_replication_enabled=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hsdp.NewConnectMdmBlobDataContract(ctx, "contract", &hsdp.ConnectMdmBlobDataContractArgs{
DataTypeId: pulumi.Any(hsdp_connect_mdm_data_type.First.Id),
BucketId: pulumi.Any(hsdp_connect_mdm_bucket.First.Id),
StorageClassId: pulumi.Any(data.Connect_mdm_storage_class.First.Id),
RootPathInBucket: pulumi.String("/"),
LoggingEnabled: pulumi.Bool(true),
CrossRegionReplicationEnabled: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var contract = new Hsdp.ConnectMdmBlobDataContract("contract", new()
{
DataTypeId = hsdp_connect_mdm_data_type.First.Id,
BucketId = hsdp_connect_mdm_bucket.First.Id,
StorageClassId = data.Connect_mdm_storage_class.First.Id,
RootPathInBucket = "/",
LoggingEnabled = true,
CrossRegionReplicationEnabled = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.ConnectMdmBlobDataContract;
import com.pulumi.hsdp.ConnectMdmBlobDataContractArgs;
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 contract = new ConnectMdmBlobDataContract("contract", ConnectMdmBlobDataContractArgs.builder()
.dataTypeId(hsdp_connect_mdm_data_type.first().id())
.bucketId(hsdp_connect_mdm_bucket.first().id())
.storageClassId(data.connect_mdm_storage_class().first().id())
.rootPathInBucket("/")
.loggingEnabled(true)
.crossRegionReplicationEnabled(false)
.build());
}
}
resources:
contract:
type: hsdp:ConnectMdmBlobDataContract
properties:
dataTypeId: ${hsdp_connect_mdm_data_type.first.id}
bucketId: ${hsdp_connect_mdm_bucket.first.id}
storageClassId: ${data.connect_mdm_storage_class.first.id}
rootPathInBucket: /
loggingEnabled: true
crossRegionReplicationEnabled: false
Attributes reference
In addition to all arguments above, the following attributes are exported:
id
- The ID reference of the service action (format:Group/${GUID}
)guid
- The GUID of the service action
Create ConnectMdmBlobDataContract Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectMdmBlobDataContract(name: string, args: ConnectMdmBlobDataContractArgs, opts?: CustomResourceOptions);
@overload
def ConnectMdmBlobDataContract(resource_name: str,
args: ConnectMdmBlobDataContractArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectMdmBlobDataContract(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket_id: Optional[str] = None,
data_type_id: Optional[str] = None,
root_path_in_bucket: Optional[str] = None,
storage_class_id: Optional[str] = None,
connect_mdm_blob_data_contract_id: Optional[str] = None,
cross_region_replication_enabled: Optional[bool] = None,
logging_enabled: Optional[bool] = None,
name: Optional[str] = None)
func NewConnectMdmBlobDataContract(ctx *Context, name string, args ConnectMdmBlobDataContractArgs, opts ...ResourceOption) (*ConnectMdmBlobDataContract, error)
public ConnectMdmBlobDataContract(string name, ConnectMdmBlobDataContractArgs args, CustomResourceOptions? opts = null)
public ConnectMdmBlobDataContract(String name, ConnectMdmBlobDataContractArgs args)
public ConnectMdmBlobDataContract(String name, ConnectMdmBlobDataContractArgs args, CustomResourceOptions options)
type: hsdp:ConnectMdmBlobDataContract
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 ConnectMdmBlobDataContractArgs
- 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 ConnectMdmBlobDataContractArgs
- 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 ConnectMdmBlobDataContractArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectMdmBlobDataContractArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectMdmBlobDataContractArgs
- 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 connectMdmBlobDataContractResource = new Hsdp.ConnectMdmBlobDataContract("connectMdmBlobDataContractResource", new()
{
BucketId = "string",
DataTypeId = "string",
RootPathInBucket = "string",
StorageClassId = "string",
ConnectMdmBlobDataContractId = "string",
CrossRegionReplicationEnabled = false,
LoggingEnabled = false,
Name = "string",
});
example, err := hsdp.NewConnectMdmBlobDataContract(ctx, "connectMdmBlobDataContractResource", &hsdp.ConnectMdmBlobDataContractArgs{
BucketId: pulumi.String("string"),
DataTypeId: pulumi.String("string"),
RootPathInBucket: pulumi.String("string"),
StorageClassId: pulumi.String("string"),
ConnectMdmBlobDataContractId: pulumi.String("string"),
CrossRegionReplicationEnabled: pulumi.Bool(false),
LoggingEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var connectMdmBlobDataContractResource = new ConnectMdmBlobDataContract("connectMdmBlobDataContractResource", ConnectMdmBlobDataContractArgs.builder()
.bucketId("string")
.dataTypeId("string")
.rootPathInBucket("string")
.storageClassId("string")
.connectMdmBlobDataContractId("string")
.crossRegionReplicationEnabled(false)
.loggingEnabled(false)
.name("string")
.build());
connect_mdm_blob_data_contract_resource = hsdp.ConnectMdmBlobDataContract("connectMdmBlobDataContractResource",
bucket_id="string",
data_type_id="string",
root_path_in_bucket="string",
storage_class_id="string",
connect_mdm_blob_data_contract_id="string",
cross_region_replication_enabled=False,
logging_enabled=False,
name="string")
const connectMdmBlobDataContractResource = new hsdp.ConnectMdmBlobDataContract("connectMdmBlobDataContractResource", {
bucketId: "string",
dataTypeId: "string",
rootPathInBucket: "string",
storageClassId: "string",
connectMdmBlobDataContractId: "string",
crossRegionReplicationEnabled: false,
loggingEnabled: false,
name: "string",
});
type: hsdp:ConnectMdmBlobDataContract
properties:
bucketId: string
connectMdmBlobDataContractId: string
crossRegionReplicationEnabled: false
dataTypeId: string
loggingEnabled: false
name: string
rootPathInBucket: string
storageClassId: string
ConnectMdmBlobDataContract 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 ConnectMdmBlobDataContract resource accepts the following input properties:
- Bucket
Id string - Reference to the Bucket
- Data
Type stringId - Reference to the DataType
- Root
Path stringIn Bucket - The root path in the bucket
- Storage
Class stringId - Reference to the StorageClass
- Connect
Mdm stringBlob Data Contract Id - Cross
Region boolReplication Enabled - cross region replication active (default:
false
) - Logging
Enabled bool - Enable logging (default:
true
) - Name string
- The name of the device group
- Bucket
Id string - Reference to the Bucket
- Data
Type stringId - Reference to the DataType
- Root
Path stringIn Bucket - The root path in the bucket
- Storage
Class stringId - Reference to the StorageClass
- Connect
Mdm stringBlob Data Contract Id - Cross
Region boolReplication Enabled - cross region replication active (default:
false
) - Logging
Enabled bool - Enable logging (default:
true
) - Name string
- The name of the device group
- bucket
Id String - Reference to the Bucket
- data
Type StringId - Reference to the DataType
- root
Path StringIn Bucket - The root path in the bucket
- storage
Class StringId - Reference to the StorageClass
- connect
Mdm StringBlob Data Contract Id - cross
Region BooleanReplication Enabled - cross region replication active (default:
false
) - logging
Enabled Boolean - Enable logging (default:
true
) - name String
- The name of the device group
- bucket
Id string - Reference to the Bucket
- data
Type stringId - Reference to the DataType
- root
Path stringIn Bucket - The root path in the bucket
- storage
Class stringId - Reference to the StorageClass
- connect
Mdm stringBlob Data Contract Id - cross
Region booleanReplication Enabled - cross region replication active (default:
false
) - logging
Enabled boolean - Enable logging (default:
true
) - name string
- The name of the device group
- bucket_
id str - Reference to the Bucket
- data_
type_ strid - Reference to the DataType
- root_
path_ strin_ bucket - The root path in the bucket
- storage_
class_ strid - Reference to the StorageClass
- connect_
mdm_ strblob_ data_ contract_ id - cross_
region_ boolreplication_ enabled - cross region replication active (default:
false
) - logging_
enabled bool - Enable logging (default:
true
) - name str
- The name of the device group
- bucket
Id String - Reference to the Bucket
- data
Type StringId - Reference to the DataType
- root
Path StringIn Bucket - The root path in the bucket
- storage
Class StringId - Reference to the StorageClass
- connect
Mdm StringBlob Data Contract Id - cross
Region BooleanReplication Enabled - cross region replication active (default:
false
) - logging
Enabled Boolean - Enable logging (default:
true
) - name String
- The name of the device group
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectMdmBlobDataContract resource produces the following output properties:
- guid str
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str
Look up Existing ConnectMdmBlobDataContract Resource
Get an existing ConnectMdmBlobDataContract resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectMdmBlobDataContractState, opts?: CustomResourceOptions): ConnectMdmBlobDataContract
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket_id: Optional[str] = None,
connect_mdm_blob_data_contract_id: Optional[str] = None,
cross_region_replication_enabled: Optional[bool] = None,
data_type_id: Optional[str] = None,
guid: Optional[str] = None,
logging_enabled: Optional[bool] = None,
name: Optional[str] = None,
root_path_in_bucket: Optional[str] = None,
storage_class_id: Optional[str] = None,
version_id: Optional[str] = None) -> ConnectMdmBlobDataContract
func GetConnectMdmBlobDataContract(ctx *Context, name string, id IDInput, state *ConnectMdmBlobDataContractState, opts ...ResourceOption) (*ConnectMdmBlobDataContract, error)
public static ConnectMdmBlobDataContract Get(string name, Input<string> id, ConnectMdmBlobDataContractState? state, CustomResourceOptions? opts = null)
public static ConnectMdmBlobDataContract get(String name, Output<String> id, ConnectMdmBlobDataContractState state, CustomResourceOptions options)
resources: _: type: hsdp:ConnectMdmBlobDataContract get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bucket
Id string - Reference to the Bucket
- Connect
Mdm stringBlob Data Contract Id - Cross
Region boolReplication Enabled - cross region replication active (default:
false
) - Data
Type stringId - Reference to the DataType
- Guid string
- Logging
Enabled bool - Enable logging (default:
true
) - Name string
- The name of the device group
- Root
Path stringIn Bucket - The root path in the bucket
- Storage
Class stringId - Reference to the StorageClass
- Version
Id string
- Bucket
Id string - Reference to the Bucket
- Connect
Mdm stringBlob Data Contract Id - Cross
Region boolReplication Enabled - cross region replication active (default:
false
) - Data
Type stringId - Reference to the DataType
- Guid string
- Logging
Enabled bool - Enable logging (default:
true
) - Name string
- The name of the device group
- Root
Path stringIn Bucket - The root path in the bucket
- Storage
Class stringId - Reference to the StorageClass
- Version
Id string
- bucket
Id String - Reference to the Bucket
- connect
Mdm StringBlob Data Contract Id - cross
Region BooleanReplication Enabled - cross region replication active (default:
false
) - data
Type StringId - Reference to the DataType
- guid String
- logging
Enabled Boolean - Enable logging (default:
true
) - name String
- The name of the device group
- root
Path StringIn Bucket - The root path in the bucket
- storage
Class StringId - Reference to the StorageClass
- version
Id String
- bucket
Id string - Reference to the Bucket
- connect
Mdm stringBlob Data Contract Id - cross
Region booleanReplication Enabled - cross region replication active (default:
false
) - data
Type stringId - Reference to the DataType
- guid string
- logging
Enabled boolean - Enable logging (default:
true
) - name string
- The name of the device group
- root
Path stringIn Bucket - The root path in the bucket
- storage
Class stringId - Reference to the StorageClass
- version
Id string
- bucket_
id str - Reference to the Bucket
- connect_
mdm_ strblob_ data_ contract_ id - cross_
region_ boolreplication_ enabled - cross region replication active (default:
false
) - data_
type_ strid - Reference to the DataType
- guid str
- logging_
enabled bool - Enable logging (default:
true
) - name str
- The name of the device group
- root_
path_ strin_ bucket - The root path in the bucket
- storage_
class_ strid - Reference to the StorageClass
- version_
id str
- bucket
Id String - Reference to the Bucket
- connect
Mdm StringBlob Data Contract Id - cross
Region BooleanReplication Enabled - cross region replication active (default:
false
) - data
Type StringId - Reference to the DataType
- guid String
- logging
Enabled Boolean - Enable logging (default:
true
) - name String
- The name of the device group
- root
Path StringIn Bucket - The root path in the bucket
- storage
Class StringId - Reference to the StorageClass
- version
Id String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.