Fork me on GitHub

Module securitycenter

@pulumi/azure > securitycenter

Index

securitycenter/contact.ts securitycenter/subscriptionPricing.ts securitycenter/workspace.ts

class Contact

Manages the subscription’s Security Center Contact.

~> NOTE: Owner access permission is required.

constructor

new Contact(name: string, args: ContactArgs, opts?: pulumi.CustomResourceOptions)

Create a Contact resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContactState): Contact

Get an existing Contact resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property alertNotifications

public alertNotifications: pulumi.Output<boolean>;

Whether to send security alerts notifications to the security contact.

property alertsToAdmins

public alertsToAdmins: pulumi.Output<boolean>;

Whether to send security alerts notifications to subscription admins.

property email

public email: pulumi.Output<string>;

The email of the Security Center Contact.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property phone

public phone: pulumi.Output<string>;

The phone number of the Security Center Contact.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubscriptionPricing

Manages the Pricing Tier for Azure Security Center in the current subscription.

~> NOTE: This resource requires the Owner permission on the Subscription.

~> NOTE: Deletion of this resource does not change or reset the pricing tier to Free

constructor

new SubscriptionPricing(name: string, args: SubscriptionPricingArgs, opts?: pulumi.CustomResourceOptions)

Create a SubscriptionPricing resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionPricingState): SubscriptionPricing

Get an existing SubscriptionPricing resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property tier

public tier: pulumi.Output<string>;

The pricing tier to use. Possible values are Free and Standard.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Workspace

Manages the subscription’s Security Center Workspace.

~> NOTE: Owner access permission is required.

~> NOTE: The subscription’s pricing model can not be Free for this to have any affect.

constructor

new Workspace(name: string, args: WorkspaceArgs, opts?: pulumi.CustomResourceOptions)

Create a Workspace resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceState): Workspace

Get an existing Workspace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property scope

public scope: pulumi.Output<string>;

The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property workspaceId

public workspaceId: pulumi.Output<string>;

The resource ID of the log analytics workspace to save the data in.

interface ContactArgs

The set of arguments for constructing a Contact resource.

property alertNotifications

alertNotifications: pulumi.Input<boolean>;

Whether to send security alerts notifications to the security contact.

property alertsToAdmins

alertsToAdmins: pulumi.Input<boolean>;

Whether to send security alerts notifications to subscription admins.

property email

email: pulumi.Input<string>;

The email of the Security Center Contact.

property phone

phone: pulumi.Input<string>;

The phone number of the Security Center Contact.

interface ContactState

Input properties used for looking up and filtering Contact resources.

property alertNotifications

alertNotifications?: pulumi.Input<boolean>;

Whether to send security alerts notifications to the security contact.

property alertsToAdmins

alertsToAdmins?: pulumi.Input<boolean>;

Whether to send security alerts notifications to subscription admins.

property email

email?: pulumi.Input<string>;

The email of the Security Center Contact.

property phone

phone?: pulumi.Input<string>;

The phone number of the Security Center Contact.

interface SubscriptionPricingArgs

The set of arguments for constructing a SubscriptionPricing resource.

property tier

tier: pulumi.Input<string>;

The pricing tier to use. Possible values are Free and Standard.

interface SubscriptionPricingState

Input properties used for looking up and filtering SubscriptionPricing resources.

property tier

tier?: pulumi.Input<string>;

The pricing tier to use. Possible values are Free and Standard.

interface WorkspaceArgs

The set of arguments for constructing a Workspace resource.

property scope

scope: pulumi.Input<string>;

The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope.

property workspaceId

workspaceId: pulumi.Input<string>;

The resource ID of the log analytics workspace to save the data in.

interface WorkspaceState

Input properties used for looking up and filtering Workspace resources.

property scope

scope?: pulumi.Input<string>;

The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope.

property workspaceId

workspaceId?: pulumi.Input<string>;

The resource ID of the log analytics workspace to save the data in.