1. Packages
  2. Azure Native v2
  3. API Docs
  4. managementpartner
  5. Partner
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.managementpartner.Partner

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

this is the management partner operations response Azure REST API version: 2018-02-01. Prior API version in Azure Native 1.x: 2018-02-01.

Example Usage

PutPartnerDetails

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var partner = new AzureNative.ManagementPartner.Partner("partner", new()
    {
        PartnerId = "123456",
    });

});
Copy
package main

import (
	managementpartner "github.com/pulumi/pulumi-azure-native-sdk/managementpartner/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := managementpartner.NewPartner(ctx, "partner", &managementpartner.PartnerArgs{
			PartnerId: pulumi.String("123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.managementpartner.Partner;
import com.pulumi.azurenative.managementpartner.PartnerArgs;
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 partner = new Partner("partner", PartnerArgs.builder()
            .partnerId("123456")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const partner = new azure_native.managementpartner.Partner("partner", {partnerId: "123456"});
Copy
import pulumi
import pulumi_azure_native as azure_native

partner = azure_native.managementpartner.Partner("partner", partner_id="123456")
Copy
resources:
  partner:
    type: azure-native:managementpartner:Partner
    properties:
      partnerId: '123456'
Copy

Create Partner Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Partner(name: string, args?: PartnerArgs, opts?: CustomResourceOptions);
@overload
def Partner(resource_name: str,
            args: Optional[PartnerArgs] = None,
            opts: Optional[ResourceOptions] = None)

@overload
def Partner(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            partner_id: Optional[str] = None)
func NewPartner(ctx *Context, name string, args *PartnerArgs, opts ...ResourceOption) (*Partner, error)
public Partner(string name, PartnerArgs? args = null, CustomResourceOptions? opts = null)
public Partner(String name, PartnerArgs args)
public Partner(String name, PartnerArgs args, CustomResourceOptions options)
type: azure-native:managementpartner:Partner
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args PartnerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args PartnerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args PartnerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args PartnerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PartnerArgs
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 partnerResource = new AzureNative.Managementpartner.Partner("partnerResource", new()
{
    PartnerId = "string",
});
Copy
example, err := managementpartner.NewPartner(ctx, "partnerResource", &managementpartner.PartnerArgs{
	PartnerId: "string",
})
Copy
var partnerResource = new Partner("partnerResource", PartnerArgs.builder()
    .partnerId("string")
    .build());
Copy
partner_resource = azure_native.managementpartner.Partner("partnerResource", partner_id=string)
Copy
const partnerResource = new azure_native.managementpartner.Partner("partnerResource", {partnerId: "string"});
Copy
type: azure-native:managementpartner:Partner
properties:
    partnerId: string
Copy

Partner 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 Partner resource accepts the following input properties:

PartnerId Changes to this property will trigger replacement. string
Id of the Partner
PartnerId Changes to this property will trigger replacement. string
Id of the Partner
partnerId Changes to this property will trigger replacement. String
Id of the Partner
partnerId Changes to this property will trigger replacement. string
Id of the Partner
partner_id Changes to this property will trigger replacement. str
Id of the Partner
partnerId Changes to this property will trigger replacement. String
Id of the Partner

Outputs

All input properties are implicitly available as output properties. Additionally, the Partner resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the partner
Type string
Type of resource. "Microsoft.ManagementPartner/partners"
CreatedTime string
This is the DateTime when the partner was created.
Etag int
Type of the partner
ObjectId string
This is the object id.
PartnerName string
This is the partner name
TenantId string
This is the tenant id.
UpdatedTime string
This is the DateTime when the partner was updated.
Version int
This is the version.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the partner
Type string
Type of resource. "Microsoft.ManagementPartner/partners"
CreatedTime string
This is the DateTime when the partner was created.
Etag int
Type of the partner
ObjectId string
This is the object id.
PartnerName string
This is the partner name
TenantId string
This is the tenant id.
UpdatedTime string
This is the DateTime when the partner was updated.
Version int
This is the version.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the partner
type String
Type of resource. "Microsoft.ManagementPartner/partners"
createdTime String
This is the DateTime when the partner was created.
etag Integer
Type of the partner
objectId String
This is the object id.
partnerName String
This is the partner name
tenantId String
This is the tenant id.
updatedTime String
This is the DateTime when the partner was updated.
version Integer
This is the version.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the partner
type string
Type of resource. "Microsoft.ManagementPartner/partners"
createdTime string
This is the DateTime when the partner was created.
etag number
Type of the partner
objectId string
This is the object id.
partnerName string
This is the partner name
tenantId string
This is the tenant id.
updatedTime string
This is the DateTime when the partner was updated.
version number
This is the version.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the partner
type str
Type of resource. "Microsoft.ManagementPartner/partners"
created_time str
This is the DateTime when the partner was created.
etag int
Type of the partner
object_id str
This is the object id.
partner_name str
This is the partner name
tenant_id str
This is the tenant id.
updated_time str
This is the DateTime when the partner was updated.
version int
This is the version.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the partner
type String
Type of resource. "Microsoft.ManagementPartner/partners"
createdTime String
This is the DateTime when the partner was created.
etag Number
Type of the partner
objectId String
This is the object id.
partnerName String
This is the partner name
tenantId String
This is the tenant id.
updatedTime String
This is the DateTime when the partner was updated.
version Number
This is the version.

Import

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

$ pulumi import azure-native:managementpartner:Partner 123456 /providers/Microsoft.ManagementPartner/partners/{partnerId} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi