-
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 #3139 from hashicorp/data/regeneration-from-0fee07…
…491495d7e18780379f35d7301e550f2ff3-rest-api-specs Data: Rest Api Specs - regenerating based on 0fee074
- Loading branch information
Showing
314 changed files
with
9,213 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...tions.ResourceManager/AzureStackHCI/v2023_08_01/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.AzureStackHCI.v2023_08_01; | ||
|
||
public partial class Definition | ||
{ | ||
public bool Generate => true; | ||
} |
25 changes: 25 additions & 0 deletions
25
data/Pandora.Definitions.ResourceManager/AzureStackHCI/v2023_08_01/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,25 @@ | ||
using System.Collections.Generic; | ||
using Pandora.Definitions.Interfaces; | ||
|
||
namespace Pandora.Definitions.ResourceManager.AzureStackHCI.v2023_08_01; | ||
|
||
public partial class Definition : ApiVersionDefinition | ||
{ | ||
public string ApiVersion => "2023-08-01"; | ||
public bool Preview => false; | ||
public Source Source => Source.ResourceManagerRestApiSpecs; | ||
|
||
public IEnumerable<ResourceDefinition> Resources => new List<ResourceDefinition> | ||
{ | ||
new ArcSettings.Definition(), | ||
new Cluster.Definition(), | ||
new Clusters.Definition(), | ||
new Extensions.Definition(), | ||
new Offers.Definition(), | ||
new Publishers.Definition(), | ||
new Skuses.Definition(), | ||
new UpdateRuns.Definition(), | ||
new UpdateSummaries.Definition(), | ||
new Updates.Definition(), | ||
}; | ||
} |
62 changes: 62 additions & 0 deletions
62
...esourceManager/AzureStackHCI/v2023_08_01/ArcSettings/Constant-ArcSettingAggregateState.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,62 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum ArcSettingAggregateStateConstant | ||
{ | ||
[Description("Accepted")] | ||
Accepted, | ||
|
||
[Description("Canceled")] | ||
Canceled, | ||
|
||
[Description("Connected")] | ||
Connected, | ||
|
||
[Description("Creating")] | ||
Creating, | ||
|
||
[Description("Deleted")] | ||
Deleted, | ||
|
||
[Description("Deleting")] | ||
Deleting, | ||
|
||
[Description("DisableInProgress")] | ||
DisableInProgress, | ||
|
||
[Description("Disconnected")] | ||
Disconnected, | ||
|
||
[Description("Error")] | ||
Error, | ||
|
||
[Description("Failed")] | ||
Failed, | ||
|
||
[Description("InProgress")] | ||
InProgress, | ||
|
||
[Description("Moving")] | ||
Moving, | ||
|
||
[Description("NotSpecified")] | ||
NotSpecified, | ||
|
||
[Description("PartiallyConnected")] | ||
PartiallyConnected, | ||
|
||
[Description("PartiallySucceeded")] | ||
PartiallySucceeded, | ||
|
||
[Description("Provisioning")] | ||
Provisioning, | ||
|
||
[Description("Succeeded")] | ||
Succeeded, | ||
|
||
[Description("Updating")] | ||
Updating, | ||
} |
62 changes: 62 additions & 0 deletions
62
...efinitions.ResourceManager/AzureStackHCI/v2023_08_01/ArcSettings/Constant-NodeArcState.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,62 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum NodeArcStateConstant | ||
{ | ||
[Description("Accepted")] | ||
Accepted, | ||
|
||
[Description("Canceled")] | ||
Canceled, | ||
|
||
[Description("Connected")] | ||
Connected, | ||
|
||
[Description("Creating")] | ||
Creating, | ||
|
||
[Description("Deleted")] | ||
Deleted, | ||
|
||
[Description("Deleting")] | ||
Deleting, | ||
|
||
[Description("DisableInProgress")] | ||
DisableInProgress, | ||
|
||
[Description("Disconnected")] | ||
Disconnected, | ||
|
||
[Description("Error")] | ||
Error, | ||
|
||
[Description("Failed")] | ||
Failed, | ||
|
||
[Description("InProgress")] | ||
InProgress, | ||
|
||
[Description("Moving")] | ||
Moving, | ||
|
||
[Description("NotSpecified")] | ||
NotSpecified, | ||
|
||
[Description("PartiallyConnected")] | ||
PartiallyConnected, | ||
|
||
[Description("PartiallySucceeded")] | ||
PartiallySucceeded, | ||
|
||
[Description("Provisioning")] | ||
Provisioning, | ||
|
||
[Description("Succeeded")] | ||
Succeeded, | ||
|
||
[Description("Updating")] | ||
Updating, | ||
} |
62 changes: 62 additions & 0 deletions
62
...tions.ResourceManager/AzureStackHCI/v2023_08_01/ArcSettings/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,62 @@ | ||
using Pandora.Definitions.Attributes; | ||
using System.ComponentModel; | ||
|
||
namespace Pandora.Definitions.ResourceManager.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
[ConstantType(ConstantTypeAttribute.ConstantType.String)] | ||
internal enum ProvisioningStateConstant | ||
{ | ||
[Description("Accepted")] | ||
Accepted, | ||
|
||
[Description("Canceled")] | ||
Canceled, | ||
|
||
[Description("Connected")] | ||
Connected, | ||
|
||
[Description("Creating")] | ||
Creating, | ||
|
||
[Description("Deleted")] | ||
Deleted, | ||
|
||
[Description("Deleting")] | ||
Deleting, | ||
|
||
[Description("DisableInProgress")] | ||
DisableInProgress, | ||
|
||
[Description("Disconnected")] | ||
Disconnected, | ||
|
||
[Description("Error")] | ||
Error, | ||
|
||
[Description("Failed")] | ||
Failed, | ||
|
||
[Description("InProgress")] | ||
InProgress, | ||
|
||
[Description("Moving")] | ||
Moving, | ||
|
||
[Description("NotSpecified")] | ||
NotSpecified, | ||
|
||
[Description("PartiallyConnected")] | ||
PartiallyConnected, | ||
|
||
[Description("PartiallySucceeded")] | ||
PartiallySucceeded, | ||
|
||
[Description("Provisioning")] | ||
Provisioning, | ||
|
||
[Description("Succeeded")] | ||
Succeeded, | ||
|
||
[Description("Updating")] | ||
Updating, | ||
} |
44 changes: 44 additions & 0 deletions
44
data/Pandora.Definitions.ResourceManager/AzureStackHCI/v2023_08_01/ArcSettings/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,44 @@ | ||
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.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
internal class Definition : ResourceDefinition | ||
{ | ||
public string Name => "ArcSettings"; | ||
public IEnumerable<Interfaces.ApiOperation> Operations => new List<Interfaces.ApiOperation> | ||
{ | ||
new ArcSettingsCreateOperation(), | ||
new ArcSettingsDeleteOperation(), | ||
new ArcSettingsGetOperation(), | ||
new ArcSettingsListByClusterOperation(), | ||
new ArcSettingsUpdateOperation(), | ||
new ConsentAndInstallDefaultExtensionsOperation(), | ||
new CreateIdentityOperation(), | ||
new GeneratePasswordOperation(), | ||
new InitializeDisableProcessOperation(), | ||
}; | ||
public IEnumerable<System.Type> Constants => new List<System.Type> | ||
{ | ||
typeof(ArcSettingAggregateStateConstant), | ||
typeof(NodeArcStateConstant), | ||
typeof(ProvisioningStateConstant), | ||
}; | ||
public IEnumerable<System.Type> Models => new List<System.Type> | ||
{ | ||
typeof(ArcIdentityResponseModel), | ||
typeof(ArcIdentityResponsePropertiesModel), | ||
typeof(ArcSettingModel), | ||
typeof(ArcSettingPropertiesModel), | ||
typeof(ArcSettingsPatchModel), | ||
typeof(ArcSettingsPatchPropertiesModel), | ||
typeof(DefaultExtensionDetailsModel), | ||
typeof(PasswordCredentialModel), | ||
typeof(PerNodeStateModel), | ||
}; | ||
} |
20 changes: 20 additions & 0 deletions
20
...itions.ResourceManager/AzureStackHCI/v2023_08_01/ArcSettings/Model-ArcIdentityResponse.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.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
|
||
internal class ArcIdentityResponseModel | ||
{ | ||
[JsonPropertyName("properties")] | ||
public ArcIdentityResponsePropertiesModel? Properties { get; set; } | ||
} |
29 changes: 29 additions & 0 deletions
29
...ourceManager/AzureStackHCI/v2023_08_01/ArcSettings/Model-ArcIdentityResponseProperties.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.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
|
||
internal class ArcIdentityResponsePropertiesModel | ||
{ | ||
[JsonPropertyName("arcApplicationClientId")] | ||
public string? ArcApplicationClientId { get; set; } | ||
|
||
[JsonPropertyName("arcApplicationObjectId")] | ||
public string? ArcApplicationObjectId { get; set; } | ||
|
||
[JsonPropertyName("arcApplicationTenantId")] | ||
public string? ArcApplicationTenantId { get; set; } | ||
|
||
[JsonPropertyName("arcServicePrincipalObjectId")] | ||
public string? ArcServicePrincipalObjectId { get; set; } | ||
} |
32 changes: 32 additions & 0 deletions
32
...ora.Definitions.ResourceManager/AzureStackHCI/v2023_08_01/ArcSettings/Model-ArcSetting.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.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
|
||
internal class ArcSettingModel | ||
{ | ||
[JsonPropertyName("id")] | ||
public string? Id { get; set; } | ||
|
||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
[JsonPropertyName("properties")] | ||
public ArcSettingPropertiesModel? Properties { get; set; } | ||
|
||
[JsonPropertyName("systemData")] | ||
public CustomTypes.SystemData? SystemData { get; set; } | ||
|
||
[JsonPropertyName("type")] | ||
public string? Type { get; set; } | ||
} |
47 changes: 47 additions & 0 deletions
47
...tions.ResourceManager/AzureStackHCI/v2023_08_01/ArcSettings/Model-ArcSettingProperties.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,47 @@ | ||
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.AzureStackHCI.v2023_08_01.ArcSettings; | ||
|
||
|
||
internal class ArcSettingPropertiesModel | ||
{ | ||
[JsonPropertyName("aggregateState")] | ||
public ArcSettingAggregateStateConstant? AggregateState { get; set; } | ||
|
||
[JsonPropertyName("arcApplicationClientId")] | ||
public string? ArcApplicationClientId { get; set; } | ||
|
||
[JsonPropertyName("arcApplicationObjectId")] | ||
public string? ArcApplicationObjectId { get; set; } | ||
|
||
[JsonPropertyName("arcApplicationTenantId")] | ||
public string? ArcApplicationTenantId { get; set; } | ||
|
||
[JsonPropertyName("arcInstanceResourceGroup")] | ||
public string? ArcInstanceResourceGroup { get; set; } | ||
|
||
[JsonPropertyName("arcServicePrincipalObjectId")] | ||
public string? ArcServicePrincipalObjectId { get; set; } | ||
|
||
[JsonPropertyName("connectivityProperties")] | ||
public object? ConnectivityProperties { get; set; } | ||
|
||
[JsonPropertyName("defaultExtensions")] | ||
public List<DefaultExtensionDetailsModel>? DefaultExtensions { get; set; } | ||
|
||
[JsonPropertyName("perNodeDetails")] | ||
public List<PerNodeStateModel>? PerNodeDetails { get; set; } | ||
|
||
[JsonPropertyName("provisioningState")] | ||
public ProvisioningStateConstant? ProvisioningState { get; set; } | ||
} |
Oops, something went wrong.