Documentation ¶
Index ¶
- type ManagementGroupAssignmentId
- type PolicyAssignmentId
- type PolicyDefinitionId
- type PolicyRemediationId
- type PolicyScopeId
- type PolicySetDefinitionId
- type ResourceGroupAssignmentId
- type ScopeAtManagementGroup
- type ScopeAtResource
- type ScopeAtResourceGroup
- type ScopeAtSubscription
- type SubscriptionAssignmentId
- type VirtualMachineConfigurationAssignmentId
- func NewVirtualMachineConfigurationAssignmentID(subscriptionId, resourceGroup, virtualMachineName, ... string) VirtualMachineConfigurationAssignmentId
- func VirtualMachineConfigurationAssignmentID(input string) (*VirtualMachineConfigurationAssignmentId, error)
- func VirtualMachineConfigurationAssignmentIDInsensitively(input string) (*VirtualMachineConfigurationAssignmentId, error)
- type VirtualMachineConfigurationPolicyAssignmentId
- func NewVirtualMachineConfigurationPolicyAssignmentID(subscriptionId, resourceGroup, virtualMachineName, ... string) VirtualMachineConfigurationPolicyAssignmentId
- func VirtualMachineConfigurationPolicyAssignmentID(input string) (*VirtualMachineConfigurationPolicyAssignmentId, error)
- func VirtualMachineConfigurationPolicyAssignmentIDInsensitively(input string) (*VirtualMachineConfigurationPolicyAssignmentId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementGroupAssignmentId ¶
func ManagementGroupAssignmentID ¶
func ManagementGroupAssignmentID(input string) (*ManagementGroupAssignmentId, error)
ManagementGroupAssignmentID parses a ManagementGroupAssignment ID into an ManagementGroupAssignmentId struct
func NewManagementGroupAssignmentID ¶
func NewManagementGroupAssignmentID(managementGroupName, policyAssignmentName string) ManagementGroupAssignmentId
func (ManagementGroupAssignmentId) ID ¶
func (id ManagementGroupAssignmentId) ID() string
func (ManagementGroupAssignmentId) String ¶
func (id ManagementGroupAssignmentId) String() string
type PolicyAssignmentId ¶
func NewPolicyAssignmentId ¶
func NewPolicyAssignmentId(scope, name string) PolicyAssignmentId
func PolicyAssignmentID ¶
func PolicyAssignmentID(input string) (*PolicyAssignmentId, error)
TODO: This paring function is currently suppressing every case difference due to github issue: https://github.com/Azure/azure-rest-api-specs/issues/8353
func (PolicyAssignmentId) ID ¶
func (id PolicyAssignmentId) ID() string
func (PolicyAssignmentId) String ¶
func (id PolicyAssignmentId) String() string
type PolicyDefinitionId ¶
type PolicyDefinitionId struct { Name string Id string PolicyScopeId }
func PolicyDefinitionID ¶
func PolicyDefinitionID(input string) (*PolicyDefinitionId, error)
TODO: This parsing function is currently suppressing every case difference due to github issue: https://github.com/Azure/azure-rest-api-specs/issues/8353
type PolicyRemediationId ¶
type PolicyRemediationId struct { Name string PolicyScopeId }
func PolicyRemediationID ¶
func PolicyRemediationID(input string) (*PolicyRemediationId, error)
TODO: This paring function is currently suppressing every case difference due to github issue: https://github.com/Azure/azure-rest-api-specs/issues/8353 Currently the returned Remediation response from the service will have all the IDs converted into lower cases
type PolicyScopeId ¶
type PolicyScopeId interface {
ScopeId() string
}
func PolicyScopeID ¶
func PolicyScopeID(input string) (PolicyScopeId, error)
type PolicySetDefinitionId ¶
type PolicySetDefinitionId struct { Name string Id string PolicyScopeId }
func PolicySetDefinitionID ¶
func PolicySetDefinitionID(input string) (*PolicySetDefinitionId, error)
TODO: This parsing function is currently suppressing case difference due to github issue: https://github.com/Azure/azure-rest-api-specs/issues/8353
type ResourceGroupAssignmentId ¶
type ResourceGroupAssignmentId struct { SubscriptionId string ResourceGroup string PolicyAssignmentName string }
func NewResourceGroupAssignmentID ¶
func NewResourceGroupAssignmentID(subscriptionId, resourceGroup, policyAssignmentName string) ResourceGroupAssignmentId
func ResourceGroupAssignmentID ¶
func ResourceGroupAssignmentID(input string) (*ResourceGroupAssignmentId, error)
ResourceGroupAssignmentID parses a ResourceGroupAssignment ID into an ResourceGroupAssignmentId struct
func (ResourceGroupAssignmentId) ID ¶
func (id ResourceGroupAssignmentId) ID() string
func (ResourceGroupAssignmentId) String ¶
func (id ResourceGroupAssignmentId) String() string
type ScopeAtManagementGroup ¶
type ScopeAtManagementGroup struct { ManagementGroupName string // contains filtered or unexported fields }
func (ScopeAtManagementGroup) ScopeId ¶
func (id ScopeAtManagementGroup) ScopeId() string
type ScopeAtResource ¶
type ScopeAtResource struct {
// contains filtered or unexported fields
}
func (ScopeAtResource) ScopeId ¶
func (id ScopeAtResource) ScopeId() string
type ScopeAtResourceGroup ¶
type ScopeAtResourceGroup struct { SubscriptionId string ResourceGroup string // contains filtered or unexported fields }
func (ScopeAtResourceGroup) ScopeId ¶
func (id ScopeAtResourceGroup) ScopeId() string
type ScopeAtSubscription ¶
type ScopeAtSubscription struct { SubscriptionId string // contains filtered or unexported fields }
func (ScopeAtSubscription) ScopeId ¶
func (id ScopeAtSubscription) ScopeId() string
type SubscriptionAssignmentId ¶
func NewSubscriptionAssignmentID ¶
func NewSubscriptionAssignmentID(subscriptionId, policyAssignmentName string) SubscriptionAssignmentId
func SubscriptionAssignmentID ¶
func SubscriptionAssignmentID(input string) (*SubscriptionAssignmentId, error)
SubscriptionAssignmentID parses a SubscriptionAssignment ID into an SubscriptionAssignmentId struct
func (SubscriptionAssignmentId) ID ¶
func (id SubscriptionAssignmentId) ID() string
func (SubscriptionAssignmentId) String ¶
func (id SubscriptionAssignmentId) String() string
type VirtualMachineConfigurationAssignmentId ¶
type VirtualMachineConfigurationAssignmentId struct { SubscriptionId string ResourceGroup string VirtualMachineName string GuestConfigurationAssignmentName string }
func NewVirtualMachineConfigurationAssignmentID ¶
func NewVirtualMachineConfigurationAssignmentID(subscriptionId, resourceGroup, virtualMachineName, guestConfigurationAssignmentName string) VirtualMachineConfigurationAssignmentId
func VirtualMachineConfigurationAssignmentID ¶
func VirtualMachineConfigurationAssignmentID(input string) (*VirtualMachineConfigurationAssignmentId, error)
VirtualMachineConfigurationAssignmentID parses a VirtualMachineConfigurationAssignment ID into an VirtualMachineConfigurationAssignmentId struct
func VirtualMachineConfigurationAssignmentIDInsensitively ¶
func VirtualMachineConfigurationAssignmentIDInsensitively(input string) (*VirtualMachineConfigurationAssignmentId, error)
VirtualMachineConfigurationAssignmentIDInsensitively parses an VirtualMachineConfigurationAssignment ID into an VirtualMachineConfigurationAssignmentId struct, insensitively This should only be used to parse an ID for rewriting, the VirtualMachineConfigurationAssignmentID method should be used instead for validation etc.
Whilst this may seem strange, this enables Terraform have consistent casing which works around issues in Core, whilst handling broken API responses.
func (VirtualMachineConfigurationAssignmentId) ID ¶
func (id VirtualMachineConfigurationAssignmentId) ID() string
func (VirtualMachineConfigurationAssignmentId) String ¶
func (id VirtualMachineConfigurationAssignmentId) String() string
type VirtualMachineConfigurationPolicyAssignmentId ¶
type VirtualMachineConfigurationPolicyAssignmentId struct { SubscriptionId string ResourceGroup string VirtualMachineName string GuestConfigurationAssignmentName string }
func NewVirtualMachineConfigurationPolicyAssignmentID ¶
func NewVirtualMachineConfigurationPolicyAssignmentID(subscriptionId, resourceGroup, virtualMachineName, guestConfigurationAssignmentName string) VirtualMachineConfigurationPolicyAssignmentId
func VirtualMachineConfigurationPolicyAssignmentID ¶
func VirtualMachineConfigurationPolicyAssignmentID(input string) (*VirtualMachineConfigurationPolicyAssignmentId, error)
VirtualMachineConfigurationPolicyAssignmentID parses a VirtualMachineConfigurationPolicyAssignment ID into an VirtualMachineConfigurationPolicyAssignmentId struct
func VirtualMachineConfigurationPolicyAssignmentIDInsensitively ¶
func VirtualMachineConfigurationPolicyAssignmentIDInsensitively(input string) (*VirtualMachineConfigurationPolicyAssignmentId, error)
VirtualMachineConfigurationPolicyAssignmentIDInsensitively parses an VirtualMachineConfigurationPolicyAssignment ID into an VirtualMachineConfigurationPolicyAssignmentId struct, insensitively This should only be used to parse an ID for rewriting, the VirtualMachineConfigurationPolicyAssignmentID method should be used instead for validation etc.
Whilst this may seem strange, this enables Terraform have consistent casing which works around issues in Core, whilst handling broken API responses.
func (VirtualMachineConfigurationPolicyAssignmentId) ID ¶
func (id VirtualMachineConfigurationPolicyAssignmentId) ID() string
func (VirtualMachineConfigurationPolicyAssignmentId) String ¶
func (id VirtualMachineConfigurationPolicyAssignmentId) String() string