Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade pulumi-terraform-bridge to v3.63.1 #1400

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/hashicorp/go-azure-sdk v0.20231012.1141427
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0
github.com/hashicorp/terraform-provider-azurerm v1.44.1-0.20220923005104-eaa801c358ff
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1
github.com/pulumi/pulumi/sdk/v3 v3.90.1
github.com/stretchr/testify v1.8.4
)
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2181,8 +2181,8 @@ github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mc
github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0 h1:otdmkNsMGyZ+proUZClznZo+cEchkSSkmaGcq+Gf+6s=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 h1:hBgediyT2LdS5yfD5AMiCmBJ/TYP94Xxv6a4TcAfV0g=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w=
github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E=
Expand Down
23 changes: 23 additions & 0 deletions sdk/dotnet/AadB2C/Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,29 @@ namespace Pulumi.Azure.AadB2C
/// <summary>
/// Manages an AAD B2C Directory.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = new Azure.AadB2C.Directory("example", new()
/// {
/// CountryCode = "US",
/// DataResidencyLocation = "United States",
/// DisplayName = "example-b2c-tenant",
/// DomainName = "exampleb2ctenant.onmicrosoft.com",
/// ResourceGroupName = "example-rg",
/// SkuName = "PremiumP1",
/// });
///
/// });
/// ```
///
/// ## Import
///
/// AAD B2C Directories can be imported using the `resource id`, e.g.
Expand Down
54 changes: 54 additions & 0 deletions sdk/dotnet/AadB2C/GetDirectory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,66 @@ public static class GetDirectory
{
/// <summary>
/// Use this data source to access information about an existing AAD B2C Directory.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = Azure.AadB2C.GetDirectory.Invoke(new()
/// {
/// ResourceGroupName = "example-rg",
/// DomainName = "exampleb2ctenant.onmicrosoft.com",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["tenantId"] = example.Apply(getDirectoryResult =&gt; getDirectoryResult.TenantId),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetDirectoryResult> InvokeAsync(GetDirectoryArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetDirectoryResult>("azure:aadb2c/getDirectory:getDirectory", args ?? new GetDirectoryArgs(), options.WithDefaults());

/// <summary>
/// Use this data source to access information about an existing AAD B2C Directory.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = Azure.AadB2C.GetDirectory.Invoke(new()
/// {
/// ResourceGroupName = "example-rg",
/// DomainName = "exampleb2ctenant.onmicrosoft.com",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["tenantId"] = example.Apply(getDirectoryResult =&gt; getDirectoryResult.TenantId),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetDirectoryResult> Invoke(GetDirectoryInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetDirectoryResult>("azure:aadb2c/getDirectory:getDirectory", args ?? new GetDirectoryInvokeArgs(), options.WithDefaults());
Expand Down
68 changes: 68 additions & 0 deletions sdk/dotnet/Advisor/GetRecommendations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,80 @@ public static class GetRecommendations
{
/// <summary>
/// Use this data source to access information about an existing Advisor Recommendations.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = Azure.Advisor.GetRecommendations.Invoke(new()
/// {
/// FilterByCategories = new[]
/// {
/// "security",
/// "cost",
/// },
/// FilterByResourceGroups = new[]
/// {
/// "example-resgroups",
/// },
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["recommendations"] = example.Apply(getRecommendationsResult =&gt; getRecommendationsResult.Recommendations),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetRecommendationsResult> InvokeAsync(GetRecommendationsArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetRecommendationsResult>("azure:advisor/getRecommendations:getRecommendations", args ?? new GetRecommendationsArgs(), options.WithDefaults());

/// <summary>
/// Use this data source to access information about an existing Advisor Recommendations.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = Azure.Advisor.GetRecommendations.Invoke(new()
/// {
/// FilterByCategories = new[]
/// {
/// "security",
/// "cost",
/// },
/// FilterByResourceGroups = new[]
/// {
/// "example-resgroups",
/// },
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["recommendations"] = example.Apply(getRecommendationsResult =&gt; getRecommendationsResult.Recommendations),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetRecommendationsResult> Invoke(GetRecommendationsInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetRecommendationsResult>("azure:advisor/getRecommendations:getRecommendations", args ?? new GetRecommendationsInvokeArgs(), options.WithDefaults());
Expand Down
45 changes: 45 additions & 0 deletions sdk/dotnet/AnalysisServices/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,51 @@ namespace Pulumi.Azure.AnalysisServices
/// <summary>
/// Manages an Analysis Services Server.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = new Azure.Core.ResourceGroup("example", new()
/// {
/// Location = "West Europe",
/// });
///
/// var server = new Azure.AnalysisServices.Server("server", new()
/// {
/// Location = example.Location,
/// ResourceGroupName = example.Name,
/// Sku = "S0",
/// AdminUsers = new[]
/// {
/// "[email protected]",
/// },
/// EnablePowerBiService = true,
/// Ipv4FirewallRules = new[]
/// {
/// new Azure.AnalysisServices.Inputs.ServerIpv4FirewallRuleArgs
/// {
/// Name = "myRule1",
/// RangeStart = "210.117.252.0",
/// RangeEnd = "210.117.252.255",
/// },
/// },
/// Tags =
/// {
/// { "abc", "123" },
/// },
/// });
///
/// });
/// ```
///
/// &gt; **NOTE:** The server resource will automatically be started and stopped during an update if it is in `paused` state.
///
/// ## Import
///
/// Analysis Services Server can be imported using the `resource id`, e.g.
Expand Down
45 changes: 45 additions & 0 deletions sdk/dotnet/ApiManagement/Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,51 @@ namespace Pulumi.Azure.ApiManagement
/// <summary>
/// Manages an API within an API Management Service.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Azure = Pulumi.Azure;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
/// {
/// Location = "West Europe",
/// });
///
/// var exampleService = new Azure.ApiManagement.Service("exampleService", new()
/// {
/// Location = exampleResourceGroup.Location,
/// ResourceGroupName = exampleResourceGroup.Name,
/// PublisherName = "My Company",
/// PublisherEmail = "[email protected]",
/// SkuName = "Developer_1",
/// });
///
/// var exampleApi = new Azure.ApiManagement.Api("exampleApi", new()
/// {
/// ResourceGroupName = exampleResourceGroup.Name,
/// ApiManagementName = exampleService.Name,
/// Revision = "1",
/// DisplayName = "Example API",
/// Path = "example",
/// Protocols = new[]
/// {
/// "https",
/// },
/// Import = new Azure.ApiManagement.Inputs.ApiImportArgs
/// {
/// ContentFormat = "swagger-link-json",
/// ContentValue = "http://conferenceapi.azurewebsites.net/?format=json",
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// API Management API's can be imported using the `resource id`, e.g.
Expand Down
Loading