Skip to content

Commit

Permalink
Merge pull request #3139 from hashicorp/data/regeneration-from-0fee07…
Browse files Browse the repository at this point in the history
…491495d7e18780379f35d7301e550f2ff3-rest-api-specs

Data: Rest Api Specs - regenerating based on 0fee074
  • Loading branch information
tombuildsstuff authored Oct 11, 2023
2 parents 0fee074 + 9a795b2 commit b2312ae
Show file tree
Hide file tree
Showing 314 changed files with 9,213 additions and 0 deletions.
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;
}
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(),
};
}
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,
}
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,
}
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,
}
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),
};
}
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; }
}
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; }
}
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; }
}
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; }
}
Loading

0 comments on commit b2312ae

Please sign in to comment.