Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureClient ¶
type AzureClient interface { AzureGraphClient AzureResourceManagerClient TenantInfo() azure.Tenant CloseIdleConnections() }
type AzureGraphClient ¶
type AzureGraphClient interface { GetAzureADOrganization(ctx context.Context, selectCols []string) (*azure.Organization, error) ListAzureADGroups(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.Group] ListAzureADGroupMembers(ctx context.Context, objectId string, params query.GraphParams) <-chan AzureResult[json.RawMessage] ListAzureADGroupOwners(ctx context.Context, objectId string, params query.GraphParams) <-chan AzureResult[json.RawMessage] ListAzureADAppOwners(ctx context.Context, objectId string, params query.GraphParams) <-chan AzureResult[json.RawMessage] ListAzureADApps(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.Application] ListAzureADUsers(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.User] ListAzureADRoleAssignments(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.UnifiedRoleAssignment] ListAzureADRoles(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.Role] ListAzureADServicePrincipalOwners(ctx context.Context, objectId string, params query.GraphParams) <-chan AzureResult[json.RawMessage] ListAzureADServicePrincipals(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.ServicePrincipal] ListAzureDeviceRegisteredOwners(ctx context.Context, objectId string, params query.GraphParams) <-chan AzureResult[json.RawMessage] ListAzureDevices(ctx context.Context, params query.GraphParams) <-chan AzureResult[azure.Device] ListAzureADAppRoleAssignments(ctx context.Context, servicePrincipalId string, params query.GraphParams) <-chan AzureResult[azure.AppRoleAssignment] }
type AzureResourceManagerClient ¶
type AzureResourceManagerClient interface { GetAzureADTenants(ctx context.Context, includeAllTenantCategories bool) (azure.TenantList, error) ListRoleAssignmentsForResource(ctx context.Context, resourceId string, filter, tenantId string) <-chan AzureResult[azure.RoleAssignment] ListAzureADTenants(ctx context.Context, includeAllTenantCategories bool) <-chan AzureResult[azure.Tenant] ListAzureContainerRegistries(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.ContainerRegistry] ListAzureWebApps(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.WebApp] ListAzureManagedClusters(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.ManagedCluster] ListAzureVMScaleSets(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.VMScaleSet] ListAzureKeyVaults(ctx context.Context, subscriptionId string, params query.RMParams) <-chan AzureResult[azure.KeyVault] ListAzureManagementGroups(ctx context.Context, skipToken string) <-chan AzureResult[azure.ManagementGroup] ListAzureManagementGroupDescendants(ctx context.Context, groupId string, top int32) <-chan AzureResult[azure.DescendantInfo] ListAzureResourceGroups(ctx context.Context, subscriptionId string, params query.RMParams) <-chan AzureResult[azure.ResourceGroup] ListAzureSubscriptions(ctx context.Context) <-chan AzureResult[azure.Subscription] ListAzureVirtualMachines(ctx context.Context, subscriptionId string, params query.RMParams) <-chan AzureResult[azure.VirtualMachine] ListAzureStorageAccounts(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.StorageAccount] ListAzureStorageContainers(ctx context.Context, subscriptionId string, resourceGroupName string, saName string, filter string, includeDeleted string, maxPageSize string) <-chan AzureResult[azure.StorageContainer] ListAzureAutomationAccounts(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.AutomationAccount] ListAzureLogicApps(ctx context.Context, subscriptionId string, filter string, top int32) <-chan AzureResult[azure.LogicApp] ListAzureFunctionApps(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.FunctionApp] ListAzureNetworkSecurityGroups(ctx context.Context, subscriptionId string) <-chan AzureResult[azure.NetworkSecurityGroup] }
type AzureResult ¶
Source Files ¶
- app_role_assignments.go
- apps.go
- automation_accounts.go
- client.go
- container_registries.go
- devices.go
- function_apps.go
- groups.go
- keyvaults.go
- logic_apps.go
- managed_clusters.go
- management_groups.go
- network_security_groups.go
- resource_groups.go
- role_assignments.go
- roles.go
- service_principals.go
- storage_accounts.go
- subscriptions.go
- tenants.go
- users.go
- virtual_machines.go
- vm_scale_sets.go
- web_apps.go
Click to show internal directories.
Click to hide internal directories.