azure-native.hybridnetwork.ArtifactManifest
Explore with Pulumi AI
Artifact manifest properties. Azure REST API version: 2023-09-01.
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 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=azure_native.hybridnetwork.ArtifactManifestPropertiesFormatArgs(
artifacts=[
azure_native.hybridnetwork.ManifestArtifactFormatArgs(
artifact_name="fed-rbac",
artifact_type=azure_native.hybridnetwork.ArtifactType.OCI_ARTIFACT,
artifact_version="1.0.0",
),
azure_native.hybridnetwork.ManifestArtifactFormatArgs(
artifact_name="nginx",
artifact_type=azure_native.hybridnetwork.ArtifactType.OCI_ARTIFACT,
artifact_version="v1",
),
],
),
publisher_name="TestPublisher",
resource_group_name="rg")
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",
});
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=azure_native.hybridnetwork.ArtifactManifestPropertiesFormatArgs(
artifacts=[azure_native.hybridnetwork.ManifestArtifactFormatArgs(
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
The ArtifactManifest resource accepts the following input properties:
- Artifact
Store stringName - The name of the artifact store.
- Publisher
Name string - The name of the publisher.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Artifact
Manifest 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.
- Artifact
Store stringName - The name of the artifact store.
- Publisher
Name string - The name of the publisher.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Artifact
Manifest stringName - The name of the artifact manifest.
- Location string
- The geo-location where the resource lives
- Properties
Artifact
Manifest Properties Format Args - Artifact manifest properties.
- map[string]string
- Resource tags.
- artifact
Store StringName - The name of the artifact store.
- publisher
Name String - The name of the publisher.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- artifact
Manifest StringName - The name of the artifact manifest.
- location String
- The geo-location where the resource lives
- properties
Artifact
Manifest Properties Format - Artifact manifest properties.
- Map<String,String>
- Resource tags.
- artifact
Store stringName - The name of the artifact store.
- publisher
Name string - The name of the publisher.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- artifact
Manifest stringName - The name of the artifact manifest.
- location string
- The geo-location where the resource lives
- properties
Artifact
Manifest 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
Artifact
Manifest Properties Format Args - Artifact manifest properties.
- Mapping[str, str]
- Resource tags.
- artifact
Store StringName - The name of the artifact store.
- publisher
Name String - The name of the publisher.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- artifact
Manifest 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
- System
Data 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
- System
Data 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
- system
Data 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
- system
Data 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
- system
Data 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
[]Manifest
Artifact Format - The artifacts list.
- artifacts
List<Manifest
Artifact Format> - The artifacts list.
- artifacts
Manifest
Artifact Format[] - The artifacts list.
- artifacts
Sequence[Manifest
Artifact Format] - The artifacts list.
- artifacts List<Property Map>
- The artifacts list.
ArtifactManifestPropertiesFormatResponse, ArtifactManifestPropertiesFormatResponseArgs
- Artifact
Manifest stringState - The artifact manifest state.
- Provisioning
State string - The provisioning state of the ArtifactManifest resource.
- Artifacts
List<Pulumi.
Azure Native. Hybrid Network. Inputs. Manifest Artifact Format Response> - The artifacts list.
- Artifact
Manifest stringState - The artifact manifest state.
- Provisioning
State string - The provisioning state of the ArtifactManifest resource.
- Artifacts
[]Manifest
Artifact Format Response - The artifacts list.
- artifact
Manifest StringState - The artifact manifest state.
- provisioning
State String - The provisioning state of the ArtifactManifest resource.
- artifacts
List<Manifest
Artifact Format Response> - The artifacts list.
- artifact
Manifest stringState - The artifact manifest state.
- provisioning
State string - The provisioning state of the ArtifactManifest resource.
- artifacts
Manifest
Artifact Format Response[] - The artifacts list.
- artifact_
manifest_ strstate - The artifact manifest state.
- provisioning_
state str - The provisioning state of the ArtifactManifest resource.
- artifacts
Sequence[Manifest
Artifact Format Response] - The artifacts list.
- artifact
Manifest StringState - The artifact manifest state.
- provisioning
State String - The provisioning state of the ArtifactManifest resource.
- artifacts List<Property Map>
- The artifacts list.
ArtifactType, ArtifactTypeArgs
- Unknown
- Unknown
- OCIArtifact
- OCIArtifact
- Vhd
Image File - VhdImageFile
- Arm
Template - ArmTemplate
- Image
File - ImageFile
- Artifact
Type Unknown - Unknown
- Artifact
Type OCIArtifact - OCIArtifact
- Artifact
Type Vhd Image File - VhdImageFile
- Artifact
Type Arm Template - ArmTemplate
- Artifact
Type Image File - ImageFile
- Unknown
- Unknown
- OCIArtifact
- OCIArtifact
- Vhd
Image File - VhdImageFile
- Arm
Template - ArmTemplate
- Image
File - ImageFile
- Unknown
- Unknown
- OCIArtifact
- OCIArtifact
- Vhd
Image File - VhdImageFile
- Arm
Template - ArmTemplate
- Image
File - ImageFile
- UNKNOWN
- Unknown
- OCI_ARTIFACT
- OCIArtifact
- VHD_IMAGE_FILE
- VhdImageFile
- ARM_TEMPLATE
- ArmTemplate
- IMAGE_FILE
- ImageFile
- "Unknown"
- Unknown
- "OCIArtifact"
- OCIArtifact
- "Vhd
Image File" - VhdImageFile
- "Arm
Template" - ArmTemplate
- "Image
File" - ImageFile
ManifestArtifactFormat, ManifestArtifactFormatArgs
- Artifact
Name string - The artifact name
- Artifact
Type string | Pulumi.Azure Native. Hybrid Network. Artifact Type - The artifact type.
- Artifact
Version string - The artifact version.
- Artifact
Name string - The artifact name
- Artifact
Type string | ArtifactType - The artifact type.
- Artifact
Version string - The artifact version.
- artifact
Name String - The artifact name
- artifact
Type String | ArtifactType - The artifact type.
- artifact
Version String - The artifact version.
- artifact
Name string - The artifact name
- artifact
Type string | ArtifactType - The artifact type.
- artifact
Version string - The artifact version.
- artifact_
name str - The artifact name
- artifact_
type str | ArtifactType - The artifact type.
- artifact_
version str - The artifact version.
- artifact
Name String - The artifact name
- artifact
Type String | "Unknown" | "OCIArtifact" | "VhdImage File" | "Arm Template" | "Image File" - The artifact type.
- artifact
Version String - The artifact version.
ManifestArtifactFormatResponse, ManifestArtifactFormatResponseArgs
- Artifact
Name string - The artifact name
- Artifact
Type string - The artifact type.
- Artifact
Version string - The artifact version.
- Artifact
Name string - The artifact name
- Artifact
Type string - The artifact type.
- Artifact
Version string - The artifact version.
- artifact
Name String - The artifact name
- artifact
Type String - The artifact type.
- artifact
Version String - The artifact version.
- artifact
Name string - The artifact name
- artifact
Type string - The artifact type.
- artifact
Version string - The artifact version.
- artifact_
name str - The artifact name
- artifact_
type str - The artifact type.
- artifact_
version str - The artifact version.
- artifact
Name String - The artifact name
- artifact
Type String - The artifact type.
- artifact
Version String - The artifact version.
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: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