azure

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AzInstancesCommand added in v1.9.0

func AzInstancesCommand(AzTenantID, AzSubscriptionID, AzOutputFormat, Version string, AzVerbosity int, AzWrapTable bool) error

func AzInventoryCommand added in v1.10.0

func AzInventoryCommand(AzTenantID, AzSubscriptionID, Version string, AzVerbosity int, AzWrapTable bool) error

func AzRBACCommand added in v1.9.0

func AzRBACCommand(AzTenantID, AzSubscriptionID, AzOutputFormat, Version string, AzVerbosity int, AzWrapTable bool) error

func AzStorageCommand added in v1.9.0

func AzStorageCommand(AzTenantID, AzSubscriptionID, AzOutputFormat, Version string, AzVerbosity int, AzWrapTable bool) error

func AzWhoamiCommand added in v1.9.0

func AzWhoamiCommand(version string, AzWrapTable bool) error

func GetSubscriptionsPerTenantID added in v1.10.0

func GetSubscriptionsPerTenantID(tenantID string) []subscriptions.Subscription

func GetTenantIDPerSubscription added in v1.10.0

func GetTenantIDPerSubscription(subscriptionID string) *string

Types

type AzureADUsersTestFile added in v1.9.0

type AzureADUsersTestFile struct {
	AzureADUsers []graphrbac.User `json:"azureADUsers"`
}

type CloudFoxRBACclient added in v1.9.0

type CloudFoxRBACclient struct {
	AADUsers []graphrbac.User
	// contains filtered or unexported fields
}

func (*CloudFoxRBACclient) GetRelevantRBACData added in v1.9.0

func (c *CloudFoxRBACclient) GetRelevantRBACData(tenantID, subscriptionID string) ([]string, [][]string)

type ResourcesTestFile added in v1.9.0

type ResourcesTestFile struct {
	Tenants []struct {
		DisplayName   *string `json:"displayName"`
		TenantID      *string `json:"tenantId"`
		DefaultDomain *string `json:"defaultDomain,omitempty"`
		Subscriptions []struct {
			DisplayName    *string `json:"displayName"`
			SubscriptionId *string `json:"subscriptionId"`
			ResourceGroups []struct {
				Name     *string `json:"Name"`
				ID       *string `json:"id"`
				Location *string `json:"location"`
			} `json:"ResourceGroups"`
		} `json:"Subscriptions"`
	} `json:"Tenants"`
}

type RoleAssignmentRelevantData added in v1.9.0

type RoleAssignmentRelevantData struct {
	// contains filtered or unexported fields
}

type RoleAssignmentsTestFile added in v1.9.0

type RoleAssignmentsTestFile struct {
	RoleAssignments []authorization.RoleAssignment `json:"RoleAssignments"`
}

type RoleDefinitionTestFile added in v1.9.0

type RoleDefinitionTestFile struct {
	RoleDefinitions []authorization.RoleDefinition `json:"roleDefinitions"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL