azure-native.addons.SupportPlanType
Explore with Pulumi AI
The status of the Canonical support plan. Azure REST API version: 2018-03-01. Prior API version in Azure Native 1.x: 2018-03-01.
Example Usage
SupportPlanTypes_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var supportPlanType = new AzureNative.Addons.SupportPlanType("supportPlanType", new()
{
PlanTypeName = "Standard",
ProviderName = "Canonical",
});
});
package main
import (
addons "github.com/pulumi/pulumi-azure-native-sdk/addons/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := addons.NewSupportPlanType(ctx, "supportPlanType", &addons.SupportPlanTypeArgs{
PlanTypeName: pulumi.String("Standard"),
ProviderName: pulumi.String("Canonical"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.addons.SupportPlanType;
import com.pulumi.azurenative.addons.SupportPlanTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var supportPlanType = new SupportPlanType("supportPlanType", SupportPlanTypeArgs.builder()
.planTypeName("Standard")
.providerName("Canonical")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
support_plan_type = azure_native.addons.SupportPlanType("supportPlanType",
plan_type_name="Standard",
provider_name="Canonical")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const supportPlanType = new azure_native.addons.SupportPlanType("supportPlanType", {
planTypeName: "Standard",
providerName: "Canonical",
});
resources:
supportPlanType:
type: azure-native:addons:SupportPlanType
properties:
planTypeName: Standard
providerName: Canonical
Create SupportPlanType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SupportPlanType(name: string, args: SupportPlanTypeArgs, opts?: CustomResourceOptions);
@overload
def SupportPlanType(resource_name: str,
args: SupportPlanTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SupportPlanType(resource_name: str,
opts: Optional[ResourceOptions] = None,
provider_name: Optional[str] = None,
plan_type_name: Optional[str] = None)
func NewSupportPlanType(ctx *Context, name string, args SupportPlanTypeArgs, opts ...ResourceOption) (*SupportPlanType, error)
public SupportPlanType(string name, SupportPlanTypeArgs args, CustomResourceOptions? opts = null)
public SupportPlanType(String name, SupportPlanTypeArgs args)
public SupportPlanType(String name, SupportPlanTypeArgs args, CustomResourceOptions options)
type: azure-native:addons:SupportPlanType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SupportPlanTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SupportPlanTypeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SupportPlanTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SupportPlanTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SupportPlanTypeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var supportPlanTypeResource = new AzureNative.Addons.SupportPlanType("supportPlanTypeResource", new()
{
ProviderName = "string",
PlanTypeName = "string",
});
example, err := addons.NewSupportPlanType(ctx, "supportPlanTypeResource", &addons.SupportPlanTypeArgs{
ProviderName: pulumi.String("string"),
PlanTypeName: pulumi.String("string"),
})
var supportPlanTypeResource = new SupportPlanType("supportPlanTypeResource", SupportPlanTypeArgs.builder()
.providerName("string")
.planTypeName("string")
.build());
support_plan_type_resource = azure_native.addons.SupportPlanType("supportPlanTypeResource",
provider_name="string",
plan_type_name="string")
const supportPlanTypeResource = new azure_native.addons.SupportPlanType("supportPlanTypeResource", {
providerName: "string",
planTypeName: "string",
});
type: azure-native:addons:SupportPlanType
properties:
planTypeName: string
providerName: string
SupportPlanType Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SupportPlanType resource accepts the following input properties:
- Provider
Name string - The support plan type. For now the only valid type is "canonical".
- Plan
Type stringName - The Canonical support plan type.
- Provider
Name string - The support plan type. For now the only valid type is "canonical".
- Plan
Type stringName - The Canonical support plan type.
- provider
Name String - The support plan type. For now the only valid type is "canonical".
- plan
Type StringName - The Canonical support plan type.
- provider
Name string - The support plan type. For now the only valid type is "canonical".
- plan
Type stringName - The Canonical support plan type.
- provider_
name str - The support plan type. For now the only valid type is "canonical".
- plan_
type_ strname - The Canonical support plan type.
- provider
Name String - The support plan type. For now the only valid type is "canonical".
- plan
Type StringName - The Canonical support plan type.
Outputs
All input properties are implicitly available as output properties. Additionally, the SupportPlanType resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
- Type string
- Microsoft.Addons/supportProvider
- Provisioning
State string - The provisioning state of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
- Type string
- Microsoft.Addons/supportProvider
- Provisioning
State string - The provisioning state of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
- type String
- Microsoft.Addons/supportProvider
- provisioning
State String - The provisioning state of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
- type string
- Microsoft.Addons/supportProvider
- provisioning
State string - The provisioning state of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
- type str
- Microsoft.Addons/supportProvider
- provisioning_
state str - The provisioning state of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
- type String
- Microsoft.Addons/supportProvider
- provisioning
State String - The provisioning state of the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:addons:SupportPlanType Standard /subscriptions/{subscriptionId}/providers/Microsoft.Addons/supportProviders/{providerName}/supportPlanTypes/{planTypeName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0