-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into prometheus-rule-group-doc-fix
- Loading branch information
Showing
8,753 changed files
with
32,453 additions
and
36,246 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,36 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
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
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
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 ( | ||
|
Oops, something went wrong.