1. Packages
  2. Hsdp Provider
  3. API Docs
  4. ConnectMdmBlobDataContract
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.ConnectMdmBlobDataContract

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    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:

    BucketId string
    Reference to the Bucket
    DataTypeId string
    Reference to the DataType
    RootPathInBucket string
    The root path in the bucket
    StorageClassId string
    Reference to the StorageClass
    ConnectMdmBlobDataContractId string
    CrossRegionReplicationEnabled bool
    cross region replication active (default: false)
    LoggingEnabled bool
    Enable logging (default: true)
    Name string
    The name of the device group
    BucketId string
    Reference to the Bucket
    DataTypeId string
    Reference to the DataType
    RootPathInBucket string
    The root path in the bucket
    StorageClassId string
    Reference to the StorageClass
    ConnectMdmBlobDataContractId string
    CrossRegionReplicationEnabled bool
    cross region replication active (default: false)
    LoggingEnabled bool
    Enable logging (default: true)
    Name string
    The name of the device group
    bucketId String
    Reference to the Bucket
    dataTypeId String
    Reference to the DataType
    rootPathInBucket String
    The root path in the bucket
    storageClassId String
    Reference to the StorageClass
    connectMdmBlobDataContractId String
    crossRegionReplicationEnabled Boolean
    cross region replication active (default: false)
    loggingEnabled Boolean
    Enable logging (default: true)
    name String
    The name of the device group
    bucketId string
    Reference to the Bucket
    dataTypeId string
    Reference to the DataType
    rootPathInBucket string
    The root path in the bucket
    storageClassId string
    Reference to the StorageClass
    connectMdmBlobDataContractId string
    crossRegionReplicationEnabled boolean
    cross region replication active (default: false)
    loggingEnabled boolean
    Enable logging (default: true)
    name string
    The name of the device group
    bucket_id str
    Reference to the Bucket
    data_type_id str
    Reference to the DataType
    root_path_in_bucket str
    The root path in the bucket
    storage_class_id str
    Reference to the StorageClass
    connect_mdm_blob_data_contract_id str
    cross_region_replication_enabled bool
    cross region replication active (default: false)
    logging_enabled bool
    Enable logging (default: true)
    name str
    The name of the device group
    bucketId String
    Reference to the Bucket
    dataTypeId String
    Reference to the DataType
    rootPathInBucket String
    The root path in the bucket
    storageClassId String
    Reference to the StorageClass
    connectMdmBlobDataContractId String
    crossRegionReplicationEnabled Boolean
    cross region replication active (default: false)
    loggingEnabled 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 string
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String
    guid string
    id string
    The provider-assigned unique ID for this managed resource.
    versionId string
    guid str
    id str
    The provider-assigned unique ID for this managed resource.
    version_id str
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String

    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.
    The following state arguments are supported:
    BucketId string
    Reference to the Bucket
    ConnectMdmBlobDataContractId string
    CrossRegionReplicationEnabled bool
    cross region replication active (default: false)
    DataTypeId string
    Reference to the DataType
    Guid string
    LoggingEnabled bool
    Enable logging (default: true)
    Name string
    The name of the device group
    RootPathInBucket string
    The root path in the bucket
    StorageClassId string
    Reference to the StorageClass
    VersionId string
    BucketId string
    Reference to the Bucket
    ConnectMdmBlobDataContractId string
    CrossRegionReplicationEnabled bool
    cross region replication active (default: false)
    DataTypeId string
    Reference to the DataType
    Guid string
    LoggingEnabled bool
    Enable logging (default: true)
    Name string
    The name of the device group
    RootPathInBucket string
    The root path in the bucket
    StorageClassId string
    Reference to the StorageClass
    VersionId string
    bucketId String
    Reference to the Bucket
    connectMdmBlobDataContractId String
    crossRegionReplicationEnabled Boolean
    cross region replication active (default: false)
    dataTypeId String
    Reference to the DataType
    guid String
    loggingEnabled Boolean
    Enable logging (default: true)
    name String
    The name of the device group
    rootPathInBucket String
    The root path in the bucket
    storageClassId String
    Reference to the StorageClass
    versionId String
    bucketId string
    Reference to the Bucket
    connectMdmBlobDataContractId string
    crossRegionReplicationEnabled boolean
    cross region replication active (default: false)
    dataTypeId string
    Reference to the DataType
    guid string
    loggingEnabled boolean
    Enable logging (default: true)
    name string
    The name of the device group
    rootPathInBucket string
    The root path in the bucket
    storageClassId string
    Reference to the StorageClass
    versionId string
    bucket_id str
    Reference to the Bucket
    connect_mdm_blob_data_contract_id str
    cross_region_replication_enabled bool
    cross region replication active (default: false)
    data_type_id str
    Reference to the DataType
    guid str
    logging_enabled bool
    Enable logging (default: true)
    name str
    The name of the device group
    root_path_in_bucket str
    The root path in the bucket
    storage_class_id str
    Reference to the StorageClass
    version_id str
    bucketId String
    Reference to the Bucket
    connectMdmBlobDataContractId String
    crossRegionReplicationEnabled Boolean
    cross region replication active (default: false)
    dataTypeId String
    Reference to the DataType
    guid String
    loggingEnabled Boolean
    Enable logging (default: true)
    name String
    The name of the device group
    rootPathInBucket String
    The root path in the bucket
    storageClassId String
    Reference to the StorageClass
    versionId String

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software