Documentation ¶
Index ¶
- func Env() struct{ ... }
- type APIM
- func (a APIM) CreateOrUpdateBackend(resourceGroup, serviceName, backendID, url, protocol string)
- func (apim APIM) ExportBackendsTemplate(resourceGroup, serviceName, pathBackend string)
- func (a APIM) GetAPIPolicy(resourceGroup, serviceName, apiID string) models.Policies
- func (a APIM) GetBackendIDfromURL(resourceGroup, serviceName, url string) (string, error)
- func (a APIM) GetBackendURLfromID(resourceGroup, serviceName, backendID string) (string, error)
- func (apim APIM) ListAPI(resourceGroup, serviceName, filterDisplayName string, option string)
- func (a APIM) ListAPIsDependingOnBackend(resourceGroup, serviceName, backendID, url string)
- func (apim APIM) ListBackend(resourceGroup, serviceName, filterDisplayName, option string)
- type Api
- type Backend
- type Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIM ¶
type APIM struct { SubscriptionID string Location string Credential *azidentity.DefaultAzureCredential Context context.Context }
func (APIM) CreateOrUpdateBackend ¶
go run main.go apim backend create --resource-group rg-tarathec-poc-az-asse-sbx-001 --service-name apimpocazassesbx003 --backend-id hello --url https://tarathep.com --protocol http
func (APIM) ExportBackendsTemplate ¶
func (APIM) GetAPIPolicy ¶
func (APIM) GetBackendIDfromURL ¶
Get Backend ID by URL from APIM
func (APIM) GetBackendURLfromID ¶
func (APIM) ListAPIsDependingOnBackend ¶
func (APIM) ListBackend ¶
Click to show internal directories.
Click to hide internal directories.