armmodel

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ArmResourceSep = "/"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApimServiceInfo

type ApimServiceInfo struct {
	ArmResource
	ServiceUrl string
}

ApimServiceInfo /subscriptions/<sub_id>/resourceGroups/<group>/providers/Microsoft.ApiManagement/service/<service>

func NewApimServiceInfo

func NewApimServiceInfo(fullyQualifiedId, resType, name, displayName, serviceUrl string) ApimServiceInfo

type ArmResource

type ArmResource struct {
	FullyQualifiedId string
	ResourceGroup    string
	Type             string
	Name             string
	DisplayName      string
}

ArmResource ResourceGroup - /subscriptions/<sub_id>/resourceGroups/<group>

func NewArmResource

func NewArmResource(fullyQualifiedId, resType, resName, displayName string) (ArmResource, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳