-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add defaults for Azure Spring Apps sub-resources
- Loading branch information
1 parent
5b76cb9
commit f6eef8f
Showing
430 changed files
with
76,542 additions
and
7,053 deletions.
There are no files selected for viewing
1,047 changes: 928 additions & 119 deletions
1,047
provider/cmd/pulumi-resource-azure-native/schema.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,131 @@ | ||
// *** 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.AzureNative.AppPlatform | ||
{ | ||
/// <summary> | ||
/// The build service agent pool resource | ||
/// API Version: 2022-01-01-preview. | ||
/// </summary> | ||
[AzureNativeResourceType("azure-native:appplatform:BuildServiceAgentPool")] | ||
public partial class BuildServiceAgentPool : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The name of the resource. | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// build service agent pool properties | ||
/// </summary> | ||
[Output("properties")] | ||
public Output<Outputs.BuildServiceAgentPoolPropertiesResponse> Properties { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Metadata pertaining to creation and last modification of the resource. | ||
/// </summary> | ||
[Output("systemData")] | ||
public Output<Outputs.SystemDataResponse> SystemData { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The type of the resource. | ||
/// </summary> | ||
[Output("type")] | ||
public Output<string> Type { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a BuildServiceAgentPool 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 BuildServiceAgentPool(string name, BuildServiceAgentPoolArgs args, CustomResourceOptions? options = null) | ||
: base("azure-native:appplatform:BuildServiceAgentPool", name, args ?? new BuildServiceAgentPoolArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private BuildServiceAgentPool(string name, Input<string> id, CustomResourceOptions? options = null) | ||
: base("azure-native:appplatform:BuildServiceAgentPool", name, null, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
Aliases = | ||
{ | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:BuildServiceAgentPool"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:BuildServiceAgentPool"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:BuildServiceAgentPool"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:BuildServiceAgentPool"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:BuildServiceAgentPool"}, | ||
}, | ||
}; | ||
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 BuildServiceAgentPool 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 BuildServiceAgentPool Get(string name, Input<string> id, CustomResourceOptions? options = null) | ||
{ | ||
return new BuildServiceAgentPool(name, id, options); | ||
} | ||
} | ||
|
||
public sealed class BuildServiceAgentPoolArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The name of the build service agent pool resource. | ||
/// </summary> | ||
[Input("agentPoolName")] | ||
public Input<string>? AgentPoolName { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the build service resource. | ||
/// </summary> | ||
[Input("buildServiceName", required: true)] | ||
public Input<string> BuildServiceName { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// build service agent pool properties | ||
/// </summary> | ||
[Input("properties")] | ||
public Input<Inputs.BuildServiceAgentPoolPropertiesArgs>? Properties { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. | ||
/// </summary> | ||
[Input("resourceGroupName", required: true)] | ||
public Input<string> ResourceGroupName { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The name of the Service resource. | ||
/// </summary> | ||
[Input("serviceName", required: true)] | ||
public Input<string> ServiceName { get; set; } = null!; | ||
|
||
public BuildServiceAgentPoolArgs() | ||
{ | ||
} | ||
public static new BuildServiceAgentPoolArgs Empty => new BuildServiceAgentPoolArgs(); | ||
} | ||
} |
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,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.AzureNative.AppPlatform | ||
{ | ||
/// <summary> | ||
/// Config Server resource | ||
/// API Version: 2020-07-01. | ||
/// </summary> | ||
[AzureNativeResourceType("azure-native:appplatform:ConfigServer")] | ||
public partial class ConfigServer : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The name of the resource. | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Properties of the Config Server resource | ||
/// </summary> | ||
[Output("properties")] | ||
public Output<Outputs.ConfigServerPropertiesResponse> Properties { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The type of the resource. | ||
/// </summary> | ||
[Output("type")] | ||
public Output<string> Type { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a ConfigServer 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 ConfigServer(string name, ConfigServerArgs args, CustomResourceOptions? options = null) | ||
: base("azure-native:appplatform:ConfigServer", name, args ?? new ConfigServerArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private ConfigServer(string name, Input<string> id, CustomResourceOptions? options = null) | ||
: base("azure-native:appplatform:ConfigServer", name, null, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
Aliases = | ||
{ | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20200701:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20201101preview:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210601preview:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20210901preview:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220101preview:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220301preview:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220401:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220501preview:ConfigServer"}, | ||
new global::Pulumi.Alias { Type = "azure-native:appplatform/v20220901preview:ConfigServer"}, | ||
}, | ||
}; | ||
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 ConfigServer 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 ConfigServer Get(string name, Input<string> id, CustomResourceOptions? options = null) | ||
{ | ||
return new ConfigServer(name, id, options); | ||
} | ||
} | ||
|
||
public sealed class ConfigServerArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// Properties of the Config Server resource | ||
/// </summary> | ||
[Input("properties")] | ||
public Input<Inputs.ConfigServerPropertiesArgs>? Properties { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. | ||
/// </summary> | ||
[Input("resourceGroupName", required: true)] | ||
public Input<string> ResourceGroupName { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The name of the Service resource. | ||
/// </summary> | ||
[Input("serviceName", required: true)] | ||
public Input<string> ServiceName { get; set; } = null!; | ||
|
||
public ConfigServerArgs() | ||
{ | ||
} | ||
public static new ConfigServerArgs Empty => new ConfigServerArgs(); | ||
} | ||
} |
Oops, something went wrong.