generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a7908a
commit 6b9c8dc
Showing
16 changed files
with
716 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace Pulumiverse.Dynatrace | ||
{ | ||
public static class GetApplicationDetectionRules | ||
{ | ||
/// <summary> | ||
/// The application detection rules data source allows retrieval of all existing rules. | ||
/// | ||
/// ## Example Usage | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Dynatrace = Pulumi.Dynatrace; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var test = Dynatrace.GetApplicationDetectionRules.Invoke(); | ||
/// | ||
/// return new Dictionary<string, object?> | ||
/// { | ||
/// ["applicationDetectionRules"] = test, | ||
/// }; | ||
/// }); | ||
/// ``` | ||
/// </summary> | ||
public static Task<GetApplicationDetectionRulesResult> InvokeAsync(InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetApplicationDetectionRulesResult>("dynatrace:index/getApplicationDetectionRules:getApplicationDetectionRules", InvokeArgs.Empty, options.WithDefaults()); | ||
|
||
/// <summary> | ||
/// The application detection rules data source allows retrieval of all existing rules. | ||
/// | ||
/// ## Example Usage | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Dynatrace = Pulumi.Dynatrace; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var test = Dynatrace.GetApplicationDetectionRules.Invoke(); | ||
/// | ||
/// return new Dictionary<string, object?> | ||
/// { | ||
/// ["applicationDetectionRules"] = test, | ||
/// }; | ||
/// }); | ||
/// ``` | ||
/// </summary> | ||
public static Output<GetApplicationDetectionRulesResult> Invoke(InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.Invoke<GetApplicationDetectionRulesResult>("dynatrace:index/getApplicationDetectionRules:getApplicationDetectionRules", InvokeArgs.Empty, options.WithDefaults()); | ||
|
||
/// <summary> | ||
/// The application detection rules data source allows retrieval of all existing rules. | ||
/// | ||
/// ## Example Usage | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Dynatrace = Pulumi.Dynatrace; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var test = Dynatrace.GetApplicationDetectionRules.Invoke(); | ||
/// | ||
/// return new Dictionary<string, object?> | ||
/// { | ||
/// ["applicationDetectionRules"] = test, | ||
/// }; | ||
/// }); | ||
/// ``` | ||
/// </summary> | ||
public static Output<GetApplicationDetectionRulesResult> Invoke(InvokeOutputOptions options) | ||
=> global::Pulumi.Deployment.Instance.Invoke<GetApplicationDetectionRulesResult>("dynatrace:index/getApplicationDetectionRules:getApplicationDetectionRules", InvokeArgs.Empty, options.WithDefaults()); | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetApplicationDetectionRulesResult | ||
{ | ||
/// <summary> | ||
/// The provider-assigned unique ID for this managed resource. | ||
/// </summary> | ||
public readonly string Id; | ||
public readonly ImmutableArray<Outputs.GetApplicationDetectionRulesValueResult> Values; | ||
|
||
[OutputConstructor] | ||
private GetApplicationDetectionRulesResult( | ||
string id, | ||
|
||
ImmutableArray<Outputs.GetApplicationDetectionRulesValueResult> values) | ||
{ | ||
Id = id; | ||
Values = values; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
sdk/dotnet/Outputs/GetApplicationDetectionRulesValueResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace Pulumiverse.Dynatrace.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class GetApplicationDetectionRulesValueResult | ||
{ | ||
/// <summary> | ||
/// Application ID | ||
/// </summary> | ||
public readonly string ApplicationId; | ||
/// <summary> | ||
/// Application Detection Rule ID | ||
/// </summary> | ||
public readonly string Id; | ||
/// <summary> | ||
/// Matcher | ||
/// </summary> | ||
public readonly string Matcher; | ||
/// <summary> | ||
/// Pattern | ||
/// </summary> | ||
public readonly string Pattern; | ||
|
||
[OutputConstructor] | ||
private GetApplicationDetectionRulesValueResult( | ||
string applicationId, | ||
|
||
string id, | ||
|
||
string matcher, | ||
|
||
string pattern) | ||
{ | ||
ApplicationId = applicationId; | ||
Id = id; | ||
Matcher = matcher; | ||
Pattern = pattern; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.