Diagnostic

Manages an API Management Service Diagnostic.

Create a Diagnostic Resource

def Diagnostic(resource_name, opts=None, api_management_logger_id=None, api_management_name=None, enabled=None, identifier=None, resource_group_name=None, __props__=None);
func NewDiagnostic(ctx *Context, name string, args DiagnosticArgs, opts ...ResourceOption) (*Diagnostic, error)
public Diagnostic(string name, DiagnosticArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DiagnosticArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DiagnosticArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DiagnosticArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Diagnostic Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Diagnostic resource accepts the following input properties:

ApiManagementLoggerId string

The id of the target API Management Logger where the API Management Diagnostic should be saved.

ApiManagementName string

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

Identifier string

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

ResourceGroupName string

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

Enabled bool

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

ApiManagementLoggerId string

The id of the target API Management Logger where the API Management Diagnostic should be saved.

ApiManagementName string

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

Identifier string

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

ResourceGroupName string

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

Enabled bool

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

apiManagementLoggerId string

The id of the target API Management Logger where the API Management Diagnostic should be saved.

apiManagementName string

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

identifier string

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

resourceGroupName string

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

enabled boolean

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

api_management_logger_id str

The id of the target API Management Logger where the API Management Diagnostic should be saved.

api_management_name str

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

identifier str

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

resource_group_name str

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

enabled bool

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

Outputs

All input properties are implicitly available as output properties. Additionally, the Diagnostic 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing Diagnostic Resource

Get an existing Diagnostic 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?: DiagnosticState, opts?: CustomResourceOptions): Diagnostic
static get(resource_name, id, opts=None, api_management_logger_id=None, api_management_name=None, enabled=None, identifier=None, resource_group_name=None, __props__=None);
func GetDiagnostic(ctx *Context, name string, id IDInput, state *DiagnosticState, opts ...ResourceOption) (*Diagnostic, error)
public static Diagnostic Get(string name, Input<string> id, DiagnosticState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

ApiManagementLoggerId string

The id of the target API Management Logger where the API Management Diagnostic should be saved.

ApiManagementName string

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

Enabled bool

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

Identifier string

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

ResourceGroupName string

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

ApiManagementLoggerId string

The id of the target API Management Logger where the API Management Diagnostic should be saved.

ApiManagementName string

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

Enabled bool

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

Identifier string

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

ResourceGroupName string

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

apiManagementLoggerId string

The id of the target API Management Logger where the API Management Diagnostic should be saved.

apiManagementName string

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

enabled boolean

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

identifier string

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

resourceGroupName string

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

api_management_logger_id str

The id of the target API Management Logger where the API Management Diagnostic should be saved.

api_management_name str

The Name of the API Management Service where this Diagnostic should be created. Changing this forces a new resource to be created.

enabled bool

Deprecated: this property has been removed from the API and will be removed in version 3.0 of the provider

identifier str

The diagnostic identifier for the API Management Service. At this time the only supported value is applicationinsights. Changing this forces a new resource to be created.

resource_group_name str

The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.