1. Packages
  2. Azure Native v2
  3. API Docs
  4. security
  5. SecurityConnectorApplication
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.security.SecurityConnectorApplication

Explore with Pulumi AI

Security Application over a given scope Azure REST API version: 2022-07-01-preview. Prior API version in Azure Native 1.x: 2022-07-01-preview.

Example Usage

Create Application

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var securityConnectorApplication = new AzureNative.Security.SecurityConnectorApplication("securityConnectorApplication", new()
    {
        ApplicationId = "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
        Description = "An application on critical GCP recommendations",
        DisplayName = "GCP Admin's application",
        ResourceGroupName = "gcpResourceGroup",
        SecurityConnectorName = "gcpconnector",
        SourceResourceType = AzureNative.Security.ApplicationSourceResourceType.Assessments,
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewSecurityConnectorApplication(ctx, "securityConnectorApplication", &security.SecurityConnectorApplicationArgs{
			ApplicationId:         pulumi.String("ad9a8e26-29d9-4829-bb30-e597a58cdbb8"),
			Description:           pulumi.String("An application on critical GCP recommendations"),
			DisplayName:           pulumi.String("GCP Admin's application"),
			ResourceGroupName:     pulumi.String("gcpResourceGroup"),
			SecurityConnectorName: pulumi.String("gcpconnector"),
			SourceResourceType:    pulumi.String(security.ApplicationSourceResourceTypeAssessments),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.SecurityConnectorApplication;
import com.pulumi.azurenative.security.SecurityConnectorApplicationArgs;
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 securityConnectorApplication = new SecurityConnectorApplication("securityConnectorApplication", SecurityConnectorApplicationArgs.builder()
            .applicationId("ad9a8e26-29d9-4829-bb30-e597a58cdbb8")
            .description("An application on critical GCP recommendations")
            .displayName("GCP Admin's application")
            .resourceGroupName("gcpResourceGroup")
            .securityConnectorName("gcpconnector")
            .sourceResourceType("Assessments")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const securityConnectorApplication = new azure_native.security.SecurityConnectorApplication("securityConnectorApplication", {
    applicationId: "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
    description: "An application on critical GCP recommendations",
    displayName: "GCP Admin's application",
    resourceGroupName: "gcpResourceGroup",
    securityConnectorName: "gcpconnector",
    sourceResourceType: azure_native.security.ApplicationSourceResourceType.Assessments,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

security_connector_application = azure_native.security.SecurityConnectorApplication("securityConnectorApplication",
    application_id="ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
    description="An application on critical GCP recommendations",
    display_name="GCP Admin's application",
    resource_group_name="gcpResourceGroup",
    security_connector_name="gcpconnector",
    source_resource_type=azure_native.security.ApplicationSourceResourceType.ASSESSMENTS)
Copy
resources:
  securityConnectorApplication:
    type: azure-native:security:SecurityConnectorApplication
    properties:
      applicationId: ad9a8e26-29d9-4829-bb30-e597a58cdbb8
      description: An application on critical GCP recommendations
      displayName: GCP Admin's application
      resourceGroupName: gcpResourceGroup
      securityConnectorName: gcpconnector
      sourceResourceType: Assessments
Copy

Create SecurityConnectorApplication Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SecurityConnectorApplication(name: string, args: SecurityConnectorApplicationArgs, opts?: CustomResourceOptions);
@overload
def SecurityConnectorApplication(resource_name: str,
                                 args: SecurityConnectorApplicationArgs,
                                 opts: Optional[ResourceOptions] = None)

@overload
def SecurityConnectorApplication(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 resource_group_name: Optional[str] = None,
                                 security_connector_name: Optional[str] = None,
                                 source_resource_type: Optional[Union[str, ApplicationSourceResourceType]] = None,
                                 application_id: Optional[str] = None,
                                 description: Optional[str] = None,
                                 display_name: Optional[str] = None)
func NewSecurityConnectorApplication(ctx *Context, name string, args SecurityConnectorApplicationArgs, opts ...ResourceOption) (*SecurityConnectorApplication, error)
public SecurityConnectorApplication(string name, SecurityConnectorApplicationArgs args, CustomResourceOptions? opts = null)
public SecurityConnectorApplication(String name, SecurityConnectorApplicationArgs args)
public SecurityConnectorApplication(String name, SecurityConnectorApplicationArgs args, CustomResourceOptions options)
type: azure-native:security:SecurityConnectorApplication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SecurityConnectorApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SecurityConnectorApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SecurityConnectorApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SecurityConnectorApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SecurityConnectorApplicationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var securityConnectorApplicationResource = new AzureNative.Security.SecurityConnectorApplication("securityConnectorApplicationResource", new()
{
    ResourceGroupName = "string",
    SecurityConnectorName = "string",
    SourceResourceType = "string",
    ApplicationId = "string",
    Description = "string",
    DisplayName = "string",
});
Copy
example, err := security.NewSecurityConnectorApplication(ctx, "securityConnectorApplicationResource", &security.SecurityConnectorApplicationArgs{
	ResourceGroupName:     "string",
	SecurityConnectorName: "string",
	SourceResourceType:    "string",
	ApplicationId:         "string",
	Description:           "string",
	DisplayName:           "string",
})
Copy
var securityConnectorApplicationResource = new SecurityConnectorApplication("securityConnectorApplicationResource", SecurityConnectorApplicationArgs.builder()
    .resourceGroupName("string")
    .securityConnectorName("string")
    .sourceResourceType("string")
    .applicationId("string")
    .description("string")
    .displayName("string")
    .build());
Copy
security_connector_application_resource = azure_native.security.SecurityConnectorApplication("securityConnectorApplicationResource",
    resource_group_name=string,
    security_connector_name=string,
    source_resource_type=string,
    application_id=string,
    description=string,
    display_name=string)
Copy
const securityConnectorApplicationResource = new azure_native.security.SecurityConnectorApplication("securityConnectorApplicationResource", {
    resourceGroupName: "string",
    securityConnectorName: "string",
    sourceResourceType: "string",
    applicationId: "string",
    description: "string",
    displayName: "string",
});
Copy
type: azure-native:security:SecurityConnectorApplication
properties:
    applicationId: string
    description: string
    displayName: string
    resourceGroupName: string
    securityConnectorName: string
    sourceResourceType: string
Copy

SecurityConnectorApplication Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SecurityConnectorApplication resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
SecurityConnectorName
This property is required.
Changes to this property will trigger replacement.
string
The security connector name.
SourceResourceType This property is required. string | Pulumi.AzureNative.Security.ApplicationSourceResourceType
The application source, what it affects, e.g. Assessments
ApplicationId Changes to this property will trigger replacement. string
The security Application key - unique key for the standard application
Description string
description of the application
DisplayName string
display name of the application
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
SecurityConnectorName
This property is required.
Changes to this property will trigger replacement.
string
The security connector name.
SourceResourceType This property is required. string | ApplicationSourceResourceType
The application source, what it affects, e.g. Assessments
ApplicationId Changes to this property will trigger replacement. string
The security Application key - unique key for the standard application
Description string
description of the application
DisplayName string
display name of the application
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
securityConnectorName
This property is required.
Changes to this property will trigger replacement.
String
The security connector name.
sourceResourceType This property is required. String | ApplicationSourceResourceType
The application source, what it affects, e.g. Assessments
applicationId Changes to this property will trigger replacement. String
The security Application key - unique key for the standard application
description String
description of the application
displayName String
display name of the application
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
securityConnectorName
This property is required.
Changes to this property will trigger replacement.
string
The security connector name.
sourceResourceType This property is required. string | ApplicationSourceResourceType
The application source, what it affects, e.g. Assessments
applicationId Changes to this property will trigger replacement. string
The security Application key - unique key for the standard application
description string
description of the application
displayName string
display name of the application
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription. The name is case insensitive.
security_connector_name
This property is required.
Changes to this property will trigger replacement.
str
The security connector name.
source_resource_type This property is required. str | ApplicationSourceResourceType
The application source, what it affects, e.g. Assessments
application_id Changes to this property will trigger replacement. str
The security Application key - unique key for the standard application
description str
description of the application
display_name str
display name of the application
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
securityConnectorName
This property is required.
Changes to this property will trigger replacement.
String
The security connector name.
sourceResourceType This property is required. String | "Assessments"
The application source, what it affects, e.g. Assessments
applicationId Changes to this property will trigger replacement. String
The security Application key - unique key for the standard application
description String
description of the application
displayName String
display name of the application

Outputs

All input properties are implicitly available as output properties. Additionally, the SecurityConnectorApplication resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name
type string
Resource type
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name
type str
Resource type
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type

Supporting Types

ApplicationSourceResourceType
, ApplicationSourceResourceTypeArgs

Assessments
AssessmentsThe source of the application is assessments
ApplicationSourceResourceTypeAssessments
AssessmentsThe source of the application is assessments
Assessments
AssessmentsThe source of the application is assessments
Assessments
AssessmentsThe source of the application is assessments
ASSESSMENTS
AssessmentsThe source of the application is assessments
"Assessments"
AssessmentsThe source of the application is assessments

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:security:SecurityConnectorApplication 1f3afdf9-d0c9-4c3d-847f-89da613e70a8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/providers/Microsoft.Security/applications/{applicationId} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0