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

hsdp.getConnectMdmBucket

Explore with Pulumi AI

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

    Retrieve details on a MDM Bucket resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const store = hsdp.getConnectMdmBucket({
        name: "bucket-store-1",
        propositionId: data.hsdp_connect_mdm_proposition.prop.id,
    });
    export const bucketId = store.then(store => store.id);
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    store = hsdp.get_connect_mdm_bucket(name="bucket-store-1",
        proposition_id=data["hsdp_connect_mdm_proposition"]["prop"]["id"])
    pulumi.export("bucketId", store.id)
    
    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 {
    		store, err := hsdp.LookupConnectMdmBucket(ctx, &hsdp.LookupConnectMdmBucketArgs{
    			Name:          "bucket-store-1",
    			PropositionId: data.Hsdp_connect_mdm_proposition.Prop.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("bucketId", store.Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hsdp = Pulumi.Hsdp;
    
    return await Deployment.RunAsync(() => 
    {
        var store = Hsdp.GetConnectMdmBucket.Invoke(new()
        {
            Name = "bucket-store-1",
            PropositionId = data.Hsdp_connect_mdm_proposition.Prop.Id,
        });
    
        return new Dictionary<string, object?>
        {
            ["bucketId"] = store.Apply(getConnectMdmBucketResult => getConnectMdmBucketResult.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.HsdpFunctions;
    import com.pulumi.hsdp.inputs.GetConnectMdmBucketArgs;
    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) {
            final var store = HsdpFunctions.getConnectMdmBucket(GetConnectMdmBucketArgs.builder()
                .name("bucket-store-1")
                .propositionId(data.hsdp_connect_mdm_proposition().prop().id())
                .build());
    
            ctx.export("bucketId", store.applyValue(getConnectMdmBucketResult -> getConnectMdmBucketResult.id()));
        }
    }
    
    variables:
      store:
        fn::invoke:
          function: hsdp:getConnectMdmBucket
          arguments:
            name: bucket-store-1
            propositionId: ${data.hsdp_connect_mdm_proposition.prop.id}
    outputs:
      bucketId: ${store.id}
    

    Using getConnectMdmBucket

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getConnectMdmBucket(args: GetConnectMdmBucketArgs, opts?: InvokeOptions): Promise<GetConnectMdmBucketResult>
    function getConnectMdmBucketOutput(args: GetConnectMdmBucketOutputArgs, opts?: InvokeOptions): Output<GetConnectMdmBucketResult>
    def get_connect_mdm_bucket(id: Optional[str] = None,
                               name: Optional[str] = None,
                               proposition_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetConnectMdmBucketResult
    def get_connect_mdm_bucket_output(id: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               proposition_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetConnectMdmBucketResult]
    func LookupConnectMdmBucket(ctx *Context, args *LookupConnectMdmBucketArgs, opts ...InvokeOption) (*LookupConnectMdmBucketResult, error)
    func LookupConnectMdmBucketOutput(ctx *Context, args *LookupConnectMdmBucketOutputArgs, opts ...InvokeOption) LookupConnectMdmBucketResultOutput

    > Note: This function is named LookupConnectMdmBucket in the Go SDK.

    public static class GetConnectMdmBucket 
    {
        public static Task<GetConnectMdmBucketResult> InvokeAsync(GetConnectMdmBucketArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectMdmBucketResult> Invoke(GetConnectMdmBucketInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectMdmBucketResult> getConnectMdmBucket(GetConnectMdmBucketArgs args, InvokeOptions options)
    public static Output<GetConnectMdmBucketResult> getConnectMdmBucket(GetConnectMdmBucketArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hsdp:index/getConnectMdmBucket:getConnectMdmBucket
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the bucket to look up
    PropositionId string
    The proposition ID where this bucket falls under
    Id string
    The ID reference of the service action (format: Bucket/${GUID})
    Name string
    The name of the bucket to look up
    PropositionId string
    The proposition ID where this bucket falls under
    Id string
    The ID reference of the service action (format: Bucket/${GUID})
    name String
    The name of the bucket to look up
    propositionId String
    The proposition ID where this bucket falls under
    id String
    The ID reference of the service action (format: Bucket/${GUID})
    name string
    The name of the bucket to look up
    propositionId string
    The proposition ID where this bucket falls under
    id string
    The ID reference of the service action (format: Bucket/${GUID})
    name str
    The name of the bucket to look up
    proposition_id str
    The proposition ID where this bucket falls under
    id str
    The ID reference of the service action (format: Bucket/${GUID})
    name String
    The name of the bucket to look up
    propositionId String
    The proposition ID where this bucket falls under
    id String
    The ID reference of the service action (format: Bucket/${GUID})

    getConnectMdmBucket Result

    The following output properties are available:

    AuditingEnabled bool
    Auditing enabled
    CacheControlAge double
    Cache control age settings
    CdnEnabled bool
    CDN enabled or not
    CorsConfigJson string
    The Bucket CORS configuration in JSON
    CrossRegionReplicationEnabled bool
    Description string
    GlobalReferenceId string
    Guid string
    The GUID of the bucket
    Id string
    The ID reference of the service action (format: Bucket/${GUID})
    LoggingEnabled bool
    Logging enabled
    Name string
    PropositionId string
    ReplicationRegionId string
    AuditingEnabled bool
    Auditing enabled
    CacheControlAge float64
    Cache control age settings
    CdnEnabled bool
    CDN enabled or not
    CorsConfigJson string
    The Bucket CORS configuration in JSON
    CrossRegionReplicationEnabled bool
    Description string
    GlobalReferenceId string
    Guid string
    The GUID of the bucket
    Id string
    The ID reference of the service action (format: Bucket/${GUID})
    LoggingEnabled bool
    Logging enabled
    Name string
    PropositionId string
    ReplicationRegionId string
    auditingEnabled Boolean
    Auditing enabled
    cacheControlAge Double
    Cache control age settings
    cdnEnabled Boolean
    CDN enabled or not
    corsConfigJson String
    The Bucket CORS configuration in JSON
    crossRegionReplicationEnabled Boolean
    description String
    globalReferenceId String
    guid String
    The GUID of the bucket
    id String
    The ID reference of the service action (format: Bucket/${GUID})
    loggingEnabled Boolean
    Logging enabled
    name String
    propositionId String
    replicationRegionId String
    auditingEnabled boolean
    Auditing enabled
    cacheControlAge number
    Cache control age settings
    cdnEnabled boolean
    CDN enabled or not
    corsConfigJson string
    The Bucket CORS configuration in JSON
    crossRegionReplicationEnabled boolean
    description string
    globalReferenceId string
    guid string
    The GUID of the bucket
    id string
    The ID reference of the service action (format: Bucket/${GUID})
    loggingEnabled boolean
    Logging enabled
    name string
    propositionId string
    replicationRegionId string
    auditing_enabled bool
    Auditing enabled
    cache_control_age float
    Cache control age settings
    cdn_enabled bool
    CDN enabled or not
    cors_config_json str
    The Bucket CORS configuration in JSON
    cross_region_replication_enabled bool
    description str
    global_reference_id str
    guid str
    The GUID of the bucket
    id str
    The ID reference of the service action (format: Bucket/${GUID})
    logging_enabled bool
    Logging enabled
    name str
    proposition_id str
    replication_region_id str
    auditingEnabled Boolean
    Auditing enabled
    cacheControlAge Number
    Cache control age settings
    cdnEnabled Boolean
    CDN enabled or not
    corsConfigJson String
    The Bucket CORS configuration in JSON
    crossRegionReplicationEnabled Boolean
    description String
    globalReferenceId String
    guid String
    The GUID of the bucket
    id String
    The ID reference of the service action (format: Bucket/${GUID})
    loggingEnabled Boolean
    Logging enabled
    name String
    propositionId String
    replicationRegionId 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