hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getConnectMdmServiceAgent
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
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",
});
import pulumi
import pulumi_hsdp as hsdp
postgres_service_agent = hsdp.get_connect_mdm_service_agent(name="postgreserviceagent")
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
})
}
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",
});
});
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());
}
}
variables:
postgresServiceAgent:
fn::invoke:
function: hsdp:getConnectMdmServiceAgent
arguments:
name: postgreserviceagent
import * as pulumi from "@pulumi/pulumi";
export const serviceAgentConfiguration = data.hsdp_connect_service_agents.postgres_service_agent.configuration;
import pulumi
pulumi.export("serviceAgentConfiguration", data["hsdp_connect_service_agents"]["postgres_service_agent"]["configuration"])
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
})
}
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,
};
});
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());
}
}
outputs:
serviceAgentConfiguration: ${data.hsdp_connect_service_agents.postgres_service_agent.configuration}
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>
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]
func GetConnectMdmServiceAgent(ctx *Context, args *GetConnectMdmServiceAgentArgs, opts ...InvokeOption) (*GetConnectMdmServiceAgentResult, error)
func GetConnectMdmServiceAgentOutput(ctx *Context, args *GetConnectMdmServiceAgentOutputArgs, opts ...InvokeOption) GetConnectMdmServiceAgentResultOutput
> 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)
}
public static CompletableFuture<GetConnectMdmServiceAgentResult> getConnectMdmServiceAgent(GetConnectMdmServiceAgentArgs args, InvokeOptions options)
public static Output<GetConnectMdmServiceAgentResult> getConnectMdmServiceAgent(GetConnectMdmServiceAgentArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getConnectMdmServiceAgent:getConnectMdmServiceAgent
arguments:
# arguments dictionary
The following arguments are supported:
getConnectMdmServiceAgent Result
The following output properties are available:
- Api
Version stringSupported - The supported api versions of the service agent
- Authentication
Method List<string>Ids - The list of authentication methods
- Configuration string
- The service agent configuration
- Data
Subscriber stringId - The data subscriber ID
- Description string
- The ServiceAgent description
- Guid string
- Id string
- The ServiceAgent ID
- Name string
- Api
Version stringSupported - The supported api versions of the service agent
- Authentication
Method []stringIds - The list of authentication methods
- Configuration string
- The service agent configuration
- Data
Subscriber stringId - The data subscriber ID
- Description string
- The ServiceAgent description
- Guid string
- Id string
- The ServiceAgent ID
- Name string
- api
Version StringSupported - The supported api versions of the service agent
- authentication
Method List<String>Ids - The list of authentication methods
- configuration String
- The service agent configuration
- data
Subscriber StringId - The data subscriber ID
- description String
- The ServiceAgent description
- guid String
- id String
- The ServiceAgent ID
- name String
- api
Version stringSupported - The supported api versions of the service agent
- authentication
Method string[]Ids - The list of authentication methods
- configuration string
- The service agent configuration
- data
Subscriber stringId - The data subscriber ID
- description string
- The ServiceAgent description
- guid string
- id string
- The ServiceAgent ID
- name string
- api_
version_ strsupported - The supported api versions of the service agent
- authentication_
method_ Sequence[str]ids - The list of authentication methods
- configuration str
- The service agent configuration
- data_
subscriber_ strid - The data subscriber ID
- description str
- The ServiceAgent description
- guid str
- id str
- The ServiceAgent ID
- name str
- api
Version StringSupported - The supported api versions of the service agent
- authentication
Method List<String>Ids - The list of authentication methods
- configuration String
- The service agent configuration
- data
Subscriber StringId - 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.
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software