This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/reference/universe/azure/resourcegroup.md
Guillaume de Rouville bdd6b5a56e Port azure.#CLI from up to os.#Container + manual testing + integrate bats test
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-11 16:39:35 +02:00

2.2 KiB

sidebar_label
resourcegroup

alpha.dagger.io/azure/resourcegroup

import "alpha.dagger.io/azure/resourcegroup"

resourcegroup.#ResourceGroup

Create a resource group

resourcegroup.#ResourceGroup Inputs

Name Type Description
config.tenantId dagger.#Secret AZURE tenant id
config.subscriptionId dagger.#Secret AZURE subscription id
config.appId dagger.#Secret AZURE app id for the service principal used
config.password dagger.#Secret AZURE password for the service principal used
rgName string ResourceGroup name
rgLocation string ResourceGroup location
ctr.image.config.tenantId dagger.#Secret AZURE tenant id
ctr.image.config.subscriptionId dagger.#Secret AZURE subscription id
ctr.image.config.appId dagger.#Secret AZURE app id for the service principal used
ctr.image.config.password dagger.#Secret AZURE password for the service principal used
ctr.image.image.from "mcr.microsoft.com/azure-cli" Remote ref (example: "index.docker.io/alpine:latest")

resourcegroup.#ResourceGroup Outputs

Name Type Description
id string Resource Id