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 changes: 1 addition & 1 deletion azure-rest-api-specs
Submodule azure-rest-api-specs updated 67 files
+649 −0 ...ertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/AlertsManagement.json
+69 −0 ...nager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlert.json
+12 −0 ...ource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/deleteResourceHealthAlert.json
+42 −0 ...resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlert.json
+45 −0 ...source-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlerts.json
+68 −0 ...source-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlert.json
+10 −0 specification/alertsmanagement/resource-manager/readme.md
+35 −0 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Common.json
+6 −0 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json
+6 −0 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json
+6 −0 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json
+6 −0 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/NasCluster.json
+6 −0 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json
+72 −0 specification/azsadmin/resource-manager/fabric/readme.azsautogen.md
+0 −1 specification/azsadmin/resource-manager/fabric/readme.md
+2 −1 specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.2/TextAnalytics.json
+7 −14 specification/commerce/resource-manager/readme.md
+15 −0 specification/compute/resource-manager/readme.python.md
+30 −0 ...ingservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCertificateCreateOrUpdate.json
+18 −0 ...sioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCheckNameAvailability.json
+65 −0 ...ion/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCreate.json
+53 −0 ...source-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCreateOrUpdatePrivateEndpointConnection.json
+14 −0 ...ion/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSDelete.json
+14 −0 ...rovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSDeleteCertificate.json
+46 −0 ...vices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSDeletePrivateEndpointConnection.json
+26 −0 ...ningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGenerateVerificationCode.json
+33 −0 ...cation/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGet.json
+27 −0 ...ceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificate.json
+30 −0 ...eprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificates.json
+19 −0 ...ion/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetKey.json
+17 −0 ...ovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetOperationResult.json
+28 −0 ...services/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetPrivateEndpointConnection.json
+27 −0 ...oningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetPrivateLinkResources.json
+19 −0 ...eviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetValidSku.json
+55 −0 ...visioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSListByResourceGroup.json
+54 −0 ...ovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSListBySubscription.json
+28 −0 ...n/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSListKeys.json
+29 −0 ...rvices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSListPrivateEndpointConnections.json
+30 −0 ...ningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSListPrivateLinkResources.json
+293 −0 ...deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSOperations.json
+41 −0 ...tion/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSPatch.json
+31 −0 ...rovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSVerifyCertificate.json
+2,515 −0 specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json
+19 −10 specification/deviceprovisioningservices/resource-manager/readme.md
+11 −1 specification/hybridcompute/resource-manager/readme.go.md
+22 −54 ...earningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-06-01/examples/ListSkus.json
+1 −1 ...es/resource-manager/Microsoft.MachineLearningServices/stable/2020-06-01/examples/createBasicAmlCompute.json
+1 −1 ...ngservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-06-01/examples/getAmlCompute.json
+1 −1 ...ervices/resource-manager/Microsoft.MachineLearningServices/stable/2020-06-01/examples/updateAmlCompute.json
+1 −0 .../Microsoft.MachineLearningServices/stable/2020-06-01/examples/workspaceDeletePrivateEndpointConnection.json
+45 −11 ...gservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-06-01/machineLearningServices.json
+19 −0 specification/maintenance/resource-manager/readme.az.md
+4 −0 specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+79 −0 ...urce-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/createOrUpdatePolicyExemption.json
+15 −0 ...ces/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/deletePolicyExemption.json
+37 −0 ...ources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/getPolicyExemption.json
+63 −0 ...ger/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForManagementGroup.json
+67 −0 ...ce-manager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForResource.json
+64 −0 ...nager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForResourceGroup.json
+63 −0 ...anager/Microsoft.Authorization/preview/2020-07-01-preview/examples/listPolicyExemptionsForSubscription.json
+548 −0 ...ication/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json
+14 −0 specification/resources/resource-manager/readme.md
+5 −1 specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotDefenderSettings.json
+65 −0 ...curityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
+23 −0 ...crosoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/CheckRequirementsOfficeATP.json
+15 −0 ...anager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json
+29 −0 ...tyInsights/preview/2019-01-01-preview/examples/dataConnectors/GetOffice365AdvancedThreatProtectionById.json
117 changes: 117 additions & 0 deletions sdk/dotnet/AlertsManagement/V20200804Preview/GetHealthAlert.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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.AzureRM.AlertsManagement.V20200804Preview
{
public static class GetHealthAlert
{
public static Task<GetHealthAlertResult> InvokeAsync(GetHealthAlertArgs args, InvokeOptions? options = null)
=> Pulumi.Deployment.Instance.InvokeAsync<GetHealthAlertResult>("azurerm:alertsmanagement/v20200804preview:getHealthAlert", args ?? new GetHealthAlertArgs(), options.WithVersion());
}


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

/// <summary>
/// The name of the rule.
/// </summary>
[Input("ruleName", required: true)]
public string RuleName { get; set; } = null!;

public GetHealthAlertArgs()
{
}
}


[OutputType]
public sealed class GetHealthAlertResult
{
/// <summary>
/// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
/// </summary>
public readonly ImmutableArray<Outputs.HealthAlertActionResponseResult> Actions;
/// <summary>
/// defines the specific alert criteria information.
/// </summary>
public readonly Outputs.HealthAlertCriteriaResponseResult Criteria;
/// <summary>
/// the description of the health alert that will be included in the alert email.
/// </summary>
public readonly string Description;
/// <summary>
/// the flag that indicates whether the health alert is enabled.
/// </summary>
public readonly bool Enabled;
/// <summary>
/// Last time the rule was updated in ISO8601 format.
/// </summary>
public readonly string LastUpdatedTime;
/// <summary>
/// Resource location
/// </summary>
public readonly string Location;
/// <summary>
/// Azure resource name
/// </summary>
public readonly string Name;
/// <summary>
/// the list of resource id's that this health alert is scoped to.
/// </summary>
public readonly ImmutableArray<string> Scopes;
/// <summary>
/// Resource tags
/// </summary>
public readonly ImmutableDictionary<string, string>? Tags;
/// <summary>
/// Azure resource type
/// </summary>
public readonly string Type;

[OutputConstructor]
private GetHealthAlertResult(
ImmutableArray<Outputs.HealthAlertActionResponseResult> actions,

Outputs.HealthAlertCriteriaResponseResult criteria,

string description,

bool enabled,

string lastUpdatedTime,

string location,

string name,

ImmutableArray<string> scopes,

ImmutableDictionary<string, string>? tags,

string type)
{
Actions = actions;
Criteria = criteria;
Description = description;
Enabled = enabled;
LastUpdatedTime = lastUpdatedTime;
Location = location;
Name = name;
Scopes = scopes;
Tags = tags;
Type = type;
}
}
}
198 changes: 198 additions & 0 deletions sdk/dotnet/AlertsManagement/V20200804Preview/HealthAlert.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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.AzureRM.AlertsManagement.V20200804Preview
{
/// <summary>
/// The health alert resource.
/// </summary>
public partial class HealthAlert : Pulumi.CustomResource
{
/// <summary>
/// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
/// </summary>
[Output("actions")]
public Output<ImmutableArray<Outputs.HealthAlertActionResponseResult>> Actions { get; private set; } = null!;

/// <summary>
/// defines the specific alert criteria information.
/// </summary>
[Output("criteria")]
public Output<Outputs.HealthAlertCriteriaResponseResult> Criteria { get; private set; } = null!;

/// <summary>
/// the description of the health alert that will be included in the alert email.
/// </summary>
[Output("description")]
public Output<string> Description { get; private set; } = null!;

/// <summary>
/// the flag that indicates whether the health alert is enabled.
/// </summary>
[Output("enabled")]
public Output<bool> Enabled { get; private set; } = null!;

/// <summary>
/// Last time the rule was updated in ISO8601 format.
/// </summary>
[Output("lastUpdatedTime")]
public Output<string> LastUpdatedTime { 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 list of resource id's that this health alert is scoped to.
/// </summary>
[Output("scopes")]
public Output<ImmutableArray<string>> Scopes { get; private set; } = null!;

/// <summary>
/// Resource tags
/// </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 HealthAlert 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 HealthAlert(string name, HealthAlertArgs args, CustomResourceOptions? options = null)
: base("azurerm:alertsmanagement/v20200804preview:HealthAlert", name, args ?? new HealthAlertArgs(), MakeResourceOptions(options, ""))
{
}

private HealthAlert(string name, Input<string> id, CustomResourceOptions? options = null)
: base("azurerm:alertsmanagement/v20200804preview:HealthAlert", name, null, MakeResourceOptions(options, id))
{
}

private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
{
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
};
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 HealthAlert 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 HealthAlert Get(string name, Input<string> id, CustomResourceOptions? options = null)
{
return new HealthAlert(name, id, options);
}
}

public sealed class HealthAlertArgs : Pulumi.ResourceArgs
{
[Input("actions")]
private InputList<Inputs.HealthAlertActionArgs>? _actions;

/// <summary>
/// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
/// </summary>
public InputList<Inputs.HealthAlertActionArgs> Actions
{
get => _actions ?? (_actions = new InputList<Inputs.HealthAlertActionArgs>());
set => _actions = value;
}

/// <summary>
/// defines the specific alert criteria information.
/// </summary>
[Input("criteria", required: true)]
public Input<Inputs.HealthAlertCriteriaArgs> Criteria { get; set; } = null!;

/// <summary>
/// the description of the health alert that will be included in the alert email.
/// </summary>
[Input("description", required: true)]
public Input<string> Description { get; set; } = null!;

/// <summary>
/// the flag that indicates whether the health alert is enabled.
/// </summary>
[Input("enabled", required: true)]
public Input<bool> Enabled { get; set; } = null!;

/// <summary>
/// Resource location
/// </summary>
[Input("location", required: true)]
public Input<string> Location { get; set; } = null!;

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

/// <summary>
/// The name of the rule.
/// </summary>
[Input("ruleName", required: true)]
public Input<string> RuleName { get; set; } = null!;

[Input("scopes")]
private InputList<string>? _scopes;

/// <summary>
/// the list of resource id's that this health alert is scoped to.
/// </summary>
public InputList<string> Scopes
{
get => _scopes ?? (_scopes = new InputList<string>());
set => _scopes = value;
}

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

/// <summary>
/// Resource tags
/// </summary>
public InputMap<string> Tags
{
get => _tags ?? (_tags = new InputMap<string>());
set => _tags = value;
}

public HealthAlertArgs()
{
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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.AzureRM.AlertsManagement.V20200804Preview.Inputs
{

/// <summary>
/// An alert action.
/// </summary>
public sealed class HealthAlertActionArgs : Pulumi.ResourceArgs
{
/// <summary>
/// the id of the action group to use.
/// </summary>
[Input("actionGroupId")]
public Input<string>? ActionGroupId { get; set; }

[Input("webHookProperties")]
private InputMap<string>? _webHookProperties;

/// <summary>
/// The properties of a webhook object.
/// </summary>
public InputMap<string> WebHookProperties
{
get => _webHookProperties ?? (_webHookProperties = new InputMap<string>());
set => _webHookProperties = value;
}

public HealthAlertActionArgs()
{
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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.AzureRM.AlertsManagement.V20200804Preview.Inputs
{

/// <summary>
/// Specifies the resource health alert criteria for a single resource that has multiple metric criteria.
/// </summary>
public sealed class HealthAlertCriteriaArgs : Pulumi.ResourceArgs
{
[Input("allOf")]
private InputList<Inputs.VmGuestHealthAlertCriterionArgs>? _allOf;

/// <summary>
/// The list of metric criteria for this 'all of' operation.
/// </summary>
public InputList<Inputs.VmGuestHealthAlertCriterionArgs> AllOf
{
get => _allOf ?? (_allOf = new InputList<Inputs.VmGuestHealthAlertCriterionArgs>());
set => _allOf = value;
}

public HealthAlertCriteriaArgs()
{
}
}
}
Loading