diff --git a/services/appinsights/mgmt/2015-05-01/insights/models.go b/services/appinsights/mgmt/2015-05-01/insights/models.go index 4080fa8c52df..5f9442d9ae8a 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/models.go +++ b/services/appinsights/mgmt/2015-05-01/insights/models.go @@ -883,6 +883,8 @@ type ApplicationInsightsComponentProperties struct { DisableIPMasking *bool `json:"DisableIpMasking,omitempty"` // ImmediatePurgeDataOn30Days - Purge data immediately after 30 days. ImmediatePurgeDataOn30Days *bool `json:"ImmediatePurgeDataOn30Days,omitempty"` + // PrivateLinkScopedResources - READ-ONLY; List of linked private link scope resources. + PrivateLinkScopedResources *[]PrivateLinkScopedResource `json:"PrivateLinkScopedResources,omitempty"` } // ApplicationInsightsComponentQuotaStatus an Application Insights component daily data volume cap status @@ -1205,6 +1207,14 @@ func NewOperationListResultPage(getNextPage func(context.Context, OperationListR return OperationListResultPage{fn: getNextPage} } +// PrivateLinkScopedResource the private link scope resource reference. +type PrivateLinkScopedResource struct { + // ResourceID - The full resource Id of the private link scope resource. + ResourceID *string `json:"ResourceId,omitempty"` + // ScopeID - The private link scope unique Identifier. + ScopeID *string `json:"ScopeId,omitempty"` +} + // TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on a // WebTest instance. type TagsResource struct { diff --git a/services/appinsights/mgmt/2015-05-01/insights/version.go b/services/appinsights/mgmt/2015-05-01/insights/version.go index 313c6d6bdd74..703103ff83ec 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/version.go +++ b/services/appinsights/mgmt/2015-05-01/insights/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " insights/2015-05-01" + return "Azure-SDK-For-Go/" + Version() + " insights/2015-05-01" } // Version returns the semantic version (see http://semver.org) of the client.