Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.healthcare;
import com.pulumi.azure.Utilities;
import com.pulumi.azure.healthcare.MedtechServiceArgs;
import com.pulumi.azure.healthcare.inputs.MedtechServiceState;
import com.pulumi.azure.healthcare.outputs.MedtechServiceIdentity;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Manages a Healthcare Med Tech Service.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Healthcare Med Tech Service can be imported using the resource`id`, e.g.
*
* ```sh
* $ pulumi import azure:healthcare/medtechService:MedtechService example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1
* ```
*
*/
@ResourceType(type="azure:healthcare/medtechService:MedtechService")
public class MedtechService extends com.pulumi.resources.CustomResource {
/**
* Specifies the Device Mappings of the Med Tech Service.
*
*/
@Export(name="deviceMappingJson", refs={String.class}, tree="[0]")
private Output deviceMappingJson;
/**
* @return Specifies the Device Mappings of the Med Tech Service.
*
*/
public Output deviceMappingJson() {
return this.deviceMappingJson;
}
/**
* Specifies the Consumer Group of the Event Hub to connect to.
*
*/
@Export(name="eventhubConsumerGroupName", refs={String.class}, tree="[0]")
private Output eventhubConsumerGroupName;
/**
* @return Specifies the Consumer Group of the Event Hub to connect to.
*
*/
public Output eventhubConsumerGroupName() {
return this.eventhubConsumerGroupName;
}
/**
* Specifies the name of the Event Hub to connect to.
*
*/
@Export(name="eventhubName", refs={String.class}, tree="[0]")
private Output eventhubName;
/**
* @return Specifies the name of the Event Hub to connect to.
*
*/
public Output eventhubName() {
return this.eventhubName;
}
/**
* Specifies the namespace name of the Event Hub to connect to.
*
*/
@Export(name="eventhubNamespaceName", refs={String.class}, tree="[0]")
private Output eventhubNamespaceName;
/**
* @return Specifies the namespace name of the Event Hub to connect to.
*
*/
public Output eventhubNamespaceName() {
return this.eventhubNamespaceName;
}
/**
* An `identity` block as defined below.
*
*/
@Export(name="identity", refs={MedtechServiceIdentity.class}, tree="[0]")
private Output* @Nullable */ MedtechServiceIdentity> identity;
/**
* @return An `identity` block as defined below.
*
*/
public Output> identity() {
return Codegen.optional(this.identity);
}
/**
* Specifies the Azure Region where the Healthcare Med Tech Service should be created. Changing this forces a new Healthcare Med Tech Service to be created.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output location;
/**
* @return Specifies the Azure Region where the Healthcare Med Tech Service should be created. Changing this forces a new Healthcare Med Tech Service to be created.
*
*/
public Output location() {
return this.location;
}
/**
* Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created.
*
*/
public Output name() {
return this.name;
}
/**
* A mapping of tags to assign to the Healthcare Med Tech Service.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return A mapping of tags to assign to the Healthcare Med Tech Service.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* Specifies the id of the Healthcare Workspace where the Healthcare Med Tech Service should exist. Changing this forces a new Healthcare Med Tech Service to be created.
*
*/
@Export(name="workspaceId", refs={String.class}, tree="[0]")
private Output workspaceId;
/**
* @return Specifies the id of the Healthcare Workspace where the Healthcare Med Tech Service should exist. Changing this forces a new Healthcare Med Tech Service to be created.
*
*/
public Output workspaceId() {
return this.workspaceId;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public MedtechService(java.lang.String name) {
this(name, MedtechServiceArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public MedtechService(java.lang.String name, MedtechServiceArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public MedtechService(java.lang.String name, MedtechServiceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:healthcare/medtechService:MedtechService", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private MedtechService(java.lang.String name, Output id, @Nullable MedtechServiceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:healthcare/medtechService:MedtechService", name, state, makeResourceOptions(options, id), false);
}
private static MedtechServiceArgs makeArgs(MedtechServiceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? MedtechServiceArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static MedtechService get(java.lang.String name, Output id, @Nullable MedtechServiceState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new MedtechService(name, id, state, options);
}
}