securitycenter

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

class pulumi_azure.securitycenter.Contact(resource_name, opts=None, alert_notifications=None, alerts_to_admins=None, email=None, phone=None, __props__=None, __name__=None, __opts__=None)

Manages the subscription’s Security Center Contact.

NOTE: Owner access permission is required.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • alert_notifications (pulumi.Input[bool]) – Whether to send security alerts notifications to the security contact.

  • alerts_to_admins (pulumi.Input[bool]) – Whether to send security alerts notifications to subscription admins.

  • email (pulumi.Input[str]) – The email of the Security Center Contact.

  • phone (pulumi.Input[str]) – The phone number of the Security Center Contact.

alert_notifications = None

Whether to send security alerts notifications to the security contact.

alerts_to_admins = None

Whether to send security alerts notifications to subscription admins.

email = None

The email of the Security Center Contact.

phone = None

The phone number of the Security Center Contact.

static get(resource_name, id, opts=None, alert_notifications=None, alerts_to_admins=None, email=None, phone=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • alert_notifications (pulumi.Input[bool]) – Whether to send security alerts notifications to the security contact.

  • alerts_to_admins (pulumi.Input[bool]) – Whether to send security alerts notifications to subscription admins.

  • email (pulumi.Input[str]) – The email of the Security Center Contact.

  • phone (pulumi.Input[str]) – The phone number of the Security Center Contact.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.securitycenter.SubscriptionPricing(resource_name, opts=None, tier=None, __props__=None, __name__=None, __opts__=None)

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

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • tier (pulumi.Input[str]) – The pricing tier to use. Possible values are Free and Standard.

tier = None

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

static get(resource_name, id, opts=None, tier=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • tier (pulumi.Input[str]) – The pricing tier to use. Possible values are Free and Standard.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.securitycenter.Workspace(resource_name, opts=None, scope=None, workspace_id=None, __props__=None, __name__=None, __opts__=None)

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.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • scope (pulumi.Input[str]) – The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope.

  • workspace_id (pulumi.Input[str]) – The ID of the Log Analytics Workspace to save the data in.

scope = None

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

workspace_id = None

The ID of the Log Analytics Workspace to save the data in.

static get(resource_name, id, opts=None, scope=None, workspace_id=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • scope (pulumi.Input[str]) – The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope.

  • workspace_id (pulumi.Input[str]) – The ID of the Log Analytics Workspace to save the data in.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str