azureclient

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PublicCloud contains additional ARO information for the public Azure cloud environment.
	PublicCloud = AROEnvironment{
		Environment:              azure.PublicCloud,
		ActualCloudName:          "AzureCloud",
		GenevaMonitoringEndpoint: "https://gcs.prod.monitoring.core.windows.net/",
		AppSuffix:                "aro.azure.com",
	}

	// USGovernmentCloud contains additional ARO information for the US Gov cloud environment.
	USGovernmentCloud = AROEnvironment{
		Environment:              azure.USGovernmentCloud,
		ActualCloudName:          "AzureUSGovernment",
		GenevaMonitoringEndpoint: "https://gcs.monitoring.core.usgovcloudapi.net/",
		AppSuffix:                "aro.azure.us",
	}
)

Functions

func APIVersion

func APIVersion(typ string) string

APIVersion gets the APIVersion from a full resource type

Types

type AROEnvironment

type AROEnvironment struct {
	azure.Environment
	ActualCloudName          string
	GenevaMonitoringEndpoint string
	AppSuffix                string
}

AROEnvironment contains additional, cloud-specific information needed by ARO.

func EnvironmentFromName

func EnvironmentFromName(name string) (AROEnvironment, error)

EnvironmentFromName returns the AROEnvironment corresponding to the common name specified.

type LoggingSender

type LoggingSender struct {
	autorest.Sender
}

LoggingSender intercepts requests and logs them out. Usage: client.Sender = &LoggingSender{client.Sender}

func (*LoggingSender) Do

func (ls *LoggingSender) Do(req *http.Request) (*http.Response, error)

Directories

Path Synopsis
mgmt
dns
insights/insights
Package insights implements the Azure ARM Insights service API version .
Package insights implements the Azure ARM Insights service API version .
msi

Jump to

Keyboard shortcuts

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