1. Packages
  2. Azure Native v2
  3. API Docs
  4. managementpartner
  5. getPartner
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.getPartner

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

Get the management partner using the partnerId, objectId and tenantId. Azure REST API version: 2018-02-01.

Using getPartner

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getPartner(args: GetPartnerArgs, opts?: InvokeOptions): Promise<GetPartnerResult>
function getPartnerOutput(args: GetPartnerOutputArgs, opts?: InvokeOptions): Output<GetPartnerResult>
Copy
def get_partner(partner_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetPartnerResult
def get_partner_output(partner_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetPartnerResult]
Copy
func LookupPartner(ctx *Context, args *LookupPartnerArgs, opts ...InvokeOption) (*LookupPartnerResult, error)
func LookupPartnerOutput(ctx *Context, args *LookupPartnerOutputArgs, opts ...InvokeOption) LookupPartnerResultOutput
Copy

> Note: This function is named LookupPartner in the Go SDK.

public static class GetPartner 
{
    public static Task<GetPartnerResult> InvokeAsync(GetPartnerArgs args, InvokeOptions? opts = null)
    public static Output<GetPartnerResult> Invoke(GetPartnerInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPartnerResult> getPartner(GetPartnerArgs args, InvokeOptions options)
public static Output<GetPartnerResult> getPartner(GetPartnerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:managementpartner:getPartner
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getPartner Result

The following output properties are available:

Id string
Identifier of the partner
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.
PartnerId string
This is the partner 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
Identifier of the partner
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.
PartnerId string
This is the partner 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
Identifier of the partner
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.
partnerId String
This is the partner 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
Identifier of the partner
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.
partnerId string
This is the partner 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
Identifier of the partner
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_id str
This is the partner 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
Identifier of the partner
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.
partnerId String
This is the partner 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.

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