Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data: Rest Api Specs - regenerating based on 0fee07491495d7e18780379f35d7301e550f2ff3 #3139

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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading