azure-native-v2.security.Application
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.
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_resource_type: Optional[Union[str, ApplicationSourceResourceType]] = None,
application_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: azure-native:security:Application
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. ApplicationArgs - 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. ApplicationArgs - 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. ApplicationArgs - 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. ApplicationArgs - 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. ApplicationArgs - 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 exampleapplicationResourceResourceFromSecurity = new AzureNative.Security.Application("exampleapplicationResourceResourceFromSecurity", new()
{
SourceResourceType = "string",
ApplicationId = "string",
Description = "string",
DisplayName = "string",
});
example, err := security.NewApplication(ctx, "exampleapplicationResourceResourceFromSecurity", &security.ApplicationArgs{
SourceResourceType: "string",
ApplicationId: "string",
Description: "string",
DisplayName: "string",
})
var exampleapplicationResourceResourceFromSecurity = new Application("exampleapplicationResourceResourceFromSecurity", ApplicationArgs.builder()
.sourceResourceType("string")
.applicationId("string")
.description("string")
.displayName("string")
.build());
exampleapplication_resource_resource_from_security = azure_native.security.Application("exampleapplicationResourceResourceFromSecurity",
source_resource_type=string,
application_id=string,
description=string,
display_name=string)
const exampleapplicationResourceResourceFromSecurity = new azure_native.security.Application("exampleapplicationResourceResourceFromSecurity", {
sourceResourceType: "string",
applicationId: "string",
description: "string",
displayName: "string",
});
type: azure-native:security:Application
properties:
applicationId: string
description: string
displayName: string
sourceResourceType: string
Application 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 Application resource accepts the following input properties:
- Source
Resource Type This property is required. string | Pulumi.Azure Native. Security. Application Source Resource Type - The application source, what it affects, e.g. Assessments
- Application
Id Changes to this property will trigger replacement.
- The security Application key - unique key for the standard application
- Description string
- description of the application
- Display
Name string - display name of the application
- Source
Resource Type This property is required. string | ApplicationSource Resource Type - The application source, what it affects, e.g. Assessments
- Application
Id Changes to this property will trigger replacement.
- The security Application key - unique key for the standard application
- Description string
- description of the application
- Display
Name string - display name of the application
- source
Resource Type This property is required. String | ApplicationSource Resource Type - The application source, what it affects, e.g. Assessments
- application
Id Changes to this property will trigger replacement.
- The security Application key - unique key for the standard application
- description String
- description of the application
- display
Name String - display name of the application
- source
Resource Type This property is required. string | ApplicationSource Resource Type - The application source, what it affects, e.g. Assessments
- application
Id Changes to this property will trigger replacement.
- The security Application key - unique key for the standard application
- description string
- description of the application
- display
Name string - display name of the application
- source_
resource_ type This property is required. str | ApplicationSource Resource Type - The application source, what it affects, e.g. Assessments
- application_
id Changes to this property will trigger replacement.
- The security Application key - unique key for the standard application
- description str
- description of the application
- display_
name str - display name of the application
- source
Resource Type This property is required. String | "Assessments" - The application source, what it affects, e.g. Assessments
- application
Id Changes to this property will trigger replacement.
- The security Application key - unique key for the standard application
- description String
- description of the application
- display
Name String - display name of the application
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
Supporting Types
ApplicationSourceResourceType, ApplicationSourceResourceTypeArgs
- Assessments
- AssessmentsThe source of the application is assessments
- Application
Source Resource Type 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
- "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:Application 1f3afdf9-d0c9-4c3d-847f-89da613e70a8 /subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
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