Publisher

class Publisher : KotlinCustomResource

publisher resource. Uses Azure REST API version 2023-09-01. Other available API versions: 2024-04-15.

Example Usage

Create or update a publisher resource

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var publisher = new AzureNative.HybridNetwork.Publisher("publisher", new()
{
Location = "eastus",
Properties = new AzureNative.HybridNetwork.Inputs.PublisherPropertiesFormatArgs
{
Scope = "Public",
},
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.NewPublisher(ctx, "publisher", &hybridnetwork.PublisherArgs{
Location: pulumi.String("eastus"),
Properties: &hybridnetwork.PublisherPropertiesFormatArgs{
Scope: pulumi.String("Public"),
},
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.Publisher;
import com.pulumi.azurenative.hybridnetwork.PublisherArgs;
import com.pulumi.azurenative.hybridnetwork.inputs.PublisherPropertiesFormatArgs;
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 publisher = new Publisher("publisher", PublisherArgs.builder()
.location("eastus")
.properties(PublisherPropertiesFormatArgs.builder()
.scope("Public")
.build())
.publisherName("TestPublisher")
.resourceGroupName("rg")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:hybridnetwork:Publisher TestPublisher /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The managed identity of the publisher, if configured.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Publisher properties.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>