azure-native.hybridnetwork.VendorSkuPreview
Explore with Pulumi AI
Customer subscription which can use a sku. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 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/v2"
"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: pulumi.String("string"),
VendorName: pulumi.String("string"),
PreviewSubscription: pulumi.String("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
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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The preview subscription ID.
- Provisioning
State string - The provisioning state of the PreviewSubscription resource.
- System
Data Pulumi.Azure Native. Hybrid Network. Outputs. System Data Response - The system meta data relating to this resource.
- Type string
- The type of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The preview subscription ID.
- Provisioning
State string - The provisioning state of the PreviewSubscription resource.
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- The type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The preview subscription ID.
- provisioning
State String - The provisioning state of the PreviewSubscription resource.
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- The type of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The preview subscription ID.
- provisioning
State string - The provisioning state of the PreviewSubscription resource.
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- The type of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The preview subscription ID.
- provisioning_
state str - The provisioning state of the PreviewSubscription resource.
- system_
data SystemData Response - The system meta data relating to this resource.
- type str
- The type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The preview subscription ID.
- provisioning
State String - The provisioning state of the PreviewSubscription resource.
- system
Data Property Map - The system meta data relating to this resource.
- type String
- The type of the resource.
Supporting Types
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybridnetwork:VendorSkuPreview previewSub /subscriptions/{subscriptionId}/providers/Microsoft.HybridNetwork/vendors/{vendorName}/vendorSkus/{skuName}/previewSubscriptions/{previewSubscription}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0