Documentation ¶
Index ¶
- Variables
- func Resource(endpoint Api) (*string, error)
- func Scope(endpoint Api) (*string, error)
- type Api
- func ApiManagementAPI(domainSuffix string) Api
- func CDNFrontDoorAPI(domainSuffix string) Api
- func ContainerRegistryAPI(domainSuffix string) Api
- func CosmosDBAPI(domainSuffix string) Api
- func DataLakeAPI(domainSuffix string) Api
- func ManagedHSMAPI(endpoint, domainSuffix string) Api
- func ServiceBusAPI(endpoint, domainSuffix string) Api
- func StorageSyncAPI(domainSuffix string) Api
- func TrafficManagerAPI(domainSuffix string) Api
- type ApiEndpoint
- func BatchAPI(endpoint string) *ApiEndpoint
- func KeyVaultAPI(domainSuffix string) *ApiEndpoint
- func MariaDBAPI(domainSuffix string) *ApiEndpoint
- func MicrosoftGraphAPI(endpoint string) *ApiEndpoint
- func MySqlAPI(domainSuffix string) *ApiEndpoint
- func NewApiEndpoint(name, endpoint string, microsoftGraphAppId *string) *ApiEndpoint
- func OperationalInsightsAPI() *ApiEndpoint
- func PostgresqlAPI(domainSuffix string) *ApiEndpoint
- func ResourceManagerAPI(endpoint string) *ApiEndpoint
- func SqlAPI(domainSuffix string) *ApiEndpoint
- func StorageAPI(domainSuffix string) *ApiEndpoint
- func SynapseAPI(domainSuffix string) *ApiEndpoint
- type Authorization
- type Environment
- func AzureChina() *Environment
- func AzurePublic() *Environment
- func AzurePublicCanary() *Environment
- func AzureUSGovernment() *Environment
- func AzureUSGovernmentL5() *Environment
- func FromEndpoint(ctx context.Context, endpoint, name string) (*Environment, error)
- func FromName(name string) (*Environment, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var PublishedApis = map[string]string{}/* 106 elements not displayed */
PublishedApis is a map containing Application IDs for well known APIs published by Microsoft. They can be used to acquire access tokens, but are primarily described here for easy inclusion in application manifests and service principal assignments.
Functions ¶
Types ¶
type Api ¶
type Api interface { DomainSuffix() (*string, bool) Endpoint() (*string, bool) MicrosoftGraphAppId() (*string, bool) Name() string ResourceIdentifier() (*string, bool) }
func ApiManagementAPI ¶
func CDNFrontDoorAPI ¶
func ContainerRegistryAPI ¶
func CosmosDBAPI ¶
func DataLakeAPI ¶
func ManagedHSMAPI ¶
func ServiceBusAPI ¶
func StorageSyncAPI ¶
func TrafficManagerAPI ¶
type ApiEndpoint ¶
type ApiEndpoint struct {
// contains filtered or unexported fields
}
func BatchAPI ¶
func BatchAPI(endpoint string) *ApiEndpoint
func KeyVaultAPI ¶
func KeyVaultAPI(domainSuffix string) *ApiEndpoint
func MariaDBAPI ¶
func MariaDBAPI(domainSuffix string) *ApiEndpoint
func MicrosoftGraphAPI ¶
func MicrosoftGraphAPI(endpoint string) *ApiEndpoint
func MySqlAPI ¶
func MySqlAPI(domainSuffix string) *ApiEndpoint
func NewApiEndpoint ¶
func NewApiEndpoint(name, endpoint string, microsoftGraphAppId *string) *ApiEndpoint
func OperationalInsightsAPI ¶
func OperationalInsightsAPI() *ApiEndpoint
func PostgresqlAPI ¶
func PostgresqlAPI(domainSuffix string) *ApiEndpoint
func ResourceManagerAPI ¶
func ResourceManagerAPI(endpoint string) *ApiEndpoint
func SqlAPI ¶
func SqlAPI(domainSuffix string) *ApiEndpoint
func StorageAPI ¶
func StorageAPI(domainSuffix string) *ApiEndpoint
func SynapseAPI ¶
func SynapseAPI(domainSuffix string) *ApiEndpoint
func (*ApiEndpoint) DomainSuffix ¶
func (e *ApiEndpoint) DomainSuffix() (*string, bool)
func (*ApiEndpoint) Endpoint ¶
func (e *ApiEndpoint) Endpoint() (*string, bool)
func (*ApiEndpoint) MicrosoftGraphAppId ¶
func (e *ApiEndpoint) MicrosoftGraphAppId() (*string, bool)
func (*ApiEndpoint) Name ¶
func (e *ApiEndpoint) Name() string
func (*ApiEndpoint) ResourceIdentifier ¶
func (e *ApiEndpoint) ResourceIdentifier() (*string, bool)
type Authorization ¶
type Environment ¶
type Environment struct { Name string Authorization *Authorization MicrosoftGraph Api ResourceManager Api AnalysisServices Api ApiManagement Api AppConfiguration Api ApplicationInsights Api AppService Api Attestation Api AzureADIdentityGovernanceInsights Api AzureADIntegratedApp Api AzureADNotification Api AzureCLI Api AzureDevOps Api AzureVPN Api Batch Api Bing Api BotFrameworkDevPortal Api BranchConnectWebService Api CDNFrontDoor Api Cognitive Api ComputeRecommendations Api ContainerRegistry Api Connections Api CortanaAtWork Api CortanaAtWorkBing Api CortanaRuntime Api CosmosDB Api CustomerInsights Api DataBricks Api DataCatalog Api DataLake Api DataMigrations Api DigitalTwins Api DomainController Api Dynamic365BusinessCentral Api Dynamics365DataExportService Api DynamicsCRM Api DynamicsERP Api EventHubs Api Flow Api GraphConnector Api HDInsight Api HealthCare Api IamSupportability Api ImportExport Api InformationProtectionSyncService Api InTune Api IoTCentral Api IoTHubDeviceProvisioning Api KeyVault Api KubernetesServiceAADServer Api Kusto Api KustoMFA Api LogAnalytics Api ManagedHSM Api Maps Api MariaDB Api MediaServices Api Microsoft365DataAtRestEncryption Api MicrosoftInvoicing Api MileIqAdminCenter Api MileIqDashboard Api MileIqRestService Api MixedReality Api MySql Api Office365Connectors Api Office365Demeter Api Office365DwEngineV2 Api Office365ExchangeOnline Api Office365ExchangeOnlineProtection Api Office365InformationProtection Api Office365Management Api Office365Portal Api Office365Zoom Api OneNote Api OneProfile Api OperationalInsights Api OSSRDMBS Api PeopleCards Api PolicyAdministration Api Portal Api Postgresql Api PowerAppsRuntime Api PowerAppsRuntimeService Api PowerBiService Api Purview Api RightsManagement Api SecurityInsights Api ServiceBus Api ServiceDeploy Api ServiceTrust Api SkypeForBusinessOnline Api Signup Api SpeechRecognition Api Sql Api StackHCI Api StreamAnalytics Api Storage Api StorageSync Api Synapse Api SynapseGateway Api SynapseStudio Api TargetedMessaging Api TimeSeriesInsights Api Teams Api ThreatProtection Api TrafficManager Api UniversalPrint Api WindowsDefenderATP Api WindowsVirtualDesktop Api Yammer Api }
func AzureChina ¶
func AzureChina() *Environment
func AzurePublic ¶
func AzurePublic() *Environment
func AzurePublicCanary ¶
func AzurePublicCanary() *Environment
func AzureUSGovernment ¶
func AzureUSGovernment() *Environment
func AzureUSGovernmentL5 ¶
func AzureUSGovernmentL5() *Environment
func FromEndpoint ¶
func FromEndpoint(ctx context.Context, endpoint, name string) (*Environment, error)
FromEndpoint attempts to load an environment from the given Endpoint.
func FromName ¶
func FromName(name string) (*Environment, error)
func (*Environment) RefreshMetaDataFromEndpoint ¶
func (e *Environment) RefreshMetaDataFromEndpoint(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.