Skip to content

Commit

Permalink
Updating based on 69df43eeb
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Jan 18, 2024
1 parent 4e83d7c commit 0979061
Show file tree
Hide file tree
Showing 6,984 changed files with 6,984 additions and 6,984 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = DomainServiceId{}
var _ resourceids.ResourceId = &DomainServiceId{}

func TestNewDomainServiceID(t *testing.T) {
id := NewDomainServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "domainServiceValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = DomainServiceId{}
var _ resourceids.ResourceId = &DomainServiceId{}

func TestNewDomainServiceID(t *testing.T) {
id := NewDomainServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "domainServiceValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = OuContainerId{}
var _ resourceids.ResourceId = &OuContainerId{}

func TestNewOuContainerID(t *testing.T) {
id := NewOuContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "domainServiceValue", "ouContainerValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) HashiCorp Inc. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = B2CDirectoryId{}
var _ resourceids.ResourceId = &B2CDirectoryId{}

func TestNewB2CDirectoryID(t *testing.T) {
id := NewB2CDirectoryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "directoryValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = GenerateRecommendationId{}
var _ resourceids.ResourceId = &GenerateRecommendationId{}

func TestNewGenerateRecommendationID(t *testing.T) {
id := NewGenerateRecommendationID("12345678-1234-9876-4563-123456789012", "operationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ScopedRecommendationId{}
var _ resourceids.ResourceId = &ScopedRecommendationId{}

func TestNewScopedRecommendationID(t *testing.T) {
id := NewScopedRecommendationID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "recommendationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = MetadataId{}
var _ resourceids.ResourceId = &MetadataId{}

func TestNewMetadataID(t *testing.T) {
id := NewMetadataID("metadataValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ScopedSuppressionId{}
var _ resourceids.ResourceId = &ScopedSuppressionId{}

func TestNewScopedSuppressionID(t *testing.T) {
id := NewScopedSuppressionID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "recommendationIdValue", "suppressionValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = AdvisorScoreId{}
var _ resourceids.ResourceId = &AdvisorScoreId{}

func TestNewAdvisorScoreID(t *testing.T) {
id := NewAdvisorScoreID("12345678-1234-9876-4563-123456789012", "advisorScoreValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = GenerateRecommendationId{}
var _ resourceids.ResourceId = &GenerateRecommendationId{}

func TestNewGenerateRecommendationID(t *testing.T) {
id := NewGenerateRecommendationID("12345678-1234-9876-4563-123456789012", "operationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ScopedRecommendationId{}
var _ resourceids.ResourceId = &ScopedRecommendationId{}

func TestNewScopedRecommendationID(t *testing.T) {
id := NewScopedRecommendationID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "recommendationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = MetadataId{}
var _ resourceids.ResourceId = &MetadataId{}

func TestNewMetadataID(t *testing.T) {
id := NewMetadataID("metadataValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ScopedSuppressionId{}
var _ resourceids.ResourceId = &ScopedSuppressionId{}

func TestNewScopedSuppressionID(t *testing.T) {
id := NewScopedSuppressionID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "recommendationIdValue", "suppressionValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = AdvisorScoreId{}
var _ resourceids.ResourceId = &AdvisorScoreId{}

func TestNewAdvisorScoreID(t *testing.T) {
id := NewAdvisorScoreID("12345678-1234-9876-4563-123456789012", "advisorScoreValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = GenerateRecommendationId{}
var _ resourceids.ResourceId = &GenerateRecommendationId{}

func TestNewGenerateRecommendationID(t *testing.T) {
id := NewGenerateRecommendationID("12345678-1234-9876-4563-123456789012", "operationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ScopedRecommendationId{}
var _ resourceids.ResourceId = &ScopedRecommendationId{}

func TestNewScopedRecommendationID(t *testing.T) {
id := NewScopedRecommendationID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "recommendationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = MetadataId{}
var _ resourceids.ResourceId = &MetadataId{}

func TestNewMetadataID(t *testing.T) {
id := NewMetadataID("metadataValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ScopedSuppressionId{}
var _ resourceids.ResourceId = &ScopedSuppressionId{}

func TestNewScopedSuppressionID(t *testing.T) {
id := NewScopedSuppressionID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "recommendationIdValue", "suppressionValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ActionRuleId{}
var _ resourceids.ResourceId = &ActionRuleId{}

func TestNewActionRuleID(t *testing.T) {
id := NewActionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionRuleValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = AlertId{}
var _ resourceids.ResourceId = &AlertId{}

func TestNewAlertID(t *testing.T) {
id := NewAlertID("12345678-1234-9876-4563-123456789012", "alertIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = SmartGroupId{}
var _ resourceids.ResourceId = &SmartGroupId{}

func TestNewSmartGroupID(t *testing.T) {
id := NewSmartGroupID("12345678-1234-9876-4563-123456789012", "smartGroupIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = SmartDetectorAlertRuleId{}
var _ resourceids.ResourceId = &SmartDetectorAlertRuleId{}

func TestNewSmartDetectorAlertRuleID(t *testing.T) {
id := NewSmartDetectorAlertRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "smartDetectorAlertRuleValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ActionRuleId{}
var _ resourceids.ResourceId = &ActionRuleId{}

func TestNewActionRuleID(t *testing.T) {
id := NewActionRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "actionRuleValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = PrometheusRuleGroupId{}
var _ resourceids.ResourceId = &PrometheusRuleGroupId{}

func TestNewPrometheusRuleGroupID(t *testing.T) {
id := NewPrometheusRuleGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "prometheusRuleGroupValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = LocationId{}
var _ resourceids.ResourceId = &LocationId{}

func TestNewLocationID(t *testing.T) {
id := NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ServerId{}
var _ resourceids.ResourceId = &ServerId{}

func TestNewServerID(t *testing.T) {
id := NewServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiId{}
var _ resourceids.ResourceId = &ApiId{}

func TestNewApiID(t *testing.T) {
id := NewApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ServiceId{}
var _ resourceids.ResourceId = &ServiceId{}

func TestNewServiceID(t *testing.T) {
id := NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiId{}
var _ resourceids.ResourceId = &ApiId{}

func TestNewApiID(t *testing.T) {
id := NewApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiDiagnosticId{}
var _ resourceids.ResourceId = &ApiDiagnosticId{}

func TestNewApiDiagnosticID(t *testing.T) {
id := NewApiDiagnosticID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "diagnosticIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiId{}
var _ resourceids.ResourceId = &ApiId{}

func TestNewApiID(t *testing.T) {
id := NewApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiIssueId{}
var _ resourceids.ResourceId = &ApiIssueId{}

func TestNewApiIssueID(t *testing.T) {
id := NewApiIssueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "issueIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiIssueId{}
var _ resourceids.ResourceId = &ApiIssueId{}

func TestNewApiIssueID(t *testing.T) {
id := NewApiIssueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "issueIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = AttachmentId{}
var _ resourceids.ResourceId = &AttachmentId{}

func TestNewAttachmentID(t *testing.T) {
id := NewAttachmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "issueIdValue", "attachmentIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiIssueId{}
var _ resourceids.ResourceId = &ApiIssueId{}

func TestNewApiIssueID(t *testing.T) {
id := NewApiIssueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "issueIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = CommentId{}
var _ resourceids.ResourceId = &CommentId{}

func TestNewCommentID(t *testing.T) {
id := NewCommentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "issueIdValue", "commentIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ServiceId{}
var _ resourceids.ResourceId = &ServiceId{}

func TestNewServiceID(t *testing.T) {
id := NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ServiceId{}
var _ resourceids.ResourceId = &ServiceId{}

func TestNewServiceID(t *testing.T) {
id := NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiId{}
var _ resourceids.ResourceId = &ApiId{}

func TestNewApiID(t *testing.T) {
id := NewApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = OperationId{}
var _ resourceids.ResourceId = &OperationId{}

func TestNewOperationID(t *testing.T) {
id := NewOperationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "operationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = OperationId{}
var _ resourceids.ResourceId = &OperationId{}

func TestNewOperationID(t *testing.T) {
id := NewOperationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "operationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = ApiId{}
var _ resourceids.ResourceId = &ApiId{}

func TestNewApiID(t *testing.T) {
id := NewApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = OperationId{}
var _ resourceids.ResourceId = &OperationId{}

func TestNewOperationID(t *testing.T) {
id := NewOperationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "operationIdValue")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

var _ resourceids.ResourceId = OperationTagId{}
var _ resourceids.ResourceId = &OperationTagId{}

func TestNewOperationTagID(t *testing.T) {
id := NewOperationTagID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "apiIdValue", "operationIdValue", "tagIdValue")
Expand Down
Loading

0 comments on commit 0979061

Please sign in to comment.