Show / Hide Table of Contents

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

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SubscriptionPricing
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.SecurityCenter
Assembly: Pulumi.Azure.dll
Syntax
public class SubscriptionPricing : CustomResource

Constructors

View Source

SubscriptionPricing(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 Source

Tier

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.