com.pulumi.azurenative.healthcareapis.DicomService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.healthcareapis;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.healthcareapis.DicomServiceArgs;
import com.pulumi.azurenative.healthcareapis.outputs.CorsConfigurationResponse;
import com.pulumi.azurenative.healthcareapis.outputs.DicomServiceAuthenticationConfigurationResponse;
import com.pulumi.azurenative.healthcareapis.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.healthcareapis.outputs.ServiceManagedIdentityResponseIdentity;
import com.pulumi.azurenative.healthcareapis.outputs.SystemDataResponse;
import com.pulumi.core.Alias;
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.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* The description of Dicom Service
* Azure REST API version: 2023-02-28. Prior API version in Azure Native 1.x: 2022-05-15.
*
* Other available API versions: 2023-09-06, 2023-11-01, 2023-12-01, 2024-03-01, 2024-03-31.
*
* ## Example Usage
* ### Create or update a Dicom Service
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.healthcareapis.DicomService;
* import com.pulumi.azurenative.healthcareapis.DicomServiceArgs;
* 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 dicomService = new DicomService("dicomService", DicomServiceArgs.builder()
* .dicomServiceName("blue")
* .location("westus")
* .resourceGroupName("testRG")
* .workspaceName("workspace1")
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:healthcareapis:DicomService blue /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}
* ```
*
*/
@ResourceType(type="azure-native:healthcareapis:DicomService")
public class DicomService extends com.pulumi.resources.CustomResource {
/**
* Dicom Service authentication configuration.
*
*/
@Export(name="authenticationConfiguration", refs={DicomServiceAuthenticationConfigurationResponse.class}, tree="[0]")
private Output* @Nullable */ DicomServiceAuthenticationConfigurationResponse> authenticationConfiguration;
/**
* @return Dicom Service authentication configuration.
*
*/
public Output> authenticationConfiguration() {
return Codegen.optional(this.authenticationConfiguration);
}
/**
* Dicom Service Cors configuration.
*
*/
@Export(name="corsConfiguration", refs={CorsConfigurationResponse.class}, tree="[0]")
private Output* @Nullable */ CorsConfigurationResponse> corsConfiguration;
/**
* @return Dicom Service Cors configuration.
*
*/
public Output> corsConfiguration() {
return Codegen.optional(this.corsConfiguration);
}
/**
* An etag associated with the resource, used for optimistic concurrency when editing it.
*
*/
@Export(name="etag", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> etag;
/**
* @return An etag associated with the resource, used for optimistic concurrency when editing it.
*
*/
public Output> etag() {
return Codegen.optional(this.etag);
}
/**
* DICOM Service event support status.
*
*/
@Export(name="eventState", refs={String.class}, tree="[0]")
private Output eventState;
/**
* @return DICOM Service event support status.
*
*/
public Output eventState() {
return this.eventState;
}
/**
* Setting indicating whether the service has a managed identity associated with it.
*
*/
@Export(name="identity", refs={ServiceManagedIdentityResponseIdentity.class}, tree="[0]")
private Output* @Nullable */ ServiceManagedIdentityResponseIdentity> identity;
/**
* @return Setting indicating whether the service has a managed identity associated with it.
*
*/
public Output> identity() {
return Codegen.optional(this.identity);
}
/**
* The resource location.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> location;
/**
* @return The resource location.
*
*/
public Output> location() {
return Codegen.optional(this.location);
}
/**
* The resource name.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The resource name.
*
*/
public Output name() {
return this.name;
}
/**
* The list of private endpoint connections that are set up for this resource.
*
*/
@Export(name="privateEndpointConnections", refs={List.class,PrivateEndpointConnectionResponse.class}, tree="[0,1]")
private Output> privateEndpointConnections;
/**
* @return The list of private endpoint connections that are set up for this resource.
*
*/
public Output> privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* The provisioning state.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output provisioningState;
/**
* @return The provisioning state.
*
*/
public Output provisioningState() {
return this.provisioningState;
}
/**
* Control permission for data plane traffic coming from public networks while private endpoint is enabled.
*
*/
@Export(name="publicNetworkAccess", refs={String.class}, tree="[0]")
private Output publicNetworkAccess;
/**
* @return Control permission for data plane traffic coming from public networks while private endpoint is enabled.
*
*/
public Output publicNetworkAccess() {
return this.publicNetworkAccess;
}
/**
* The url of the Dicom Services.
*
*/
@Export(name="serviceUrl", refs={String.class}, tree="[0]")
private Output serviceUrl;
/**
* @return The url of the Dicom Services.
*
*/
public Output serviceUrl() {
return this.serviceUrl;
}
/**
* Metadata pertaining to creation and last modification of the resource.
*
*/
@Export(name="systemData", refs={SystemDataResponse.class}, tree="[0]")
private Output systemData;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public Output systemData() {
return this.systemData;
}
/**
* Resource tags.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return Resource tags.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* The resource type.
*
*/
@Export(name="type", refs={String.class}, tree="[0]")
private Output type;
/**
* @return The resource type.
*
*/
public Output type() {
return this.type;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public DicomService(java.lang.String name) {
this(name, DicomServiceArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public DicomService(java.lang.String name, DicomServiceArgs 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 DicomService(java.lang.String name, DicomServiceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:healthcareapis:DicomService", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private DicomService(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:healthcareapis:DicomService", name, null, makeResourceOptions(options, id), false);
}
private static DicomServiceArgs makeArgs(DicomServiceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? DicomServiceArgs.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())
.aliases(List.of(
Output.of(Alias.builder().type("azure-native:healthcareapis/v20210601preview:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20211101:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20220131preview:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20220515:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20220601:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20221001preview:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20221201:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20230228:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20230906:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20231101:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20231201:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20240301:DicomService").build()),
Output.of(Alias.builder().type("azure-native:healthcareapis/v20240331:DicomService").build())
))
.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 options Optional settings to control the behavior of the CustomResource.
*/
public static DicomService get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new DicomService(name, id, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy