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

hsdp.getConnectMdmServiceAgent

Explore with Pulumi AI

Retrieve details of a ServiceAgent

Example Usage

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

const postgresServiceAgent = hsdp.getConnectMdmServiceAgent({
    name: "postgreserviceagent",
});
Copy
import pulumi
import pulumi_hsdp as hsdp

postgres_service_agent = hsdp.get_connect_mdm_service_agent(name="postgreserviceagent")
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.GetConnectMdmServiceAgent(ctx, &hsdp.GetConnectMdmServiceAgentArgs{
			Name: "postgreserviceagent",
		}, 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 postgresServiceAgent = Hsdp.GetConnectMdmServiceAgent.Invoke(new()
    {
        Name = "postgreserviceagent",
    });

});
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.GetConnectMdmServiceAgentArgs;
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 postgresServiceAgent = HsdpFunctions.getConnectMdmServiceAgent(GetConnectMdmServiceAgentArgs.builder()
            .name("postgreserviceagent")
            .build());

    }
}
Copy
variables:
  postgresServiceAgent:
    fn::invoke:
      function: hsdp:getConnectMdmServiceAgent
      arguments:
        name: postgreserviceagent
Copy
import * as pulumi from "@pulumi/pulumi";

export const serviceAgentConfiguration = data.hsdp_connect_service_agents.postgres_service_agent.configuration;
Copy
import pulumi

pulumi.export("serviceAgentConfiguration", data["hsdp_connect_service_agents"]["postgres_service_agent"]["configuration"])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("serviceAgentConfiguration", data.Hsdp_connect_service_agents.Postgres_service_agent.Configuration)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
    return new Dictionary<string, object?>
    {
        ["serviceAgentConfiguration"] = data.Hsdp_connect_service_agents.Postgres_service_agent.Configuration,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
        ctx.export("serviceAgentConfiguration", data.hsdp_connect_service_agents().postgres_service_agent().configuration());
    }
}
Copy
outputs:
  serviceAgentConfiguration: ${data.hsdp_connect_service_agents.postgres_service_agent.configuration}
Copy

Using getConnectMdmServiceAgent

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 getConnectMdmServiceAgent(args: GetConnectMdmServiceAgentArgs, opts?: InvokeOptions): Promise<GetConnectMdmServiceAgentResult>
function getConnectMdmServiceAgentOutput(args: GetConnectMdmServiceAgentOutputArgs, opts?: InvokeOptions): Output<GetConnectMdmServiceAgentResult>
Copy
def get_connect_mdm_service_agent(id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetConnectMdmServiceAgentResult
def get_connect_mdm_service_agent_output(id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetConnectMdmServiceAgentResult]
Copy
func GetConnectMdmServiceAgent(ctx *Context, args *GetConnectMdmServiceAgentArgs, opts ...InvokeOption) (*GetConnectMdmServiceAgentResult, error)
func GetConnectMdmServiceAgentOutput(ctx *Context, args *GetConnectMdmServiceAgentOutputArgs, opts ...InvokeOption) GetConnectMdmServiceAgentResultOutput
Copy

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

public static class GetConnectMdmServiceAgent 
{
    public static Task<GetConnectMdmServiceAgentResult> InvokeAsync(GetConnectMdmServiceAgentArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectMdmServiceAgentResult> Invoke(GetConnectMdmServiceAgentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectMdmServiceAgentResult> getConnectMdmServiceAgent(GetConnectMdmServiceAgentArgs args, InvokeOptions options)
public static Output<GetConnectMdmServiceAgentResult> getConnectMdmServiceAgent(GetConnectMdmServiceAgentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: hsdp:index/getConnectMdmServiceAgent:getConnectMdmServiceAgent
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getConnectMdmServiceAgent Result

The following output properties are available:

ApiVersionSupported string
The supported api versions of the service agent
AuthenticationMethodIds List<string>
The list of authentication methods
Configuration string
The service agent configuration
DataSubscriberId string
The data subscriber ID
Description string
The ServiceAgent description
Guid string
Id string
The ServiceAgent ID
Name string
ApiVersionSupported string
The supported api versions of the service agent
AuthenticationMethodIds []string
The list of authentication methods
Configuration string
The service agent configuration
DataSubscriberId string
The data subscriber ID
Description string
The ServiceAgent description
Guid string
Id string
The ServiceAgent ID
Name string
apiVersionSupported String
The supported api versions of the service agent
authenticationMethodIds List<String>
The list of authentication methods
configuration String
The service agent configuration
dataSubscriberId String
The data subscriber ID
description String
The ServiceAgent description
guid String
id String
The ServiceAgent ID
name String
apiVersionSupported string
The supported api versions of the service agent
authenticationMethodIds string[]
The list of authentication methods
configuration string
The service agent configuration
dataSubscriberId string
The data subscriber ID
description string
The ServiceAgent description
guid string
id string
The ServiceAgent ID
name string
api_version_supported str
The supported api versions of the service agent
authentication_method_ids Sequence[str]
The list of authentication methods
configuration str
The service agent configuration
data_subscriber_id str
The data subscriber ID
description str
The ServiceAgent description
guid str
id str
The ServiceAgent ID
name str
apiVersionSupported String
The supported api versions of the service agent
authenticationMethodIds List<String>
The list of authentication methods
configuration String
The service agent configuration
dataSubscriberId String
The data subscriber ID
description String
The ServiceAgent description
guid String
id String
The ServiceAgent ID
name String

Package Details

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