hsdp.ConnectMdmServiceReference
Explore with Pulumi AI
Create and manage MDM ServiceReference resources
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const someReference = new hsdp.ConnectMdmServiceReference("someReference", {
description: "Terraform provisioned service reference",
applicationId: data.hsdp_connect_mdm_application.app.id,
standardServiceId: hsdp_connect_mdm_standard_service.service.id,
matchingRule: "*",
serviceActionIds: [hsdp_connect_mdm_service_action.some_action.id],
bootstrapEnabled: true,
});
import pulumi
import pulumi_hsdp as hsdp
some_reference = hsdp.ConnectMdmServiceReference("someReference",
description="Terraform provisioned service reference",
application_id=data["hsdp_connect_mdm_application"]["app"]["id"],
standard_service_id=hsdp_connect_mdm_standard_service["service"]["id"],
matching_rule="*",
service_action_ids=[hsdp_connect_mdm_service_action["some_action"]["id"]],
bootstrap_enabled=True)
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.NewConnectMdmServiceReference(ctx, "someReference", &hsdp.ConnectMdmServiceReferenceArgs{
Description: pulumi.String("Terraform provisioned service reference"),
ApplicationId: pulumi.Any(data.Hsdp_connect_mdm_application.App.Id),
StandardServiceId: pulumi.Any(hsdp_connect_mdm_standard_service.Service.Id),
MatchingRule: pulumi.String("*"),
ServiceActionIds: pulumi.StringArray{
hsdp_connect_mdm_service_action.Some_action.Id,
},
BootstrapEnabled: pulumi.Bool(true),
})
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 someReference = new Hsdp.ConnectMdmServiceReference("someReference", new()
{
Description = "Terraform provisioned service reference",
ApplicationId = data.Hsdp_connect_mdm_application.App.Id,
StandardServiceId = hsdp_connect_mdm_standard_service.Service.Id,
MatchingRule = "*",
ServiceActionIds = new[]
{
hsdp_connect_mdm_service_action.Some_action.Id,
},
BootstrapEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.ConnectMdmServiceReference;
import com.pulumi.hsdp.ConnectMdmServiceReferenceArgs;
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 someReference = new ConnectMdmServiceReference("someReference", ConnectMdmServiceReferenceArgs.builder()
.description("Terraform provisioned service reference")
.applicationId(data.hsdp_connect_mdm_application().app().id())
.standardServiceId(hsdp_connect_mdm_standard_service.service().id())
.matchingRule("*")
.serviceActionIds(hsdp_connect_mdm_service_action.some_action().id())
.bootstrapEnabled(true)
.build());
}
}
resources:
someReference:
type: hsdp:ConnectMdmServiceReference
properties:
description: Terraform provisioned service reference
applicationId: ${data.hsdp_connect_mdm_application.app.id}
standardServiceId: ${hsdp_connect_mdm_standard_service.service.id}
matchingRule: '*'
serviceActionIds:
- ${hsdp_connect_mdm_service_action.some_action.id}
bootstrapEnabled: true
Attributes reference
In addition to all arguments above, the following attributes are exported:
id
- The ID reference of the service action (format:ServiceReference/${GUID}
)guid
- The GUID of the service action
Create ConnectMdmServiceReference Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectMdmServiceReference(name: string, args: ConnectMdmServiceReferenceArgs, opts?: CustomResourceOptions);
@overload
def ConnectMdmServiceReference(resource_name: str,
args: ConnectMdmServiceReferenceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectMdmServiceReference(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
service_action_ids: Optional[Sequence[str]] = None,
standard_service_id: Optional[str] = None,
bootstrap_enabled: Optional[bool] = None,
connect_mdm_service_reference_id: Optional[str] = None,
description: Optional[str] = None,
matching_rule: Optional[str] = None,
name: Optional[str] = None)
func NewConnectMdmServiceReference(ctx *Context, name string, args ConnectMdmServiceReferenceArgs, opts ...ResourceOption) (*ConnectMdmServiceReference, error)
public ConnectMdmServiceReference(string name, ConnectMdmServiceReferenceArgs args, CustomResourceOptions? opts = null)
public ConnectMdmServiceReference(String name, ConnectMdmServiceReferenceArgs args)
public ConnectMdmServiceReference(String name, ConnectMdmServiceReferenceArgs args, CustomResourceOptions options)
type: hsdp:ConnectMdmServiceReference
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 ConnectMdmServiceReferenceArgs
- 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 ConnectMdmServiceReferenceArgs
- 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 ConnectMdmServiceReferenceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectMdmServiceReferenceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectMdmServiceReferenceArgs
- 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 connectMdmServiceReferenceResource = new Hsdp.ConnectMdmServiceReference("connectMdmServiceReferenceResource", new()
{
ApplicationId = "string",
ServiceActionIds = new[]
{
"string",
},
StandardServiceId = "string",
BootstrapEnabled = false,
ConnectMdmServiceReferenceId = "string",
Description = "string",
MatchingRule = "string",
Name = "string",
});
example, err := hsdp.NewConnectMdmServiceReference(ctx, "connectMdmServiceReferenceResource", &hsdp.ConnectMdmServiceReferenceArgs{
ApplicationId: pulumi.String("string"),
ServiceActionIds: pulumi.StringArray{
pulumi.String("string"),
},
StandardServiceId: pulumi.String("string"),
BootstrapEnabled: pulumi.Bool(false),
ConnectMdmServiceReferenceId: pulumi.String("string"),
Description: pulumi.String("string"),
MatchingRule: pulumi.String("string"),
Name: pulumi.String("string"),
})
var connectMdmServiceReferenceResource = new ConnectMdmServiceReference("connectMdmServiceReferenceResource", ConnectMdmServiceReferenceArgs.builder()
.applicationId("string")
.serviceActionIds("string")
.standardServiceId("string")
.bootstrapEnabled(false)
.connectMdmServiceReferenceId("string")
.description("string")
.matchingRule("string")
.name("string")
.build());
connect_mdm_service_reference_resource = hsdp.ConnectMdmServiceReference("connectMdmServiceReferenceResource",
application_id="string",
service_action_ids=["string"],
standard_service_id="string",
bootstrap_enabled=False,
connect_mdm_service_reference_id="string",
description="string",
matching_rule="string",
name="string")
const connectMdmServiceReferenceResource = new hsdp.ConnectMdmServiceReference("connectMdmServiceReferenceResource", {
applicationId: "string",
serviceActionIds: ["string"],
standardServiceId: "string",
bootstrapEnabled: false,
connectMdmServiceReferenceId: "string",
description: "string",
matchingRule: "string",
name: "string",
});
type: hsdp:ConnectMdmServiceReference
properties:
applicationId: string
bootstrapEnabled: false
connectMdmServiceReferenceId: string
description: string
matchingRule: string
name: string
serviceActionIds:
- string
standardServiceId: string
ConnectMdmServiceReference 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 ConnectMdmServiceReference resource accepts the following input properties:
- Application
Id string - The application associated with this service reference
- Service
Action List<string>Ids - ) The list of serviced action IDs
- Standard
Service stringId - Reference to a Standard Service
- Bootstrap
Enabled bool - Wether or not to enable this for bootstrapping
- Connect
Mdm stringService Reference Id - Description string
- A short description of the service action
- Matching
Rule string - The rule to use to match up the services
- Name string
- The name of the service action
- Application
Id string - The application associated with this service reference
- Service
Action []stringIds - ) The list of serviced action IDs
- Standard
Service stringId - Reference to a Standard Service
- Bootstrap
Enabled bool - Wether or not to enable this for bootstrapping
- Connect
Mdm stringService Reference Id - Description string
- A short description of the service action
- Matching
Rule string - The rule to use to match up the services
- Name string
- The name of the service action
- application
Id String - The application associated with this service reference
- service
Action List<String>Ids - ) The list of serviced action IDs
- standard
Service StringId - Reference to a Standard Service
- bootstrap
Enabled Boolean - Wether or not to enable this for bootstrapping
- connect
Mdm StringService Reference Id - description String
- A short description of the service action
- matching
Rule String - The rule to use to match up the services
- name String
- The name of the service action
- application
Id string - The application associated with this service reference
- service
Action string[]Ids - ) The list of serviced action IDs
- standard
Service stringId - Reference to a Standard Service
- bootstrap
Enabled boolean - Wether or not to enable this for bootstrapping
- connect
Mdm stringService Reference Id - description string
- A short description of the service action
- matching
Rule string - The rule to use to match up the services
- name string
- The name of the service action
- application_
id str - The application associated with this service reference
- service_
action_ Sequence[str]ids - ) The list of serviced action IDs
- standard_
service_ strid - Reference to a Standard Service
- bootstrap_
enabled bool - Wether or not to enable this for bootstrapping
- connect_
mdm_ strservice_ reference_ id - description str
- A short description of the service action
- matching_
rule str - The rule to use to match up the services
- name str
- The name of the service action
- application
Id String - The application associated with this service reference
- service
Action List<String>Ids - ) The list of serviced action IDs
- standard
Service StringId - Reference to a Standard Service
- bootstrap
Enabled Boolean - Wether or not to enable this for bootstrapping
- connect
Mdm StringService Reference Id - description String
- A short description of the service action
- matching
Rule String - The rule to use to match up the services
- name String
- The name of the service action
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectMdmServiceReference 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 ConnectMdmServiceReference Resource
Get an existing ConnectMdmServiceReference 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?: ConnectMdmServiceReferenceState, opts?: CustomResourceOptions): ConnectMdmServiceReference
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
bootstrap_enabled: Optional[bool] = None,
connect_mdm_service_reference_id: Optional[str] = None,
description: Optional[str] = None,
guid: Optional[str] = None,
matching_rule: Optional[str] = None,
name: Optional[str] = None,
service_action_ids: Optional[Sequence[str]] = None,
standard_service_id: Optional[str] = None,
version_id: Optional[str] = None) -> ConnectMdmServiceReference
func GetConnectMdmServiceReference(ctx *Context, name string, id IDInput, state *ConnectMdmServiceReferenceState, opts ...ResourceOption) (*ConnectMdmServiceReference, error)
public static ConnectMdmServiceReference Get(string name, Input<string> id, ConnectMdmServiceReferenceState? state, CustomResourceOptions? opts = null)
public static ConnectMdmServiceReference get(String name, Output<String> id, ConnectMdmServiceReferenceState state, CustomResourceOptions options)
resources: _: type: hsdp:ConnectMdmServiceReference 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.
- Application
Id string - The application associated with this service reference
- Bootstrap
Enabled bool - Wether or not to enable this for bootstrapping
- Connect
Mdm stringService Reference Id - Description string
- A short description of the service action
- Guid string
- Matching
Rule string - The rule to use to match up the services
- Name string
- The name of the service action
- Service
Action List<string>Ids - ) The list of serviced action IDs
- Standard
Service stringId - Reference to a Standard Service
- Version
Id string
- Application
Id string - The application associated with this service reference
- Bootstrap
Enabled bool - Wether or not to enable this for bootstrapping
- Connect
Mdm stringService Reference Id - Description string
- A short description of the service action
- Guid string
- Matching
Rule string - The rule to use to match up the services
- Name string
- The name of the service action
- Service
Action []stringIds - ) The list of serviced action IDs
- Standard
Service stringId - Reference to a Standard Service
- Version
Id string
- application
Id String - The application associated with this service reference
- bootstrap
Enabled Boolean - Wether or not to enable this for bootstrapping
- connect
Mdm StringService Reference Id - description String
- A short description of the service action
- guid String
- matching
Rule String - The rule to use to match up the services
- name String
- The name of the service action
- service
Action List<String>Ids - ) The list of serviced action IDs
- standard
Service StringId - Reference to a Standard Service
- version
Id String
- application
Id string - The application associated with this service reference
- bootstrap
Enabled boolean - Wether or not to enable this for bootstrapping
- connect
Mdm stringService Reference Id - description string
- A short description of the service action
- guid string
- matching
Rule string - The rule to use to match up the services
- name string
- The name of the service action
- service
Action string[]Ids - ) The list of serviced action IDs
- standard
Service stringId - Reference to a Standard Service
- version
Id string
- application_
id str - The application associated with this service reference
- bootstrap_
enabled bool - Wether or not to enable this for bootstrapping
- connect_
mdm_ strservice_ reference_ id - description str
- A short description of the service action
- guid str
- matching_
rule str - The rule to use to match up the services
- name str
- The name of the service action
- service_
action_ Sequence[str]ids - ) The list of serviced action IDs
- standard_
service_ strid - Reference to a Standard Service
- version_
id str
- application
Id String - The application associated with this service reference
- bootstrap
Enabled Boolean - Wether or not to enable this for bootstrapping
- connect
Mdm StringService Reference Id - description String
- A short description of the service action
- guid String
- matching
Rule String - The rule to use to match up the services
- name String
- The name of the service action
- service
Action List<String>Ids - ) The list of serviced action IDs
- standard
Service StringId - Reference to a Standard Service
- version
Id String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.