-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hashicorp:main' into nginxaas_nap
- Loading branch information
Showing
8,781 changed files
with
32,241 additions
and
38,163 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package authorization | ||
|
||
import "github.com/hashicorp/go-azure-sdk/resource-manager/authorization/2020-10-01/rolemanagementpolicies" | ||
|
||
var _ rolemanagementpolicies.RoleManagementPolicyRule = RoleManagementPolicyRule{} | ||
|
||
// RoleManagementPolicyRule is a temporary workaround because the child models for rolemanagementpolicies.RoleManagementPolicyRule | ||
// do not yet exist, due to issues resolving these child types in the Pandora importer. | ||
// TODO: replace this type with the correct child models from the SDK package, once they are implemented | ||
type RoleManagementPolicyRule struct { | ||
Id *string `json:"id,omitempty"` | ||
RuleType rolemanagementpolicies.RoleManagementPolicyRuleType `json:"ruleType"` | ||
|
||
ClaimValue *string `json:"claimValue,omitempty"` | ||
EnabledRules *[]string `json:"enabledRules,omitempty"` | ||
IsDefaultRecipientsEnabled *bool `json:"isDefaultRecipientsEnabled"` | ||
IsEnabled *bool `json:"isEnabled,omitempty"` | ||
IsExpirationRequired *bool `json:"isExpirationRequired,omitempty"` | ||
MaximumDuration *string `json:"maximumDuration,omitempty"` | ||
NotificationLevel *string `json:"notificationLevel"` | ||
NotificationRecipients *[]string `json:"notificationRecipients"` | ||
NotificationType *string `json:"notificationType"` | ||
RecipientType *string `json:"recipientType"` | ||
Setting map[string]interface{} `json:"setting,omitempty"` | ||
Target map[string]interface{} `json:"target,omitempty"` | ||
} | ||
|
||
func (r RoleManagementPolicyRule) RoleManagementPolicyRule() rolemanagementpolicies.BaseRoleManagementPolicyRuleImpl { | ||
return rolemanagementpolicies.BaseRoleManagementPolicyRuleImpl{ | ||
Id: r.Id, | ||
RuleType: r.RuleType, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
internal/services/azurestackhci/stack_hci_deployment_setting_resource.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package azurestackhci | ||
|
||
import ( | ||
|
3 changes: 3 additions & 0 deletions
3
internal/services/azurestackhci/stack_hci_deployment_setting_resource_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package azurestackhci_test | ||
|
||
import ( | ||
|
3 changes: 3 additions & 0 deletions
3
internal/services/azurestackhci/stack_hci_storage_path_resource.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package azurestackhci | ||
|
||
import ( | ||
|
3 changes: 3 additions & 0 deletions
3
internal/services/azurestackhci/stack_hci_storage_path_resource_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package azurestackhci_test | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.