Private Link Services For SCCPowershell Args
data class PrivateLinkServicesForSCCPowershellArgs(val identity: Output<ServicesResourceIdentityArgs>? = null, val kind: Output<Kind>? = null, val location: Output<String>? = null, val properties: Output<ServicesPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<PrivateLinkServicesForSCCPowershellArgs>
The description of the service. API Version: 2021-03-08.
Example Usage
Create or Update a service with all parameters
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateLinkServicesForSCCPowershell = new AzureNative.SecurityAndCompliance.PrivateLinkServicesForSCCPowershell("privateLinkServicesForSCCPowershell", new()
{
Identity = new AzureNative.SecurityAndCompliance.Inputs.ServicesResourceIdentityArgs
{
Type = "SystemAssigned",
},
Kind = AzureNative.SecurityAndCompliance.Kind.Fhir_R4,
Location = "westus2",
Properties = new AzureNative.SecurityAndCompliance.Inputs.ServicesPropertiesArgs
{
AccessPolicies = new[]
{
new AzureNative.SecurityAndCompliance.Inputs.ServiceAccessPolicyEntryArgs
{
ObjectId = "c487e7d1-3210-41a3-8ccc-e9372b78da47",
},
new AzureNative.SecurityAndCompliance.Inputs.ServiceAccessPolicyEntryArgs
{
ObjectId = "5b307da8-43d4-492b-8b66-b0294ade872f",
},
},
AuthenticationConfiguration = new AzureNative.SecurityAndCompliance.Inputs.ServiceAuthenticationConfigurationInfoArgs
{
Audience = "https://azurehealthcareapis.com",
Authority = "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
SmartProxyEnabled = true,
},
CorsConfiguration = new AzureNative.SecurityAndCompliance.Inputs.ServiceCorsConfigurationInfoArgs
{
AllowCredentials = false,
Headers = new[]
{
"*",
},
MaxAge = 1440,
Methods = new[]
{
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT",
},
Origins = new[]
{
"*",
},
},
CosmosDbConfiguration = new AzureNative.SecurityAndCompliance.Inputs.ServiceCosmosDbConfigurationInfoArgs
{
KeyVaultKeyUri = "https://my-vault.vault.azure.net/keys/my-key",
OfferThroughput = 1000,
},
ExportConfiguration = new AzureNative.SecurityAndCompliance.Inputs.ServiceExportConfigurationInfoArgs
{
StorageAccountName = "existingStorageAccount",
},
PrivateEndpointConnections = new[] {},
PublicNetworkAccess = "Disabled",
},
ResourceGroupName = "rg1",
ResourceName = "service1",
Tags = null,
});
});
Content copied to clipboard
package main
import (
securityandcompliance "github.com/pulumi/pulumi-azure-native-sdk/securityandcompliance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityandcompliance.NewprivateLinkServicesForSCCPowershell(ctx, "privateLinkServicesForSCCPowershell", &securityandcompliance.privateLinkServicesForSCCPowershellArgs{
Identity: &securityandcompliance.ServicesResourceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Kind: securityandcompliance.Kind_Fhir_R4,
Location: pulumi.String("westus2"),
Properties: securityandcompliance.ServicesPropertiesResponse{
AccessPolicies: securityandcompliance.ServiceAccessPolicyEntryArray{
&securityandcompliance.ServiceAccessPolicyEntryArgs{
ObjectId: pulumi.String("c487e7d1-3210-41a3-8ccc-e9372b78da47"),
},
&securityandcompliance.ServiceAccessPolicyEntryArgs{
ObjectId: pulumi.String("5b307da8-43d4-492b-8b66-b0294ade872f"),
},
},
AuthenticationConfiguration: &securityandcompliance.ServiceAuthenticationConfigurationInfoArgs{
Audience: pulumi.String("https://azurehealthcareapis.com"),
Authority: pulumi.String("https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc"),
SmartProxyEnabled: pulumi.Bool(true),
},
CorsConfiguration: &securityandcompliance.ServiceCorsConfigurationInfoArgs{
AllowCredentials: pulumi.Bool(false),
Headers: pulumi.StringArray{
pulumi.String("*"),
},
MaxAge: pulumi.Float64(1440),
Methods: pulumi.StringArray{
pulumi.String("DELETE"),
pulumi.String("GET"),
pulumi.String("OPTIONS"),
pulumi.String("PATCH"),
pulumi.String("POST"),
pulumi.String("PUT"),
},
Origins: pulumi.StringArray{
pulumi.String("*"),
},
},
CosmosDbConfiguration: &securityandcompliance.ServiceCosmosDbConfigurationInfoArgs{
KeyVaultKeyUri: pulumi.String("https://my-vault.vault.azure.net/keys/my-key"),
OfferThroughput: pulumi.Float64(1000),
},
ExportConfiguration: &securityandcompliance.ServiceExportConfigurationInfoArgs{
StorageAccountName: pulumi.String("existingStorageAccount"),
},
PrivateEndpointConnections: securityandcompliance.PrivateEndpointConnectionArray{},
PublicNetworkAccess: pulumi.String("Disabled"),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("service1"),
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityandcompliance.privateLinkServicesForSCCPowershell;
import com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForSCCPowershellArgs;
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 privateLinkServicesForSCCPowershell = new PrivateLinkServicesForSCCPowershell("privateLinkServicesForSCCPowershell", PrivateLinkServicesForSCCPowershellArgs.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());
}
}
Content copied to clipboard
Create or Update a service with minimum parameters
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateLinkServicesForSCCPowershell = new AzureNative.SecurityAndCompliance.PrivateLinkServicesForSCCPowershell("privateLinkServicesForSCCPowershell", new()
{
Kind = AzureNative.SecurityAndCompliance.Kind.Fhir_R4,
Location = "westus2",
Properties = new AzureNative.SecurityAndCompliance.Inputs.ServicesPropertiesArgs
{
AccessPolicies = new[]
{
new AzureNative.SecurityAndCompliance.Inputs.ServiceAccessPolicyEntryArgs
{
ObjectId = "c487e7d1-3210-41a3-8ccc-e9372b78da47",
},
},
},
ResourceGroupName = "rg1",
ResourceName = "service2",
Tags = null,
});
});
Content copied to clipboard
package main
import (
securityandcompliance "github.com/pulumi/pulumi-azure-native-sdk/securityandcompliance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityandcompliance.NewprivateLinkServicesForSCCPowershell(ctx, "privateLinkServicesForSCCPowershell", &securityandcompliance.privateLinkServicesForSCCPowershellArgs{
Kind: securityandcompliance.Kind_Fhir_R4,
Location: pulumi.String("westus2"),
Properties: securityandcompliance.ServicesPropertiesResponse{
AccessPolicies: securityandcompliance.ServiceAccessPolicyEntryArray{
&securityandcompliance.ServiceAccessPolicyEntryArgs{
ObjectId: pulumi.String("c487e7d1-3210-41a3-8ccc-e9372b78da47"),
},
},
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("service2"),
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityandcompliance.privateLinkServicesForSCCPowershell;
import com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForSCCPowershellArgs;
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 privateLinkServicesForSCCPowershell = new PrivateLinkServicesForSCCPowershell("privateLinkServicesForSCCPowershell", PrivateLinkServicesForSCCPowershellArgs.builder()
.kind("fhir-R4")
.location("westus2")
.properties(Map.of("accessPolicies", Map.of("objectId", "c487e7d1-3210-41a3-8ccc-e9372b78da47")))
.resourceGroupName("rg1")
.resourceName("service2")
.tags()
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:securityandcompliance:privateLinkServicesForSCCPowershell service2 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service2
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(identity: Output<ServicesResourceIdentityArgs>? = null, kind: Output<Kind>? = null, location: Output<String>? = null, properties: Output<ServicesPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
Setting indicating whether the service has a managed identity associated with it.
Link copied to clipboard
The common properties of a service.
Link copied to clipboard
The name of the resource group that contains the service instance.
Link copied to clipboard
The name of the service instance.