newrelic.cloud.AzureLinkAccount
Import
Linked Azure accounts can be imported using id
, you can find the id
of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic bash
$ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
Create AzureLinkAccount Resource
new AzureLinkAccount(name: string, args: AzureLinkAccountArgs, opts?: CustomResourceOptions);
@overload
def AzureLinkAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
application_id: Optional[str] = None,
client_secret: Optional[str] = None,
name: Optional[str] = None,
subscription_id: Optional[str] = None,
tenant_id: Optional[str] = None)
@overload
def AzureLinkAccount(resource_name: str,
args: AzureLinkAccountArgs,
opts: Optional[ResourceOptions] = None)
func NewAzureLinkAccount(ctx *Context, name string, args AzureLinkAccountArgs, opts ...ResourceOption) (*AzureLinkAccount, error)
public AzureLinkAccount(string name, AzureLinkAccountArgs args, CustomResourceOptions? opts = null)
public AzureLinkAccount(String name, AzureLinkAccountArgs args)
public AzureLinkAccount(String name, AzureLinkAccountArgs args, CustomResourceOptions options)
type: newrelic:cloud:AzureLinkAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AzureLinkAccountArgs
- 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 AzureLinkAccountArgs
- 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 AzureLinkAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AzureLinkAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AzureLinkAccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AzureLinkAccount 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 AzureLinkAccount resource accepts the following input properties:
- Application
Id string Application ID of the App.
- Client
Secret string Secret Value of the client.
- Subscription
Id string Subscription ID of the Azure cloud account.
- Tenant
Id string Tenant ID of the Azure cloud account.
- Account
Id int Account ID of the New Relic.
- Name string
The name of the application in New Relic APM.
- Application
Id string Application ID of the App.
- Client
Secret string Secret Value of the client.
- Subscription
Id string Subscription ID of the Azure cloud account.
- Tenant
Id string Tenant ID of the Azure cloud account.
- Account
Id int Account ID of the New Relic.
- Name string
The name of the application in New Relic APM.
- application
Id String Application ID of the App.
- client
Secret String Secret Value of the client.
- subscription
Id String Subscription ID of the Azure cloud account.
- tenant
Id String Tenant ID of the Azure cloud account.
- account
Id Integer Account ID of the New Relic.
- name String
The name of the application in New Relic APM.
- application
Id string Application ID of the App.
- client
Secret string Secret Value of the client.
- subscription
Id string Subscription ID of the Azure cloud account.
- tenant
Id string Tenant ID of the Azure cloud account.
- account
Id number Account ID of the New Relic.
- name string
The name of the application in New Relic APM.
- application_
id str Application ID of the App.
- client_
secret str Secret Value of the client.
- subscription_
id str Subscription ID of the Azure cloud account.
- tenant_
id str Tenant ID of the Azure cloud account.
- account_
id int Account ID of the New Relic.
- name str
The name of the application in New Relic APM.
- application
Id String Application ID of the App.
- client
Secret String Secret Value of the client.
- subscription
Id String Subscription ID of the Azure cloud account.
- tenant
Id String Tenant ID of the Azure cloud account.
- account
Id Number Account ID of the New Relic.
- name String
The name of the application in New Relic APM.
Outputs
All input properties are implicitly available as output properties. Additionally, the AzureLinkAccount resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing AzureLinkAccount Resource
Get an existing AzureLinkAccount resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AzureLinkAccountState, opts?: CustomResourceOptions): AzureLinkAccount
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
application_id: Optional[str] = None,
client_secret: Optional[str] = None,
name: Optional[str] = None,
subscription_id: Optional[str] = None,
tenant_id: Optional[str] = None) -> AzureLinkAccount
func GetAzureLinkAccount(ctx *Context, name string, id IDInput, state *AzureLinkAccountState, opts ...ResourceOption) (*AzureLinkAccount, error)
public static AzureLinkAccount Get(string name, Input<string> id, AzureLinkAccountState? state, CustomResourceOptions? opts = null)
public static AzureLinkAccount get(String name, Output<String> id, AzureLinkAccountState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id int Account ID of the New Relic.
- Application
Id string Application ID of the App.
- Client
Secret string Secret Value of the client.
- Name string
The name of the application in New Relic APM.
- Subscription
Id string Subscription ID of the Azure cloud account.
- Tenant
Id string Tenant ID of the Azure cloud account.
- Account
Id int Account ID of the New Relic.
- Application
Id string Application ID of the App.
- Client
Secret string Secret Value of the client.
- Name string
The name of the application in New Relic APM.
- Subscription
Id string Subscription ID of the Azure cloud account.
- Tenant
Id string Tenant ID of the Azure cloud account.
- account
Id Integer Account ID of the New Relic.
- application
Id String Application ID of the App.
- client
Secret String Secret Value of the client.
- name String
The name of the application in New Relic APM.
- subscription
Id String Subscription ID of the Azure cloud account.
- tenant
Id String Tenant ID of the Azure cloud account.
- account
Id number Account ID of the New Relic.
- application
Id string Application ID of the App.
- client
Secret string Secret Value of the client.
- name string
The name of the application in New Relic APM.
- subscription
Id string Subscription ID of the Azure cloud account.
- tenant
Id string Tenant ID of the Azure cloud account.
- account_
id int Account ID of the New Relic.
- application_
id str Application ID of the App.
- client_
secret str Secret Value of the client.
- name str
The name of the application in New Relic APM.
- subscription_
id str Subscription ID of the Azure cloud account.
- tenant_
id str Tenant ID of the Azure cloud account.
- account
Id Number Account ID of the New Relic.
- application
Id String Application ID of the App.
- client
Secret String Secret Value of the client.
- name String
The name of the application in New Relic APM.
- subscription
Id String Subscription ID of the Azure cloud account.
- tenant
Id String Tenant ID of the Azure cloud account.
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
newrelic
Terraform Provider.