We recommend using Azure Native.
azure.devcenter.Catalog
Explore with Pulumi AI
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
This property is required. string - The unique name of the resource.
- args
This property is required. CatalogArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. CatalogArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CatalogArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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",
"key_vault_key_url": "string",
"path": "string",
"uri": "string",
},
catalog_github={
"branch": "string",
"key_vault_key_url": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Catalog resource accepts the following input properties:
- Dev
Center Id This property is required. Changes to this property will trigger replacement.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Catalog
Adogit CatalogCatalog Adogit - Catalog
Github CatalogCatalog Github - Name
Changes to this property will trigger replacement.
- Dev
Center Id This property is required. Changes to this property will trigger replacement.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Catalog
Adogit CatalogCatalog Adogit Args - Catalog
Github CatalogCatalog Github Args - Name
Changes to this property will trigger replacement.
- dev
Center Id This property is required. Changes to this property will trigger replacement.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- catalog
Adogit CatalogCatalog Adogit - catalog
Github CatalogCatalog Github - name
Changes to this property will trigger replacement.
- dev
Center Id This property is required. Changes to this property will trigger replacement.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- catalog
Adogit CatalogCatalog Adogit - catalog
Github CatalogCatalog Github - name
Changes to this property will trigger replacement.
- dev_
center_ id This property is required. Changes to this property will trigger replacement.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- catalog_
adogit CatalogCatalog Adogit Args - catalog_
github CatalogCatalog Github Args - name
Changes to this property will trigger replacement.
- dev
Center Id This property is required. Changes to this property will trigger replacement.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- catalog
Adogit Property Map - catalog
Github Property Map - name
Changes to this property will trigger replacement.
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)
resources: _: type: azure:devcenter:Catalog get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Catalog
Adogit CatalogCatalog Adogit - Catalog
Github CatalogCatalog Github - Dev
Center Id Changes to this property will trigger replacement.
- Name
Changes to this property will trigger replacement.
- Resource
Group Name Changes to this property will trigger replacement.
- Catalog
Adogit CatalogCatalog Adogit Args - Catalog
Github CatalogCatalog Github Args - Dev
Center Id Changes to this property will trigger replacement.
- Name
Changes to this property will trigger replacement.
- Resource
Group Name Changes to this property will trigger replacement.
- catalog
Adogit CatalogCatalog Adogit - catalog
Github CatalogCatalog Github - dev
Center Id Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- resource
Group Name Changes to this property will trigger replacement.
- catalog
Adogit CatalogCatalog Adogit - catalog
Github CatalogCatalog Github - dev
Center Id Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- resource
Group Name Changes to this property will trigger replacement.
- catalog_
adogit CatalogCatalog Adogit Args - catalog_
github CatalogCatalog Github Args - dev_
center_ id Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- resource_
group_ name Changes to this property will trigger replacement.
- catalog
Adogit Property Map - catalog
Github Property Map - dev
Center Id Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- resource
Group Name Changes to this property will trigger replacement.
Supporting Types
CatalogCatalogAdogit, CatalogCatalogAdogitArgs
- Branch
This property is required. string - Key
Vault Key Url This property is required. string - Path
This property is required. string - Uri
This property is required. string
- Branch
This property is required. string - Key
Vault Key Url This property is required. string - Path
This property is required. string - Uri
This property is required. string
- branch
This property is required. String - key
Vault Key Url This property is required. String - path
This property is required. String - uri
This property is required. String
- branch
This property is required. string - key
Vault Key Url This property is required. string - path
This property is required. string - uri
This property is required. string
- branch
This property is required. str - key_
vault_ key_ url This property is required. str - path
This property is required. str - uri
This property is required. str
- branch
This property is required. String - key
Vault Key Url This property is required. String - path
This property is required. String - uri
This property is required. String
CatalogCatalogGithub, CatalogCatalogGithubArgs
- Branch
This property is required. string - Key
Vault Key Url This property is required. string - Path
This property is required. string - Uri
This property is required. string
- Branch
This property is required. string - Key
Vault Key Url This property is required. string - Path
This property is required. string - Uri
This property is required. string
- branch
This property is required. String - key
Vault Key Url This property is required. String - path
This property is required. String - uri
This property is required. String
- branch
This property is required. string - key
Vault Key Url This property is required. string - path
This property is required. string - uri
This property is required. string
- branch
This property is required. str - key_
vault_ key_ url This property is required. str - path
This property is required. str - uri
This property is required. str
- branch
This property is required. String - key
Vault Key Url This property is required. String - path
This property is required. String - uri
This property is required. String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.