Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,109 changes: 2,109 additions & 0 deletions provider/cmd/pulumi-resource-azure-native/schema.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions reports/curationViolations.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@
"ModuleName": "MixedReality",
"Detail": "expected tracking stable but found preview"
},
{
"ModuleName": "Monitor",
"Detail": "expected tracking stable but found preview"
},
{
"ModuleName": "MySQLDiscovery",
"Detail": "expected tracking stable but found preview"
Expand Down
6 changes: 6 additions & 0 deletions reports/flattenedPropertyConflicts.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
"totalBudget.currency": {},
"totalBudget.value": {}
},
"azure-native:monitor/v20210501preview:AutoscaleSetting": {
"properties.name": {}
},
"azure-native:monitor:AutoscaleSetting": {
"properties.name": {}
},
"azure-native:network/v20180801:P2sVpnServerConfiguration": {
"properties.etag": {},
"properties.name": {}
Expand Down
3 changes: 3 additions & 0 deletions reports/oldApiVersions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
],
"DBforPostgreSQL": [
"2017-12-01"
],
"Monitor": [
"2021-05-01-preview"
]
}
17 changes: 17 additions & 0 deletions reports/pending.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,23 @@
"2024-10-01-preview"
],
"Monitor": [
"2021-06-03-preview",
"2021-07-01-preview",
"2021-08-01",
"2021-09-01",
"2021-09-01-preview",
"2022-04-01",
"2022-06-01",
"2022-06-15",
"2022-08-01-preview",
"2022-10-01",
"2023-01-01",
"2023-01-01-preview",
"2023-03-01-preview",
"2023-03-11",
"2023-03-15-preview",
"2023-04-03",
"2023-05-01-preview",
"2023-06-01-preview",
"2023-09-01-preview",
"2023-10-01-preview",
Expand Down
8 changes: 8 additions & 0 deletions reports/tokenPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -8551,6 +8551,10 @@
"azure-native:mongocluster:FirewallRule": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}",
"azure-native:mongocluster:MongoCluster": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}",
"azure-native:mongocluster:PrivateEndpointConnection": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
"azure-native:monitor/v20210501preview:AutoscaleSetting": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
"azure-native:monitor/v20210501preview:DiagnosticSetting": "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
"azure-native:monitor/v20210501preview:ManagementGroupDiagnosticSetting": "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/diagnosticSettings/{name}",
"azure-native:monitor/v20210501preview:SubscriptionDiagnosticSetting": "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/diagnosticSettings/{name}",
"azure-native:monitor/v20230403:AzureMonitorWorkspace": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}",
"azure-native:monitor/v20230501preview:TenantActionGroup": "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/tenantActionGroups/{tenantActionGroupName}",
"azure-native:monitor/v20230601preview:PrivateEndpointConnection": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
Expand All @@ -8565,12 +8569,16 @@
"azure-native:monitor/v20241001preview:PipelineGroup": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/pipelineGroups/{pipelineGroupName}",
"azure-native:monitor/v20250101preview:ScheduledQueryRule": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
"azure-native:monitor:ActionGroup": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}",
"azure-native:monitor:AutoscaleSetting": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
"azure-native:monitor:AzureMonitorWorkspace": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}",
"azure-native:monitor:DiagnosticSetting": "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
"azure-native:monitor:ManagementGroupDiagnosticSetting": "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/diagnosticSettings/{name}",
"azure-native:monitor:PipelineGroup": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/pipelineGroups/{pipelineGroupName}",
"azure-native:monitor:PrivateEndpointConnection": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
"azure-native:monitor:PrivateLinkScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}",
"azure-native:monitor:PrivateLinkScopedResource": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}",
"azure-native:monitor:ScheduledQueryRule": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
"azure-native:monitor:SubscriptionDiagnosticSetting": "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/diagnosticSettings/{name}",
"azure-native:monitor:TenantActionGroup": "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/tenantActionGroups/{tenantActionGroupName}",
"azure-native:mysqldiscovery/v20240930preview:MySQLServer": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers/{serverName}",
"azure-native:mysqldiscovery/v20240930preview:MySQLSite": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}",
Expand Down
206 changes: 206 additions & 0 deletions sdk/dotnet/Monitor/AutoscaleSetting.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
// *** WARNING: this file was generated by pulumi. ***
// *** 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;

namespace Pulumi.AzureNative.Monitor
{
/// <summary>
/// The autoscale setting resource.
///
/// Uses Azure REST API version 2021-05-01-preview.
/// </summary>
[AzureNativeResourceType("azure-native:monitor:AutoscaleSetting")]
public partial class AutoscaleSetting : global::Pulumi.CustomResource
{
/// <summary>
/// The Azure API version of the resource.
/// </summary>
[Output("azureApiVersion")]
public Output<string> AzureApiVersion { get; private set; } = null!;

/// <summary>
/// Resource location
/// </summary>
[Output("location")]
public Output<string> Location { get; private set; } = null!;

/// <summary>
/// Azure resource name
/// </summary>
[Output("name")]
public Output<string> Name { get; private set; } = null!;

/// <summary>
/// The autoscale setting of the resource.
/// </summary>
[Output("properties")]
public Output<Outputs.AutoscaleSettingResponse> Properties { get; private set; } = null!;

/// <summary>
/// The system metadata related to the response.
/// </summary>
[Output("systemData")]
public Output<Outputs.SystemDataResponse> SystemData { get; private set; } = null!;

/// <summary>
/// Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.
/// </summary>
[Output("tags")]
public Output<ImmutableDictionary<string, string>?> Tags { get; private set; } = null!;

/// <summary>
/// Azure resource type
/// </summary>
[Output("type")]
public Output<string> Type { get; private set; } = null!;


/// <summary>
/// Create a AutoscaleSetting resource with the given unique name, arguments, and options.
/// </summary>
///
/// <param name="name">The unique name of the resource</param>
/// <param name="args">The arguments used to populate this resource's properties</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public AutoscaleSetting(string name, AutoscaleSettingArgs args, CustomResourceOptions? options = null)
: base("azure-native:monitor:AutoscaleSetting", name, args ?? new AutoscaleSettingArgs(), MakeResourceOptions(options, ""))
{
}

private AutoscaleSetting(string name, Input<string> id, CustomResourceOptions? options = null)
: base("azure-native:monitor:AutoscaleSetting", name, null, MakeResourceOptions(options, id))
{
}

private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
{
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
Aliases =
{
new global::Pulumi.Alias { Type = "azure-native:insights/v20221001:AutoscaleSetting" },
new global::Pulumi.Alias { Type = "azure-native:insights:AutoscaleSetting" },
new global::Pulumi.Alias { Type = "azure-native:monitor/v20140401:AutoscaleSetting" },
new global::Pulumi.Alias { Type = "azure-native:monitor/v20150401:AutoscaleSetting" },
new global::Pulumi.Alias { Type = "azure-native:monitor/v20210501preview:AutoscaleSetting" },
new global::Pulumi.Alias { Type = "azure-native:monitor/v20221001:AutoscaleSetting" },
},
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
merged.Id = id ?? merged.Id;
return merged;
}
/// <summary>
/// Get an existing AutoscaleSetting resource's state with the given name, ID, and optional extra
/// properties used to qualify the lookup.
/// </summary>
///
/// <param name="name">The unique name of the resulting resource.</param>
/// <param name="id">The unique provider ID of the resource to lookup.</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public static AutoscaleSetting Get(string name, Input<string> id, CustomResourceOptions? options = null)
{
return new AutoscaleSetting(name, id, options);
}
}

public sealed class AutoscaleSettingArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// The autoscale setting name.
/// </summary>
[Input("autoscaleSettingName")]
public Input<string>? AutoscaleSettingName { get; set; }

/// <summary>
/// the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.
/// </summary>
[Input("enabled")]
public Input<bool>? Enabled { get; set; }

/// <summary>
/// Resource location
/// </summary>
[Input("location")]
public Input<string>? Location { get; set; }

/// <summary>
/// the name of the autoscale setting.
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

[Input("notifications")]
private InputList<Inputs.AutoscaleNotificationArgs>? _notifications;

/// <summary>
/// the collection of notifications.
/// </summary>
public InputList<Inputs.AutoscaleNotificationArgs> Notifications
{
get => _notifications ?? (_notifications = new InputList<Inputs.AutoscaleNotificationArgs>());
set => _notifications = value;
}

/// <summary>
/// the predictive autoscale policy mode.
/// </summary>
[Input("predictiveAutoscalePolicy")]
public Input<Inputs.PredictiveAutoscalePolicyArgs>? PredictiveAutoscalePolicy { get; set; }

[Input("profiles", required: true)]
private InputList<Inputs.AutoscaleProfileArgs>? _profiles;

/// <summary>
/// the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.
/// </summary>
public InputList<Inputs.AutoscaleProfileArgs> Profiles
{
get => _profiles ?? (_profiles = new InputList<Inputs.AutoscaleProfileArgs>());
set => _profiles = value;
}

/// <summary>
/// The name of the resource group. The name is case insensitive.
/// </summary>
[Input("resourceGroupName", required: true)]
public Input<string> ResourceGroupName { get; set; } = null!;

[Input("tags")]
private InputMap<string>? _tags;

/// <summary>
/// Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.
/// </summary>
public InputMap<string> Tags
{
get => _tags ?? (_tags = new InputMap<string>());
set => _tags = value;
}

/// <summary>
/// the location of the resource that the autoscale setting should be added to.
/// </summary>
[Input("targetResourceLocation")]
public Input<string>? TargetResourceLocation { get; set; }

/// <summary>
/// the resource identifier of the resource that the autoscale setting should be added to.
/// </summary>
[Input("targetResourceUri")]
public Input<string>? TargetResourceUri { get; set; }

public AutoscaleSettingArgs()
{
Enabled = false;
}
public static new AutoscaleSettingArgs Empty => new AutoscaleSettingArgs();
}
}
Loading