Class SpringCloudApp
Manage an Azure Spring Cloud Application.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "Southeast Asia",
});
var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("exampleSpringCloudService", new Azure.AppPlatform.SpringCloudServiceArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
});
var exampleSpringCloudApp = new Azure.AppPlatform.SpringCloudApp("exampleSpringCloudApp", new Azure.AppPlatform.SpringCloudAppArgs
{
ResourceGroupName = exampleResourceGroup.Name,
ServiceName = exampleSpringCloudService.Name,
});
}
}
Inherited Members
Namespace: Pulumi.Azure.AppPlatform
Assembly: Pulumi.Azure.dll
Syntax
public class SpringCloudApp : CustomResource
Constructors
View SourceSpringCloudApp(String, SpringCloudAppArgs, CustomResourceOptions)
Create a SpringCloudApp resource with the given unique name, arguments, and options.
Declaration
public SpringCloudApp(string name, SpringCloudAppArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SpringCloudAppArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
Specifies the name of the Spring Cloud Application. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
Specifies the name of the resource group in which to create the Spring Cloud Application. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceName
Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
Declaration
public Output<string> ServiceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SpringCloudAppState, CustomResourceOptions)
Get an existing SpringCloudApp resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SpringCloudApp Get(string name, Input<string> id, SpringCloudAppState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SpringCloudAppState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SpringCloudApp |