Class PrivateLinkServicesForO365ManagementActivityAPI


  • public class PrivateLinkServicesForO365ManagementActivityAPI
    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.privateLinkServicesForO365ManagementActivityAPI; import com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForO365ManagementActivityAPIArgs; 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 privateLinkServicesForO365ManagementActivityAPI = new PrivateLinkServicesForO365ManagementActivityAPI("privateLinkServicesForO365ManagementActivityAPI", PrivateLinkServicesForO365ManagementActivityAPIArgs.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.privateLinkServicesForO365ManagementActivityAPI; import com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForO365ManagementActivityAPIArgs; 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 privateLinkServicesForO365ManagementActivityAPI = new PrivateLinkServicesForO365ManagementActivityAPI("privateLinkServicesForO365ManagementActivityAPI", PrivateLinkServicesForO365ManagementActivityAPIArgs.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:privateLinkServicesForO365ManagementActivityAPI service2 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service2 ```
    • Constructor Detail

      • PrivateLinkServicesForO365ManagementActivityAPI

        public PrivateLinkServicesForO365ManagementActivityAPI​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • PrivateLinkServicesForO365ManagementActivityAPI

        public PrivateLinkServicesForO365ManagementActivityAPI​(java.lang.String name,
                                                               PrivateLinkServicesForO365ManagementActivityAPIArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • PrivateLinkServicesForO365ManagementActivityAPI

        public PrivateLinkServicesForO365ManagementActivityAPI​(java.lang.String name,
                                                               PrivateLinkServicesForO365ManagementActivityAPIArgs 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 PrivateLinkServicesForO365ManagementActivityAPI 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.