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

hsdp.ConnectMdmStandardService

Explore with Pulumi AI

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

    Create and manage MDM StandardServices resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const someService = new hsdp.ConnectMdmStandardService("someService", {
        description: "A tenant service that does something",
        serviceUrls: [
            {
                sortOrder: 1,
                url: "https://tycho-service.hsdp.in",
            },
            {
                sortOrder: 2,
                url: "https://tycho-service.hsdp.nl",
            },
        ],
        tags: ["TYCHO"],
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    some_service = hsdp.ConnectMdmStandardService("someService",
        description="A tenant service that does something",
        service_urls=[
            {
                "sort_order": 1,
                "url": "https://tycho-service.hsdp.in",
            },
            {
                "sort_order": 2,
                "url": "https://tycho-service.hsdp.nl",
            },
        ],
        tags=["TYCHO"])
    
    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.NewConnectMdmStandardService(ctx, "someService", &hsdp.ConnectMdmStandardServiceArgs{
    			Description: pulumi.String("A tenant service that does something"),
    			ServiceUrls: hsdp.ConnectMdmStandardServiceServiceUrlArray{
    				&hsdp.ConnectMdmStandardServiceServiceUrlArgs{
    					SortOrder: pulumi.Float64(1),
    					Url:       pulumi.String("https://tycho-service.hsdp.in"),
    				},
    				&hsdp.ConnectMdmStandardServiceServiceUrlArgs{
    					SortOrder: pulumi.Float64(2),
    					Url:       pulumi.String("https://tycho-service.hsdp.nl"),
    				},
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("TYCHO"),
    			},
    		})
    		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 someService = new Hsdp.ConnectMdmStandardService("someService", new()
        {
            Description = "A tenant service that does something",
            ServiceUrls = new[]
            {
                new Hsdp.Inputs.ConnectMdmStandardServiceServiceUrlArgs
                {
                    SortOrder = 1,
                    Url = "https://tycho-service.hsdp.in",
                },
                new Hsdp.Inputs.ConnectMdmStandardServiceServiceUrlArgs
                {
                    SortOrder = 2,
                    Url = "https://tycho-service.hsdp.nl",
                },
            },
            Tags = new[]
            {
                "TYCHO",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.ConnectMdmStandardService;
    import com.pulumi.hsdp.ConnectMdmStandardServiceArgs;
    import com.pulumi.hsdp.inputs.ConnectMdmStandardServiceServiceUrlArgs;
    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 someService = new ConnectMdmStandardService("someService", ConnectMdmStandardServiceArgs.builder()
                .description("A tenant service that does something")
                .serviceUrls(            
                    ConnectMdmStandardServiceServiceUrlArgs.builder()
                        .sortOrder(1)
                        .url("https://tycho-service.hsdp.in")
                        .build(),
                    ConnectMdmStandardServiceServiceUrlArgs.builder()
                        .sortOrder(2)
                        .url("https://tycho-service.hsdp.nl")
                        .build())
                .tags("TYCHO")
                .build());
    
        }
    }
    
    resources:
      someService:
        type: hsdp:ConnectMdmStandardService
        properties:
          description: A tenant service that does something
          serviceUrls:
            - sortOrder: 1
              url: https://tycho-service.hsdp.in
            - sortOrder: 2
              url: https://tycho-service.hsdp.nl
          tags:
            - TYCHO
    

    Attributes reference

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

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

    Create ConnectMdmStandardService Resource

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

    Constructor syntax

    new ConnectMdmStandardService(name: string, args: ConnectMdmStandardServiceArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectMdmStandardService(resource_name: str,
                                  args: ConnectMdmStandardServiceArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectMdmStandardService(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  service_urls: Optional[Sequence[ConnectMdmStandardServiceServiceUrlArgs]] = None,
                                  tags: Optional[Sequence[str]] = None,
                                  connect_mdm_standard_service_id: Optional[str] = None,
                                  description: Optional[str] = None,
                                  name: Optional[str] = None,
                                  organization_identifier: Optional[str] = None,
                                  trusted: Optional[bool] = None)
    func NewConnectMdmStandardService(ctx *Context, name string, args ConnectMdmStandardServiceArgs, opts ...ResourceOption) (*ConnectMdmStandardService, error)
    public ConnectMdmStandardService(string name, ConnectMdmStandardServiceArgs args, CustomResourceOptions? opts = null)
    public ConnectMdmStandardService(String name, ConnectMdmStandardServiceArgs args)
    public ConnectMdmStandardService(String name, ConnectMdmStandardServiceArgs args, CustomResourceOptions options)
    
    type: hsdp:ConnectMdmStandardService
    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 ConnectMdmStandardServiceArgs
    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 ConnectMdmStandardServiceArgs
    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 ConnectMdmStandardServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectMdmStandardServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectMdmStandardServiceArgs
    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 connectMdmStandardServiceResource = new Hsdp.ConnectMdmStandardService("connectMdmStandardServiceResource", new()
    {
        ServiceUrls = new[]
        {
            new Hsdp.Inputs.ConnectMdmStandardServiceServiceUrlArgs
            {
                SortOrder = 0,
                Url = "string",
                AuthenticationMethodId = "string",
            },
        },
        Tags = new[]
        {
            "string",
        },
        ConnectMdmStandardServiceId = "string",
        Description = "string",
        Name = "string",
        OrganizationIdentifier = "string",
        Trusted = false,
    });
    
    example, err := hsdp.NewConnectMdmStandardService(ctx, "connectMdmStandardServiceResource", &hsdp.ConnectMdmStandardServiceArgs{
    	ServiceUrls: hsdp.ConnectMdmStandardServiceServiceUrlArray{
    		&hsdp.ConnectMdmStandardServiceServiceUrlArgs{
    			SortOrder:              pulumi.Float64(0),
    			Url:                    pulumi.String("string"),
    			AuthenticationMethodId: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ConnectMdmStandardServiceId: pulumi.String("string"),
    	Description:                 pulumi.String("string"),
    	Name:                        pulumi.String("string"),
    	OrganizationIdentifier:      pulumi.String("string"),
    	Trusted:                     pulumi.Bool(false),
    })
    
    var connectMdmStandardServiceResource = new ConnectMdmStandardService("connectMdmStandardServiceResource", ConnectMdmStandardServiceArgs.builder()
        .serviceUrls(ConnectMdmStandardServiceServiceUrlArgs.builder()
            .sortOrder(0)
            .url("string")
            .authenticationMethodId("string")
            .build())
        .tags("string")
        .connectMdmStandardServiceId("string")
        .description("string")
        .name("string")
        .organizationIdentifier("string")
        .trusted(false)
        .build());
    
    connect_mdm_standard_service_resource = hsdp.ConnectMdmStandardService("connectMdmStandardServiceResource",
        service_urls=[{
            "sort_order": 0,
            "url": "string",
            "authentication_method_id": "string",
        }],
        tags=["string"],
        connect_mdm_standard_service_id="string",
        description="string",
        name="string",
        organization_identifier="string",
        trusted=False)
    
    const connectMdmStandardServiceResource = new hsdp.ConnectMdmStandardService("connectMdmStandardServiceResource", {
        serviceUrls: [{
            sortOrder: 0,
            url: "string",
            authenticationMethodId: "string",
        }],
        tags: ["string"],
        connectMdmStandardServiceId: "string",
        description: "string",
        name: "string",
        organizationIdentifier: "string",
        trusted: false,
    });
    
    type: hsdp:ConnectMdmStandardService
    properties:
        connectMdmStandardServiceId: string
        description: string
        name: string
        organizationIdentifier: string
        serviceUrls:
            - authenticationMethodId: string
              sortOrder: 0
              url: string
        tags:
            - string
        trusted: false
    

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

    ServiceUrls List<ConnectMdmStandardServiceServiceUrl>
    Location of this service. Maximum of 5 items are allowed
    Tags List<string>
    ) A tag associated with the service
    ConnectMdmStandardServiceId string
    Description string
    A short description of the service
    Name string
    The name of the standard service
    OrganizationIdentifier string
    Trusted bool
    ServiceUrls []ConnectMdmStandardServiceServiceUrlArgs
    Location of this service. Maximum of 5 items are allowed
    Tags []string
    ) A tag associated with the service
    ConnectMdmStandardServiceId string
    Description string
    A short description of the service
    Name string
    The name of the standard service
    OrganizationIdentifier string
    Trusted bool
    serviceUrls List<ConnectMdmStandardServiceServiceUrl>
    Location of this service. Maximum of 5 items are allowed
    tags List<String>
    ) A tag associated with the service
    connectMdmStandardServiceId String
    description String
    A short description of the service
    name String
    The name of the standard service
    organizationIdentifier String
    trusted Boolean
    serviceUrls ConnectMdmStandardServiceServiceUrl[]
    Location of this service. Maximum of 5 items are allowed
    tags string[]
    ) A tag associated with the service
    connectMdmStandardServiceId string
    description string
    A short description of the service
    name string
    The name of the standard service
    organizationIdentifier string
    trusted boolean
    service_urls Sequence[ConnectMdmStandardServiceServiceUrlArgs]
    Location of this service. Maximum of 5 items are allowed
    tags Sequence[str]
    ) A tag associated with the service
    connect_mdm_standard_service_id str
    description str
    A short description of the service
    name str
    The name of the standard service
    organization_identifier str
    trusted bool
    serviceUrls List<Property Map>
    Location of this service. Maximum of 5 items are allowed
    tags List<String>
    ) A tag associated with the service
    connectMdmStandardServiceId String
    description String
    A short description of the service
    name String
    The name of the standard service
    organizationIdentifier String
    trusted Boolean

    Outputs

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

    Get an existing ConnectMdmStandardService 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?: ConnectMdmStandardServiceState, opts?: CustomResourceOptions): ConnectMdmStandardService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connect_mdm_standard_service_id: Optional[str] = None,
            description: Optional[str] = None,
            guid: Optional[str] = None,
            name: Optional[str] = None,
            organization_identifier: Optional[str] = None,
            service_urls: Optional[Sequence[ConnectMdmStandardServiceServiceUrlArgs]] = None,
            tags: Optional[Sequence[str]] = None,
            trusted: Optional[bool] = None,
            version_id: Optional[str] = None) -> ConnectMdmStandardService
    func GetConnectMdmStandardService(ctx *Context, name string, id IDInput, state *ConnectMdmStandardServiceState, opts ...ResourceOption) (*ConnectMdmStandardService, error)
    public static ConnectMdmStandardService Get(string name, Input<string> id, ConnectMdmStandardServiceState? state, CustomResourceOptions? opts = null)
    public static ConnectMdmStandardService get(String name, Output<String> id, ConnectMdmStandardServiceState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:ConnectMdmStandardService    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:
    ConnectMdmStandardServiceId string
    Description string
    A short description of the service
    Guid string
    Name string
    The name of the standard service
    OrganizationIdentifier string
    ServiceUrls List<ConnectMdmStandardServiceServiceUrl>
    Location of this service. Maximum of 5 items are allowed
    Tags List<string>
    ) A tag associated with the service
    Trusted bool
    VersionId string
    ConnectMdmStandardServiceId string
    Description string
    A short description of the service
    Guid string
    Name string
    The name of the standard service
    OrganizationIdentifier string
    ServiceUrls []ConnectMdmStandardServiceServiceUrlArgs
    Location of this service. Maximum of 5 items are allowed
    Tags []string
    ) A tag associated with the service
    Trusted bool
    VersionId string
    connectMdmStandardServiceId String
    description String
    A short description of the service
    guid String
    name String
    The name of the standard service
    organizationIdentifier String
    serviceUrls List<ConnectMdmStandardServiceServiceUrl>
    Location of this service. Maximum of 5 items are allowed
    tags List<String>
    ) A tag associated with the service
    trusted Boolean
    versionId String
    connectMdmStandardServiceId string
    description string
    A short description of the service
    guid string
    name string
    The name of the standard service
    organizationIdentifier string
    serviceUrls ConnectMdmStandardServiceServiceUrl[]
    Location of this service. Maximum of 5 items are allowed
    tags string[]
    ) A tag associated with the service
    trusted boolean
    versionId string
    connect_mdm_standard_service_id str
    description str
    A short description of the service
    guid str
    name str
    The name of the standard service
    organization_identifier str
    service_urls Sequence[ConnectMdmStandardServiceServiceUrlArgs]
    Location of this service. Maximum of 5 items are allowed
    tags Sequence[str]
    ) A tag associated with the service
    trusted bool
    version_id str
    connectMdmStandardServiceId String
    description String
    A short description of the service
    guid String
    name String
    The name of the standard service
    organizationIdentifier String
    serviceUrls List<Property Map>
    Location of this service. Maximum of 5 items are allowed
    tags List<String>
    ) A tag associated with the service
    trusted Boolean
    versionId String

    Supporting Types

    ConnectMdmStandardServiceServiceUrl, ConnectMdmStandardServiceServiceUrlArgs

    SortOrder double
    the sorting order
    Url string
    the URL of the service
    AuthenticationMethodId string
    The id of the authention method to use
    SortOrder float64
    the sorting order
    Url string
    the URL of the service
    AuthenticationMethodId string
    The id of the authention method to use
    sortOrder Double
    the sorting order
    url String
    the URL of the service
    authenticationMethodId String
    The id of the authention method to use
    sortOrder number
    the sorting order
    url string
    the URL of the service
    authenticationMethodId string
    The id of the authention method to use
    sort_order float
    the sorting order
    url str
    the URL of the service
    authentication_method_id str
    The id of the authention method to use
    sortOrder Number
    the sorting order
    url String
    the URL of the service
    authenticationMethodId String
    The id of the authention method to use

    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