describer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdAdminConsentRequestPolicy

func AdAdminConsentRequestPolicy(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdAppRegistration

func AdAppRegistration(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdApplication

func AdApplication(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdAuthorizationPolicy

func AdAuthorizationPolicy(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdConditionalAccessPolicy

func AdConditionalAccessPolicy(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdDevice

func AdDevice(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdDirectoryAuditReport

func AdDirectoryAuditReport(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdDirectoryRole

func AdDirectoryRole(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdDirectorySetting

func AdDirectorySetting(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdDomain

func AdDomain(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdEnterpriseApplication

func AdEnterpriseApplication(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdGroup

func AdGroupMembership

func AdGroupMembership(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdIdentityProvider

func AdIdentityProvider(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdManagedIdentity

func AdManagedIdentity(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdMicrosoftApplication

func AdMicrosoftApplication(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdSecurityDefaultsPolicy

func AdSecurityDefaultsPolicy(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdServicePrinciple

func AdServicePrinciple(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdSignInReport

func AdSignInReport(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdTenant

func AdTenant(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdUserRegistrationDetails

func AdUserRegistrationDetails(ctx context.Context, cred *azidentity.ClientSecretCredential, tenantId string, stream *models2.StreamSender) ([]models2.Resource, error)

func AdUsers

func GetLoggerFromContext

func GetLoggerFromContext(ctx context.Context) *zap.Logger

func GetParameterFromContext

func GetParameterFromContext(ctx context.Context, key string) any

func GetTriggerTypeFromContext

func GetTriggerTypeFromContext(ctx context.Context) enums.DescribeTriggerType

func WithLogger

func WithLogger(ctx context.Context, logger *zap.Logger) context.Context

Types

type JSONAllFieldsMarshaller

type JSONAllFieldsMarshaller struct {
	Value interface{}
}

JSONAllFieldsMarshaller is a hack around the issue described here https://githubmemory.com/repo/Azure/azure-sdk-for-go/issues/12227 Azure sdk overrides all the MarshalJSON methods for the struct fields to exclude the 'READ-ONLY' fields from the JSON output of the struct. By simply wrapping the original struct by JSONAllFieldsMarshaller, all the fields will appear in the json output.

func (JSONAllFieldsMarshaller) MarshalJSON

func (x JSONAllFieldsMarshaller) MarshalJSON() (res []byte, err error)

func (*JSONAllFieldsMarshaller) UnmarshalJSON

func (x *JSONAllFieldsMarshaller) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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