hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getConnectMdmBucket
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- Name string
 - The name of the bucket to look up
 - Proposition
Id 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
 - Proposition
Id 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
 - proposition
Id 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
 - proposition
Id 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
 - proposition
Id 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:
- Auditing
Enabled bool - Auditing enabled
 - Cache
Control doubleAge  - Cache control age settings
 - Cdn
Enabled bool - CDN enabled or not
 - Cors
Config stringJson  - The Bucket CORS configuration in JSON
 - Cross
Region boolReplication Enabled  - Description string
 - Global
Reference stringId  - Guid string
 - The GUID of the bucket
 - Id string
 - The ID reference of the service action (format: 
Bucket/${GUID}) - Logging
Enabled bool - Logging enabled
 - Name string
 - Proposition
Id string - Replication
Region stringId  
- Auditing
Enabled bool - Auditing enabled
 - Cache
Control float64Age  - Cache control age settings
 - Cdn
Enabled bool - CDN enabled or not
 - Cors
Config stringJson  - The Bucket CORS configuration in JSON
 - Cross
Region boolReplication Enabled  - Description string
 - Global
Reference stringId  - Guid string
 - The GUID of the bucket
 - Id string
 - The ID reference of the service action (format: 
Bucket/${GUID}) - Logging
Enabled bool - Logging enabled
 - Name string
 - Proposition
Id string - Replication
Region stringId  
- auditing
Enabled Boolean - Auditing enabled
 - cache
Control DoubleAge  - Cache control age settings
 - cdn
Enabled Boolean - CDN enabled or not
 - cors
Config StringJson  - The Bucket CORS configuration in JSON
 - cross
Region BooleanReplication Enabled  - description String
 - global
Reference StringId  - guid String
 - The GUID of the bucket
 - id String
 - The ID reference of the service action (format: 
Bucket/${GUID}) - logging
Enabled Boolean - Logging enabled
 - name String
 - proposition
Id String - replication
Region StringId  
- auditing
Enabled boolean - Auditing enabled
 - cache
Control numberAge  - Cache control age settings
 - cdn
Enabled boolean - CDN enabled or not
 - cors
Config stringJson  - The Bucket CORS configuration in JSON
 - cross
Region booleanReplication Enabled  - description string
 - global
Reference stringId  - guid string
 - The GUID of the bucket
 - id string
 - The ID reference of the service action (format: 
Bucket/${GUID}) - logging
Enabled boolean - Logging enabled
 - name string
 - proposition
Id string - replication
Region stringId  
- auditing_
enabled bool - Auditing enabled
 - cache_
control_ floatage  - Cache control age settings
 - cdn_
enabled bool - CDN enabled or not
 - cors_
config_ strjson  - The Bucket CORS configuration in JSON
 - cross_
region_ boolreplication_ enabled  - description str
 - global_
reference_ strid  - 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_ strid  
- auditing
Enabled Boolean - Auditing enabled
 - cache
Control NumberAge  - Cache control age settings
 - cdn
Enabled Boolean - CDN enabled or not
 - cors
Config StringJson  - The Bucket CORS configuration in JSON
 - cross
Region BooleanReplication Enabled  - description String
 - global
Reference StringId  - guid String
 - The GUID of the bucket
 - id String
 - The ID reference of the service action (format: 
Bucket/${GUID}) - logging
Enabled Boolean - Logging enabled
 - name String
 - proposition
Id String - replication
Region StringId  
Package Details
- Repository
 - hsdp philips-software/terraform-provider-hsdp
 - License
 - Notes
 - This Pulumi package is based on the 
hsdpTerraform Provider. 
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software