1. Packages
  2. Azure Classic
  3. API Docs
  4. devcenter
  5. Catalog

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.devcenter.Catalog

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    Create Catalog Resource

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

    Constructor syntax

    new Catalog(name: string, args: CatalogArgs, opts?: CustomResourceOptions);
    @overload
    def Catalog(resource_name: str,
                args: CatalogArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Catalog(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                dev_center_id: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                catalog_adogit: Optional[CatalogCatalogAdogitArgs] = None,
                catalog_github: Optional[CatalogCatalogGithubArgs] = None,
                name: Optional[str] = None)
    func NewCatalog(ctx *Context, name string, args CatalogArgs, opts ...ResourceOption) (*Catalog, error)
    public Catalog(string name, CatalogArgs args, CustomResourceOptions? opts = null)
    public Catalog(String name, CatalogArgs args)
    public Catalog(String name, CatalogArgs args, CustomResourceOptions options)
    
    type: azure:devcenter:Catalog
    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 CatalogArgs
    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 CatalogArgs
    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 CatalogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CatalogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CatalogArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var catalogResource = new Azure.DevCenter.Catalog("catalogResource", new()
    {
        DevCenterId = "string",
        ResourceGroupName = "string",
        CatalogAdogit = new Azure.DevCenter.Inputs.CatalogCatalogAdogitArgs
        {
            Branch = "string",
            KeyVaultKeyUrl = "string",
            Path = "string",
            Uri = "string",
        },
        CatalogGithub = new Azure.DevCenter.Inputs.CatalogCatalogGithubArgs
        {
            Branch = "string",
            KeyVaultKeyUrl = "string",
            Path = "string",
            Uri = "string",
        },
        Name = "string",
    });
    
    example, err := devcenter.NewCatalog(ctx, "catalogResource", &devcenter.CatalogArgs{
    	DevCenterId:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	CatalogAdogit: &devcenter.CatalogCatalogAdogitArgs{
    		Branch:         pulumi.String("string"),
    		KeyVaultKeyUrl: pulumi.String("string"),
    		Path:           pulumi.String("string"),
    		Uri:            pulumi.String("string"),
    	},
    	CatalogGithub: &devcenter.CatalogCatalogGithubArgs{
    		Branch:         pulumi.String("string"),
    		KeyVaultKeyUrl: pulumi.String("string"),
    		Path:           pulumi.String("string"),
    		Uri:            pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var catalogResource = new Catalog("catalogResource", CatalogArgs.builder()
        .devCenterId("string")
        .resourceGroupName("string")
        .catalogAdogit(CatalogCatalogAdogitArgs.builder()
            .branch("string")
            .keyVaultKeyUrl("string")
            .path("string")
            .uri("string")
            .build())
        .catalogGithub(CatalogCatalogGithubArgs.builder()
            .branch("string")
            .keyVaultKeyUrl("string")
            .path("string")
            .uri("string")
            .build())
        .name("string")
        .build());
    
    catalog_resource = azure.devcenter.Catalog("catalogResource",
        dev_center_id="string",
        resource_group_name="string",
        catalog_adogit={
            "branch": "string",
            "keyVaultKeyUrl": "string",
            "path": "string",
            "uri": "string",
        },
        catalog_github={
            "branch": "string",
            "keyVaultKeyUrl": "string",
            "path": "string",
            "uri": "string",
        },
        name="string")
    
    const catalogResource = new azure.devcenter.Catalog("catalogResource", {
        devCenterId: "string",
        resourceGroupName: "string",
        catalogAdogit: {
            branch: "string",
            keyVaultKeyUrl: "string",
            path: "string",
            uri: "string",
        },
        catalogGithub: {
            branch: "string",
            keyVaultKeyUrl: "string",
            path: "string",
            uri: "string",
        },
        name: "string",
    });
    
    type: azure:devcenter:Catalog
    properties:
        catalogAdogit:
            branch: string
            keyVaultKeyUrl: string
            path: string
            uri: string
        catalogGithub:
            branch: string
            keyVaultKeyUrl: string
            path: string
            uri: string
        devCenterId: string
        name: string
        resourceGroupName: string
    

    Catalog 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 Catalog resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Catalog 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 Catalog Resource

    Get an existing Catalog 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?: CatalogState, opts?: CustomResourceOptions): Catalog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catalog_adogit: Optional[CatalogCatalogAdogitArgs] = None,
            catalog_github: Optional[CatalogCatalogGithubArgs] = None,
            dev_center_id: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None) -> Catalog
    func GetCatalog(ctx *Context, name string, id IDInput, state *CatalogState, opts ...ResourceOption) (*Catalog, error)
    public static Catalog Get(string name, Input<string> id, CatalogState? state, CustomResourceOptions? opts = null)
    public static Catalog get(String name, Output<String> id, CatalogState 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.

    Supporting Types

    CatalogCatalogAdogit, CatalogCatalogAdogitArgs

    Branch string
    KeyVaultKeyUrl string
    Path string
    Uri string
    Branch string
    KeyVaultKeyUrl string
    Path string
    Uri string
    branch String
    keyVaultKeyUrl String
    path String
    uri String
    branch string
    keyVaultKeyUrl string
    path string
    uri string
    branch String
    keyVaultKeyUrl String
    path String
    uri String

    CatalogCatalogGithub, CatalogCatalogGithubArgs

    Branch string
    KeyVaultKeyUrl string
    Path string
    Uri string
    Branch string
    KeyVaultKeyUrl string
    Path string
    Uri string
    branch String
    keyVaultKeyUrl String
    path String
    uri String
    branch string
    keyVaultKeyUrl string
    path string
    uri string
    branch String
    keyVaultKeyUrl String
    path String
    uri String

    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 v6.2.0 published on Friday, Sep 27, 2024 by Pulumi