azure-native.hybridnetwork.ArtifactManifest
Explore with Pulumi AI
Artifact manifest properties. Azure REST API version: 2023-09-01.
Other available API versions: 2024-04-15.
Example Usage
Create or update the artifact manifest resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var artifactManifest = new AzureNative.HybridNetwork.ArtifactManifest("artifactManifest", new()
    {
        ArtifactManifestName = "TestManifest",
        ArtifactStoreName = "TestArtifactStore",
        Location = "eastus",
        Properties = new AzureNative.HybridNetwork.Inputs.ArtifactManifestPropertiesFormatArgs
        {
            Artifacts = new[]
            {
                new AzureNative.HybridNetwork.Inputs.ManifestArtifactFormatArgs
                {
                    ArtifactName = "fed-rbac",
                    ArtifactType = AzureNative.HybridNetwork.ArtifactType.OCIArtifact,
                    ArtifactVersion = "1.0.0",
                },
                new AzureNative.HybridNetwork.Inputs.ManifestArtifactFormatArgs
                {
                    ArtifactName = "nginx",
                    ArtifactType = AzureNative.HybridNetwork.ArtifactType.OCIArtifact,
                    ArtifactVersion = "v1",
                },
            },
        },
        PublisherName = "TestPublisher",
        ResourceGroupName = "rg",
    });
});
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.NewArtifactManifest(ctx, "artifactManifest", &hybridnetwork.ArtifactManifestArgs{
			ArtifactManifestName: pulumi.String("TestManifest"),
			ArtifactStoreName:    pulumi.String("TestArtifactStore"),
			Location:             pulumi.String("eastus"),
			Properties: &hybridnetwork.ArtifactManifestPropertiesFormatArgs{
				Artifacts: hybridnetwork.ManifestArtifactFormatArray{
					&hybridnetwork.ManifestArtifactFormatArgs{
						ArtifactName:    pulumi.String("fed-rbac"),
						ArtifactType:    pulumi.String(hybridnetwork.ArtifactTypeOCIArtifact),
						ArtifactVersion: pulumi.String("1.0.0"),
					},
					&hybridnetwork.ManifestArtifactFormatArgs{
						ArtifactName:    pulumi.String("nginx"),
						ArtifactType:    pulumi.String(hybridnetwork.ArtifactTypeOCIArtifact),
						ArtifactVersion: pulumi.String("v1"),
					},
				},
			},
			PublisherName:     pulumi.String("TestPublisher"),
			ResourceGroupName: pulumi.String("rg"),
		})
		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.ArtifactManifest;
import com.pulumi.azurenative.hybridnetwork.ArtifactManifestArgs;
import com.pulumi.azurenative.hybridnetwork.inputs.ArtifactManifestPropertiesFormatArgs;
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 artifactManifest = new ArtifactManifest("artifactManifest", ArtifactManifestArgs.builder()
            .artifactManifestName("TestManifest")
            .artifactStoreName("TestArtifactStore")
            .location("eastus")
            .properties(ArtifactManifestPropertiesFormatArgs.builder()
                .artifacts(                
                    ManifestArtifactFormatArgs.builder()
                        .artifactName("fed-rbac")
                        .artifactType("OCIArtifact")
                        .artifactVersion("1.0.0")
                        .build(),
                    ManifestArtifactFormatArgs.builder()
                        .artifactName("nginx")
                        .artifactType("OCIArtifact")
                        .artifactVersion("v1")
                        .build())
                .build())
            .publisherName("TestPublisher")
            .resourceGroupName("rg")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const artifactManifest = new azure_native.hybridnetwork.ArtifactManifest("artifactManifest", {
    artifactManifestName: "TestManifest",
    artifactStoreName: "TestArtifactStore",
    location: "eastus",
    properties: {
        artifacts: [
            {
                artifactName: "fed-rbac",
                artifactType: azure_native.hybridnetwork.ArtifactType.OCIArtifact,
                artifactVersion: "1.0.0",
            },
            {
                artifactName: "nginx",
                artifactType: azure_native.hybridnetwork.ArtifactType.OCIArtifact,
                artifactVersion: "v1",
            },
        ],
    },
    publisherName: "TestPublisher",
    resourceGroupName: "rg",
});
import pulumi
import pulumi_azure_native as azure_native
artifact_manifest = azure_native.hybridnetwork.ArtifactManifest("artifactManifest",
    artifact_manifest_name="TestManifest",
    artifact_store_name="TestArtifactStore",
    location="eastus",
    properties={
        "artifacts": [
            {
                "artifact_name": "fed-rbac",
                "artifact_type": azure_native.hybridnetwork.ArtifactType.OCI_ARTIFACT,
                "artifact_version": "1.0.0",
            },
            {
                "artifact_name": "nginx",
                "artifact_type": azure_native.hybridnetwork.ArtifactType.OCI_ARTIFACT,
                "artifact_version": "v1",
            },
        ],
    },
    publisher_name="TestPublisher",
    resource_group_name="rg")
resources:
  artifactManifest:
    type: azure-native:hybridnetwork:ArtifactManifest
    properties:
      artifactManifestName: TestManifest
      artifactStoreName: TestArtifactStore
      location: eastus
      properties:
        artifacts:
          - artifactName: fed-rbac
            artifactType: OCIArtifact
            artifactVersion: 1.0.0
          - artifactName: nginx
            artifactType: OCIArtifact
            artifactVersion: v1
      publisherName: TestPublisher
      resourceGroupName: rg
Create ArtifactManifest Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ArtifactManifest(name: string, args: ArtifactManifestArgs, opts?: CustomResourceOptions);@overload
def ArtifactManifest(resource_name: str,
                     args: ArtifactManifestArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def ArtifactManifest(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     artifact_store_name: Optional[str] = None,
                     publisher_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     artifact_manifest_name: Optional[str] = None,
                     location: Optional[str] = None,
                     properties: Optional[ArtifactManifestPropertiesFormatArgs] = None,
                     tags: Optional[Mapping[str, str]] = None)func NewArtifactManifest(ctx *Context, name string, args ArtifactManifestArgs, opts ...ResourceOption) (*ArtifactManifest, error)public ArtifactManifest(string name, ArtifactManifestArgs args, CustomResourceOptions? opts = null)
public ArtifactManifest(String name, ArtifactManifestArgs args)
public ArtifactManifest(String name, ArtifactManifestArgs args, CustomResourceOptions options)
type: azure-native:hybridnetwork:ArtifactManifest
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 ArtifactManifestArgs
- 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 ArtifactManifestArgs
- 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 ArtifactManifestArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ArtifactManifestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ArtifactManifestArgs
- 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 artifactManifestResource = new AzureNative.HybridNetwork.ArtifactManifest("artifactManifestResource", new()
{
    ArtifactStoreName = "string",
    PublisherName = "string",
    ResourceGroupName = "string",
    ArtifactManifestName = "string",
    Location = "string",
    Properties = new AzureNative.HybridNetwork.Inputs.ArtifactManifestPropertiesFormatArgs
    {
        Artifacts = new[]
        {
            new AzureNative.HybridNetwork.Inputs.ManifestArtifactFormatArgs
            {
                ArtifactName = "string",
                ArtifactType = "string",
                ArtifactVersion = "string",
            },
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := hybridnetwork.NewArtifactManifest(ctx, "artifactManifestResource", &hybridnetwork.ArtifactManifestArgs{
	ArtifactStoreName:    pulumi.String("string"),
	PublisherName:        pulumi.String("string"),
	ResourceGroupName:    pulumi.String("string"),
	ArtifactManifestName: pulumi.String("string"),
	Location:             pulumi.String("string"),
	Properties: &hybridnetwork.ArtifactManifestPropertiesFormatArgs{
		Artifacts: hybridnetwork.ManifestArtifactFormatArray{
			&hybridnetwork.ManifestArtifactFormatArgs{
				ArtifactName:    pulumi.String("string"),
				ArtifactType:    pulumi.String("string"),
				ArtifactVersion: pulumi.String("string"),
			},
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var artifactManifestResource = new ArtifactManifest("artifactManifestResource", ArtifactManifestArgs.builder()
    .artifactStoreName("string")
    .publisherName("string")
    .resourceGroupName("string")
    .artifactManifestName("string")
    .location("string")
    .properties(ArtifactManifestPropertiesFormatArgs.builder()
        .artifacts(ManifestArtifactFormatArgs.builder()
            .artifactName("string")
            .artifactType("string")
            .artifactVersion("string")
            .build())
        .build())
    .tags(Map.of("string", "string"))
    .build());
artifact_manifest_resource = azure_native.hybridnetwork.ArtifactManifest("artifactManifestResource",
    artifact_store_name="string",
    publisher_name="string",
    resource_group_name="string",
    artifact_manifest_name="string",
    location="string",
    properties={
        "artifacts": [{
            "artifact_name": "string",
            "artifact_type": "string",
            "artifact_version": "string",
        }],
    },
    tags={
        "string": "string",
    })
const artifactManifestResource = new azure_native.hybridnetwork.ArtifactManifest("artifactManifestResource", {
    artifactStoreName: "string",
    publisherName: "string",
    resourceGroupName: "string",
    artifactManifestName: "string",
    location: "string",
    properties: {
        artifacts: [{
            artifactName: "string",
            artifactType: "string",
            artifactVersion: "string",
        }],
    },
    tags: {
        string: "string",
    },
});
type: azure-native:hybridnetwork:ArtifactManifest
properties:
    artifactManifestName: string
    artifactStoreName: string
    location: string
    properties:
        artifacts:
            - artifactName: string
              artifactType: string
              artifactVersion: string
    publisherName: string
    resourceGroupName: string
    tags:
        string: string
ArtifactManifest 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 ArtifactManifest resource accepts the following input properties:
- ArtifactStore stringName 
- The name of the artifact store.
- PublisherName string
- The name of the publisher.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ArtifactManifest stringName 
- The name of the artifact manifest.
- Location string
- The geo-location where the resource lives
- Properties
Pulumi.Azure Native. Hybrid Network. Inputs. Artifact Manifest Properties Format 
- Artifact manifest properties.
- Dictionary<string, string>
- Resource tags.
- ArtifactStore stringName 
- The name of the artifact store.
- PublisherName string
- The name of the publisher.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ArtifactManifest stringName 
- The name of the artifact manifest.
- Location string
- The geo-location where the resource lives
- Properties
ArtifactManifest Properties Format Args 
- Artifact manifest properties.
- map[string]string
- Resource tags.
- artifactStore StringName 
- The name of the artifact store.
- publisherName String
- The name of the publisher.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- artifactManifest StringName 
- The name of the artifact manifest.
- location String
- The geo-location where the resource lives
- properties
ArtifactManifest Properties Format 
- Artifact manifest properties.
- Map<String,String>
- Resource tags.
- artifactStore stringName 
- The name of the artifact store.
- publisherName string
- The name of the publisher.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- artifactManifest stringName 
- The name of the artifact manifest.
- location string
- The geo-location where the resource lives
- properties
ArtifactManifest Properties Format 
- Artifact manifest properties.
- {[key: string]: string}
- Resource tags.
- artifact_store_ strname 
- The name of the artifact store.
- publisher_name str
- The name of the publisher.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- artifact_manifest_ strname 
- The name of the artifact manifest.
- location str
- The geo-location where the resource lives
- properties
ArtifactManifest Properties Format Args 
- Artifact manifest properties.
- Mapping[str, str]
- Resource tags.
- artifactStore StringName 
- The name of the artifact store.
- publisherName String
- The name of the publisher.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- artifactManifest StringName 
- The name of the artifact manifest.
- location String
- The geo-location where the resource lives
- properties Property Map
- Artifact manifest properties.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ArtifactManifest resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Hybrid Network. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ArtifactManifestPropertiesFormat, ArtifactManifestPropertiesFormatArgs        
- Artifacts
List<Pulumi.Azure Native. Hybrid Network. Inputs. Manifest Artifact Format> 
- The artifacts list.
- Artifacts
[]ManifestArtifact Format 
- The artifacts list.
- artifacts
List<ManifestArtifact Format> 
- The artifacts list.
- artifacts
ManifestArtifact Format[] 
- The artifacts list.
- artifacts
Sequence[ManifestArtifact Format] 
- The artifacts list.
- artifacts List<Property Map>
- The artifacts list.
ArtifactManifestPropertiesFormatResponse, ArtifactManifestPropertiesFormatResponseArgs          
- ArtifactManifest stringState 
- The artifact manifest state.
- ProvisioningState string
- The provisioning state of the ArtifactManifest resource.
- Artifacts
List<Pulumi.Azure Native. Hybrid Network. Inputs. Manifest Artifact Format Response> 
- The artifacts list.
- ArtifactManifest stringState 
- The artifact manifest state.
- ProvisioningState string
- The provisioning state of the ArtifactManifest resource.
- Artifacts
[]ManifestArtifact Format Response 
- The artifacts list.
- artifactManifest StringState 
- The artifact manifest state.
- provisioningState String
- The provisioning state of the ArtifactManifest resource.
- artifacts
List<ManifestArtifact Format Response> 
- The artifacts list.
- artifactManifest stringState 
- The artifact manifest state.
- provisioningState string
- The provisioning state of the ArtifactManifest resource.
- artifacts
ManifestArtifact Format Response[] 
- The artifacts list.
- artifact_manifest_ strstate 
- The artifact manifest state.
- provisioning_state str
- The provisioning state of the ArtifactManifest resource.
- artifacts
Sequence[ManifestArtifact Format Response] 
- The artifacts list.
- artifactManifest StringState 
- The artifact manifest state.
- provisioningState String
- The provisioning state of the ArtifactManifest resource.
- artifacts List<Property Map>
- The artifacts list.
ArtifactType, ArtifactTypeArgs    
- Unknown
- Unknown
- OCIArtifact
- OCIArtifact
- VhdImage File 
- VhdImageFile
- ArmTemplate 
- ArmTemplate
- ImageFile 
- ImageFile
- ArtifactType Unknown 
- Unknown
- ArtifactType OCIArtifact 
- OCIArtifact
- ArtifactType Vhd Image File 
- VhdImageFile
- ArtifactType Arm Template 
- ArmTemplate
- ArtifactType Image File 
- ImageFile
- Unknown
- Unknown
- OCIArtifact
- OCIArtifact
- VhdImage File 
- VhdImageFile
- ArmTemplate 
- ArmTemplate
- ImageFile 
- ImageFile
- Unknown
- Unknown
- OCIArtifact
- OCIArtifact
- VhdImage File 
- VhdImageFile
- ArmTemplate 
- ArmTemplate
- ImageFile 
- ImageFile
- UNKNOWN
- Unknown
- OCI_ARTIFACT
- OCIArtifact
- VHD_IMAGE_FILE
- VhdImageFile
- ARM_TEMPLATE
- ArmTemplate
- IMAGE_FILE
- ImageFile
- "Unknown"
- Unknown
- "OCIArtifact"
- OCIArtifact
- "VhdImage File" 
- VhdImageFile
- "ArmTemplate" 
- ArmTemplate
- "ImageFile" 
- ImageFile
ManifestArtifactFormat, ManifestArtifactFormatArgs      
- ArtifactName string
- The artifact name
- ArtifactType string | Pulumi.Azure Native. Hybrid Network. Artifact Type 
- The artifact type.
- ArtifactVersion string
- The artifact version.
- ArtifactName string
- The artifact name
- ArtifactType string | ArtifactType 
- The artifact type.
- ArtifactVersion string
- The artifact version.
- artifactName String
- The artifact name
- artifactType String | ArtifactType 
- The artifact type.
- artifactVersion String
- The artifact version.
- artifactName string
- The artifact name
- artifactType string | ArtifactType 
- The artifact type.
- artifactVersion string
- The artifact version.
- artifact_name str
- The artifact name
- artifact_type str | ArtifactType 
- The artifact type.
- artifact_version str
- The artifact version.
- artifactName String
- The artifact name
- artifactType String | "Unknown" | "OCIArtifact" | "VhdImage File" | "Arm Template" | "Image File" 
- The artifact type.
- artifactVersion String
- The artifact version.
ManifestArtifactFormatResponse, ManifestArtifactFormatResponseArgs        
- ArtifactName string
- The artifact name
- ArtifactType string
- The artifact type.
- ArtifactVersion string
- The artifact version.
- ArtifactName string
- The artifact name
- ArtifactType string
- The artifact type.
- ArtifactVersion string
- The artifact version.
- artifactName String
- The artifact name
- artifactType String
- The artifact type.
- artifactVersion String
- The artifact version.
- artifactName string
- The artifact name
- artifactType string
- The artifact type.
- artifactVersion string
- The artifact version.
- artifact_name str
- The artifact name
- artifact_type str
- The artifact type.
- artifact_version str
- The artifact version.
- artifactName String
- The artifact name
- artifactType String
- The artifact type.
- artifactVersion String
- The artifact version.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:ArtifactManifest TestManifest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}/artifactManifests/{artifactManifestName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0