hsdp.ConnectMdmStandardService
Explore with Pulumi AI
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:
- Service
Urls List<ConnectMdm Standard Service Service Url> - Location of this service. Maximum of
5
items are allowed - List<string>
- ) A tag associated with the service
- Connect
Mdm stringStandard Service Id - Description string
- A short description of the service
- Name string
- The name of the standard service
- Organization
Identifier string - Trusted bool
- Service
Urls []ConnectMdm Standard Service Service Url Args - Location of this service. Maximum of
5
items are allowed - []string
- ) A tag associated with the service
- Connect
Mdm stringStandard Service Id - Description string
- A short description of the service
- Name string
- The name of the standard service
- Organization
Identifier string - Trusted bool
- service
Urls List<ConnectMdm Standard Service Service Url> - Location of this service. Maximum of
5
items are allowed - List<String>
- ) A tag associated with the service
- connect
Mdm StringStandard Service Id - description String
- A short description of the service
- name String
- The name of the standard service
- organization
Identifier String - trusted Boolean
- service
Urls ConnectMdm Standard Service Service Url[] - Location of this service. Maximum of
5
items are allowed - string[]
- ) A tag associated with the service
- connect
Mdm stringStandard Service Id - description string
- A short description of the service
- name string
- The name of the standard service
- organization
Identifier string - trusted boolean
- service_
urls Sequence[ConnectMdm Standard Service Service Url Args] - Location of this service. Maximum of
5
items are allowed - Sequence[str]
- ) A tag associated with the service
- connect_
mdm_ strstandard_ service_ id - description str
- A short description of the service
- name str
- The name of the standard service
- organization_
identifier str - trusted bool
- service
Urls List<Property Map> - Location of this service. Maximum of
5
items are allowed - List<String>
- ) A tag associated with the service
- connect
Mdm StringStandard Service Id - description String
- A short description of the service
- name String
- The name of the standard service
- organization
Identifier String - trusted Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectMdmStandardService resource produces the following output properties:
- guid str
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str
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.
- Connect
Mdm stringStandard Service Id - Description string
- A short description of the service
- Guid string
- Name string
- The name of the standard service
- Organization
Identifier string - Service
Urls List<ConnectMdm Standard Service Service Url> - Location of this service. Maximum of
5
items are allowed - List<string>
- ) A tag associated with the service
- Trusted bool
- Version
Id string
- Connect
Mdm stringStandard Service Id - Description string
- A short description of the service
- Guid string
- Name string
- The name of the standard service
- Organization
Identifier string - Service
Urls []ConnectMdm Standard Service Service Url Args - Location of this service. Maximum of
5
items are allowed - []string
- ) A tag associated with the service
- Trusted bool
- Version
Id string
- connect
Mdm StringStandard Service Id - description String
- A short description of the service
- guid String
- name String
- The name of the standard service
- organization
Identifier String - service
Urls List<ConnectMdm Standard Service Service Url> - Location of this service. Maximum of
5
items are allowed - List<String>
- ) A tag associated with the service
- trusted Boolean
- version
Id String
- connect
Mdm stringStandard Service Id - description string
- A short description of the service
- guid string
- name string
- The name of the standard service
- organization
Identifier string - service
Urls ConnectMdm Standard Service Service Url[] - Location of this service. Maximum of
5
items are allowed - string[]
- ) A tag associated with the service
- trusted boolean
- version
Id string
- connect_
mdm_ strstandard_ service_ id - description str
- A short description of the service
- guid str
- name str
- The name of the standard service
- organization_
identifier str - service_
urls Sequence[ConnectMdm Standard Service Service Url Args] - Location of this service. Maximum of
5
items are allowed - Sequence[str]
- ) A tag associated with the service
- trusted bool
- version_
id str
- connect
Mdm StringStandard Service Id - description String
- A short description of the service
- guid String
- name String
- The name of the standard service
- organization
Identifier String - service
Urls List<Property Map> - Location of this service. Maximum of
5
items are allowed - List<String>
- ) A tag associated with the service
- trusted Boolean
- version
Id String
Supporting Types
ConnectMdmStandardServiceServiceUrl, ConnectMdmStandardServiceServiceUrlArgs
- Sort
Order double - the sorting order
- Url string
- the URL of the service
- Authentication
Method stringId - The id of the authention method to use
- Sort
Order float64 - the sorting order
- Url string
- the URL of the service
- Authentication
Method stringId - The id of the authention method to use
- sort
Order Double - the sorting order
- url String
- the URL of the service
- authentication
Method StringId - The id of the authention method to use
- sort
Order number - the sorting order
- url string
- the URL of the service
- authentication
Method stringId - The id of the authention method to use
- sort_
order float - the sorting order
- url str
- the URL of the service
- authentication_
method_ strid - The id of the authention method to use
- sort
Order Number - the sorting order
- url String
- the URL of the service
- authentication
Method StringId - 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.