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

hsdp.ConnectMdmServiceAction

Explore with Pulumi AI

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

    Create and manage MDM ServiceAction resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const someAction = new hsdp.ConnectMdmServiceAction("someAction", {
        description: "A tenant service action that does something",
        standardServiceId: hsdp_connect_mdm_standard_service.some_service.id,
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    some_action = hsdp.ConnectMdmServiceAction("someAction",
        description="A tenant service action that does something",
        standard_service_id=hsdp_connect_mdm_standard_service["some_service"]["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 {
    		_, err := hsdp.NewConnectMdmServiceAction(ctx, "someAction", &hsdp.ConnectMdmServiceActionArgs{
    			Description:       pulumi.String("A tenant service action that does something"),
    			StandardServiceId: pulumi.Any(hsdp_connect_mdm_standard_service.Some_service.Id),
    		})
    		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 someAction = new Hsdp.ConnectMdmServiceAction("someAction", new()
        {
            Description = "A tenant service action that does something",
            StandardServiceId = hsdp_connect_mdm_standard_service.Some_service.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.ConnectMdmServiceAction;
    import com.pulumi.hsdp.ConnectMdmServiceActionArgs;
    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 someAction = new ConnectMdmServiceAction("someAction", ConnectMdmServiceActionArgs.builder()
                .description("A tenant service action that does something")
                .standardServiceId(hsdp_connect_mdm_standard_service.some_service().id())
                .build());
    
        }
    }
    
    resources:
      someAction:
        type: hsdp:ConnectMdmServiceAction
        properties:
          description: A tenant service action that does something
          standardServiceId: ${hsdp_connect_mdm_standard_service.some_service.id}
    

    Attributes reference

    In addition to all arguments above, the following attributes are exported:

    • id - The ID reference of the service action (format: ServiceAction/${GUID})
    • guid - The GUID of the service action

    Create ConnectMdmServiceAction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConnectMdmServiceAction(name: string, args: ConnectMdmServiceActionArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectMdmServiceAction(resource_name: str,
                                args: ConnectMdmServiceActionArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectMdmServiceAction(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                standard_service_id: Optional[str] = None,
                                connect_mdm_service_action_id: Optional[str] = None,
                                description: Optional[str] = None,
                                name: Optional[str] = None,
                                organization_identifier: Optional[str] = None)
    func NewConnectMdmServiceAction(ctx *Context, name string, args ConnectMdmServiceActionArgs, opts ...ResourceOption) (*ConnectMdmServiceAction, error)
    public ConnectMdmServiceAction(string name, ConnectMdmServiceActionArgs args, CustomResourceOptions? opts = null)
    public ConnectMdmServiceAction(String name, ConnectMdmServiceActionArgs args)
    public ConnectMdmServiceAction(String name, ConnectMdmServiceActionArgs args, CustomResourceOptions options)
    
    type: hsdp:ConnectMdmServiceAction
    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 ConnectMdmServiceActionArgs
    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 ConnectMdmServiceActionArgs
    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 ConnectMdmServiceActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectMdmServiceActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectMdmServiceActionArgs
    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 connectMdmServiceActionResource = new Hsdp.ConnectMdmServiceAction("connectMdmServiceActionResource", new()
    {
        StandardServiceId = "string",
        ConnectMdmServiceActionId = "string",
        Description = "string",
        Name = "string",
        OrganizationIdentifier = "string",
    });
    
    example, err := hsdp.NewConnectMdmServiceAction(ctx, "connectMdmServiceActionResource", &hsdp.ConnectMdmServiceActionArgs{
    	StandardServiceId:         pulumi.String("string"),
    	ConnectMdmServiceActionId: pulumi.String("string"),
    	Description:               pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	OrganizationIdentifier:    pulumi.String("string"),
    })
    
    var connectMdmServiceActionResource = new ConnectMdmServiceAction("connectMdmServiceActionResource", ConnectMdmServiceActionArgs.builder()
        .standardServiceId("string")
        .connectMdmServiceActionId("string")
        .description("string")
        .name("string")
        .organizationIdentifier("string")
        .build());
    
    connect_mdm_service_action_resource = hsdp.ConnectMdmServiceAction("connectMdmServiceActionResource",
        standard_service_id="string",
        connect_mdm_service_action_id="string",
        description="string",
        name="string",
        organization_identifier="string")
    
    const connectMdmServiceActionResource = new hsdp.ConnectMdmServiceAction("connectMdmServiceActionResource", {
        standardServiceId: "string",
        connectMdmServiceActionId: "string",
        description: "string",
        name: "string",
        organizationIdentifier: "string",
    });
    
    type: hsdp:ConnectMdmServiceAction
    properties:
        connectMdmServiceActionId: string
        description: string
        name: string
        organizationIdentifier: string
        standardServiceId: string
    

    ConnectMdmServiceAction 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 ConnectMdmServiceAction resource accepts the following input properties:

    StandardServiceId string
    Reference to a Standard Service
    ConnectMdmServiceActionId string
    Description string
    A short description of the service action
    Name string
    The name of the service action
    OrganizationIdentifier string
    StandardServiceId string
    Reference to a Standard Service
    ConnectMdmServiceActionId string
    Description string
    A short description of the service action
    Name string
    The name of the service action
    OrganizationIdentifier string
    standardServiceId String
    Reference to a Standard Service
    connectMdmServiceActionId String
    description String
    A short description of the service action
    name String
    The name of the service action
    organizationIdentifier String
    standardServiceId string
    Reference to a Standard Service
    connectMdmServiceActionId string
    description string
    A short description of the service action
    name string
    The name of the service action
    organizationIdentifier string
    standard_service_id str
    Reference to a Standard Service
    connect_mdm_service_action_id str
    description str
    A short description of the service action
    name str
    The name of the service action
    organization_identifier str
    standardServiceId String
    Reference to a Standard Service
    connectMdmServiceActionId String
    description String
    A short description of the service action
    name String
    The name of the service action
    organizationIdentifier String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectMdmServiceAction 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 ConnectMdmServiceAction Resource

    Get an existing ConnectMdmServiceAction 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?: ConnectMdmServiceActionState, opts?: CustomResourceOptions): ConnectMdmServiceAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connect_mdm_service_action_id: Optional[str] = None,
            description: Optional[str] = None,
            guid: Optional[str] = None,
            name: Optional[str] = None,
            organization_identifier: Optional[str] = None,
            standard_service_id: Optional[str] = None,
            version_id: Optional[str] = None) -> ConnectMdmServiceAction
    func GetConnectMdmServiceAction(ctx *Context, name string, id IDInput, state *ConnectMdmServiceActionState, opts ...ResourceOption) (*ConnectMdmServiceAction, error)
    public static ConnectMdmServiceAction Get(string name, Input<string> id, ConnectMdmServiceActionState? state, CustomResourceOptions? opts = null)
    public static ConnectMdmServiceAction get(String name, Output<String> id, ConnectMdmServiceActionState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:ConnectMdmServiceAction    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:
    ConnectMdmServiceActionId string
    Description string
    A short description of the service action
    Guid string
    Name string
    The name of the service action
    OrganizationIdentifier string
    StandardServiceId string
    Reference to a Standard Service
    VersionId string
    ConnectMdmServiceActionId string
    Description string
    A short description of the service action
    Guid string
    Name string
    The name of the service action
    OrganizationIdentifier string
    StandardServiceId string
    Reference to a Standard Service
    VersionId string
    connectMdmServiceActionId String
    description String
    A short description of the service action
    guid String
    name String
    The name of the service action
    organizationIdentifier String
    standardServiceId String
    Reference to a Standard Service
    versionId String
    connectMdmServiceActionId string
    description string
    A short description of the service action
    guid string
    name string
    The name of the service action
    organizationIdentifier string
    standardServiceId string
    Reference to a Standard Service
    versionId string
    connect_mdm_service_action_id str
    description str
    A short description of the service action
    guid str
    name str
    The name of the service action
    organization_identifier str
    standard_service_id str
    Reference to a Standard Service
    version_id str
    connectMdmServiceActionId String
    description String
    A short description of the service action
    guid String
    name String
    The name of the service action
    organizationIdentifier String
    standardServiceId String
    Reference to a Standard Service
    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