1. Packages
  2. Azure Native
  3. API Docs
  4. managementpartner
  5. Partner
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.managementpartner.Partner

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 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",
        });
    
    });
    
    package main
    
    import (
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    partner = azure_native.managementpartner.Partner("partner", partner_id="123456")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const partner = new azure_native.managementpartner.Partner("partner", {partnerId: "123456"});
    
    resources:
      partner:
        type: azure-native:managementpartner:Partner
        properties:
          partnerId: '123456'
    

    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 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 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 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 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 String
    The unique name of the resource.
    args PartnerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var partnerResource = new AzureNative.ManagementPartner.Partner("partnerResource", new()
    {
        PartnerId = "string",
    });
    
    example, err := managementpartner.NewPartner(ctx, "partnerResource", &managementpartner.PartnerArgs{
    PartnerId: pulumi.String("string"),
    })
    
    var partnerResource = new Partner("partnerResource", PartnerArgs.builder()        
        .partnerId("string")
        .build());
    
    partner_resource = azure_native.managementpartner.Partner("partnerResource", partner_id="string")
    
    const partnerResource = new azure_native.managementpartner.Partner("partnerResource", {partnerId: "string"});
    
    type: azure-native:managementpartner:Partner
    properties:
        partnerId: string
    

    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

    The Partner resource accepts the following input properties:

    PartnerId string
    Id of the Partner
    PartnerId string
    Id of the Partner
    partnerId String
    Id of the Partner
    partnerId string
    Id of the Partner
    partner_id str
    Id of the Partner
    partnerId 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} 
    

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

    Package Details

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