-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3075 from hashicorp/data/regeneration-from-5c89ec…
…9f05144b2f8c16eb21effceeb88e3445a9-rest-api-specs Data: Rest Api Specs - regenerating based on 5c89ec9
- Loading branch information
Showing
395 changed files
with
10,862 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...a.Definitions.ResourceManager/Kusto/v2023_08_15/ApiVersionDefinition-GenerationSetting.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,6 @@ | ||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15; | ||
|
||
public partial class Definition | ||
{ | ||
public bool Generate => true; | ||
} |
28 changes: 28 additions & 0 deletions
28
data/Pandora.Definitions.ResourceManager/Kusto/v2023_08_15/ApiVersionDefinition.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,28 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15; | ||
|
||
public partial class Definition : ApiVersionDefinition | ||
{ | ||
public string ApiVersion => "2023-08-15"; | ||
public bool Preview => false; | ||
public Source Source => Source.ResourceManagerRestApiSpecs; | ||
|
||
public IEnumerable<ResourceDefinition> Resources => new List<ResourceDefinition> | ||
{ | ||
new AttachedDatabaseConfigurations.Definition(), | ||
new ClusterPrincipalAssignments.Definition(), | ||
new Clusters.Definition(), | ||
new DataConnections.Definition(), | ||
new DatabasePrincipalAssignments.Definition(), | ||
new Databases.Definition(), | ||
new Kusto.Definition(), | ||
new ManagedPrivateEndpoints.Definition(), | ||
new OutboundNetworkDependenciesEndpoints.Definition(), | ||
new PrivateEndpointConnections.Definition(), | ||
new PrivateLinkResources.Definition(), | ||
new SandboxCustomImages.Definition(), | ||
new Scripts.Definition(), | ||
}; | ||
} |
11 changes: 11 additions & 0 deletions
11
...Manager/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Constant-AttachedDatabaseType.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,11 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum AttachedDatabaseTypeConstant | ||
{ | ||
[Description("Microsoft.Kusto/clusters/attachedDatabaseConfigurations")] | ||
MicrosoftPointKustoClustersAttachedDatabaseConfigurations, | ||
} |
17 changes: 17 additions & 0 deletions
17
.../v2023_08_15/AttachedDatabaseConfigurations/Constant-DefaultPrincipalsModificationKind.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,17 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum DefaultPrincipalsModificationKindConstant | ||
{ | ||
[Description("None")] | ||
None, | ||
|
||
[Description("Replace")] | ||
Replace, | ||
|
||
[Description("Union")] | ||
Union, | ||
} |
29 changes: 29 additions & 0 deletions
29
...rceManager/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Constant-ProvisioningState.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,29 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum ProvisioningStateConstant | ||
{ | ||
[Description("Canceled")] | ||
Canceled, | ||
|
||
[Description("Creating")] | ||
Creating, | ||
|
||
[Description("Deleting")] | ||
Deleting, | ||
|
||
[Description("Failed")] | ||
Failed, | ||
|
||
[Description("Moving")] | ||
Moving, | ||
|
||
[Description("Running")] | ||
Running, | ||
|
||
[Description("Succeeded")] | ||
Succeeded, | ||
} |
14 changes: 14 additions & 0 deletions
14
...tions.ResourceManager/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Constant-Reason.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,14 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum ReasonConstant | ||
{ | ||
[Description("AlreadyExists")] | ||
AlreadyExists, | ||
|
||
[Description("Invalid")] | ||
Invalid, | ||
} |
38 changes: 38 additions & 0 deletions
38
...efinitions.ResourceManager/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Definition.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,38 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
internal class Definition : ResourceDefinition | ||
{ | ||
public string Name => "AttachedDatabaseConfigurations"; | ||
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation> | ||
{ | ||
new CheckNameAvailabilityOperation(), | ||
new CreateOrUpdateOperation(), | ||
new DeleteOperation(), | ||
new GetOperation(), | ||
new ListByClusterOperation(), | ||
}; | ||
public IEnumerable<System.Type> Constants => new List<System.Type> | ||
{ | ||
typeof(AttachedDatabaseTypeConstant), | ||
typeof(DefaultPrincipalsModificationKindConstant), | ||
typeof(ProvisioningStateConstant), | ||
typeof(ReasonConstant), | ||
}; | ||
public IEnumerable<System.Type> Models => new List<System.Type> | ||
{ | ||
typeof(AttachedDatabaseConfigurationModel), | ||
typeof(AttachedDatabaseConfigurationListResultModel), | ||
typeof(AttachedDatabaseConfigurationPropertiesModel), | ||
typeof(AttachedDatabaseConfigurationsCheckNameRequestModel), | ||
typeof(CheckNameResultModel), | ||
typeof(TableLevelSharingPropertiesModel), | ||
}; | ||
} |
32 changes: 32 additions & 0 deletions
32
...r/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Model-AttachedDatabaseConfiguration.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,32 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
|
||
internal class AttachedDatabaseConfigurationModel | ||
{ | ||
[JsonPropertyName("id")] | ||
public string? Id { get; set; } | ||
|
||
[JsonPropertyName("location")] | ||
public CustomTypes.Location? Location { get; set; } | ||
|
||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
[JsonPropertyName("properties")] | ||
public AttachedDatabaseConfigurationPropertiesModel? Properties { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
public string? Type { get; set; } | ||
} |
20 changes: 20 additions & 0 deletions
20
...023_08_15/AttachedDatabaseConfigurations/Model-AttachedDatabaseConfigurationListResult.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,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
|
||
internal class AttachedDatabaseConfigurationListResultModel | ||
{ | ||
[JsonPropertyName("value")] | ||
public List<AttachedDatabaseConfigurationModel>? Value { get; set; } | ||
} |
44 changes: 44 additions & 0 deletions
44
...023_08_15/AttachedDatabaseConfigurations/Model-AttachedDatabaseConfigurationProperties.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,44 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
|
||
internal class AttachedDatabaseConfigurationPropertiesModel | ||
{ | ||
[JsonPropertyName("attachedDatabaseNames")] | ||
public List<string>? AttachedDatabaseNames { get; set; } | ||
|
||
[JsonPropertyName("clusterResourceId")] | ||
[Required] | ||
public string ClusterResourceId { get; set; } | ||
|
||
[JsonPropertyName("databaseName")] | ||
[Required] | ||
public string DatabaseName { get; set; } | ||
|
||
[JsonPropertyName("databaseNameOverride")] | ||
public string? DatabaseNameOverride { get; set; } | ||
|
||
[JsonPropertyName("databaseNamePrefix")] | ||
public string? DatabaseNamePrefix { get; set; } | ||
|
||
[JsonPropertyName("defaultPrincipalsModificationKind")] | ||
[Required] | ||
public DefaultPrincipalsModificationKindConstant DefaultPrincipalsModificationKind { get; set; } | ||
|
||
[JsonPropertyName("provisioningState")] | ||
public ProvisioningStateConstant? ProvisioningState { get; set; } | ||
|
||
[JsonPropertyName("tableLevelSharingProperties")] | ||
public TableLevelSharingPropertiesModel? TableLevelSharingProperties { get; set; } | ||
} |
25 changes: 25 additions & 0 deletions
25
...15/AttachedDatabaseConfigurations/Model-AttachedDatabaseConfigurationsCheckNameRequest.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,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
|
||
internal class AttachedDatabaseConfigurationsCheckNameRequestModel | ||
{ | ||
[JsonPropertyName("name")] | ||
[Required] | ||
public string Name { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
[Required] | ||
public AttachedDatabaseTypeConstant Type { get; set; } | ||
} |
29 changes: 29 additions & 0 deletions
29
...ResourceManager/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Model-CheckNameResult.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,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
|
||
internal class CheckNameResultModel | ||
{ | ||
[JsonPropertyName("message")] | ||
public string? Message { get; set; } | ||
|
||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
[JsonPropertyName("nameAvailable")] | ||
public bool? NameAvailable { get; set; } | ||
|
||
[JsonPropertyName("reason")] | ||
public ReasonConstant? Reason { get; set; } | ||
} |
41 changes: 41 additions & 0 deletions
41
...ger/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Model-TableLevelSharingProperties.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,41 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.Attributes.Validation; | ||
using Pandora.Definitions.CustomTypes; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
|
||
internal class TableLevelSharingPropertiesModel | ||
{ | ||
[JsonPropertyName("externalTablesToExclude")] | ||
public List<string>? ExternalTablesToExclude { get; set; } | ||
|
||
[JsonPropertyName("externalTablesToInclude")] | ||
public List<string>? ExternalTablesToInclude { get; set; } | ||
|
||
[JsonPropertyName("functionsToExclude")] | ||
public List<string>? FunctionsToExclude { get; set; } | ||
|
||
[JsonPropertyName("functionsToInclude")] | ||
public List<string>? FunctionsToInclude { get; set; } | ||
|
||
[JsonPropertyName("materializedViewsToExclude")] | ||
public List<string>? MaterializedViewsToExclude { get; set; } | ||
|
||
[JsonPropertyName("materializedViewsToInclude")] | ||
public List<string>? MaterializedViewsToInclude { get; set; } | ||
|
||
[JsonPropertyName("tablesToExclude")] | ||
public List<string>? TablesToExclude { get; set; } | ||
|
||
[JsonPropertyName("tablesToInclude")] | ||
public List<string>? TablesToInclude { get; set; } | ||
} |
31 changes: 31 additions & 0 deletions
31
...nager/Kusto/v2023_08_15/AttachedDatabaseConfigurations/Operation-CheckNameAvailability.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,31 @@ | ||
using Pandora.Definitions.Attributes; | ||
using Pandora.Definitions.CustomTypes; | ||
using Pandora.Definitions.Interfaces; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
|
||
namespace Pandora.Definitions.ResourceManager.Kusto.v2023_08_15.AttachedDatabaseConfigurations; | ||
|
||
internal class CheckNameAvailabilityOperation : Pandora.Definitions.Operations.PostOperation | ||
{ | ||
public override IEnumerable<HttpStatusCode> ExpectedStatusCodes() => new List<HttpStatusCode> | ||
{ | ||
HttpStatusCode.OK, | ||
}; | ||
|
||
public override Type? RequestObject() => typeof(AttachedDatabaseConfigurationsCheckNameRequestModel); | ||
|
||
public override ResourceID? ResourceId() => new ClusterId(); | ||
|
||
public override Type? ResponseObject() => typeof(CheckNameResultModel); | ||
|
||
public override string? UriSuffix() => "/attachedDatabaseConfigurationCheckNameAvailability"; | ||
|
||
|
||
} |
Oops, something went wrong.