apimshared

package
v0.0.0-...-f3301ad Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIMgmtSvcStatus

func APIMgmtSvcStatus(ctx context.Context, creds config.Credentials, resourceGroupName, resourceName string) (exists bool, result bool, resourceID *string, err error)

APIMgmtSvcStatus check to see if the API Mgmt Svc has been activated, returns "true" if it has been activated

func CheckAPIMgmtSvcName

func CheckAPIMgmtSvcName(ctx context.Context, creds config.Credentials, resourceName string) (available bool, err error)

CheckAPIMgmtSvcName checks to see if the APIM service name is available

func GetAPIMClient

func GetAPIMClient(creds config.Credentials) (apim.APIClient, error)

GetAPIMClient returns a pointer to an API Management client

func GetAPIMgmtLoggerClient

func GetAPIMgmtLoggerClient(creds config.Credentials) (apim.LoggerClient, error)

GetAPIMgmtLoggerClient returns a new instance of an VirtualNetwork client

func GetAPIMgmtSvc

func GetAPIMgmtSvc(ctx context.Context, creds config.Credentials, resourceGroupName, resourceName string) (apim.ServiceResource, error)

GetAPIMgmtSvc returns an instance of an APIM service

func GetAPIMgmtSvcClient

func GetAPIMgmtSvcClient(creds config.Credentials) (apim.ServiceClient, error)

GetAPIMgmtSvcClient returns a new instance of an API Svc client

func GetAppInstanceIDByName

func GetAppInstanceIDByName(ctx context.Context, creds config.Credentials, resourceGroup, resourceName string) (insights.ApplicationInsightsComponent, error)

GetAppInstanceIDByName retrieves an app insight by name

func GetInsightsClient

func GetInsightsClient(creds config.Credentials) (insights.ComponentsClient, error)

GetInsightsClient retrieves a client

func GetSubnetConfigurationByName

func GetSubnetConfigurationByName(ctx context.Context, creds config.Credentials, resourceGroupName, resourceName, subnetName string) (apim.VirtualNetworkConfiguration, error)

GetSubnetConfigurationByName gets a VNet by name

func GetVNetClient

func GetVNetClient(creds config.Credentials) (vnet.VirtualNetworksClient, error)

GetVNetClient returns a new instance of an VirtualNetwork client

Types

This section is empty.

Jump to

Keyboard shortcuts

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