azure-native.hybridnetwork.VendorSkuPreview
Explore with Pulumi AI
Customer subscription which can use a sku. API Version: 2020-01-01-preview.
Example Usage
Create or update preview subscription of vendor sku sub resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var vendorSkuPreview = new AzureNative.HybridNetwork.VendorSkuPreview("vendorSkuPreview", new()
{
PreviewSubscription = "previewSub",
SkuName = "TestSku",
VendorName = "TestVendor",
});
});
package main
import (
hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridnetwork.NewVendorSkuPreview(ctx, "vendorSkuPreview", &hybridnetwork.VendorSkuPreviewArgs{
PreviewSubscription: pulumi.String("previewSub"),
SkuName: pulumi.String("TestSku"),
VendorName: pulumi.String("TestVendor"),
})
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.hybridnetwork.VendorSkuPreview;
import com.pulumi.azurenative.hybridnetwork.VendorSkuPreviewArgs;
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 vendorSkuPreview = new VendorSkuPreview("vendorSkuPreview", VendorSkuPreviewArgs.builder()
.previewSubscription("previewSub")
.skuName("TestSku")
.vendorName("TestVendor")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
vendor_sku_preview = azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreview",
preview_subscription="previewSub",
sku_name="TestSku",
vendor_name="TestVendor")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const vendorSkuPreview = new azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreview", {
previewSubscription: "previewSub",
skuName: "TestSku",
vendorName: "TestVendor",
});
resources:
vendorSkuPreview:
type: azure-native:hybridnetwork:VendorSkuPreview
properties:
previewSubscription: previewSub
skuName: TestSku
vendorName: TestVendor
Create VendorSkuPreview Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VendorSkuPreview(name: string, args: VendorSkuPreviewArgs, opts?: CustomResourceOptions);
@overload
def VendorSkuPreview(resource_name: str,
args: VendorSkuPreviewArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VendorSkuPreview(resource_name: str,
opts: Optional[ResourceOptions] = None,
sku_name: Optional[str] = None,
vendor_name: Optional[str] = None,
preview_subscription: Optional[str] = None)
func NewVendorSkuPreview(ctx *Context, name string, args VendorSkuPreviewArgs, opts ...ResourceOption) (*VendorSkuPreview, error)
public VendorSkuPreview(string name, VendorSkuPreviewArgs args, CustomResourceOptions? opts = null)
public VendorSkuPreview(String name, VendorSkuPreviewArgs args)
public VendorSkuPreview(String name, VendorSkuPreviewArgs args, CustomResourceOptions options)
type: azure-native:hybridnetwork:VendorSkuPreview
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 VendorSkuPreviewArgs
- 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 VendorSkuPreviewArgs
- 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 VendorSkuPreviewArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VendorSkuPreviewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VendorSkuPreviewArgs
- 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 vendorSkuPreviewResource = new AzureNative.Hybridnetwork.VendorSkuPreview("vendorSkuPreviewResource", new()
{
SkuName = "string",
VendorName = "string",
PreviewSubscription = "string",
});
example, err := hybridnetwork.NewVendorSkuPreview(ctx, "vendorSkuPreviewResource", &hybridnetwork.VendorSkuPreviewArgs{
SkuName: "string",
VendorName: "string",
PreviewSubscription: "string",
})
var vendorSkuPreviewResource = new VendorSkuPreview("vendorSkuPreviewResource", VendorSkuPreviewArgs.builder()
.skuName("string")
.vendorName("string")
.previewSubscription("string")
.build());
vendor_sku_preview_resource = azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreviewResource",
sku_name=string,
vendor_name=string,
preview_subscription=string)
const vendorSkuPreviewResource = new azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreviewResource", {
skuName: "string",
vendorName: "string",
previewSubscription: "string",
});
type: azure-native:hybridnetwork:VendorSkuPreview
properties:
previewSubscription: string
skuName: string
vendorName: string
VendorSkuPreview Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VendorSkuPreview resource accepts the following input properties:
- Sku
Name string - The name of the vendor sku.
- Vendor
Name string - The name of the vendor.
- Preview
Subscription string - Preview subscription ID.
- Sku
Name string - The name of the vendor sku.
- Vendor
Name string - The name of the vendor.
- Preview
Subscription string - Preview subscription ID.
- sku
Name String - The name of the vendor sku.
- vendor
Name String - The name of the vendor.
- preview
Subscription String - Preview subscription ID.
- sku
Name string - The name of the vendor sku.
- vendor
Name string - The name of the vendor.
- preview
Subscription string - Preview subscription ID.
- sku_
name str - The name of the vendor sku.
- vendor_
name str - The name of the vendor.
- preview_
subscription str - Preview subscription ID.
- sku
Name String - The name of the vendor sku.
- vendor
Name String - The name of the vendor.
- preview
Subscription String - Preview subscription ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the VendorSkuPreview resource produces the following output properties:
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybridnetwork:VendorSkuPreview previewSub /subscriptions/subid/providers/Microsoft.HybridNetwork/vendors/TestVendor/vendorskus/TestSku/previewsubscriptions/previewSub
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0