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

hsdp.getConnectMdmServiceAction

Explore with Pulumi AI

Retrieve details of a ServiceAction

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";

const deleteBucketAction = hsdp.getConnectMdmServiceAction({
    name: "delete-bucket",
});
Copy
import pulumi
import pulumi_hsdp as hsdp

delete_bucket_action = hsdp.get_connect_mdm_service_action(name="delete-bucket")
Copy
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.LookupConnectMdmServiceAction(ctx, &hsdp.LookupConnectMdmServiceActionArgs{
			Name: "delete-bucket",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;

return await Deployment.RunAsync(() => 
{
    var deleteBucketAction = Hsdp.GetConnectMdmServiceAction.Invoke(new()
    {
        Name = "delete-bucket",
    });

});
Copy
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.GetConnectMdmServiceActionArgs;
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 deleteBucketAction = HsdpFunctions.getConnectMdmServiceAction(GetConnectMdmServiceActionArgs.builder()
            .name("delete-bucket")
            .build());

    }
}
Copy
variables:
  deleteBucketAction:
    fn::invoke:
      function: hsdp:getConnectMdmServiceAction
      arguments:
        name: delete-bucket
Copy

Using getConnectMdmServiceAction

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 getConnectMdmServiceAction(args: GetConnectMdmServiceActionArgs, opts?: InvokeOptions): Promise<GetConnectMdmServiceActionResult>
function getConnectMdmServiceActionOutput(args: GetConnectMdmServiceActionOutputArgs, opts?: InvokeOptions): Output<GetConnectMdmServiceActionResult>
Copy
def get_connect_mdm_service_action(id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetConnectMdmServiceActionResult
def get_connect_mdm_service_action_output(id: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetConnectMdmServiceActionResult]
Copy
func LookupConnectMdmServiceAction(ctx *Context, args *LookupConnectMdmServiceActionArgs, opts ...InvokeOption) (*LookupConnectMdmServiceActionResult, error)
func LookupConnectMdmServiceActionOutput(ctx *Context, args *LookupConnectMdmServiceActionOutputArgs, opts ...InvokeOption) LookupConnectMdmServiceActionResultOutput
Copy

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

public static class GetConnectMdmServiceAction 
{
    public static Task<GetConnectMdmServiceActionResult> InvokeAsync(GetConnectMdmServiceActionArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectMdmServiceActionResult> Invoke(GetConnectMdmServiceActionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectMdmServiceActionResult> getConnectMdmServiceAction(GetConnectMdmServiceActionArgs args, InvokeOptions options)
public static Output<GetConnectMdmServiceActionResult> getConnectMdmServiceAction(GetConnectMdmServiceActionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: hsdp:index/getConnectMdmServiceAction:getConnectMdmServiceAction
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the service action
Id string
The ServiceAction ID
Name This property is required. string
The name of the service action
Id string
The ServiceAction ID
name This property is required. String
The name of the service action
id String
The ServiceAction ID
name This property is required. string
The name of the service action
id string
The ServiceAction ID
name This property is required. str
The name of the service action
id str
The ServiceAction ID
name This property is required. String
The name of the service action
id String
The ServiceAction ID

getConnectMdmServiceAction Result

The following output properties are available:

Description string
The ServiceAction description
Guid string
The GUID of this service action
Id string
The ServiceAction ID
Name string
OrganizationGuid string
The service action organization ID
StandardServiceId string
The standard service ID of this action
Type string
The service action type
Description string
The ServiceAction description
Guid string
The GUID of this service action
Id string
The ServiceAction ID
Name string
OrganizationGuid string
The service action organization ID
StandardServiceId string
The standard service ID of this action
Type string
The service action type
description String
The ServiceAction description
guid String
The GUID of this service action
id String
The ServiceAction ID
name String
organizationGuid String
The service action organization ID
standardServiceId String
The standard service ID of this action
type String
The service action type
description string
The ServiceAction description
guid string
The GUID of this service action
id string
The ServiceAction ID
name string
organizationGuid string
The service action organization ID
standardServiceId string
The standard service ID of this action
type string
The service action type
description str
The ServiceAction description
guid str
The GUID of this service action
id str
The ServiceAction ID
name str
organization_guid str
The service action organization ID
standard_service_id str
The standard service ID of this action
type str
The service action type
description String
The ServiceAction description
guid String
The GUID of this service action
id String
The ServiceAction ID
name String
organizationGuid String
The service action organization ID
standardServiceId String
The standard service ID of this action
type String
The service action type

Package Details

Repository
hsdp philips-software/terraform-provider-hsdp
License
Notes
This Pulumi package is based on the hsdp Terraform Provider.