Documentation ¶
Index ¶
- type Azure
- func (azure *Azure) CreateEndpoint(request *types.CreateEndpointRequest) (*types.Endpoint, error)
- func (az *Azure) CreatePrivateLinkService(req types.PlsRequest) (res types.PlsResponse, err error)
- func (azure *Azure) DeleteEndpoint(ctx context.Context, endpointID string) error
- func (az *Azure) DeletePrivateLinkService(req types.PlsRequest) (err error)
- func (azure *Azure) DeleteSecurityGroup(ctx context.Context, securityGroupID string) error
- func (azure *Azure) FindMySubnetID(metadata *Instance) (string, error)
- func (azure *Azure) GetCallerIdentity() (*string, error)
- func (azure *Azure) GetEndpoint(request *types.CreateEndpointRequest) (*types.Endpoint, error)
- func (az *Azure) GetMetadata() (metadata types.Metadata, err error)
- func (az *Azure) GetPrivateLinkServiceResources(req types.PlsRequest) (res types.PlsResourcesResponse, err error)
- func (az *Azure) GetProvider() types.Vendor
- func (azure *Azure) LoadCredentials()
- func (azure *Azure) ToTags(tags map[string]string) (resTags map[string]*string)
- func (az *Azure) UserAgent() string
- type BaseName
- type Compute
- type IPAddress
- type IPv4
- type IPv6
- type Instance
- type Interface
- type Network
- type OsProfile
- type Subnet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Azure ¶
type Azure struct {
// contains filtered or unexported fields
}
func (*Azure) CreateEndpoint ¶
func (*Azure) CreatePrivateLinkService ¶ added in v0.2.24
func (az *Azure) CreatePrivateLinkService(req types.PlsRequest) (res types.PlsResponse, err error)
CreatePrivateLinkService creates a private link service and returns its ID and the list of resource IDs related to it. This action is idempotent.
func (*Azure) DeleteEndpoint ¶
1. Delete Endpoint
func (*Azure) DeletePrivateLinkService ¶ added in v0.2.46
func (az *Azure) DeletePrivateLinkService(req types.PlsRequest) (err error)
func (*Azure) DeleteSecurityGroup ¶ added in v0.2.1
func (*Azure) FindMySubnetID ¶ added in v0.1.11
func (*Azure) GetCallerIdentity ¶ added in v0.2.16
func (*Azure) GetEndpoint ¶ added in v0.1.11
func (*Azure) GetPrivateLinkServiceResources ¶ added in v0.2.46
func (az *Azure) GetPrivateLinkServiceResources(req types.PlsRequest) (res types.PlsResourcesResponse, err error)
GetPrivateLinkService return private link service ID and list of resource IDs related to it.
func (*Azure) GetProvider ¶ added in v0.1.11
func (*Azure) LoadCredentials ¶ added in v0.2.18
func (azure *Azure) LoadCredentials()
type Compute ¶
type Compute struct { AzEnvironment string `json:"azEnvironment"` IsHostCompatibilityLayerVM string `json:"isHostCompatibilityLayerVm"` LicenseType string `json:"licenseType,omitempty"` Location string `json:"location"` Name string `json:"name"` Offer string `json:"offer"` OsProfile OsProfile `json:"osProfile"` OsType string `json:"osType"` PlacementGroupID string `json:"placementGroupId"` // plan // platformUpdateDomain // platformFaultDomain // provider // publicKeys // publisher ResourceGroupName string `json:"resourceGroupName"` ResourceID string `json:"resourceId"` Sku string `json:"sku"` // securityProfile // storageProfile SubscriptionID uuid.UUID `json:"subscriptionId"` Tags string `json:"tags"` // tagsList Version string `json:"version"` VMID uuid.UUID `json:"vmId"` VMScaleSetName string `json:"vmScaleSetName"` VMSize string `json:"vmSize"` Zone string `json:"zone"` }
Compute - describe Azure compute element
type IPAddress ¶
type IPAddress struct { PrivateIPAddress string `json:"privateIpAddress"` PublicIPAddress string `json:"publicIpAddress"` }
IPAddress - IP address configuration
type Interface ¶
type Interface struct { IPv4 IPv4 `json:"ipv4"` IPv6 IPv6 `json:"ipv6"` MacAddress string `json:"macAddress"` }
Interface description
Click to show internal directories.
Click to hide internal directories.