azure-native.managementpartner.Partner
Explore with Pulumi AI
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 (
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
})
}
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.
Constructor 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
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:
- Partner
Id string - Id of the Partner
- Partner
Id string - Id of the Partner
- partner
Id String - Id of the Partner
- partner
Id string - Id of the Partner
- partner_
id str - Id of the Partner
- partner
Id 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"
- Created
Time string - This is the DateTime when the partner was created.
- Etag int
- Type of the partner
- Object
Id string - This is the object id.
- Partner
Name string - This is the partner name
- Tenant
Id string - This is the tenant id.
- Updated
Time 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"
- Created
Time string - This is the DateTime when the partner was created.
- Etag int
- Type of the partner
- Object
Id string - This is the object id.
- Partner
Name string - This is the partner name
- Tenant
Id string - This is the tenant id.
- Updated
Time 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"
- created
Time String - This is the DateTime when the partner was created.
- etag Integer
- Type of the partner
- object
Id String - This is the object id.
- partner
Name String - This is the partner name
- tenant
Id String - This is the tenant id.
- updated
Time 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"
- created
Time string - This is the DateTime when the partner was created.
- etag number
- Type of the partner
- object
Id string - This is the object id.
- partner
Name string - This is the partner name
- tenant
Id string - This is the tenant id.
- updated
Time 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"
- created
Time String - This is the DateTime when the partner was created.
- etag Number
- Type of the partner
- object
Id String - This is the object id.
- partner
Name String - This is the partner name
- tenant
Id String - This is the tenant id.
- updated
Time 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