Class PrivateLinkServicesForM365ComplianceCenter
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForM365ComplianceCenter
-
public class PrivateLinkServicesForM365ComplianceCenter extends com.pulumi.resources.CustomResource
The description of the service. API Version: 2021-03-08. ## Example Usage ### Create or Update a service with all parameters ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.securityandcompliance.privateLinkServicesForM365ComplianceCenter; import com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForM365ComplianceCenterArgs; 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 privateLinkServicesForM365ComplianceCenter = new PrivateLinkServicesForM365ComplianceCenter("privateLinkServicesForM365ComplianceCenter", PrivateLinkServicesForM365ComplianceCenterArgs.builder() .identity(Map.of("type", "SystemAssigned")) .kind("fhir-R4") .location("westus2") .properties(Map.ofEntries( Map.entry("accessPolicies", Map.of("objectId", "c487e7d1-3210-41a3-8ccc-e9372b78da47"), Map.of("objectId", "5b307da8-43d4-492b-8b66-b0294ade872f")), Map.entry("authenticationConfiguration", Map.ofEntries( Map.entry("audience", "https://azurehealthcareapis.com"), Map.entry("authority", "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc"), Map.entry("smartProxyEnabled", true) )), Map.entry("corsConfiguration", Map.ofEntries( Map.entry("allowCredentials", false), Map.entry("headers", "*"), Map.entry("maxAge", 1440), Map.entry("methods", "DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"), Map.entry("origins", "*") )), Map.entry("cosmosDbConfiguration", Map.ofEntries( Map.entry("keyVaultKeyUri", "https://my-vault.vault.azure.net/keys/my-key"), Map.entry("offerThroughput", 1000) )), Map.entry("exportConfiguration", Map.of("storageAccountName", "existingStorageAccount")), Map.entry("privateEndpointConnections", ), Map.entry("publicNetworkAccess", "Disabled") )) .resourceGroupName("rg1") .resourceName("service1") .tags() .build()); } } ``` ### Create or Update a service with minimum parameters ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.securityandcompliance.privateLinkServicesForM365ComplianceCenter; import com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForM365ComplianceCenterArgs; 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 privateLinkServicesForM365ComplianceCenter = new PrivateLinkServicesForM365ComplianceCenter("privateLinkServicesForM365ComplianceCenter", PrivateLinkServicesForM365ComplianceCenterArgs.builder() .kind("fhir-R4") .location("westus2") .properties(Map.of("accessPolicies", Map.of("objectId", "c487e7d1-3210-41a3-8ccc-e9372b78da47"))) .resourceGroupName("rg1") .resourceName("service2") .tags() .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:securityandcompliance:privateLinkServicesForM365ComplianceCenter service2 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service2 ```
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkServicesForM365ComplianceCenter(java.lang.String name)
PrivateLinkServicesForM365ComplianceCenter(java.lang.String name, PrivateLinkServicesForM365ComplianceCenterArgs args)
PrivateLinkServicesForM365ComplianceCenter(java.lang.String name, PrivateLinkServicesForM365ComplianceCenterArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.lang.String>>
etag()
static PrivateLinkServicesForM365ComplianceCenter
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.Optional<ServicesResourceResponseIdentity>>
identity()
com.pulumi.core.Output<java.lang.String>
kind()
com.pulumi.core.Output<java.lang.String>
location()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<ServicesPropertiesResponse>
properties()
com.pulumi.core.Output<SystemDataResponse>
systemData()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.lang.String>
type()
-
-
-
Constructor Detail
-
PrivateLinkServicesForM365ComplianceCenter
public PrivateLinkServicesForM365ComplianceCenter(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
PrivateLinkServicesForM365ComplianceCenter
public PrivateLinkServicesForM365ComplianceCenter(java.lang.String name, PrivateLinkServicesForM365ComplianceCenterArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
PrivateLinkServicesForM365ComplianceCenter
public PrivateLinkServicesForM365ComplianceCenter(java.lang.String name, PrivateLinkServicesForM365ComplianceCenterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
etag
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> etag()
- Returns:
- An etag associated with the resource, used for optimistic concurrency when editing it.
-
identity
public com.pulumi.core.Output<java.util.Optional<ServicesResourceResponseIdentity>> identity()
- Returns:
- Setting indicating whether the service has a managed identity associated with it.
-
kind
public com.pulumi.core.Output<java.lang.String> kind()
- Returns:
- The kind of the service.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- The resource location.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The resource name.
-
properties
public com.pulumi.core.Output<ServicesPropertiesResponse> properties()
- Returns:
- The common properties of a service.
-
systemData
public com.pulumi.core.Output<SystemDataResponse> systemData()
- Returns:
- Required property for system data
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- The resource tags.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- The resource type.
-
get
public static PrivateLinkServicesForM365ComplianceCenter get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-