Namespace Pulumi.Azure.SecurityCenter
Classes
AdvancedThreatProtection
Manages a resources Advanced Threat Protection setting.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var rg = new Azure.Core.ResourceGroup("rg", new Azure.Core.ResourceGroupArgs
{
Location = "northeurope",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = azurerm_resource_group.Example.Name,
Location = azurerm_resource_group.Example.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
Tags =
{
{ "environment", "example" },
},
});
var exampleAdvancedThreatProtection = new Azure.SecurityCenter.AdvancedThreatProtection("exampleAdvancedThreatProtection", new Azure.SecurityCenter.AdvancedThreatProtectionArgs
{
TargetResourceId = exampleAccount.Id,
Enabled = true,
});
}
}
AdvancedThreatProtectionArgs
AdvancedThreatProtectionState
Contact
Manages the subscription's Security Center Contact.
NOTE: Owner access permission is required.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = new Azure.SecurityCenter.Contact("example", new Azure.SecurityCenter.ContactArgs
{
AlertNotifications = true,
AlertsToAdmins = true,
Email = "contact@example.com",
Phone = "+1-555-555-5555",
});
}
}
ContactArgs
ContactState
SubscriptionPricing
Manages the Pricing Tier for Azure Security Center in the current subscription.
NOTE: This resource requires the
Ownerpermission on the Subscription.
NOTE: Deletion of this resource does not change or reset the pricing tier to
Free
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = new Azure.SecurityCenter.SubscriptionPricing("example", new Azure.SecurityCenter.SubscriptionPricingArgs
{
Tier = "Standard",
});
}
}
SubscriptionPricingArgs
SubscriptionPricingState
Workspace
Manages the subscription's Security Center Workspace.
NOTE: Owner access permission is required.
NOTE: The subscription's pricing model can not be
Freefor this to have any affect.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "westus",
});
var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", new Azure.OperationalInsights.AnalyticsWorkspaceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Sku = "PerGB2018",
});
var exampleWorkspace = new Azure.SecurityCenter.Workspace("exampleWorkspace", new Azure.SecurityCenter.WorkspaceArgs
{
Scope = "/subscriptions/00000000-0000-0000-0000-000000000000",
WorkspaceId = exampleAnalyticsWorkspace.Id,
});
}
}