Registry / cloud / azure-azure-sdk-for-go-sdk-resourcemanager-resources-armresources

azure-azure-sdk-for-go-sdk-resourcemanager-resources-armresources

JSON →
library1.2.0gogounverified

Package armresources provides the Azure Resource Manager client for managing Azure resources.

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources
INSTALL
IMPORT
SIG · AZURE-AZURE-SDK-FO
A
azure-azure-sdk-for-go-sdk-resourcemanager-resources-armresources
cloudgov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

armresources
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources

Lists all Azure resources in a subscription using the ARM resources client.

package main import ( "context" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" ) func main() { cred, _ := azidentity.NewDefaultAzureCredential(nil) client, _ := armresources.NewClient("subscription-id", cred, nil) resources, _ := client.List(context.Background(), nil) for _, r := range resources.Value { println(*r.Name) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
azure-azure-sdk-for-go-sdk-resourcemanager-resources-armresources — go get azure-azure-sdk-for-go-sdk-resourcemanager-resources-armresources · libregistry