Documentation
¶
Index ¶
- type Setting
- func (r *Setting) Enabled() *pulumi.BoolOutput
- func (r *Setting) ID() *pulumi.IDOutput
- func (r *Setting) Location() *pulumi.StringOutput
- func (r *Setting) Name() *pulumi.StringOutput
- func (r *Setting) Notification() *pulumi.Output
- func (r *Setting) Profiles() *pulumi.ArrayOutput
- func (r *Setting) ResourceGroupName() *pulumi.StringOutput
- func (r *Setting) Tags() *pulumi.MapOutput
- func (r *Setting) TargetResourceId() *pulumi.StringOutput
- func (r *Setting) URN() *pulumi.URNOutput
- type SettingArgs
- type SettingState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
Manages an AutoScale Setting which can be applied to Virtual Machine Scale Sets, App Services and other scalable resources.
func GetSetting ¶
func GetSetting(ctx *pulumi.Context, name string, id pulumi.ID, state *SettingState, opts ...pulumi.ResourceOpt) (*Setting, error)
GetSetting gets an existing Setting resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSetting ¶
func NewSetting(ctx *pulumi.Context, name string, args *SettingArgs, opts ...pulumi.ResourceOpt) (*Setting, error)
NewSetting registers a new resource with the given unique name, arguments, and options.
func (*Setting) Enabled ¶
func (r *Setting) Enabled() *pulumi.BoolOutput
Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`.
func (*Setting) Location ¶
func (r *Setting) Location() *pulumi.StringOutput
Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
func (*Setting) Name ¶
func (r *Setting) Name() *pulumi.StringOutput
Specifies the name of the profile.
func (*Setting) Notification ¶
Specifies a `notification` block as defined below.
func (*Setting) Profiles ¶
func (r *Setting) Profiles() *pulumi.ArrayOutput
Specifies one or more (up to 20) `profile` blocks as defined below.
func (*Setting) ResourceGroupName ¶
func (r *Setting) ResourceGroupName() *pulumi.StringOutput
The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
func (*Setting) TargetResourceId ¶
func (r *Setting) TargetResourceId() *pulumi.StringOutput
Specifies the resource ID of the resource that the autoscale setting should be added to.
type SettingArgs ¶
type SettingArgs struct { // Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`. Enabled interface{} // Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the profile. Name interface{} // Specifies a `notification` block as defined below. Notification interface{} // Specifies one or more (up to 20) `profile` blocks as defined below. Profiles interface{} // The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the resource ID of the resource that the autoscale setting should be added to. TargetResourceId interface{} }
The set of arguments for constructing a Setting resource.
type SettingState ¶
type SettingState struct { // Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`. Enabled interface{} // Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the profile. Name interface{} // Specifies a `notification` block as defined below. Notification interface{} // Specifies one or more (up to 20) `profile` blocks as defined below. Profiles interface{} // The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the resource ID of the resource that the autoscale setting should be added to. TargetResourceId interface{} }
Input properties used for looking up and filtering Setting resources.