Skip to content

Commit

Permalink
Update marketplace subscription info
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Aug 6, 2024
1 parent 6d484cb commit 2eceb6c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions apis/config/v1alpha1/setupconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,18 +154,17 @@ type MarketplaceSubscriptionInfo struct {
GCP *GCPSubscriptionInfo `json:"gcp,omitempty"`
}

// https://docs.aws.amazon.com/marketplacemetering/latest/APIReference/API_MeterUsage.html
type AWSMarSubscriptionInfo struct {
CustomerIdentifier string `json:"customer-identifier"`
ProductCode string `json:"product-code"`
OfferIdentifier string `json:"offer-identifier"`
MeteringServiceProxyToken string `json:"meteringServiceProxyToken"`
}

// https://learn.microsoft.com/en-us/azure/azure-resource-manager/managed-applications/publish-notifications
type AzureSubscriptionInfo struct {
ApplicationID string `json:"applicationId"`
// SubscriptionID string `json:"subscriptionId"`
// ResourceGroupName string `json:"resourceGroupName"`
// ApplicationName string `json:"applicationName"`
}

type GCPSubscriptionInfo struct{}
// https://cloud.google.com/service-infrastructure/docs/service-control/reference/rest/v2/services/report
type GCPSubscriptionInfo struct {
ServiceControlProxyToken string `json:"serviceControlProxyToken"`
}

0 comments on commit 2eceb6c

Please sign in to comment.