Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.Azure.SecurityCenter
Assembly: Pulumi.Azure.dll
Syntax
public class SubscriptionPricing : CustomResource
Constructors
View SourceSubscriptionPricing(String, SubscriptionPricingArgs, CustomResourceOptions)
Create a SubscriptionPricing resource with the given unique name, arguments, and options.
Declaration
public SubscriptionPricing(string name, SubscriptionPricingArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SubscriptionPricingArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceTier
The pricing tier to use. Possible values are Free and Standard.
Declaration
public Output<string> Tier { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SubscriptionPricingState, CustomResourceOptions)
Get an existing SubscriptionPricing resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SubscriptionPricing Get(string name, Input<string> id, SubscriptionPricingState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SubscriptionPricingState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SubscriptionPricing |