Skip to main content

Crate cloud_terrastodon_azure_types

Crate cloud_terrastodon_azure_types 

Source

Re-exports§

pub use ipnetwork;
pub use uuid;

Modules§

serde_helpers

Macros§

impl_uuid_newtype
Implements common UUID-based traits & helpers for a newtype tuple struct or enum around a uuid::Uuid.

Structs§

Account
AccountUser
AdditionalCapabilities
AddressPrefixes
AppId
AutomaticOsUpgradeProperties
AzureAccessToken
AzureAppServicePrivateEndpointConnection
AzureAppServicePrivateEndpointConnectionProperties
AzureAppServicePrivateLinkServiceConnectionState
AzureAppServiceResource
AzureAppServiceResourceId
AzureAppServiceResourceName
Length 2-60. Alphanumeric or hyphen characters, including Unicode alphanumerics. Cannot start or end with a hyphen.
AzureAppServiceResourceProperties
AzureAppServiceResourceReference
AzureAppServiceSiteConfig
AzureApplicationGatewayBackendAddress
AzureApplicationGatewayBackendAddressPoolProperties
AzureApplicationGatewayBackendHttpSettingsProperties
AzureApplicationGatewayFrontendIpConfigurationProperties
AzureApplicationGatewayFrontendPortProperties
AzureApplicationGatewayGatewayIpConfigurationProperties
AzureApplicationGatewayHttpListenerProperties
AzureApplicationGatewayIdentity
AzureApplicationGatewayProbeMatch
AzureApplicationGatewayProbeProperties
AzureApplicationGatewayRequestRoutingRuleProperties
AzureApplicationGatewayResource
AzureApplicationGatewayResourceBackendHealthCertificateChainMetadata
AzureApplicationGatewayResourceBackendHealthCertificateMetadataEntry
AzureApplicationGatewayResourceBackendHealthHttpSettings
AzureApplicationGatewayResourceBackendHealthPool
AzureApplicationGatewayResourceBackendHealthResponse
AzureApplicationGatewayResourceBackendHealthServer
AzureApplicationGatewayResourceId
AzureApplicationGatewayResourceName
Length 1-80. Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. End with alphanumeric or underscore.
AzureApplicationGatewayResourceProperties
AzureApplicationGatewayResourceReference
AzureApplicationGatewaySku
AzureApplicationGatewaySslCertificateProperties
AzureApplicationGatewaySubResource
AzureApplicationGatewayTrustedRootCertificateProperties
AzureApplicationGatewayUserAssignedIdentity
AzureLocation
AzureLocationAvailabilityZoneMapping
AzureLocationPairedRegion
AzureNetworkInterfaceDnsSettings
AzureNetworkInterfaceIpConfiguration
AzureNetworkInterfaceIpConfigurationProperties
AzureNetworkInterfaceResource
AzureNetworkInterfaceResourceId
AzureNetworkInterfaceResourceName
Length 1-80. Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. End with alphanumeric or underscore.
AzureNetworkInterfaceResourceProperties
AzureNetworkInterfaceResourceReference
AzurePolicyDefinitionParametersDefinition
AzurePolicyDefinitionParametersDefinitionValue
AzurePolicyDefinitionParametersSupplied
AzurePolicyDefinitionParametersSuppliedValue
AzurePolicyDefinitionPolicyRule
AzurePolicyDefinitionPolicyRuleEffectBlock
AzurePolicyDefinitionPolicyRuleIfBlockAllOf
AzurePolicyDefinitionPolicyRuleIfBlockAnyOf
AzurePolicyDefinitionPolicyRuleIfBlockEquals
AzurePolicyDefinitionPolicyRuleIfBlockFieldIn
AzurePrivateEndpointCustomDnsConfig
AzurePrivateEndpointNetworkInterfaceReference
AzurePrivateEndpointPrivateLinkServiceConnection
AzurePrivateEndpointPrivateLinkServiceConnectionProperties
AzurePrivateEndpointPrivateLinkServiceConnectionState
AzurePrivateEndpointResource
AzurePrivateEndpointResourceId
AzurePrivateEndpointResourceName
Length 2-64. Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. End with alphanumeric or underscore.
AzurePrivateEndpointResourceProperties
AzurePrivateEndpointSubnetReference
AzurePublicIpConfigurationReference
AzurePublicIpDdosSettings
AzurePublicIpDnsSettings
AzurePublicIpResource
AzurePublicIpResourceId
AzurePublicIpResourceName
Length 1-80. Alphanumerics, underscores, periods, and hyphens. Start with alphanumeric. End with alphanumeric or underscore.
AzurePublicIpResourceProperties
AzurePublicIpSku
AzureTenantAlias
A Cloud Terrastodon-specific alias for a tracked Azure tenant.
AzureTenantId
BootDiagnostics
CidrHolder
ComputePublisherId
ComputePublisherName
ComputePublisherVmImageOfferId
ComputePublisherVmImageOfferName
ComputePublisherVmImageOfferSkuId
ComputePublisherVmImageOfferSkuName
ComputePublisherVmImageOfferSkuProperties
ComputePublisherVmImageOfferSkuVersion
ComputePublisherVmImageOfferSkuVersionId
ComputePublisherVmImageOfferSkuVersionName
ComputePublisherVmImageOfferSkuVersionProperties
ComputeSku
ComputeSkuCapability
ComputeSkuLocationInfo
ComputeSkuName
ComputeSkuRestriction
ComputeSkuRestrictionInfo
ConditionalAccessCountryNamedLocation
ConditionalAccessIpNamedLocation
ConditionalAccessNamedLocationId
ConditionalAccessPolicy
ConditionalAccessPolicyConditions
ConditionalAccessPolicyConditionsApplications
ConditionalAccessPolicyConditionsLocations
ConditionalAccessPolicyConditionsUsers
ConditionalAccessPolicyGrantControls
ConditionalAccessPolicyId
ContainerRegistry
ContainerRegistryId
ContainerRegistryName
ContainerRegistryRepositoryName
I was unable to find a definitive source for the rules governing container registry repository names.
ContainerRegistryRepositoryTag
ContainerRegistrySKU
CostManagementErrorDetails
CostManagementErrorResponse
CostManagementQueryAggregation
CostManagementQueryColumn
CostManagementQueryComparisonExpression
CostManagementQueryDataset
CostManagementQueryDefinition
CostManagementQueryFilter
CostManagementQueryGrouping
CostManagementQueryResult
CostManagementQueryResultProperties
CostManagementQuerySorting
CostManagementQueryTimePeriod
DataDisk
Delegation
DelegationProperties
DiagnosticsProfile
DistinctByScopeIterator
EligibleChildResource
EntraApplicationRegistration
EntraApplicationRegistrationId
EntraGroup
EntraGroupId
EntraServicePrincipal
EntraServicePrincipalId
EntraUser
EntraUserId
ExpirationRuleSetting
ExtendedProperties
GovernanceRoleAssignment
GovernanceRoleDefinition
GovernanceRoleDefinitionName
HardwareProfile
ImageDeprecationStatus
InstanceView
KeyVault
KeyVaultAccessPolicy
KeyVaultAccessPolicyPermissions
KeyVaultId
KeyVaultName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftkeyvault Constraints (Azure Key Vault name):
KeyVaultProperties
Selected Key Vault properties as returned by Azure. Some complex nested collections remain loosely typed (Value) until modeled (see TODOs).
KeyVaultSecret
KeyVaultSecretAttributes
KeyVaultSecretId
Something interchangeable with the format of https://keyvaultname.vault.azure.net/secrets/SECRETNAME
KeyVaultSecretName
Azure Key Vault Secret name constraints
KeyVaultSecretVersionId
Something interchangeable with the format of https://keyvaultname.vault.azure.net/secrets/SECRETNAME/SECRETVERSION
KeyVaultSku
ManagedDiskReference
ManagementGroup
ManagementGroupAncestorsChain
ManagementGroupAncestorsChainEntry
ManagementGroupId
ManagementGroupScopedPolicyAssignmentId
ManagementGroupScopedPolicyDefinitionId
ManagementGroupScopedPolicySetDefinitionId
ManagementGroupScopedRoleAssignmentId
ManagementGroupScopedRoleDefinitionId
ManagementGroupScopedRoleEligibilityScheduleId
ManagementGroupScopedRoleManagementPolicyAssignmentId
ManagementGroupScopedRoleManagementPolicyId
Metrics
MicrosoftGraphDirectoryObject
MicrosoftGraphEntity
MicrosoftGraphEntityId
MicrosoftGraphOrganization
NatGatewayReference
NetworkAcls
NetworkInterfacePropertiesReference
NetworkInterfaceReference
NetworkProfile
NetworkSecurityGroupReference
OAuth2PermissionGrant
OAuth2PermissionGrantId
OAuth2PermissionScope
OsDisk
OsProfile
PimEntraRoleDefinition
PimEntraRoleSettings
PolicyAssignment
PolicyAssignmentMetadata
PolicyAssignmentName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
PolicyAssignmentNonComplianceMessage
PolicyAssignmentProperties
PolicyDefinition
PolicyDefinitionName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
PolicySetDefinition
PolicySetDefinitionName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
PolicySetDefinitionPolicyDefinition
PolicySetDefinitionPolicyDefinitionGroup
PortalScopedRoleAssignmentId
PowerState
Price
https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices
PrincipalCollection
QueryDatasetConfiguration
RawResourceGraphQueryResponse
RemoteVirtualNetworkReference
Resource
ResourceGraphColumn
ResourceGraphData
ResourceGraphQueryResponse
ResourceGroup
ResourceGroupId
ResourceGroupMap
ResourceGroupName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftresources
ResourceGroupScopedPolicyAssignmentId
ResourceGroupScopedPolicyDefinitionId
ResourceGroupScopedPolicySetDefinitionId
ResourceGroupScopedRoleAssignmentId
ResourceGroupScopedRoleDefinitionId
ResourceGroupScopedRoleEligibilityScheduleId
ResourceGroupScopedRoleManagementPolicyAssignmentId
ResourceGroupScopedRoleManagementPolicyId
ResourceId
This is the ID for an ill-defined resource that is specifically the child of a resource group. Some things are children of things that are children of resource groups, which this would not apply to. At some point, this should be replaced with ScopeImpl or something in the fields where this type is used.
ResourceScopedPolicyAssignmentId
ResourceScopedPolicyDefinitionId
ResourceScopedPolicySetDefinitionId
ResourceScopedRoleAssignmentId
ResourceScopedRoleDefinitionId
ResourceScopedRoleEligibilityScheduleId
ResourceScopedRoleManagementPolicyAssignmentId
ResourceScopedRoleManagementPolicyId
ResourceTagsId
RoleAssignment
An Azure RBAC role assignment.
RoleAssignmentName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
RoleAssignmentRequest
RoleAssignmentRequestSchedule
RoleAssignmentScheduleRequest
RoleAssignmentScheduleRequestProperties
RoleAssignmentScheduleRequestPropertiesScheduleInfo
RoleAssignmentScheduleRequestPropertiesTicketInfo
RoleDefinition
An Azure RBAC role definition.
RoleDefinitionName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
RoleDefinitionsAndAssignments
RoleEligibilitySchedule
RoleEligibilityScheduleExpandedProperties
RoleEligibilityScheduleExpandedPropertiesPrincipal
RoleEligibilityScheduleExpandedPropertiesRoleDefinition
RoleEligibilityScheduleExpandedPropertiesScope
RoleEligibilityScheduleName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
RoleEligibilityScheduleProperties
RoleManagementPolicyAssignment
RoleManagementPolicyAssignmentName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization
RoleManagementPolicyAssignmentProperties
RoleManagementPolicyAssignmentPropertiesPolicyAssignmentProperties
RoleManagementPolicyAssignmentPropertiesPolicyAssignmentPropertiesPolicy
RoleManagementPolicyAssignmentPropertiesPolicyAssignmentPropertiesRoleDefinition
RoleManagementPolicyAssignmentPropertiesPolicyAssignmentPropertiesScope
RolePermissionAction
RolePermissions
See also: az provider operation list
Route
RouteProperties
RouteTable
RouteTableId
RouteTableName
RouteTableProperties
RouteTableReference
SecurityProfile
ServiceEndpoint
ServiceEndpointPolicyReference
ServiceGroup
ServiceGroupId
ServiceGroupName
Represents the name component of a service group resource id.
ServiceGroupParent
ServiceGroupProperties
ServiceGroupScopedRoleAssignmentId
ServicePrincipalKeyCredential
ServicePrincipalPasswordCredential
StorageAccount
StorageAccountBlobContainerName
StorageAccountId
StorageAccountName
StorageAccountSKU
StorageProfile
StorageProfileImageReferenceById
StorageProfileImageReferenceByPublisher
Subnet
SubnetId
SubnetName
SubnetProperties
SubnetReference
Subscription
SubscriptionId
SubscriptionName
I was unable to find any documentation on this. ChatGPT says 1-50 chars is the only limitation.
SubscriptionScopedPolicyAssignmentId
SubscriptionScopedPolicyDefinitionId
SubscriptionScopedPolicySetDefinitionId
SubscriptionScopedRoleAssignmentId
SubscriptionScopedRoleDefinitionId
SubscriptionScopedRoleEligibilityScheduleId
SubscriptionScopedRoleManagementPolicyAssignmentId
SubscriptionScopedRoleManagementPolicyId
TenantIdHolder
TenantLicense
TenantLicenseCollection
TenantLicensePrepaidUnits
TenantLicenseServicePlan
TestResource
TestResourceId
A zero-assumption thing for usage in tests
UefiSettings
UnifiedRoleAssignment
An Entra role assignment.
UnifiedRoleAssignmentId
UnifiedRoleDefinition
An Entra role definition.
UnifiedRoleDefinitionCollection
A collection of Entra role definitions, indexed by their template ID.
UnifiedRoleDefinitionId
UnifiedRoleDefinitionIdReference
UnifiedRoleDefinitionsAndAssignments
UnifiedRolePermission
UnscopedPolicyAssignmentId
UnscopedPolicyDefinitionId
UnscopedPolicySetDefinitionId
UnscopedRoleAssignmentId
UnscopedRoleDefinitionId
UnscopedRoleEligibilityScheduleId
UnscopedRoleManagementPolicyAssignmentId
UnscopedRoleManagementPolicyId
VirtualMachine
VirtualMachineId
VirtualMachineName
VirtualMachineProperties
VirtualMachinePropertiesAvailabilitySet
VirtualMachineSize
VirtualNetwork
VirtualNetworkAddressSpace
VirtualNetworkId
VirtualNetworkName
VirtualNetworkPeering
VirtualNetworkPeeringId
VirtualNetworkPeeringName
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftnetwork
VirtualNetworkPeeringProperties
VirtualNetworkProperties

Enums§

AddressPrefix
AllOr
AzureAppServiceResourceKind
AzureApplicationGatewayResourceBackendHealthProbeErrorName
AzureApplicationGatewayResourceBackendHealthServerHealth
AzureLocationMetadata
AzureLocationName
AzurePolicyDefinitionPolicyRuleEffect
AzurePolicyDefinitionPolicyRuleIfBlock
AzurePrincipalArgument
Principal can be specified as an id (UUID) or a display/user principal name.
AzureRoleDefinitionArgument
Role definition can be specified as a RoleDefinitionId (expanded form or scoped), or by its name (display name / GUID form).
AzureTenantArgument
Tenant can be specified as the default tenant, a tenant id, or a Cloud Terrastodon tenant alias.
ComputeSkuResourceType
ConditionalAccessNamedLocation
ConditionalAccessPolicyGrantControlBuiltInControl
ConditionalAccessPolicyGrantControlOperator
ConditionalAccessPolicyState
ConsentType
CostManagementExportType
CostManagementFunctionType
CostManagementQueryColumnType
CostManagementQueryDatasetGranularityType
CostManagementQueryOperatorType
CostManagementQuerySortingDirection
CostManagementTimeframeType
EligibleChildResourceKind
GovernanceRoleAssignmentMemberType
GovernanceRoleAssignmentState
GovernanceRoleAssignmentStatus
KeyVaultAccessPolicyAllPrivilege
Shared “All” privilege used across key/secret/certificate access policy privilege enums to reduce duplication. Deserializes case-insensitively for common variants of “All”.
KeyVaultAccessPolicyCertificateManagementOperation
KeyVaultAccessPolicyCertificatePrivilege
KeyVaultAccessPolicyCryptographicOperation
KeyVaultAccessPolicyKeyManagementOperation
KeyVaultAccessPolicyKeyPrivilege
KeyVaultAccessPolicyPrivilegedCertificateOperation
KeyVaultAccessPolicyPrivilegedKeyOperation
KeyVaultAccessPolicyPrivilegedSecretOperation
KeyVaultAccessPolicyRotationPolicyOperation
KeyVaultAccessPolicySecretManagementOperation
KeyVaultAccessPolicySecretPrivilege
NetworkInterfacePropertiesDeleteOption
NextHopType
OAuth2PermissionScopeKind
OsDiskDeleteOption
PimEntraRoleDefinitionKind
PimEntraRoleSettingsRule
PolicyAssignmentEnforcementMode
PolicyAssignmentId
PolicyDefinitionId
PolicyDefinitionIdReference
An ID for either a policy definition or a policy set definition
PolicySetDefinitionId
Principal
PrincipalId
PrincipalKind
ProvisioningState
PublicNetworkAccess
ResourceType
RoleAssignmentId
RoleAssignmentRequestAssignmentState
RoleAssignmentRequestKind
RoleAssignmentRequestScheduleKind
RoleAssignmentScheduleRequestPropertiesRequestType
RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration
RoleDefinitionId
RoleDefinitionKind
RoleEligibilityScheduleId
RoleEligibilityScheduleMemberType
RoleEligibilitySchedulePrincipalType
RoleEligibilityScheduleStatus
RoleManagementPolicyAssignmentId
RoleManagementPolicyAssignmentPropertiesEffectiveRule
RoleManagementPolicyAssignmentPropertiesEffectiveRuleId
RoleManagementPolicyAssignmentPropertiesPolicyAssignmentPropertiesScopeKind
RoleManagementPolicyId
ScopeError
ScopeImpl
ScopeImplKind
StorageAccountKind
StorageProfileDiskControllerType
StorageProfileImageReference
TenantLicenseAppliesTo
TenantLicenseCapabilityStatus
TenantLicenseServicePlanProvisioningStatus
TokenType

Constants§

AZURE_APPLICATION_GATEWAY_RESOURCE_ID_PREFIX
AZURE_APP_SERVICE_RESOURCE_ID_PREFIX
AZURE_NETWORK_INTERFACE_RESOURCE_ID_PREFIX
AZURE_PRIVATE_ENDPOINT_RESOURCE_ID_PREFIX
AZURE_PUBLIC_IP_RESOURCE_ID_PREFIX
CONTAINER_REGISTRY_ID_PREFIX
GOVERNANCE_ROLE_DEFINITION_NAME_MAX_LENGTH
TODO: find documentation on the real limit, I made up this value.
KEY_VAULT_ID_PREFIX
MANAGEMENT_GROUP_ID_PREFIX
POLICY_ASSIGNMENT_ID_PREFIX
POLICY_DEFINITION_ID_PREFIX
POLICY_SET_DEFINITION_ID_PREFIX
RESOURCE_GROUP_ID_PREFIX
ROLE_ASSIGNMENT_ID_PREFIX
ROLE_DEFINITION_ID_PREFIX
ROLE_ELIGIBILITY_SCHEDULE_ID_PREFIX
ROLE_MANAGEMENT_POLICY_ASSIGNMENT_ID_PREFIX
ROLE_MANAGEMENT_POLICY_ID_PREFIX
ROUTE_TABLE_ID_PREFIX
SERVICE_GROUP_ID_PREFIX
STORAGE_ACCOUNT_ID_PREFIX
SUBSCRIPTION_ID_PREFIX
TAGS_SUFFIX
TEST_ID_PREFIX
VIRTUAL_MACHINE_ID_PREFIX
VIRTUAL_NETWORK_ID_PREFIX

Traits§

AsScope
DistinctByScope
HasPrefix
HasSlug
ManagementGroupScoped
NameValidatable
PortalScoped
ResourceGroupScoped
ResourceScoped
RoleDefinitionsAndAssignmentsIterTools
Scope
ServiceGroupScoped
Slug
SubscriptionScoped
TryFromManagementGroupScoped
TryFromPortalScoped
TryFromResourceGroupScoped
TryFromResourceScoped
TryFromServiceGroupScoped
TryFromSubscriptionScoped
TryFromUnscoped
TryFromVirtualNetworkScoped
UnifiedRoleDefinitionsAndAssignmentsIterTools
Unscoped

Functions§

get_provider_and_resource_type_and_resource_and_remaining
strip_prefix_case_insensitive
strip_prefix_get_slug_and_leading_slashed_remains
strip_suffix_case_insensitive
to_iso8601
try_from_expanded_hierarchy_scoped
try_from_expanded_hierarchy_scoped_with_portal
try_from_expanded_resource_container_scoped
validate_management_group_name
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftmanagement
validate_policy_name
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftauthorization