1. Packages
  2. Azure Classic
  3. API Docs
  4. appplatform
  5. SpringCloudCustomizedAccelerator

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.appplatform.SpringCloudCustomizedAccelerator

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Spring Cloud Customized Accelerator.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "west europe",
    });
    const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
        name: "example",
        location: example.location,
        resourceGroupName: example.name,
        skuName: "E0",
    });
    const exampleSpringCloudAccelerator = new azure.appplatform.SpringCloudAccelerator("example", {
        name: "default",
        springCloudServiceId: exampleSpringCloudService.id,
    });
    const exampleSpringCloudCustomizedAccelerator = new azure.appplatform.SpringCloudCustomizedAccelerator("example", {
        name: "example",
        springCloudAcceleratorId: exampleSpringCloudAccelerator.id,
        gitRepository: {
            url: "https://github.com/Azure-Samples/piggymetrics",
            gitTag: "spring.version.2.0.3",
            intervalInSeconds: 100,
        },
        acceleratorTags: [
            "tag-a",
            "tag-b",
        ],
        description: "example description",
        displayName: "example name",
        iconUrl: "https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="west europe")
    example_spring_cloud_service = azure.appplatform.SpringCloudService("example",
        name="example",
        location=example.location,
        resource_group_name=example.name,
        sku_name="E0")
    example_spring_cloud_accelerator = azure.appplatform.SpringCloudAccelerator("example",
        name="default",
        spring_cloud_service_id=example_spring_cloud_service.id)
    example_spring_cloud_customized_accelerator = azure.appplatform.SpringCloudCustomizedAccelerator("example",
        name="example",
        spring_cloud_accelerator_id=example_spring_cloud_accelerator.id,
        git_repository=azure.appplatform.SpringCloudCustomizedAcceleratorGitRepositoryArgs(
            url="https://github.com/Azure-Samples/piggymetrics",
            git_tag="spring.version.2.0.3",
            interval_in_seconds=100,
        ),
        accelerator_tags=[
            "tag-a",
            "tag-b",
        ],
        description="example description",
        display_name="example name",
        icon_url="https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appplatform"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("west europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSpringCloudService, err := appplatform.NewSpringCloudService(ctx, "example", &appplatform.SpringCloudServiceArgs{
    			Name:              pulumi.String("example"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			SkuName:           pulumi.String("E0"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSpringCloudAccelerator, err := appplatform.NewSpringCloudAccelerator(ctx, "example", &appplatform.SpringCloudAcceleratorArgs{
    			Name:                 pulumi.String("default"),
    			SpringCloudServiceId: exampleSpringCloudService.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appplatform.NewSpringCloudCustomizedAccelerator(ctx, "example", &appplatform.SpringCloudCustomizedAcceleratorArgs{
    			Name:                     pulumi.String("example"),
    			SpringCloudAcceleratorId: exampleSpringCloudAccelerator.ID(),
    			GitRepository: &appplatform.SpringCloudCustomizedAcceleratorGitRepositoryArgs{
    				Url:               pulumi.String("https://github.com/Azure-Samples/piggymetrics"),
    				GitTag:            pulumi.String("spring.version.2.0.3"),
    				IntervalInSeconds: pulumi.Int(100),
    			},
    			AcceleratorTags: pulumi.StringArray{
    				pulumi.String("tag-a"),
    				pulumi.String("tag-b"),
    			},
    			Description: pulumi.String("example description"),
    			DisplayName: pulumi.String("example name"),
    			IconUrl:     pulumi.String("https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "west europe",
        });
    
        var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("example", new()
        {
            Name = "example",
            Location = example.Location,
            ResourceGroupName = example.Name,
            SkuName = "E0",
        });
    
        var exampleSpringCloudAccelerator = new Azure.AppPlatform.SpringCloudAccelerator("example", new()
        {
            Name = "default",
            SpringCloudServiceId = exampleSpringCloudService.Id,
        });
    
        var exampleSpringCloudCustomizedAccelerator = new Azure.AppPlatform.SpringCloudCustomizedAccelerator("example", new()
        {
            Name = "example",
            SpringCloudAcceleratorId = exampleSpringCloudAccelerator.Id,
            GitRepository = new Azure.AppPlatform.Inputs.SpringCloudCustomizedAcceleratorGitRepositoryArgs
            {
                Url = "https://github.com/Azure-Samples/piggymetrics",
                GitTag = "spring.version.2.0.3",
                IntervalInSeconds = 100,
            },
            AcceleratorTags = new[]
            {
                "tag-a",
                "tag-b",
            },
            Description = "example description",
            DisplayName = "example name",
            IconUrl = "https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.appplatform.SpringCloudService;
    import com.pulumi.azure.appplatform.SpringCloudServiceArgs;
    import com.pulumi.azure.appplatform.SpringCloudAccelerator;
    import com.pulumi.azure.appplatform.SpringCloudAcceleratorArgs;
    import com.pulumi.azure.appplatform.SpringCloudCustomizedAccelerator;
    import com.pulumi.azure.appplatform.SpringCloudCustomizedAcceleratorArgs;
    import com.pulumi.azure.appplatform.inputs.SpringCloudCustomizedAcceleratorGitRepositoryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("west europe")
                .build());
    
            var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()        
                .name("example")
                .location(example.location())
                .resourceGroupName(example.name())
                .skuName("E0")
                .build());
    
            var exampleSpringCloudAccelerator = new SpringCloudAccelerator("exampleSpringCloudAccelerator", SpringCloudAcceleratorArgs.builder()        
                .name("default")
                .springCloudServiceId(exampleSpringCloudService.id())
                .build());
    
            var exampleSpringCloudCustomizedAccelerator = new SpringCloudCustomizedAccelerator("exampleSpringCloudCustomizedAccelerator", SpringCloudCustomizedAcceleratorArgs.builder()        
                .name("example")
                .springCloudAcceleratorId(exampleSpringCloudAccelerator.id())
                .gitRepository(SpringCloudCustomizedAcceleratorGitRepositoryArgs.builder()
                    .url("https://github.com/Azure-Samples/piggymetrics")
                    .gitTag("spring.version.2.0.3")
                    .intervalInSeconds(100)
                    .build())
                .acceleratorTags(            
                    "tag-a",
                    "tag-b")
                .description("example description")
                .displayName("example name")
                .iconUrl("https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: west europe
      exampleSpringCloudService:
        type: azure:appplatform:SpringCloudService
        name: example
        properties:
          name: example
          location: ${example.location}
          resourceGroupName: ${example.name}
          skuName: E0
      exampleSpringCloudAccelerator:
        type: azure:appplatform:SpringCloudAccelerator
        name: example
        properties:
          name: default
          springCloudServiceId: ${exampleSpringCloudService.id}
      exampleSpringCloudCustomizedAccelerator:
        type: azure:appplatform:SpringCloudCustomizedAccelerator
        name: example
        properties:
          name: example
          springCloudAcceleratorId: ${exampleSpringCloudAccelerator.id}
          gitRepository:
            url: https://github.com/Azure-Samples/piggymetrics
            gitTag: spring.version.2.0.3
            intervalInSeconds: 100
          acceleratorTags:
            - tag-a
            - tag-b
          description: example description
          displayName: example name
          iconUrl: https://images.freecreatives.com/wp-content/uploads/2015/05/smiley-559124_640.jpg
    

    Create SpringCloudCustomizedAccelerator Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SpringCloudCustomizedAccelerator(name: string, args: SpringCloudCustomizedAcceleratorArgs, opts?: CustomResourceOptions);
    @overload
    def SpringCloudCustomizedAccelerator(resource_name: str,
                                         args: SpringCloudCustomizedAcceleratorArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpringCloudCustomizedAccelerator(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         git_repository: Optional[SpringCloudCustomizedAcceleratorGitRepositoryArgs] = None,
                                         spring_cloud_accelerator_id: Optional[str] = None,
                                         accelerator_tags: Optional[Sequence[str]] = None,
                                         accelerator_type: Optional[str] = None,
                                         description: Optional[str] = None,
                                         display_name: Optional[str] = None,
                                         icon_url: Optional[str] = None,
                                         name: Optional[str] = None)
    func NewSpringCloudCustomizedAccelerator(ctx *Context, name string, args SpringCloudCustomizedAcceleratorArgs, opts ...ResourceOption) (*SpringCloudCustomizedAccelerator, error)
    public SpringCloudCustomizedAccelerator(string name, SpringCloudCustomizedAcceleratorArgs args, CustomResourceOptions? opts = null)
    public SpringCloudCustomizedAccelerator(String name, SpringCloudCustomizedAcceleratorArgs args)
    public SpringCloudCustomizedAccelerator(String name, SpringCloudCustomizedAcceleratorArgs args, CustomResourceOptions options)
    
    type: azure:appplatform:SpringCloudCustomizedAccelerator
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SpringCloudCustomizedAcceleratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SpringCloudCustomizedAcceleratorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SpringCloudCustomizedAcceleratorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpringCloudCustomizedAcceleratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpringCloudCustomizedAcceleratorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var springCloudCustomizedAcceleratorResource = new Azure.AppPlatform.SpringCloudCustomizedAccelerator("springCloudCustomizedAcceleratorResource", new()
    {
        GitRepository = new Azure.AppPlatform.Inputs.SpringCloudCustomizedAcceleratorGitRepositoryArgs
        {
            Url = "string",
            BasicAuth = new Azure.AppPlatform.Inputs.SpringCloudCustomizedAcceleratorGitRepositoryBasicAuthArgs
            {
                Password = "string",
                Username = "string",
            },
            Branch = "string",
            CaCertificateId = "string",
            Commit = "string",
            GitTag = "string",
            IntervalInSeconds = 0,
            Path = "string",
            SshAuth = new Azure.AppPlatform.Inputs.SpringCloudCustomizedAcceleratorGitRepositorySshAuthArgs
            {
                PrivateKey = "string",
                HostKey = "string",
                HostKeyAlgorithm = "string",
            },
        },
        SpringCloudAcceleratorId = "string",
        AcceleratorTags = new[]
        {
            "string",
        },
        AcceleratorType = "string",
        Description = "string",
        DisplayName = "string",
        IconUrl = "string",
        Name = "string",
    });
    
    example, err := appplatform.NewSpringCloudCustomizedAccelerator(ctx, "springCloudCustomizedAcceleratorResource", &appplatform.SpringCloudCustomizedAcceleratorArgs{
    	GitRepository: &appplatform.SpringCloudCustomizedAcceleratorGitRepositoryArgs{
    		Url: pulumi.String("string"),
    		BasicAuth: &appplatform.SpringCloudCustomizedAcceleratorGitRepositoryBasicAuthArgs{
    			Password: pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    		Branch:            pulumi.String("string"),
    		CaCertificateId:   pulumi.String("string"),
    		Commit:            pulumi.String("string"),
    		GitTag:            pulumi.String("string"),
    		IntervalInSeconds: pulumi.Int(0),
    		Path:              pulumi.String("string"),
    		SshAuth: &appplatform.SpringCloudCustomizedAcceleratorGitRepositorySshAuthArgs{
    			PrivateKey:       pulumi.String("string"),
    			HostKey:          pulumi.String("string"),
    			HostKeyAlgorithm: pulumi.String("string"),
    		},
    	},
    	SpringCloudAcceleratorId: pulumi.String("string"),
    	AcceleratorTags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AcceleratorType: pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	DisplayName:     pulumi.String("string"),
    	IconUrl:         pulumi.String("string"),
    	Name:            pulumi.String("string"),
    })
    
    var springCloudCustomizedAcceleratorResource = new SpringCloudCustomizedAccelerator("springCloudCustomizedAcceleratorResource", SpringCloudCustomizedAcceleratorArgs.builder()        
        .gitRepository(SpringCloudCustomizedAcceleratorGitRepositoryArgs.builder()
            .url("string")
            .basicAuth(SpringCloudCustomizedAcceleratorGitRepositoryBasicAuthArgs.builder()
                .password("string")
                .username("string")
                .build())
            .branch("string")
            .caCertificateId("string")
            .commit("string")
            .gitTag("string")
            .intervalInSeconds(0)
            .path("string")
            .sshAuth(SpringCloudCustomizedAcceleratorGitRepositorySshAuthArgs.builder()
                .privateKey("string")
                .hostKey("string")
                .hostKeyAlgorithm("string")
                .build())
            .build())
        .springCloudAcceleratorId("string")
        .acceleratorTags("string")
        .acceleratorType("string")
        .description("string")
        .displayName("string")
        .iconUrl("string")
        .name("string")
        .build());
    
    spring_cloud_customized_accelerator_resource = azure.appplatform.SpringCloudCustomizedAccelerator("springCloudCustomizedAcceleratorResource",
        git_repository=azure.appplatform.SpringCloudCustomizedAcceleratorGitRepositoryArgs(
            url="string",
            basic_auth=azure.appplatform.SpringCloudCustomizedAcceleratorGitRepositoryBasicAuthArgs(
                password="string",
                username="string",
            ),
            branch="string",
            ca_certificate_id="string",
            commit="string",
            git_tag="string",
            interval_in_seconds=0,
            path="string",
            ssh_auth=azure.appplatform.SpringCloudCustomizedAcceleratorGitRepositorySshAuthArgs(
                private_key="string",
                host_key="string",
                host_key_algorithm="string",
            ),
        ),
        spring_cloud_accelerator_id="string",
        accelerator_tags=["string"],
        accelerator_type="string",
        description="string",
        display_name="string",
        icon_url="string",
        name="string")
    
    const springCloudCustomizedAcceleratorResource = new azure.appplatform.SpringCloudCustomizedAccelerator("springCloudCustomizedAcceleratorResource", {
        gitRepository: {
            url: "string",
            basicAuth: {
                password: "string",
                username: "string",
            },
            branch: "string",
            caCertificateId: "string",
            commit: "string",
            gitTag: "string",
            intervalInSeconds: 0,
            path: "string",
            sshAuth: {
                privateKey: "string",
                hostKey: "string",
                hostKeyAlgorithm: "string",
            },
        },
        springCloudAcceleratorId: "string",
        acceleratorTags: ["string"],
        acceleratorType: "string",
        description: "string",
        displayName: "string",
        iconUrl: "string",
        name: "string",
    });
    
    type: azure:appplatform:SpringCloudCustomizedAccelerator
    properties:
        acceleratorTags:
            - string
        acceleratorType: string
        description: string
        displayName: string
        gitRepository:
            basicAuth:
                password: string
                username: string
            branch: string
            caCertificateId: string
            commit: string
            gitTag: string
            intervalInSeconds: 0
            path: string
            sshAuth:
                hostKey: string
                hostKeyAlgorithm: string
                privateKey: string
            url: string
        iconUrl: string
        name: string
        springCloudAcceleratorId: string
    

    SpringCloudCustomizedAccelerator Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SpringCloudCustomizedAccelerator resource accepts the following input properties:

    GitRepository SpringCloudCustomizedAcceleratorGitRepository
    A git_repository block as defined below.
    SpringCloudAcceleratorId string
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    AcceleratorTags List<string>
    Specifies a list of accelerator tags.
    AcceleratorType string
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    Description string
    Specifies the description of the Spring Cloud Customized Accelerator.
    DisplayName string
    Specifies the display name of the Spring Cloud Customized Accelerator..
    IconUrl string
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    Name string
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    GitRepository SpringCloudCustomizedAcceleratorGitRepositoryArgs
    A git_repository block as defined below.
    SpringCloudAcceleratorId string
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    AcceleratorTags []string
    Specifies a list of accelerator tags.
    AcceleratorType string
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    Description string
    Specifies the description of the Spring Cloud Customized Accelerator.
    DisplayName string
    Specifies the display name of the Spring Cloud Customized Accelerator..
    IconUrl string
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    Name string
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    gitRepository SpringCloudCustomizedAcceleratorGitRepository
    A git_repository block as defined below.
    springCloudAcceleratorId String
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    acceleratorTags List<String>
    Specifies a list of accelerator tags.
    acceleratorType String
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description String
    Specifies the description of the Spring Cloud Customized Accelerator.
    displayName String
    Specifies the display name of the Spring Cloud Customized Accelerator..
    iconUrl String
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name String
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    gitRepository SpringCloudCustomizedAcceleratorGitRepository
    A git_repository block as defined below.
    springCloudAcceleratorId string
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    acceleratorTags string[]
    Specifies a list of accelerator tags.
    acceleratorType string
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description string
    Specifies the description of the Spring Cloud Customized Accelerator.
    displayName string
    Specifies the display name of the Spring Cloud Customized Accelerator..
    iconUrl string
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name string
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    git_repository SpringCloudCustomizedAcceleratorGitRepositoryArgs
    A git_repository block as defined below.
    spring_cloud_accelerator_id str
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    accelerator_tags Sequence[str]
    Specifies a list of accelerator tags.
    accelerator_type str
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description str
    Specifies the description of the Spring Cloud Customized Accelerator.
    display_name str
    Specifies the display name of the Spring Cloud Customized Accelerator..
    icon_url str
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name str
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    gitRepository Property Map
    A git_repository block as defined below.
    springCloudAcceleratorId String
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    acceleratorTags List<String>
    Specifies a list of accelerator tags.
    acceleratorType String
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description String
    Specifies the description of the Spring Cloud Customized Accelerator.
    displayName String
    Specifies the display name of the Spring Cloud Customized Accelerator..
    iconUrl String
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name String
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SpringCloudCustomizedAccelerator resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SpringCloudCustomizedAccelerator Resource

    Get an existing SpringCloudCustomizedAccelerator resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SpringCloudCustomizedAcceleratorState, opts?: CustomResourceOptions): SpringCloudCustomizedAccelerator
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accelerator_tags: Optional[Sequence[str]] = None,
            accelerator_type: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            git_repository: Optional[SpringCloudCustomizedAcceleratorGitRepositoryArgs] = None,
            icon_url: Optional[str] = None,
            name: Optional[str] = None,
            spring_cloud_accelerator_id: Optional[str] = None) -> SpringCloudCustomizedAccelerator
    func GetSpringCloudCustomizedAccelerator(ctx *Context, name string, id IDInput, state *SpringCloudCustomizedAcceleratorState, opts ...ResourceOption) (*SpringCloudCustomizedAccelerator, error)
    public static SpringCloudCustomizedAccelerator Get(string name, Input<string> id, SpringCloudCustomizedAcceleratorState? state, CustomResourceOptions? opts = null)
    public static SpringCloudCustomizedAccelerator get(String name, Output<String> id, SpringCloudCustomizedAcceleratorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AcceleratorTags List<string>
    Specifies a list of accelerator tags.
    AcceleratorType string
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    Description string
    Specifies the description of the Spring Cloud Customized Accelerator.
    DisplayName string
    Specifies the display name of the Spring Cloud Customized Accelerator..
    GitRepository SpringCloudCustomizedAcceleratorGitRepository
    A git_repository block as defined below.
    IconUrl string
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    Name string
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    SpringCloudAcceleratorId string
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    AcceleratorTags []string
    Specifies a list of accelerator tags.
    AcceleratorType string
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    Description string
    Specifies the description of the Spring Cloud Customized Accelerator.
    DisplayName string
    Specifies the display name of the Spring Cloud Customized Accelerator..
    GitRepository SpringCloudCustomizedAcceleratorGitRepositoryArgs
    A git_repository block as defined below.
    IconUrl string
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    Name string
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    SpringCloudAcceleratorId string
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    acceleratorTags List<String>
    Specifies a list of accelerator tags.
    acceleratorType String
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description String
    Specifies the description of the Spring Cloud Customized Accelerator.
    displayName String
    Specifies the display name of the Spring Cloud Customized Accelerator..
    gitRepository SpringCloudCustomizedAcceleratorGitRepository
    A git_repository block as defined below.
    iconUrl String
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name String
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    springCloudAcceleratorId String
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    acceleratorTags string[]
    Specifies a list of accelerator tags.
    acceleratorType string
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description string
    Specifies the description of the Spring Cloud Customized Accelerator.
    displayName string
    Specifies the display name of the Spring Cloud Customized Accelerator..
    gitRepository SpringCloudCustomizedAcceleratorGitRepository
    A git_repository block as defined below.
    iconUrl string
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name string
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    springCloudAcceleratorId string
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    accelerator_tags Sequence[str]
    Specifies a list of accelerator tags.
    accelerator_type str
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description str
    Specifies the description of the Spring Cloud Customized Accelerator.
    display_name str
    Specifies the display name of the Spring Cloud Customized Accelerator..
    git_repository SpringCloudCustomizedAcceleratorGitRepositoryArgs
    A git_repository block as defined below.
    icon_url str
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name str
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    spring_cloud_accelerator_id str
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    acceleratorTags List<String>
    Specifies a list of accelerator tags.
    acceleratorType String
    Specifies the type of the Spring Cloud Customized Accelerator. Possible values are Accelerator and Fragment. Defaults to Accelerator.
    description String
    Specifies the description of the Spring Cloud Customized Accelerator.
    displayName String
    Specifies the display name of the Spring Cloud Customized Accelerator..
    gitRepository Property Map
    A git_repository block as defined below.
    iconUrl String
    Specifies the icon URL of the Spring Cloud Customized Accelerator..
    name String
    The name which should be used for this Spring Cloud Customized Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    springCloudAcceleratorId String
    The ID of the Spring Cloud Accelerator. Changing this forces a new Spring Cloud Customized Accelerator to be created.

    Supporting Types

    SpringCloudCustomizedAcceleratorGitRepository, SpringCloudCustomizedAcceleratorGitRepositoryArgs

    Url string
    Specifies Git repository URL for the accelerator.
    BasicAuth SpringCloudCustomizedAcceleratorGitRepositoryBasicAuth
    A basic_auth block as defined below. Conflicts with git_repository[0].ssh_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    Branch string
    Specifies the Git repository branch to be used.
    CaCertificateId string
    Specifies the ID of the CA Spring Cloud Certificate for https URL of Git repository.
    Commit string
    Specifies the Git repository commit to be used.
    GitTag string
    Specifies the Git repository tag to be used.
    IntervalInSeconds int
    Specifies the interval for checking for updates to Git or image repository. It should be greater than 10.
    Path string
    Specifies the path under the git repository to be treated as the root directory of the accelerator or the fragment (depending on accelerator_type).
    SshAuth SpringCloudCustomizedAcceleratorGitRepositorySshAuth
    A ssh_auth block as defined below. Conflicts with git_repository[0].basic_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    Url string
    Specifies Git repository URL for the accelerator.
    BasicAuth SpringCloudCustomizedAcceleratorGitRepositoryBasicAuth
    A basic_auth block as defined below. Conflicts with git_repository[0].ssh_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    Branch string
    Specifies the Git repository branch to be used.
    CaCertificateId string
    Specifies the ID of the CA Spring Cloud Certificate for https URL of Git repository.
    Commit string
    Specifies the Git repository commit to be used.
    GitTag string
    Specifies the Git repository tag to be used.
    IntervalInSeconds int
    Specifies the interval for checking for updates to Git or image repository. It should be greater than 10.
    Path string
    Specifies the path under the git repository to be treated as the root directory of the accelerator or the fragment (depending on accelerator_type).
    SshAuth SpringCloudCustomizedAcceleratorGitRepositorySshAuth
    A ssh_auth block as defined below. Conflicts with git_repository[0].basic_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    url String
    Specifies Git repository URL for the accelerator.
    basicAuth SpringCloudCustomizedAcceleratorGitRepositoryBasicAuth
    A basic_auth block as defined below. Conflicts with git_repository[0].ssh_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    branch String
    Specifies the Git repository branch to be used.
    caCertificateId String
    Specifies the ID of the CA Spring Cloud Certificate for https URL of Git repository.
    commit String
    Specifies the Git repository commit to be used.
    gitTag String
    Specifies the Git repository tag to be used.
    intervalInSeconds Integer
    Specifies the interval for checking for updates to Git or image repository. It should be greater than 10.
    path String
    Specifies the path under the git repository to be treated as the root directory of the accelerator or the fragment (depending on accelerator_type).
    sshAuth SpringCloudCustomizedAcceleratorGitRepositorySshAuth
    A ssh_auth block as defined below. Conflicts with git_repository[0].basic_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    url string
    Specifies Git repository URL for the accelerator.
    basicAuth SpringCloudCustomizedAcceleratorGitRepositoryBasicAuth
    A basic_auth block as defined below. Conflicts with git_repository[0].ssh_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    branch string
    Specifies the Git repository branch to be used.
    caCertificateId string
    Specifies the ID of the CA Spring Cloud Certificate for https URL of Git repository.
    commit string
    Specifies the Git repository commit to be used.
    gitTag string
    Specifies the Git repository tag to be used.
    intervalInSeconds number
    Specifies the interval for checking for updates to Git or image repository. It should be greater than 10.
    path string
    Specifies the path under the git repository to be treated as the root directory of the accelerator or the fragment (depending on accelerator_type).
    sshAuth SpringCloudCustomizedAcceleratorGitRepositorySshAuth
    A ssh_auth block as defined below. Conflicts with git_repository[0].basic_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    url str
    Specifies Git repository URL for the accelerator.
    basic_auth SpringCloudCustomizedAcceleratorGitRepositoryBasicAuth
    A basic_auth block as defined below. Conflicts with git_repository[0].ssh_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    branch str
    Specifies the Git repository branch to be used.
    ca_certificate_id str
    Specifies the ID of the CA Spring Cloud Certificate for https URL of Git repository.
    commit str
    Specifies the Git repository commit to be used.
    git_tag str
    Specifies the Git repository tag to be used.
    interval_in_seconds int
    Specifies the interval for checking for updates to Git or image repository. It should be greater than 10.
    path str
    Specifies the path under the git repository to be treated as the root directory of the accelerator or the fragment (depending on accelerator_type).
    ssh_auth SpringCloudCustomizedAcceleratorGitRepositorySshAuth
    A ssh_auth block as defined below. Conflicts with git_repository[0].basic_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    url String
    Specifies Git repository URL for the accelerator.
    basicAuth Property Map
    A basic_auth block as defined below. Conflicts with git_repository[0].ssh_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.
    branch String
    Specifies the Git repository branch to be used.
    caCertificateId String
    Specifies the ID of the CA Spring Cloud Certificate for https URL of Git repository.
    commit String
    Specifies the Git repository commit to be used.
    gitTag String
    Specifies the Git repository tag to be used.
    intervalInSeconds Number
    Specifies the interval for checking for updates to Git or image repository. It should be greater than 10.
    path String
    Specifies the path under the git repository to be treated as the root directory of the accelerator or the fragment (depending on accelerator_type).
    sshAuth Property Map
    A ssh_auth block as defined below. Conflicts with git_repository[0].basic_auth. Changing this forces a new Spring Cloud Customized Accelerator to be created.

    SpringCloudCustomizedAcceleratorGitRepositoryBasicAuth, SpringCloudCustomizedAcceleratorGitRepositoryBasicAuthArgs

    Password string
    Specifies the password of git repository basic auth.
    Username string
    Specifies the username of git repository basic auth.
    Password string
    Specifies the password of git repository basic auth.
    Username string
    Specifies the username of git repository basic auth.
    password String
    Specifies the password of git repository basic auth.
    username String
    Specifies the username of git repository basic auth.
    password string
    Specifies the password of git repository basic auth.
    username string
    Specifies the username of git repository basic auth.
    password str
    Specifies the password of git repository basic auth.
    username str
    Specifies the username of git repository basic auth.
    password String
    Specifies the password of git repository basic auth.
    username String
    Specifies the username of git repository basic auth.

    SpringCloudCustomizedAcceleratorGitRepositorySshAuth, SpringCloudCustomizedAcceleratorGitRepositorySshAuthArgs

    PrivateKey string
    Specifies the Private SSH Key of git repository basic auth.
    HostKey string
    Specifies the Public SSH Key of git repository basic auth.
    HostKeyAlgorithm string
    Specifies the SSH Key algorithm of git repository basic auth.
    PrivateKey string
    Specifies the Private SSH Key of git repository basic auth.
    HostKey string
    Specifies the Public SSH Key of git repository basic auth.
    HostKeyAlgorithm string
    Specifies the SSH Key algorithm of git repository basic auth.
    privateKey String
    Specifies the Private SSH Key of git repository basic auth.
    hostKey String
    Specifies the Public SSH Key of git repository basic auth.
    hostKeyAlgorithm String
    Specifies the SSH Key algorithm of git repository basic auth.
    privateKey string
    Specifies the Private SSH Key of git repository basic auth.
    hostKey string
    Specifies the Public SSH Key of git repository basic auth.
    hostKeyAlgorithm string
    Specifies the SSH Key algorithm of git repository basic auth.
    private_key str
    Specifies the Private SSH Key of git repository basic auth.
    host_key str
    Specifies the Public SSH Key of git repository basic auth.
    host_key_algorithm str
    Specifies the SSH Key algorithm of git repository basic auth.
    privateKey String
    Specifies the Private SSH Key of git repository basic auth.
    hostKey String
    Specifies the Public SSH Key of git repository basic auth.
    hostKeyAlgorithm String
    Specifies the SSH Key algorithm of git repository basic auth.

    Import

    Spring Cloud Customized Accelerators can be imported using the resource id, e.g.

    $ pulumi import azure:appplatform/springCloudCustomizedAccelerator:SpringCloudCustomizedAccelerator example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.AppPlatform/spring/spring1/applicationAccelerators/default/customizedAccelerators/customizedAccelerator1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi