1. Packages
  2. Azure Native
  3. API Docs
  4. azurestack
  5. getProduct
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.azurestack.getProduct

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Returns the specified product.

Uses Azure REST API version 2022-06-01.

Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestack [ApiVersion]. See the version guide for details.

Using getProduct

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProduct(args: GetProductArgs, opts?: InvokeOptions): Promise<GetProductResult>
function getProductOutput(args: GetProductOutputArgs, opts?: InvokeOptions): Output<GetProductResult>
Copy
def get_product(product_name: Optional[str] = None,
                registration_name: Optional[str] = None,
                resource_group: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetProductResult
def get_product_output(product_name: Optional[pulumi.Input[str]] = None,
                registration_name: Optional[pulumi.Input[str]] = None,
                resource_group: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetProductResult]
Copy
func GetProduct(ctx *Context, args *GetProductArgs, opts ...InvokeOption) (*GetProductResult, error)
func GetProductOutput(ctx *Context, args *GetProductOutputArgs, opts ...InvokeOption) GetProductResultOutput
Copy

> Note: This function is named GetProduct in the Go SDK.

public static class GetProduct 
{
    public static Task<GetProductResult> InvokeAsync(GetProductArgs args, InvokeOptions? opts = null)
    public static Output<GetProductResult> Invoke(GetProductInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProductResult> getProduct(GetProductArgs args, InvokeOptions options)
public static Output<GetProductResult> getProduct(GetProductArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:azurestack:getProduct
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProductName
This property is required.
Changes to this property will trigger replacement.
string
Name of the product.
RegistrationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Stack registration.
ResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
ProductName
This property is required.
Changes to this property will trigger replacement.
string
Name of the product.
RegistrationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Stack registration.
ResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
productName
This property is required.
Changes to this property will trigger replacement.
String
Name of the product.
registrationName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Stack registration.
resourceGroup
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group.
productName
This property is required.
Changes to this property will trigger replacement.
string
Name of the product.
registrationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Stack registration.
resourceGroup
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
product_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the product.
registration_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Stack registration.
resource_group
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group.
productName
This property is required.
Changes to this property will trigger replacement.
String
Name of the product.
registrationName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Stack registration.
resourceGroup
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group.

getProduct Result

The following output properties are available:

Id string
ID of the resource.
Name string
Name of the resource.
Type string
Type of Resource.
BillingPartNumber string
The part number used for billing purposes.
Compatibility Pulumi.AzureNative.AzureStack.Outputs.CompatibilityResponse
Product compatibility with current device.
Description string
The description of the product.
DisplayName string
The display name of the product.
Etag string
The entity tag used for optimistic concurrency when modifying the resource.
GalleryItemIdentity string
The identifier of the gallery item corresponding to the product.
IconUris Pulumi.AzureNative.AzureStack.Outputs.IconUrisResponse
Additional links available for this product.
LegalTerms string
The legal terms.
Links List<Pulumi.AzureNative.AzureStack.Outputs.ProductLinkResponse>
Additional links available for this product.
Offer string
The offer representing the product.
OfferVersion string
The version of the product offer.
PayloadLength double
The length of product content.
PrivacyPolicy string
The privacy policy.
ProductKind string
The kind of the product (virtualMachine or virtualMachineExtension)
ProductProperties Pulumi.AzureNative.AzureStack.Outputs.ProductPropertiesResponse
Additional properties for the product.
PublisherDisplayName string
The user-friendly name of the product publisher.
PublisherIdentifier string
Publisher identifier.
Sku string
The product SKU.
VmExtensionType string
The type of the Virtual Machine Extension.
Id string
ID of the resource.
Name string
Name of the resource.
Type string
Type of Resource.
BillingPartNumber string
The part number used for billing purposes.
Compatibility CompatibilityResponse
Product compatibility with current device.
Description string
The description of the product.
DisplayName string
The display name of the product.
Etag string
The entity tag used for optimistic concurrency when modifying the resource.
GalleryItemIdentity string
The identifier of the gallery item corresponding to the product.
IconUris IconUrisResponse
Additional links available for this product.
LegalTerms string
The legal terms.
Links []ProductLinkResponse
Additional links available for this product.
Offer string
The offer representing the product.
OfferVersion string
The version of the product offer.
PayloadLength float64
The length of product content.
PrivacyPolicy string
The privacy policy.
ProductKind string
The kind of the product (virtualMachine or virtualMachineExtension)
ProductProperties ProductPropertiesResponse
Additional properties for the product.
PublisherDisplayName string
The user-friendly name of the product publisher.
PublisherIdentifier string
Publisher identifier.
Sku string
The product SKU.
VmExtensionType string
The type of the Virtual Machine Extension.
id String
ID of the resource.
name String
Name of the resource.
type String
Type of Resource.
billingPartNumber String
The part number used for billing purposes.
compatibility CompatibilityResponse
Product compatibility with current device.
description String
The description of the product.
displayName String
The display name of the product.
etag String
The entity tag used for optimistic concurrency when modifying the resource.
galleryItemIdentity String
The identifier of the gallery item corresponding to the product.
iconUris IconUrisResponse
Additional links available for this product.
legalTerms String
The legal terms.
links List<ProductLinkResponse>
Additional links available for this product.
offer String
The offer representing the product.
offerVersion String
The version of the product offer.
payloadLength Double
The length of product content.
privacyPolicy String
The privacy policy.
productKind String
The kind of the product (virtualMachine or virtualMachineExtension)
productProperties ProductPropertiesResponse
Additional properties for the product.
publisherDisplayName String
The user-friendly name of the product publisher.
publisherIdentifier String
Publisher identifier.
sku String
The product SKU.
vmExtensionType String
The type of the Virtual Machine Extension.
id string
ID of the resource.
name string
Name of the resource.
type string
Type of Resource.
billingPartNumber string
The part number used for billing purposes.
compatibility CompatibilityResponse
Product compatibility with current device.
description string
The description of the product.
displayName string
The display name of the product.
etag string
The entity tag used for optimistic concurrency when modifying the resource.
galleryItemIdentity string
The identifier of the gallery item corresponding to the product.
iconUris IconUrisResponse
Additional links available for this product.
legalTerms string
The legal terms.
links ProductLinkResponse[]
Additional links available for this product.
offer string
The offer representing the product.
offerVersion string
The version of the product offer.
payloadLength number
The length of product content.
privacyPolicy string
The privacy policy.
productKind string
The kind of the product (virtualMachine or virtualMachineExtension)
productProperties ProductPropertiesResponse
Additional properties for the product.
publisherDisplayName string
The user-friendly name of the product publisher.
publisherIdentifier string
Publisher identifier.
sku string
The product SKU.
vmExtensionType string
The type of the Virtual Machine Extension.
id str
ID of the resource.
name str
Name of the resource.
type str
Type of Resource.
billing_part_number str
The part number used for billing purposes.
compatibility CompatibilityResponse
Product compatibility with current device.
description str
The description of the product.
display_name str
The display name of the product.
etag str
The entity tag used for optimistic concurrency when modifying the resource.
gallery_item_identity str
The identifier of the gallery item corresponding to the product.
icon_uris IconUrisResponse
Additional links available for this product.
legal_terms str
The legal terms.
links Sequence[ProductLinkResponse]
Additional links available for this product.
offer str
The offer representing the product.
offer_version str
The version of the product offer.
payload_length float
The length of product content.
privacy_policy str
The privacy policy.
product_kind str
The kind of the product (virtualMachine or virtualMachineExtension)
product_properties ProductPropertiesResponse
Additional properties for the product.
publisher_display_name str
The user-friendly name of the product publisher.
publisher_identifier str
Publisher identifier.
sku str
The product SKU.
vm_extension_type str
The type of the Virtual Machine Extension.
id String
ID of the resource.
name String
Name of the resource.
type String
Type of Resource.
billingPartNumber String
The part number used for billing purposes.
compatibility Property Map
Product compatibility with current device.
description String
The description of the product.
displayName String
The display name of the product.
etag String
The entity tag used for optimistic concurrency when modifying the resource.
galleryItemIdentity String
The identifier of the gallery item corresponding to the product.
iconUris Property Map
Additional links available for this product.
legalTerms String
The legal terms.
links List<Property Map>
Additional links available for this product.
offer String
The offer representing the product.
offerVersion String
The version of the product offer.
payloadLength Number
The length of product content.
privacyPolicy String
The privacy policy.
productKind String
The kind of the product (virtualMachine or virtualMachineExtension)
productProperties Property Map
Additional properties for the product.
publisherDisplayName String
The user-friendly name of the product publisher.
publisherIdentifier String
Publisher identifier.
sku String
The product SKU.
vmExtensionType String
The type of the Virtual Machine Extension.

Supporting Types

CompatibilityResponse

Description string
Full error message if any compatibility issues are found
IsCompatible bool
Tells if product is compatible with current device
Issues List<string>
List of all issues found
Message string
Short error message if any compatibility issues are found
Description string
Full error message if any compatibility issues are found
IsCompatible bool
Tells if product is compatible with current device
Issues []string
List of all issues found
Message string
Short error message if any compatibility issues are found
description String
Full error message if any compatibility issues are found
isCompatible Boolean
Tells if product is compatible with current device
issues List<String>
List of all issues found
message String
Short error message if any compatibility issues are found
description string
Full error message if any compatibility issues are found
isCompatible boolean
Tells if product is compatible with current device
issues string[]
List of all issues found
message string
Short error message if any compatibility issues are found
description str
Full error message if any compatibility issues are found
is_compatible bool
Tells if product is compatible with current device
issues Sequence[str]
List of all issues found
message str
Short error message if any compatibility issues are found
description String
Full error message if any compatibility issues are found
isCompatible Boolean
Tells if product is compatible with current device
issues List<String>
List of all issues found
message String
Short error message if any compatibility issues are found

IconUrisResponse

Hero string
URI to hero icon.
Large string
URI to large icon.
Medium string
URI to medium icon.
Small string
URI to small icon.
Wide string
URI to wide icon.
Hero string
URI to hero icon.
Large string
URI to large icon.
Medium string
URI to medium icon.
Small string
URI to small icon.
Wide string
URI to wide icon.
hero String
URI to hero icon.
large String
URI to large icon.
medium String
URI to medium icon.
small String
URI to small icon.
wide String
URI to wide icon.
hero string
URI to hero icon.
large string
URI to large icon.
medium string
URI to medium icon.
small string
URI to small icon.
wide string
URI to wide icon.
hero str
URI to hero icon.
large str
URI to large icon.
medium str
URI to medium icon.
small str
URI to small icon.
wide str
URI to wide icon.
hero String
URI to hero icon.
large String
URI to large icon.
medium String
URI to medium icon.
small String
URI to small icon.
wide String
URI to wide icon.

ProductLinkResponse

DisplayName string
The description of the link.
Uri string
The URI corresponding to the link.
DisplayName string
The description of the link.
Uri string
The URI corresponding to the link.
displayName String
The description of the link.
uri String
The URI corresponding to the link.
displayName string
The description of the link.
uri string
The URI corresponding to the link.
display_name str
The description of the link.
uri str
The URI corresponding to the link.
displayName String
The description of the link.
uri String
The URI corresponding to the link.

ProductPropertiesResponse

Version string
The version.
Version string
The version.
version String
The version.
version string
The version.
version str
The version.
version String
The version.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi